[09:08] Good morning all; happy Friday, and happy Siblings Day! :-D === vrruiz_ is now known as rvr === erkules_ is now known as erkules [10:58] mvo: it's frameworks (list versus string) [10:58] mvo: I was going to fix last night but got distracted fixing other things [10:58] sergiusens: yeah, fixed [10:58] sergiusens: no worries [10:58] mvo: just removed the line a suppose [11:11] mvo: btw, mind looking at my latest u-d-f mps? [11:11] sergiusens: yeah, just removed it [11:11] sergiusens: sure, do you have a url? [11:11] sergiusens: I will need lunch first though [11:13] pitti: fwiw, was just trying to know the status on ntp, not sure you were on top of it or who was [11:14] mvo: https://code.launchpad.net/goget-ubuntu-touch/+activereviews [11:14] sergiusens: we have timesyncd enabled by default now, AFAIK that was the intended ntp client for snappy? [11:14] mvo: the ones from les that 24hrs ago :-) [11:14] pitti: oh, it is, great! === kickinz1 is now known as kickinz1|lunch === kickinz1|lunch is now known as kickinz1 [12:58] sergiusens: how do I use your new beaglebone snap straight from the store? [13:03] lool: call it by name [13:03] lool: e.g.; beagleboneblack.sergiusens [13:03] --oem beagleboneblack.sergiusens [13:08] sergiusens: sudo ubuntu-device-flash core \ --platform am335x-boneblack \ --size 4 \ --oem beagleboneblack.sergiusens --developer-mode --channel=ubuntu-core/devel-proposed -o bbb.img [13:09] lool: --size is 4 by default [13:10] lool: just sudo ubuntu-device-flash core --output bbb.img --channel edge --oem beagleboneblack.sergiusens is enough [13:10] lool: I tried to apply sane defaults everywhere to type less [13:22] sergiusens: what defines "edge" as a channel? [13:24] sergiusens: and how does it figure --platform am335x-boneblack? [13:25] (I'd like to do the same for pi) [13:25] ok, found channel maps [13:26] lool: platform is in the oem snap [13:26] lool: the channel maps is a shorthand, (and some form of consistency with the snappy tool) [13:27] it kind of feels bad to have this in the tool rather than as server side aliases, but I can see why it's handier for now [13:29] lool, sergiusens, started working on a spec: https://docs.google.com/document/d/1-BFwOcM7yq3feowdAL9SVW5UZkNHiE0q3duXBMUkkyY/edit [13:30] lool: I was waiting for the system image rename to happen to make this easier [13:31] beuno: I guess you've already seen the naming of the chrome release channels [13:31] https://www.chromium.org/getting-involved/dev-channel [13:31] it seems we have the same number of channels, but with different names [13:31] (that's fine of course) [13:33] lool, we have 1 more! :) [13:33] anyway, its subject to change, it captures the discussions we've had so far [13:35] (RaspberryPi2)ubuntu@localhost:~$ sudo snappy install docker_1.5.0.001_multi.snap [13:35] Installing docker_1.5.0.001_multi.snap [13:35] 2015/04/10 13:34:53 Signature check failed, but installing anyway as requested [13:35] mkdir /apps/docker/1.5.0.001/meta/framework-policy: permission denied [13:35] unpack docker_1.5.0.001_multi.snap to /apps/docker/1.5.0.001 failed with exit status 1 [13:35] kickinz1: ^ [13:35] mvo: ^ does the above sound familiar (snappy go version on image 220 on rpi2) [13:36] I'm trying to get docker to load a dockerfile on snappy but get the error `2015/04/10 13:32:38 open dockerfile.tar: permission denied` when I try to do it as the ubuntu user and get `sudo: docker: command not found` when I do it with sudo, anyone have any ideas what I could be doing wrong? [13:37] fionnan, you need to have your Dockerfile in /home/ubuntu/apps/docker/1.3.xxx/ [13:37] if anyone knows of any docs about using docker on snappy would be great too, I can't seem to find anything :( [13:38] kickinz1: cool, thanks! [13:38] then in this dir you run docker buid... [13:38] lool: I think Chipaca is dealing with this [13:38] sergiusens: with what? [13:39] Chipaca: see above error when installing docker [13:39] lool, hdstrand had this yesterday evening, but it was related to a bad docker-daemon.apparmor. [13:39] 15:35 < lool> mkdir /apps/docker/1.5.0.001/meta/framework-policy: permission denied [13:39] 15:35 < lool> unpack docker_1.5.0.001_multi.snap to /apps/docker/1.5.0.001 failed with exit status 1 [13:39] kickinz1: that fixed it! [13:39] kickinz1: I've built the rootfs minutes ago against devel-proposed; how do I get the fix? [13:39] lool: that does not look like something i'm doing, no [13:39] lool: why did you get permission denied on mkdir? [13:40] lool: I will upload a more recent one for you to test, but the one I sent to you was supposed to work [13:40] ooh, wait, that might be me [13:40] * Chipaca looks a bit deeper [13:40] mvo: jodh I got this weird problem when upgrading from d-p to devel-proposed http://paste.ubuntu.com/10791611/ [13:41] kickinz1: I have beagle up too [13:41] lool: so, that error itself is not me afaict, but i'd be interested in knowing how you got there [13:41] ubuntu-core 2015-04-10 220 [13:41] lool: are the permissions in the docker tar wrong? [13:41] Chipaca: I dont know, I can check [13:42] lool: please [13:42] Chipaca: look alright to me [13:42] Chipaca: http://paste.ubuntu.com/10791622/ [13:43] yep, those lok alright [13:43] look* [13:45] lool: do you have anything in dmesg? [13:45] Chipaca: remember that snappy calls unpack with reduced privs [13:46] sergiusens: but i don't see any reason for a mkdir at random to fail on unpack, which is what's reported here [13:48] sergiusens: it's an upgrader bug resulting from the recent rework. Fixing... [13:50] lool: so, i don't know where/how you're trying to make that work, but i just tested the docker thing locally and it installed without a hitch [13:50] lool: so i'd really like to know more :) [13:50] [ 64.460170] audit: type=1400 audit(1428673111.960:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="system-status.victor_system-status_1.0.3" pid=805 comm="apparmor_parser" [13:50] [ 66.848594] audit: type=1400 audit(1428673114.348:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="pastebinit.mvo_pastebinit_1.4.0.0.1" pid=805 comm="apparmor_parser" [13:51] [ 86.906565] audit: type=1400 audit(1428673134.408:8): apparmor="DENIED" operation="capable" profile="system-status.victor_system-status_1.0.3" pid=884 comm="system-status" capability=12 capname="net_admin" [13:51] are the only dmesg bits [13:51] lool: dmesg -T will give you saner timestamps, for next time :) [13:51] none of those seem relevant to docker [13:51] good to know [13:51] Chipaca: no [13:52] Chipaca: would also be surprized that snappy install would run confined [13:52] so mkdir failing is weird [13:52] Chipaca: I'll test on BBB in a few, with an updated snap [13:53] lool: what are you testing on, here? [13:53] Chipaca: oh sorry, dmesg is from wrong board [13:53] lool: is this the same vm that was saying "no space left on device"? [13:53] I actually reinstalled since [13:54] Chipaca: so yes, it is from same vm [13:54] Chipaca: and I think the issue is missing modules [13:54] [Fri Apr 10 13:00:10 2015] systemd-journald[458]: Failed to create new runtime journal: No space left on device [13:54] probably lack of tmpfs [13:54] right, lsmod is empty [13:54] the modules are there in rootfs, but not initrd [13:54] * lool goes updating [13:55] lool: so it looks like that vm is otherwise fubar'ed [13:56] yeah [13:56] lool: if you can reproduce the issue with a vm that is not already broken let me know :) [13:56] i really think we need a "sanity check" command in snappy [13:56] ... but there's so much more stuff we need :) [14:02] bah I foobarded the initrd [14:06] /sbin/udevadm: line 2: ��HL�F�k���@������� [14:06] somehow not good [14:06] /sbin/udevadm: line 1: ELF: not found [14:08] ppisati: sorry, mind reminding me how to properly repack initrd? I gunzip-ed | cpio -i, and am repacking with find . | cpio --quiet --dereference -o -H newc | lzma -7 > ../new-initrd.lz [14:08] well, I'll start with gzip [14:08] is it possible to develop/tinker on snappy core on raspberry pi without a second raspberry pi running ubuntu? [14:12] lool, abootimg-unpack-initrd ... abootimg-pack-initrd [14:12] we have helpers for this ;) [14:15] ok, managed to repack initrd [14:15] ogra_: thanks [14:15] it was actually my unpacking which was incorrect [14:15] (forgot -d to cpio) [14:15] I still get [ 50.591157] systemd-journald[399]: Failed to create new runtime journal: No space left on device [14:17] ppisati: so for some reason the modules dep were out of date [14:22] I still get the dreaded [ 50.525271] systemd-journald[332]: Failed to create new runtime journal: No space left on device [14:22] I don't see any information about "cross compiling" or porting applications to raspi/snappy, so maybe it isn't that easy [14:23] eltigre: http://hypernephelist.com/2015/03/09/cross-compilation-made-easy-on-ubuntu-with-sbuild.html [14:23] eltigre: it depends *what* you're cross-compiling though [14:23] eltigre: I typically did all the MWC snaps with cross-compilation [14:24] go / C / C++ ones mainly [14:24] but sometimes it can be a pain [14:24] I would be using python [14:24] eltigre: are there native bits? [14:24] I think I will go the raspbian route for the foreseeable future [14:24] maybe [14:25] eltigre: I'm not sure why it would be any easier with raspian [14:25] it's pretty easy to run into C extensions you didn't expect in Python nowadays [14:25] *raspbian [14:25] it compiles stuff [14:25] slowly, but it does [14:25] and it has a package manager, unlike snappy [14:25] we do have a package manage, it's snappy! :-) [14:26] no, that's an application manager [14:26] eltigre: right, we dont have snaps for a build environment [14:26] the difference being that you have to somehow get your dependencies in the app itself, as far as I understand it [14:26] that's right [14:27] kickinz1: ok, I managed to install docker on rpi2 now [14:27] which is on one hand a very good idea, but on the other... well... unfamiliar and currently much more work [14:27] eltigre: I think that's about right [14:28] it's less familiar and more work right now [14:28] but it pays off in the end [14:28] eltigre: you can have an Ubuntu chroot on a snappy install where you do the builds [14:28] lool: ok, I have a new package for you then. [14:28] or a qemu-arm schroot on your desktop (above blog post) or cross-build stuff [14:28] problem is, I'm not that familiar with the chrooting stuff... I hardly even grokked docker [14:28] eltigre: now specifically for python, you'd want to grab barry who's worked exactly on this topic [14:29] eltigre: https://lists.ubuntu.com/archives/snappy-devel/2015-April/000428.html [14:29] thanks [14:30] kickinz1: does it intentionally have the exact same name as the previous one? [14:31] 2015/04/10 14:31:01 Signature check failed, but installing anyway as requested [14:31] open /apps/docker/1.5.0.001/meta/docker-daemon.seccomp: permission denied [14:31] unpack docker_1.5.0.001_multi (1).snap to /apps/docker/1.5.0.001 failed with exit status 1 [14:31] that's weird [14:31] kickinz1, jdstrand: The older snap installs fine though [14:32] lool: this might be because you are installing the same version over other? [14:32] lool: on bbb? [14:32] kickinz1: both on rpi2 [14:32] jdstrand: maybe [14:32] jdstrand: I had snappy removed though [14:32] lool: what is ls -l /apps/docker/1.5.0.001/meta/ [14:33] right now after successful install of old snap: http://paste.ubuntu.com/10791980/ [14:33] * lool removes [14:33] that looks fine [14:33] now /apps/docker exists but is empty [14:33] lool: do ls -l after removal too [14:34] ok, that is what I've seen [14:34] now installing again the new one [14:34] I've renamed it to drop the " (1)" in the filename [14:34] ah that worked [14:34] jdstrand: was just a filename issue [14:34] ok cool [14:35] now I got http://paste.ubuntu.com/10791992/ [14:35] jdstrand seems ok on bb for me [14:35] kickinz1: ok, installed latest snap on pi2; what do I confirm? [14:36] lool: docker run -it armbuild/ubuntu [14:36] on the container just try some things like: "apt-get update && apt-get upgrade" [14:36] FATA[0000] Post http:///var/run/docker.sock/v1.17/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? [14:36] then docker stop "id of the container" [14:37] * lool removes docker, and grabs latest package [14:37] lool, sudo systemctl status docker_docker-daemon_1.5.0.001.service [14:38] kickinz1: switching to your latest snap first [14:38] lool ok [14:39] installing [14:40] Process: 1347 ExecStop=/apps/docker/1.5.0.001/bin/docker.stop (code=exited, status=0/SUCCESS) [14:40] Process: 1319 ExecStart=/apps/docker/1.5.0.001/bin/docker.start (code=exited, status=1/FAILURE) [14:41] lool, can you paste the tailed output of "sudo journalctl -l" [14:41] lool: you may have a stray docker running from before [14:42] kickinz1: cloud-init stuff only [14:42] jdstrand: yeah, that's what I think too [14:43] I dont see it in ps though [14:43] * lool reboots [14:45] uh -bash: docker: command not found [14:46] Loaded: not-found (Reason: No such file or directory) [14:47] I dont see the systemd service file under /etc/systemd/system [14:51] ok. trying BBB now [14:51] ok, docker is running [14:51] $ docker run -it armbuild/ubuntu [14:51] Unable to find image 'armbuild/ubuntu:latest' locally [14:51] Pulling repository armbuild/ubuntu [14:52] it's doign stuff [14:52] kickinz1: So not tested in full on BBB, but seems mostly working [14:52] lool, ok, thanks! [14:53] would love some help debugging the isuse on rpi2 [14:53] I'm removing docker snap, will search for stray files, and reboot [15:01] Active: failed (Result: exit-code) since Fri 2015-04-10 15:01:17 UTC; 13s ago [15:01] Process: 1033 ExecStopPost=/apps/docker/1.5.0.001/bin/docker.poststop (code=exited, status=0/SUCCESS) [15:01] Process: 1003 ExecStart=/apps/docker/1.5.0.001/bin/docker.start (code=exited, status=1/FAILURE) [15:02] /apps/docker/1.5.0.001/bin/docker.start: line 14: /home/ubuntu/etc/docker.conf: No such file or directory [15:02] /apps/docker/1.5.0.001/bin/docker.start: line 32: docker: command not found [15:03] FATA[0000] open /var/run/docker.pid: permission denied [15:05] jdstrand: what's the magic to force regenerating the profiles? probably because I installed multiple snaps with same version [15:05] [Fri Apr 10 15:04:36 2015] audit: type=1400 audit(1428678276.674:17): apparmor="DENIED" operation="mknod" profile="docker_docker_1.5.0.001" name="/run/docker.pid" pid=1185 comm="docker.armhf" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 [15:05] lool: sudo aa-clickhook -f ; sudo aa-profile-hook -f [15:05] thanks [15:06] jdstrand: I still get: [Fri Apr 10 15:05:58 2015] audit: type=1400 audit(1428678358.915:21): apparmor="DENIED" operation="mknod" profile="docker_docker_1.5.0.001" name="/run/docker.pid" pid=1209 comm="docker.armhf" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 [15:06] kickinz1: ah-- ^ [15:06] that's only on pi2 though [15:06] we have this rule: [15:06] /run/@{APP_PKGNAME}.pid rw, [15:07] jdstrand: note that I'm running this by hand because the job fails to start [15:07] but APP_PKGNAME is 'docker-daemon' [15:07] aha [15:07] jdstrand, I don't understand how it works on bbb as it is also running docker.armhf. [15:08] that isn't the part [15:08] name="/run/docker.pid" [15:08] we have: [15:08] @{APP_APPNAME}="docker-daemon" [15:08] /run/@{APP_PKGNAME}.pid rw, [15:08] oh wait [15:08] no, that is right, I misread it [15:09] [Fri Apr 10 15:07:34 2015] device-mapper: table: 254:0: thin-pool: unknown target type [15:09] [Fri Apr 10 15:07:34 2015] device-mapper: ioctl: error adding target to table [15:09] that seems to be the actual error from the job [15:09] ppisati: ^ [15:09] oh this is the docker command [15:09] kickinz1: hold on [15:10] jdstrand: I suspect it's non-fatal [15:10] yes [15:10] it is [15:10] so annoying, but systemd cleans things up [15:10] it refers to this: drivers/md/dm-thin.c: [15:10] interesting that amd64 didn't need it [15:11] ppisati: is it built in your rpi2 kernel? [15:11] lool: do you have that module? [15:11] no idea [15:11] ppisati: what's the module name? [15:12] DM_THIN_PROVISIONING [15:12] ppisati: # CONFIG_DM_THIN_PROVISIONING is not set [15:12] ppisati: I blame it all on you! [15:12] obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o [15:12] :) [15:12] ppisati: could you make sure this is part of our "Ubuntu standard options that always turned on"? [15:12] YES YES WHIP ME WHIPE!!! :D [15:13] yeppa [15:13] i can kick a new build [15:13] right now [15:13] ppisati: and coud you rebuild a rpi2 kernel with all interesting options we usually want turned on? [15:13] thanks [15:13] lool: we already have all the interesting options turned on [15:13] lool: this one wasn't part of it [15:13] kickinz1: so I think we wont hit the time for the pi2 demo, but we at least know how to get there and we seem close enough that we would have one, say, monday [15:13] * ppisati goes and kick a new build [15:13] lool: when did you see that? when the service was correctly running or when it wasn't? [15:13] jdstrand: that was on the rpi2 [15:14] was docker-daemon running? [15:14] jdstrand: trying to run the service by hand to trigger [15:14] jdstrand: no [15:14] ah [15:14] right, then that is correctly denied [15:14] jdstrand: actually on BBB I see *nothing* [15:14] jdstrand: so I guess it's not something you'd want to worry about [15:15] I guess side effect of me launching teh job by hand somehow [15:15] lool: to start by hand, do sudo aa-exec -p docker_docker-daemon_1.5.0.001 -- /apps/docker/current/bin/docker.armhf ... [15:15] thanks [15:16] lool: if you use 'docker' by hand, you get the 'docker cli command' and policy from /apps/bin [15:16] thanks [15:16] lool: but you want to run docker as a daemon, so you need to start it under that profile [15:16] kickinz1: nothing to be done [15:16] at least policy wise [15:16] ppisati: poke when you have a new PPA kernel, I'll update my device tarball with it [15:16] lool: yep [15:17] ppisati: I can update the initrd too; not quite sure how to generate the modules dep without booting a pi2 and running depmod -a though [15:17] lool: but do you actually need the modules during boot? i don't think so [15:18] ppisati: I dont think so, but I'm trying to keep them up-to-date nevertheless [15:18] ppisati: besides, I'm including the deps in the device tarball rootfs part [15:25] jdstrand: thanks again for the pointer to the unconfined profile, I created http://paste.ubuntu.com/10792277/ now, but it seems it does not like the last line I added "change_profile" - is the syntax here different? [15:27] jdstrand: aha, it seems like "change_profile -> *" is the right one (?) [15:27] change_profile -> *, [15:27] thanks! that helped me a lot [15:27] * mvo hugs jdstrand [15:27] but, if you did want to confine this, you can do stuff like [15:27] change_profile -> docker_*, [15:27] * jdstrand hugs mvo back :) [15:28] ogra_: around? [15:28] asac, in a meeting, but around, yeah [15:28] ogra_: can you check in on #snappy-internal ? [15:28] for a moment [15:32] ogra_: hi, I'm here [15:32] hey kirkland [15:33] ogra_: okay, we're getting started [15:41] lool: it's baking - https://launchpad.net/~p-pisati/+archive/ubuntu/embedded/+packages [15:49] beuno: hey, so in the store, you can upload a snap but there is no way to choose an architecture any more? [15:49] beuno: kickinz1 is uploading docker and in the yaml it has: architecture: [amd64, armhf] [15:50] beuno: that's fine. but then it comes up as arch all in the store, but it isn't 'all', it is 'multi' and only 'multi' for two archs, not all of them [15:52] jdstrand: same error i had for wget [15:52] interesting [15:53] maybe the store needs a little tweaking [16:22] beuno (and kickinz1 and ppisati): I adjusted the review tools to match what the store is currently doing so this shouldn't happen again [16:23] well, once the store is updated [16:23] jdstrand, ok thanks [16:25] jdstrand: what are these tools? [16:26] ppisati: they are the things that run during snappy build and what runs on the server [16:26] lp:click-reviewers-tools [16:27] jdstrand: jdstrand that means i shall rebuild and resubmit? or do i still need for a store update? i guess the latter [16:27] *need to wait [16:29] ppisati: no, you don't need to do anything [16:29] the next time you upload, if the store has pulled in my change, you won't have that review tool error [16:34] ubuntu@localhost:~$ sudo snappy update [16:34] ubuntu-core 124 MB [===================================================================================================================================================] OK [16:34] I've been stuck after that for 10+ minutes now [16:34] help? [16:35] kirkland on which board? [16:35] kickinz1: rpi2 [16:35] channel is devel-proposed? [16:35] kickinz1: how can I tell? [16:36] kirkland: I don't have rpi2, sorry [16:36] kickinz1: how can I tell what channel? [16:36] kirkland: cat/etc/syste-image/channel.ini [16:36] okay, it's applying now [16:36] kirkland: if channel is ubuntu-core/devel [16:37] kirkland, you will need to 'sudo mount -o remount rw /' [16:37] kirkland, change channel to ubuntu-core/devel-proposed, then reboot, then update [16:38] kirkland, but from me it is theory (as done on bbb), better have an anwer from an rpi2 owner [16:39] kickinz1: okay [16:39] kickinz1: can I just snappy install docker now? [16:39] kirkland, if on new image : yes [16:40] kickinz1: okay, i'm updated now, rebooting [16:40] kickinz1: where can I just download the latest rpi2 image now? [16:40] kirkland, but I don't know the status of docker on rpi2, I didn't get updates on that [16:42] kirkland, what 'snappy list' looks like? [16:42] snappy: error: invalid choice: 'list' (choose from 'info', 'versions', 'search', 'update-versions', 'update', 'rollback', 'install', 'uninstall', 'tags', 'config', 'build', 'booted', 'chroot', 'framework', 'fake-version', 'nap') [16:42] kirkland, ok old image [16:43] kickinz1: where can I get the new image? [16:43] kickinz1: why didn't snappy update get me the new image? [16:43] kirkland, cause latest image is not yet promoted [16:43] kirkland, I would go for channel change/ or backup solution is to use a docker-1.5.0-armhf for old image [16:44] kickinz1: channel: ubuntu-core/devel [16:44] jdstrand, asac, ^ [16:45] kirkland, try this package: https://mifamofi.net/owncloud/public.php?service=files&t=c2d37c5711ef8b323ac3da519142e21d [16:45] kickinz1: kirkland rpi has no upgrade path until we have a proper kernel in our repos [16:45] kirkland: someone said earlier it took 20 minutes [16:45] kickinz1: okay, I'm on devel-proposed now [16:45] ok good [16:45] if on devel-proposed, use the store [16:45] kirkland: lool has made an image prebuilt for you [16:46] asac: link? [16:46] in your inbox ;) [16:46] * asac looks it up [16:46] he sent an email [16:46] got it [16:46] kirkland: you cnanot update on the pi2 from alpha2 or even after because its nota certified enablement [16:46] so just install the one you have [16:47] new builds at least dont try to update [16:48] custom.img 09-Apr-2015 16:01 3.6G [16:48] kirkland: wget http://people.canonical.com/~lool/pi2-device-and-oem/custom.img [16:48] dd it [16:48] yeah [16:48] asac: I don't have enough bandwidth to pull that here [16:48] kirkland: ok i can xz it [16:48] one moment [16:49] lool: i have to wget that because you are not on lillypitty? [16:50] weird [16:50] or you have weird permissions [16:50] lool: could you .xz this ... assuing it will be popular for the moment? [16:50] and put checksums ni place [16:52] kirkland: i am xz'ing here rifght now: http://people.canonical.com/~asac/tmp/pi2/ [16:52] takes a it [16:52] bit [16:55] asac: you don't have to wget it [16:55] i couldnt copy it from ~lool [16:55] I logged into lillypilly and can see it [16:56] lool has always special permissions [16:56] hehe [16:56] ok [16:56] I didn't try copying [16:56] maybe i mistyped [16:56] but i have it now anyway [16:56] ok [16:56] "french permissions" [16:56] hehe [16:59] man xz is so slow [16:59] i thinkk my 3.6G wget will finish before it finish packing [17:02] asac: okay, thanks [17:02] asac: is ogra_ still around, or gone? [17:02] asac: we're also trying the node-snapper stuff right now [17:02] kirkland, i'm here [17:02] ogra_: alright!!! [17:03] kirkland, moving to the living room though ... i.e. no internal channels anymore :) [17:03] ogra_: can you post your metadata.yaml from your node-snapper example? [17:03] lool: http://people.canonical.com/~asac/tmp/pi2/custom.img.xz [17:03] i think its fine [17:03] kirkland: http://people.canonical.com/~asac/tmp/pi2/custom.img.xz [17:03] err its finished [17:03] i will try too now [17:04] guess my bandwidth is faster so i know if it doesntw ork beffore you [17:04] kirkland: ogra will be around if you continue to engage him :) [17:04] asac: awesome, thanks [17:04] he is just sometimes falling asleep if he is idling too long :P [17:04] http://paste.ubuntu.com/10792912/ [17:04] docker failed to install here ^ [17:05] kirkland: on what machine? [17:05] what image? [17:05] asac: rpi2, devel-proposed, up to date [17:05] asac: I'm downloading your custom.img now [17:05] kirkland: how did you get it up tod date? [17:05] i dont think you can have that [17:05] asac: arg [17:05] because update doesnt work on pi2 by design [17:05] i think you have it just on the other partition, but still boot in the old one [17:06] kirkland: sure it will be better on the lools if its installing on the bbb latest [17:06] i am dding that custom one too now... lets see [17:06] asac: okay, in 7-8 minutes, the download will complete and I can write that image to the sdcard [17:06] kirkland, sorry, had to re-locate and now i'm missing backlog, you wanted the metadata.yaml ? [17:07] ogra_: yes, please [17:07] yeah i will hopefully be able to confirm by then... though its the first time i put this pi2 in action [17:07] beuno: can oem snaps not require "departments" on upload? [17:07] asac: can you please pastebin it for us? [17:07] beuno: and can we have a filter to search for package type? [17:07] kirkland, hmm, i dont have such a file ... i have a package.yaml though [17:08] ogra_: yes, that one, please [17:08] kirkland: what do you need pastebinit? [17:08] asac: package.yaml of a nodejs snap [17:09] asac: sorry, that was for ogra_ [17:09] right [17:09] just wondered :) [17:09] ogra_: ^ [17:09] ogra_: can you please pastebin your package.yaml [17:09] kirkland, http://paste.ubuntu.com/10792959/ [17:10] kirkland, https://code.launchpad.net/~ogra/+junk/chatroom has allteh files btw (linkedfrom the blog) [17:13] asac: image downloaded [17:14] ogra_: okay, that branch is missing the arm tarball, right? [17:14] ogra_: I still need to unzip that? [17:14] yes, thats only the packaging data [17:14] the tarballs you crate with node-snapper [17:14] *create [17:15] kirkland: so i dded it [17:15] it boots [17:15] i am logged in [17:15] asac: I'm dd'ing now [17:15] (RaspberryPi2)ubuntu@localhost:~$ [17:15] asac: can you snappy install docker? [17:16] mvo: http://paste.ubuntu.com/10793006/ [17:16] kirkland: :( [17:16] kickinz1: ^^ [17:17] asac: that looks exactly like what I saw before: http://paste.ubuntu.com/10792912/ [17:17] asac snappy list ? [17:17] kirkland, yes but you had a snappy-python image [17:18] asac: uff, let me look [17:19] lool: oem snap is also bogus [17:19] where is the soruce? [17:19] you have the xz data thingy [17:20] asac, can you test docker-1.5.0-armhf for old image (https://mifamofi.net/owncloud/public.php?service=files&t=c2d37c5711ef8b323ac3da519142e21d)? [17:20] kickinz1: the old image i am not really interested in [17:20] many things wont work for folks there [17:20] asac, ok sorry... [17:20] kickinz1: can you focus on the new one? does the new docker work on the bbb? [17:21] the one from store? [17:21] asac, yes docker work on bbb from the store [17:21] asac: dd done [17:21] you wont be happy though [17:21] asac, and I'm focused on the new image, I was just speaking of a backup on rpi2 [17:21] i am tewsting now if the bbb works [17:22] right, but i think kirkland wont be happy with that because then lots of other issues will pop up [17:23] mvo or jdstrand: when you have a minute please https://myapps.developer.ubuntu.com/dev/click-apps/2275 [17:23] lool: where did you put your oem snap source? that needs to be rebuilt with latest snappy so i can create a new image [17:24] mvo: i dont get why docker is in the store as com.ubuntu... [17:24] sergiusens, jdstrand: approved [17:25] asac: me neither [17:25] asac: that image is not booting for me [17:25] asac: I rebuilt lool's pkg here, I can upload it under my namespace for play if you want [17:25] kirkland: it does for me thats for sure [17:25] kirkland: it takes a while on first boot [17:25] because of funky cloud-init [17:25] asac: or do it yourself, unpack it (dpkg-deb) and snappy build it again [17:25] asac: okay, i'll wait a bit [17:25] 2-3 minutes [17:26] asac: hmm, it's been more like 5 [17:26] sergiusens: i want his .snap on people [17:26] sergiusens: not store [17:26] or is it in store? [17:26] asac: right, but you can dpkg-deb -x it and snappy build it again, it will be very similar if not the same (timestamps differing) [17:26] sergiusens: just gimme the new snap [17:26] asac: he asked me about that, not sure he uploaded [17:26] this one breaks trusty snappy soo i cannot see if a newer image works [17:27] its not [17:27] at least not as pi2.lool [17:27] mvo: well, but why does snappy install docker do the right thing? [17:27] do we have an alias there? [17:27] kickinz1: how do you upload the docker ? [17:27] whats in the metadata>? [17:27] you must not use com.ubuntu... anymore [17:27] asac: there's the com.ubuntu.snappy hack for the py version in devel [17:27] sure [17:27] it might be legacy [17:28] but it just works here on snappy latest [17:28] i type snappy install docker [17:28] and it starts downloading com.ubuntu... [17:28] so the store must have set an alias [17:28] I just went to the store and updated the package from there.... [17:28] asac: I'm not sure kickinz1 has access to the .canonical part of the store; mvo and I do fwiw [17:28] kickinz1: do you have com.ubuntu.... in metadat? [17:28] I didn'tknew there was an other way. [17:28] asac: packlage.yaml? [17:28] yes [17:29] anyway [17:29] it seems to isntall here on bbb [17:29] fwiw [17:29] sergiusens: i need the new .snap [17:29] it seems that whatever image lool used isnt right [17:29] http://paste.ubuntu.com/10793087/ [17:29] asac: unplugged it, and plugged it back in again [17:29] kirkland: you have to remember that when dd finishes [17:29] you have to wait till IO buffer is done [17:29] see activity light, but nothing [17:30] run sync [17:30] asac: I ran sync 3 times [17:30] ok [17:30] thats odd [17:30] i had a few time taht a dd didnt work [17:30] usually i dded again and then it worked [17:30] and i jsut tell yopu that i never used this pi2 and dded it and it booted :) [17:30] it took long time before it upped ethernet [17:31] then it got network [17:31] and then it was there [17:31] kirkland: do you have ethernet? [17:31] yes [17:31] ok because until yesterday the image wouldnt boot without network [17:31] fwiw, docker 1.5.0.002 installs fine for me in the latest image [17:31] sergiusens: i need snap :) [17:31] please!! [17:31] lools image is too outdated i am sure :) [17:32] asac: uploading, I'm on a slow connection [17:33] sergiusens: sorry i rebuilt and now its going [17:33] asac: 'dpkg-deb -x pi2*.snap x && snappy build x' might be faster [17:33] yeah [17:33] that was what i did [17:33] ok [17:33] I'll brb [17:33] sry for moron [17:33] got into a coffee shop as rain took me by surprise [17:33] asac: lol, no worries [17:34] * genii 's ears perk up at the mention of coffee, then he wanders away again [17:34] oh coffee ... good idea [17:34] :) [17:34] asac: I uploaded beagleblack.canonical btw [17:34] Heh [17:34] but i wait till i know if the new iamge just fixes the docker prob [17:34] if dd would just be faster :) [17:35] we need dd-diff ... that only applies the changed bytes :) [17:35] lol [17:36] asac: meta/package.yaml is fine [17:36] asac: it is that he uploaded to the old namespace in the store [17:37] right [17:37] jdstrand: what is in package.yaml? just docker>? [17:37] name: docker [17:37] yes : http://paste.ubuntu.com/10793087/ [17:37] the packaging is correct [17:37] goodie [17:38] kickinz1: that is not the packaging you used [17:38] kickinz1: that seems to be old [17:38] I'm guessing your old armhf package [17:38] sorry, wrong place (old docker) [17:39] http://paste.ubuntu.com/10793165/ [17:39] jd strand yes, was on my old armhf package. [17:40] well, that has 003, but yes [17:40] ogra_: hey [17:40] so can we get some help? [17:40] ogra_: hangout or something? [17:40] this is what is in the store: http://paste.ubuntu.com/10793168/ [17:40] So I really need to go, kids are alone, I planned to update to new namespace, but not sure it is woth to do it now. [17:40] kirkland, can we do it here ... i cant really do hangouts from this place atm [17:40] ogra_: okay [17:40] ogra_: so we run snappy build . [17:40] ogra_: and we get a .snap [17:40] ogra_: we push it to the device [17:41] ogra_: and snappy installs it [17:41] ogra_: now what... [17:41] ogra_: how can we tell if it's running === kickinz1 is now known as kickinz1|away [17:41] ogra_: I can't telnet to the 6565 port chatroom.ogra_0.1-5_multi.snap [17:41] kirkland, well, journalctl should have a bunch of messages about it being started [17:42] kirkland: do you see the green light on the board blinking when it boots? [17:42] webdm should aalso have an entry and yu should be able to reach it on http://$ip:6565/ [17:42] ogra_: ubuntu@localhost:~$ journalctl [17:42] No journal files were found. [17:42] asac: it blinked for a while, but not anymore [17:42] k [17:42] kirkland, sudo ;) [17:43] asac: I just re-wrote the image, again, sync sync sync [17:43] asac: and put it back in the rpi2 [17:43] kirkland, sudo journalctl|grep chatroom [17:44] that should return some stuff [17:44] ogra_: okay, good, this helps, I'm debugging now [17:44] (or just pipe toless) [17:44] asac: okay, so we're not going to have docker on rpi2 today? [17:44] asac: if so, that's fine, I'll apologize and we'll cope [17:44] kirkland, note that the package is pretty old, i didnt update it since a while and snappy changed underneath ... might be there are issues now [17:44] asac: I'd much rather put all effort into solving one problem (packaging a nodejs app) than 2 [17:45] ogra_: I'm confused a bit about one thing [17:45] ogra_: so I just untar that armhf tarball at the same level as the the meta/ and site/ dir? [17:45] ogra_: and snappy build just puts that in there? [17:46] kirkland, node-snapper generates two tarballs ... you unpack them in the toplevel of your package dir [17:46] ogra_: okay, we only care about armhf here [17:46] and should end up with an armhf and amd64 dir [17:46] ogra_: is that okay? [17:46] you need to adjust package.yaml [17:46] ogra_: can I just remove amd64 from the package.yaml [17:46] ogra_: okay, good done [17:46] yeah [17:47] so you unpack the armhf tarball in the toplevel ... [17:47] ogra_: okay, and then you just point a browser at :6565? [17:47] start-service.sh then checks for the arch and calls $arch/bin/nodejs site/server.js [17:47] right [17:48] ogra_: start-service.sh runs automatically? [17:48] it used to [17:48] not sure if the systemd service handling changed recently [17:48] kirkland: should do [17:49] if not you can try starting the service manually [17:49] have to find the right systemd name :) [17:49] we love systemd [17:49] sudo systemctl |grep chatroom [17:49] that should give you the service name [17:51] asac: okay, my rpi2 is now up with the new image [17:51] kirkland: really? [17:51] wow :) [17:51] asac: yeah, so can I install docker then? [17:51] kirkland: reflashed? [17:51] asac: yeah [17:52] no it wont work as i said above [17:52] i am trying [17:52] i think the image is too old :) ... i tested on bbb and it worked [17:52] with todays image [17:52] * kirkland has to move downstairs now [17:52] yeah gimme a bit [17:52] i am confident that it will nto bail as it does with the lool image [17:53] just have to get it booting [17:53] had the same prob you had [17:55] jdstrand: http://paste.ubuntu.com/10792912/ [17:55] can you think of a reason why that might be buggy with image from yesterday? [17:56] e.g. is there hope [17:56] it works with bbb from this morning for sure [17:56] did you check your clock ? [17:56] tyeah that was fine here [17:56] we have now ntp-like thing [17:56] so if network its good [17:57] ah, k [17:57] * ogra_ lost track ... so much stuff on phone going on atm [17:57] yeah even more stuff going on here still :/ [17:59] anyone has a good picture how to connect the serial pins on this pi2? [17:59] i would feel better if i could see whats going on [18:01] bah!!! [18:01] bah ? [18:01] reboot [18:01] udf doesnt work anymore [18:01] because i ctrl-c' [18:01] ed it [18:04] ogra_: I've been stuck here for ~10 minutes: [18:04] > utf-8-validate@1.0.1 install /node_modules/ws/node_modules/utf-8-validate [18:04] > node-gyp rebuild [18:04] there should be a spinner underneath [18:05] that usually takes a while, it compiles the modules [18:06] if yu dont see the spinner, ctrl-c and run it again ... it uses qemu-user-static for the cross building, thats not 100% reiable [18:06] ogra_: okay, ctrl-c'd, trying again [18:06] whats your host arch ? [18:06] i ran it only on amd64 machines [18:07] (and on nothing newer than utopic, though that sholdnt matter) [18:07] it was all lools fault again :) ... he didnt put --channel edge in his thingy so i tried to use the new device with devel :) [18:07] mvo: are we good on promotion? [18:07] i think that might help :_) [18:07] asac: heh [18:07] * asac regenerates two images [18:07] one pi2 [18:07] and pi2-docker with docker preinstalled [18:07] :P [18:08] not that it would help if apparmor falls over on first boot [18:08] hence i try the plain one first to see if it works :) [18:08] * asac wont figure out how to connect serial [18:08] asac: still on it :( its looking promising though [18:08] mvo: good!! [18:08] asac: Chipaca is currently tsting BBB, I did some testing on amd64/kvm [18:08] asac, i'm not near my rpi ... :/ [18:09] and i cant tell from the top of my head [18:09] ogra_: where are you? [18:09] downstairs ... [18:09] haha [18:09] :) [18:09] dont worry [18:09] i am confident that this flash run will rock [18:09] ogra_: okay, we made it past that step now [18:09] cool [18:10] asac, susie says: "cut the blue wire, not the yellow one" [18:10] (she jus asked why i laugh) [18:11] lol [18:13] mvo: do uyou know if james landed something that touches the initrd? [18:13] today? [18:13] or yesterday? [18:14] asac: I don't think so but I don't know for sure [18:14] asac: why do you ask? [18:14] just wondering if the device tarball of lool still has a chance to boot with an image 2 days later [18:14] dont worry [18:15] waiting for pi2 to start booting [18:15] asac: so testing results are a bit sparse, should we just promote amd64 and armhf (assuming the test look good) [18:15] mvo: i am not sure what that excludes :) [18:16] mvo: asac I can continue with testing now or addon to Chipaca if we can speed things up [18:16] i386 i dont care much [18:16] sergiusens: selftest fails here [18:17] sergiusens: http://pastebin.ubuntu.com/10793413/ [18:17] so this one did never get a green light [18:17] me dds again [18:18] ogra_: http://paste.ubuntu.com/10793417/ [18:18] i would very much love to be on a machine that doesnt do crazy automounting :) [18:18] i feel this induces99% of my bogus flash attempts [18:18] * asac looks up this dbus --inhibit magic [18:18] Chipaca: oh, that's why I mentioned "remove software" from package.yaml [18:18] kirkland, you dont have start-service.sh in your package [18:18] sergiusens: can udf still work with udisks --inhibit-all ? [18:18] Chipaca: mvo I'll run the selftests with the beagleblack.canonical oem package [18:19] ogra_: oh, I thought you had everything in that branch [18:19] kirkland, did you actually follow the blog ... technically just copy/pasting the terminal commands should be enough [18:19] asac: it should, there's no udisk involvement here [18:19] ogra_: I did the first time around; the second time around, I just bzr branched your +junk branch [18:19] yeah, that should be enough ... [18:20] you should just need to unpack the tarball in the toplevel [18:20] kirkland: what do uyou have in /apps/ ? [18:20] ls /apps/ [18:21] asac: so, that paste is weird-- a number of things seem wrong. aa-clickhook failed gracefully, but systemd-snappyhook had some issues [18:22] asac: is it still an issue? let me try from the store on an updated image [18:22] right i wanted to file it in the "snappy doesnt like namespaces, but that got fixed today" category [18:22] jdstrand: no its only on the lool pi2 image [18:22] i just want to know if its something underlying [18:22] or just outdated image [18:23] i totally get that anything can be possible because we rushed so many things in last few days [18:23] just wanted to feel better while i fiddle with stupid dd [18:23] seems like maybe a filesystem issue? [18:24] really? [18:24] i dont have the paste anymore [18:24] rebooted [18:24] cause that error from aa-clickhook is just about taking the json and outputting a text file [18:24] asac: I'm guessing since I don't have access to the device [18:25] maybe it was still read only? [18:25] again, guessing [18:25] no clue [18:25] letse wawit [18:25] my latest dd seems to be at least truying to boot [18:25] that's a good start :) [18:26] and it got an ip [18:26] also good news [18:26] * asac waits for cloud-init do the groundwork to get me to ssh [18:26] ok so i am in the latest and greatest snappy userspace [18:26] on the amazing lool device tarball [18:26] woo! [18:27] ogra_: okay, this looks good: [18:27] Feb 16 21:04:03 localhost.localdomain sudo[1062]: ubuntu : TTY=pts/1 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/bin/snappy install chatroom.ogra_0.1-5_multi.snap [18:27] Feb 16 21:04:32 localhost.localdomain systemd[1]: Started A simple WebRTC videochat. [18:27] Feb 16 21:04:32 localhost.localdomain systemd[1]: Starting A simple WebRTC videochat... [18:27] not getting anything though, if I point my browser at 192.168.1.115:6565 [18:27] open /apps/docker/1.5.0.002/meta/package.yaml: permission denied [18:28] that's less 'woo' [18:28] wtf [18:28] something is odd there [18:29] hmm [18:29] second time it worked :) [18:29] ehh.. [18:29] kirkland: what was the command that kickinz1|away said we should use? [18:29] good? [18:29] for armhf docker? [18:29] the docker command is there :) [18:29] asac: you need an armhf docker image [18:30] yes he gave us a command [18:30] you have that? [18:30] asac: I'll have to look in scrollback here [18:30] i dont have it :( [18:30] kirkland, hmm, anything else in the logs ? [18:30] it should just work ... [18:31] asac, kirkland: docker run -it armbuild/ubuntu [18:33] asac: you might be interested in http://paste.ubuntu.com/10791782/ [18:33] ogra_: netstat -an | grep 6565 [18:33] ogra_: shows nothing [18:33] asac: I guess if following that paste, you would change any of the 'ubuntu:' to be 'armbuild/ubuntu:' [18:33] kirkland, ps ax|grep node === ahayzen_ is now known as ahayzen [18:34] does the nodejs process run ? [18:34] asac: but I've never done that [18:36] ogra_: no node processes running [18:36] kirkland, hmm, but no errors in journalctl ? [18:37] that werid [18:37] ogra_: right, not anymore [18:37] *that's [18:37] ogra_: http://paste.ubuntu.com/10793547/ [18:37] ogra_: there's a few snappy installs in there [18:37] ogra_: note the timestamps [18:37] Feb 16 21:02:40 localhost.localdomain systemd[995]: Failed at step EXEC spawning /apps/chatroom.ogra/0.1-5/start-service.sh: Exec format error [18:37] jdstrand: do those commands work for you on bbb? [18:38] are you sure you ship the armhf tarball ? [18:38] ogra_: how can I check? [18:38] jdstrand: i always get stuff olike: [18:38] FATA[0000] Get http:///var/run/docker.sock/v1.17/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? [18:38] ogra_: fyi, I have to switch networks every time I move from IRC to the rpi, and back, so sorry for the long turnaround [18:39] jdstrand: when docker images [18:39] for instance [18:39] kirkland, does /apps/chatroom-test.ogra/0.1-5/armhf/bin/nodejs exist ? [18:39] that's weird [18:39] I've never seen that before [18:39] http:///var/run/docker.sock/v1.17/version makes no sense [18:40] yeah something bad happened [18:40] jdstrand: do uyou have a beagle? [18:40] just try installing docker and see if docker images works [18:40] is docker daemon running? [18:40] no [18:40] not yet [18:40] I just ordered one yesterday [18:40] hmm [18:40] ogra_: http://paste.ubuntu.com/10793573/ [18:41] I can say kickinz1|away tested bbb and amd64 and I tested various versions of amd64 [18:41] kirkland, looks all fine to me ... hmm, perhap some env vars have changed, start-service,sh uses $SNAPP_ everywhere [18:42] asac: what is the output of 'grep DEN /var/log/syslog' [18:42] doont have it anymore [18:42] something odd happend on first install [18:42] the rest might be cruft [18:42] ok [18:42] so its not valid [18:42] i will now check on bbb [18:42] while installing my image that has docker preinstalled [18:42] I think you are right to invalidate that test [18:42] i have the feeling my sdcard has problems [18:43] that would possibly explain things [18:43] * asac prepares to find a new one [18:43] i have that one in the pi2 since MWC [18:44] should be pretty good [18:44] pretty high quality [18:44] sergiusens: hey, this is not important at all, but with udf, it might be nice to output the revision that was downloaded. eg: sudo ubuntu-device-flash core --output ubuntu-core.img --channel ubuntu-core/devel-proposed -s 8 --enable-ssh [18:44] sergiusens: ... New image complete (rNNN) [18:44] jdstrand: so same same [18:44] BeagleBoneBlack)ubuntu@localhost:~$ docker images [18:44] FATA[0000] Get http:///var/run/docker.sock/v1.17/images/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? [18:44] that's no good [18:45] I'm going to try in kvm [18:45] jdstrand: who is supposed to start docker? [18:45] systemd [18:45] jdstrand: there is no docker job in /etc [18:45] find /etc/systemd/ | grep docker [18:45] (BeagleBoneBlack)ubuntu@localhost:~$ [18:45] asac: what does /var/log/syslog say about the install? [18:46] dunno installed it before i rebooted [18:46] syslog is persistent [18:46] Apr 10 18:42:55 localhost click[586]: ERROR:root:Failed to create system unit for docker_docker-daemon_1.5.0.002: expected string [18:46] jdstrand: I can get that in in a bit, sure [18:47] * jdstrand taps fingers waiting for image to come up [18:47] http://paste.ubuntu.com/10793654/ [18:47] jdstrand: ^ [18:47] thats a grep [18:47] ogra_: alrighty, I'm up and running [18:47] ogra_: thanks for your help [18:48] ogra_: have a good evening, sir [18:48] kirkland, yay, what was it ? [18:48] ogra_: a bunch of little things [18:48] ogra_: I'll try to write them up [18:48] heh, k [18:48] ogra_: mostly, I didn't do the right things with start-service.sh [18:48] asac: so, lool did mention earlier he was trying to start it manually... I wonder if he had the same issue [18:48] sigh [18:48] * jdstrand -> reboot [18:48] * davmor2 shows jdstrand and image quickly [18:48] kirkland, well, theoretically you shouldnt need to do anything .... so i'l like to merge any needed changes [18:48] mvo: http://paste.ubuntu.com/10793654/ [18:49] asac: poke me if docker on rpi2 comes around :-) [18:49] does that mean anything to you? [18:49] ogra_: honestly, if start-service.sh were part of your bzr branch, that would be great :-) [18:49] it is, no ? [18:49] * ogra_ checks [18:49] ogra_: no, it's generated by your node-snapper script [18:49] ogra_: and then it has to be copied over [18:49] ogra_: and then manually edited [18:49] oh, right [18:50] ogra_: i did something wrong, somewhere in there [18:50] ogra_: finally, I just went back over all of your instructions again, from scratch, and it worked well enough [18:50] yeah, because it needs to create the LD_LIBRARY_PATH and friends [18:50] ogra_: so the instructions are good :-) Just a little new/confusing the first time through [18:50] asac: hm, that looks like something in docker, no? the click error comes after the unit fails to start [18:50] ok [18:51] mvo: why would click fail to create the unit ? [18:51] that should never fail imo [18:51] asac: click should not generate it at all anymore :) its snappy-go that does that nowdays [18:51] so what is click doing here? [18:52] is that because he has com.ubuntu.snappy ? [18:52] * asac still doesnt get why that just installs [18:52] if i run snappy install docker [18:52] asac: its because the build still produces snappy compatiblity code [18:52] in which cases? [18:52] is that the problem? [18:52] asac: when snappy build is called and yes, I think that is the problem [18:52] so his package is click still? [18:52] damn [18:52] :) [18:52] jdstrand: can you dpkg -x his docker [18:53] and snappy build . it fresh? [18:53] i dont have that .snap :( [18:53] asac: nothing I can do against that yet, sorry, soon it will not be anymore [18:53] mvo: well, so i hear that he used an old snappy build ? [18:54] ok [18:54] asac: not nesessarily, the current snappy still generates compatiblity code for the older images [18:54] so you think if we upload it as .canonical it might work? [18:54] odd thing is that on amd64 jdstrand says it works [18:54] it works on my amd64 as well [18:54] well, it installs and I can run docker and it prints stuff [18:54] i can do that too [18:55] run "docker images" [18:55] that bails out [18:55] the service is not running [18:55] the docker command is there [18:55] i really need the .snap :_) [18:55] jdstrand: can you get me the .sanp from store? [18:55] i want to try sideloading it [18:55] i am sure he sideloaded it during development [18:55] and it worked ;) [18:56] beuno: can yiou check if we have an alias set in store [18:56] for docker to com.ubuntu... ? [18:57] http://paste.ubuntu.com/10793735/ [18:57] asac: -^ works on my amd64 install [18:57] asac: do you run that on the BBB? [18:59] man that was painful [18:59] ok, I'm back [19:00] mvo: yeah its buggy there [19:00] mvo: can you give me the raw snap? [19:00] i have zero clue how to get that [19:01] asac: sergiusens wrote a store-get command for this, I think we should have a hidden snappy download command for this [19:01] meh, I lost my review copy cause I rebooted [19:01] I can get it [19:01] hold on [19:02] thx so much :) [19:02] asac: go get github.com/sergiusens/store-get [19:02] asac: $GOPATH/bin/store-get docker [19:02] asac: that should work [19:02] i am not set up for go stuff :/ [19:03] lets no solve that for now [19:03] meh, ok [19:03] so seems snappy update is running ;) ... cant do more [19:03] sorry [19:04] but its really just sudo apt-get install golang-go and export GOPATH=~/go [19:04] asac, did you try on bbb? [19:04] yeah [19:04] kickinz1|away: same problem [19:04] it was working ok for me and for lool on bbb [19:04] kickinz1|away: http://paste.ubuntu.com/10793783/ [19:04] which image on bbb? [19:04] the one from this morning [19:05] snappy list gives you what? [19:05] kickinz1|away: http://paste.ubuntu.com/10793787/ [19:05] 221 [19:05] I'm on 220... [19:05] Name Date Version Developer [19:05] ubuntu-core 2015-04-10 220 [19:05] docker 2015-04-10 1.5.0.002 [19:05] kickinz1|away: did you install from store? [19:05] or sideload? [19:05] install from store [19:06] I did sudo snappy remove docker (that one was sideloaded) [19:06] yeah [19:06] then sudo snappy install docker (that on came from store) [19:06] maybe that left over the parts that dont work from store [19:06] then I tested [19:06] kickinz1|away: do you have the .snap still? [19:06] yes [19:06] would like too try side loading [19:07] https://mifamofi.net/owncloud/public.php?service=files&t=f837f7bc6787466c54c1467f43715987 [19:07] mvo: how can i manually remove the docker? [19:07] it doesnt uninstall because the service is still running [19:07] err is not running [19:09] kickinz1|away: can you put that as a file up somewhere? [19:09] nevermind [19:09] i jsut dont like using browser download [19:09] have it now [19:09] asac yes I just qhared the link before ^ : https://mifamofi.net/owncloud/public.php?service=files&t=f837f7bc6787466c54c1467f43715987 [19:09] ok [19:12] asac: http://people.canonical.com/~jamie/docker_1.5.0.002_all.snap [19:13] ok so sideloading does the trick [19:13] i think its the com.ubuntu... fun thing [19:14] ok /me goes all in and preinstall the sideloaded docker :) [19:14] for pi2 [19:14] jdstrand: you can upload for .canonical? [19:14] fyi, I just did 'sudo snappy install docker' from the store and it is working [19:15] on amd64 [19:15] yeah i dont know why that is the case [19:15] r377 [19:15] i know that i just sideloaded it and it works on bbb [19:15] like our theory [19:15] I'll update my bbb to 221 and check install from store [19:15] it didnt work on pi2 from store nor on bbb when i didnt have it instaleld before [19:15] give me a minute [19:15] kickinz1|away: so be sure that you remove all stuff of docker [19:16] kickinz1|away: rm -rf /apps/docker/ [19:16] kickinz1|away: rm -rf /apps/bin/docker* [19:16] kickinz1|away: rm -rf /var/lib/apps/docker/ [19:16] kickinz1|away: have you updated the docker branch? [19:16] kickinz1|away: and also the docker stuff in /etc/systemd/ [19:16] kickinz1|away: so rm /etc/systemd/system/multi-user.target.wants/docker_docker-daemon_1.5.0.002.service [19:16] and rm /etc/systemd/system/docker_docker-daemon_1.5.0.002.service [19:16] then installing from store will explode [19:16] our theory because of the namespace\ [19:17] i think our snappy remove does not clean the systemd jobs [19:17] is what i suspect [19:17] remove seems to have some bugs [19:18] yeah [19:18] I haven't had a chance to dig in and file them [19:18] the data is still there [19:18] not the systemd stuff [19:18] odd [19:18] guess next week is bug fix mode :) [19:18] and not that many features :) [19:20] wtf now from store worked too [19:20] sigh [19:20] on bbb ? [19:21] yeah [19:21] very very odd [19:21] after a sideload? [19:21] i installed 2 hours ago [19:21] no systemd jobs [19:21] (from store) [19:22] i manually cleaned all things and sideloaded -> worked [19:22] i manually cleaned and install from stored -> worked [19:22] did you removed /var/lib/apparmor/docker related stuff? [19:22] oh no [19:22] that one i didnt [19:22] good point [19:22] i only did /var/lib/apps/docker [19:23] so that might be it [19:23] there is also framework policy in /var/lib/snappy [19:23] jdstrand still uploading, very slow bandwith... [19:24] jdstrand just uploaded [19:24] ok [19:24] jdstrand: can we maybe reupload kickinz1|away's snapp as .canonical ? [19:24] there it goes [19:24] can you do that? [19:24] i think its worth a shot :P [19:24] asac: that is what I am working on [19:24] we certainly prefer to not have com.... [19:24] ah thanks [19:24] we need to find the store folks [19:24] a) shut down the smoser account [19:24] b) clean the docker :) [19:26] omg [19:26] there is so much stuff of docker in the FS [19:26] even in click directories taht shouldnt exist in my world view [19:26] spread everywhere [19:26] jdstrand: we really need to clean up the world where appamore spreads stuff :) [19:26] its everywhere [19:27] needs to be nicely in one place :P [19:27] know its not you [19:27] but just saying [19:27] its hooked in everywhere [19:27] kinda makes sense that we dont clean it nicely on remove [19:28] kickinz1|away: so i cant say that its really the sideloading [19:28] because my bbb was certainly not docker free when it suddenly started working [19:28] guess we have to find | grep docker and rm -rf manually [19:28] or on fresh flash which is awful [19:28] ok flashing fresh pi2 again [19:30] jdstrand: http://paste.ubuntu.com/10793979/ [19:30] asac: re apparmor, yes, that is part of what /var/lib/snappy is about. that is the new world. the old world still exists [19:31] so we have click and snappy locations, so its weird [19:32] s i think i removed all fiels that had name docker [19:32] and sideloading still worked [19:32] so there is hope [19:32] but maybe i oversaw something [19:34] there is also the issue that things are garbage collected when install fails, but not completely [19:35] yeah for sure [19:36] ok, lp:~snappy-dev/snappy-hub/docker updated to what is in the store now [19:36] now preparing 1.5.0.003 with .canonical [19:40] ok, the snap looks good [19:41] actually, I'm not sure what account is used for .canonical. is that on the mailing list? [19:41] sergiusens: ^ [19:42] INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) [19:42] WARN[0000] WARNING: Udev sync is not supported. This will lead to unexpected behavior, data loss and errors [19:42] FATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed [19:42] kickinz1|away: ^^ [19:42] so i think thats the problem [19:42] jdstrand: I have creds and so does mvo [19:42] I've got it now [19:42] jdstrand: want it [19:42] ah you got it [19:42] thanks [19:42] root@localhost:/apps/docker/1.5.0.002# /apps/docker/1.5.0.002/bin/docker.start [19:42] INFO[0000] +job serveapi(unix:///var/run/docker.sock) [19:42] INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) [19:42] WARN[0000] WARNING: Udev sync is not supported. This will lead to unexpected behavior, data loss and errors [19:42] FATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed [19:42] * asac bets its kernel option missing [19:42] * sergiusens watches the flood of asac [19:43] 21:42 < asac> FATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed [19:43] really would like to know what that tries to do [19:43] http://paste.ubuntu.com/10794076/ [19:43] that looks suspicious [19:44] yeah this ioctl multiplies when i run docker [19:45] https://github.com/docker/docker/blob/dd786eefbbf286ca57b52374a6905c1ac8b8bd60/docs/sources/installation/kernel.rst [19:45] Can I see the available packages for this distro? [19:47] anyone here knows how is the progress to Digital Ocean accepts Ubuntu Core? [19:51] bbb: updating from 3 -> 222 ;) (slow bandwidth used an already downloaded). [19:53] sergiusens: "The uploaded package name (docker) does not use your namespace (canonical)" [19:54] sergiusens: I thought we said I did not need .canonical in the name? [19:55] the store may need an alias [19:55] asac: please advise ^ [19:55] yaml has: name: docker [19:55] upload resulted in "The uploaded package name (docker) does not use your namespace (canonical)" [19:55] ok found somethign [19:55] jdstrand: that's not ready afaik [19:55] our kernel doesnt have enough options [19:55] CONFIG_BLK_DEV_DM [19:56] CONFIG_DM_THIN_PROVISIONING\ [19:56] jdstrand: you know kernel packaging fu enough to maybe add those options ? and spin a ppa build? [19:56] https://launchpad.net/~p-pisati/+archive/ubuntu/misc/+files/linux-bcm2709_3.19.1-4.4.dsc [19:56] sergiusens: if that's true, we should hold off on uploading this into the .canonical namespace [19:56] tyhicks: can you take a look at that? ^ [19:57] tyhicks: at what asac mentioned [19:57] so i am cross checking https://github.com/docker/docker/blob/dd786eefbbf286ca57b52374a6905c1ac8b8bd60/docs/sources/installation/kernel.rst [19:57] with cat boot/config-3.19.1-4-generic-bcm2709 | pastebinit [19:57] http://paste.ubuntu.com/10794169/ [19:57] and CONFIG_BLK_DEV_DM [19:57] missing makes lots of sense given the error we see [19:57] http://paste.ubuntu.com/10794076/ [19:58] let me see what snappy does if I do 'name: docker.canonical' [19:59] yeah [19:59] but the optioons are missing for sure [19:59] so missing from what i see is: [19:59] CONFIG_MEMCG_SWAP [19:59] CONFIG_DM_THIN_PROVISIONING [19:59] I'm quite sure snappy is going to not dtrt with docker.canonical [19:59] CONFIG_BLK_DEV_DM [19:59] jdstrand: i think it will [19:59] unless we still install apps with .developer :_) [19:59] otherwise its tracked [20:00] no, I don't think so [20:00] it is going to install the framework policy incorrectly [20:00] because frameworks are expected to be toplevel [20:01] kirkland: bad news... docker wont run on pi2 because we lack some kernel options... and i wont be able to give you a new kernel with those options [20:01] we might have some luck, but best focus on bbb and tell them that pi2 will behave the same [20:01] asac: is there a git tree with the bcm2709 kernel source? [20:01] tyhicks: no clue [20:01] we really just need a one off [20:01] to bandaid [20:01] tyhicks: you can dget the dsc [20:02] I've only ever built ubuntu kernels out of the kernel team's git trees [20:02] and dpkg-source -x it :) [20:02] I can give the dsc a shot [20:02] tyhicks: http://people.canonical.com/~lool/pi2-device-and-oem/ [20:02] tyhicks: so there probably is one if you give me gitweb [20:02] i can search [20:02] tyhicks: there's a link to a deb built by paulo [20:02] its ppisiati [20:02] who did that [20:02] in a ppa [20:02] tyhicks: but i never can find gitweb [20:03] asac: http://kernel.ubuntu.com/git [20:03] * asac waits for the resource efficient gitweb app to figure what to display :) [20:04] asac: http://kernel.ubuntu.com/git?p=ppisati/ubuntu-vivid.git;a=summary [20:04] asac: okay, no worries [20:04] asac: thanks a lot, I'll apologize to the guys here [20:04] kirkland: could be... but it makes sense now [20:04] asac: thanks to ogra, we have a nodejs app :-) [20:04] kirkland: so you can sideload it to bbb for sure [20:04] asac: we're happy enough with that [20:05] cool [20:05] well, i spend so much time of my friday night that i needed to spend on something else [20:05] that i really want this to work :) [20:05] sergiusens: I'd need to build a new snappy image to provide an updated kernel? [20:05] asac: +1, go have a beer or 5 [20:05] * tyhicks is looking at the pi2-device-and-oem link [20:05] kirkland: well, if tyhicks can build a new kernel i might spin a new image for you tomorrow that will work [20:06] tyhicks: you cannot do that [20:06] tyhicks: if you have the kernel with those new options [20:06] talk to me :) [20:06] and i wil try to hack it into the device tarball and see if it works [20:06] its a bit of a nightmare :) [20:06] ok [20:06] 21:55 < asac> CONFIG_BLK_DEV_DM [20:06] 21:56 < asac> CONFIG_DM_THIN_PROVISIONING\ [20:07] asac: fyi, https://bugs.launchpad.net/snappy-ubuntu/+bug/1442790 [20:07] 21:57 < asac> and CONFIG_BLK_DEV_DM [20:07] tyhicks: those tree [20:07] * tyhicks nods [20:07] three!! [20:07] asac: (snappy remove doesn't remove everything) [20:07] * tyhicks will give it a shot [20:07] asac: I'm not going to do it in a ppa - that'll take too long [20:07] yeah [20:07] tyhicks: i need armhf image and modules deb [20:07] the rest i will just fiddle around from there [20:07] * tyhicks nods [20:07] tyhicks: you migth want to heck if we enable those options as modules [20:07] or as y [20:08] in our normal kernel [20:08] just check on amd64 [20:08] if its y [20:08] right [20:08] will do [20:08] maybe its just swapping the vmlinuz :) [20:08] that would be jackpot [20:08] at least i would just try to do that for bandaiding [20:08] asac: if so, give it to mahmoh [20:08] asac: he's supporting the hackathon tomorrow [20:08] interesting: rm: cannot remove '/var/lib/apps/docker/1.5.0.002/aufs': Device or resource busy [20:08] kirkland: is he up to speed? [20:08] :) [20:08] kirkland: he isnt even online :( [20:08] i tried to find him all week [20:09] jdstrand: yeah thats all funny [20:09] tyhicks: sorry i posrted one config twice... the third i found on docker page is CONFIG_MEMCG_SWAP [20:09] hopefully aufs is in said kernel too [20:10] but not sure if we needt hat... the first two are surely the ones matching the errors i get in dmesg [20:10] let me see [20:10] i think it is [20:10] cat boot/config-3.19.1-4-generic-bcm2709 | pastebinit [20:10] http://paste.ubuntu.com/10794241/ [20:10] jdstrand: ^ [20:11] jdstrand: thats odd [20:11] https://github.com/docker/docker/blob/dd786eefbbf286ca57b52374a6905c1ac8b8bd60/docs/sources/installation/kernel.rst [20:11] its not there [20:11] Note: as of 0.7 docker no longer requires aufs. AUFS support is still available as an optional driver. [20:11] jdstrand: ^^ [20:11] read that page :) [20:11] erf, I hit the darn useless logging bug and garbage collection on install [20:11] not sure why you have docker still using it though [20:11] :{ [20:11] jdstrand: file them and we knock them out next week :)... bug fixing [20:11] maybe make a short list [20:12] asac: probably not, you'll need to send him a note [20:12] asac: I'm heading home tonight [20:12] well, I only mentioned aufs cause that aufs file was not removable [20:12] kirkland: is he not around? [20:12] asac: I filled them yesterday [20:12] filed [20:12] that is what kept people up late into the night [20:14] asac: hi [20:14] hi mahmoh [20:14] kirkland: so what kind of stuff are they doing there and mind need support? [20:14] kirkland: maybe other channel [20:20] asac: on my fresh bbb 222: http://paste.ubuntu.com/10794316/ [20:21] kickinz1|away: yep see above [20:21] kickinz1|away: seems some bugs in snappy caused the bbb also to have troubles [20:21] kickinz1|away: it all seems to be kernel options missions [20:21] missing [20:21] ok [20:22] sorry [20:22] the basics definitely work on bbb [20:22] kickinz1|away: sorry for causing confusion :) [20:22] but friday night things go crazy [20:22] kickinz1|away: we meet on sunday! [20:22] go off [20:23] asac, ok see you on sunday! === kickinz1|away is now known as kickinz1|afk [20:23] good to know that away is closer than afk :) [20:25] Are the packages from ubuntu available to snappy??? [20:27] asac: CONFIG_BLK_DEV_DM is already 'y' [20:28] asac: CONFIG_DM_THIN_PROVISIONING a module on amd64 - would you rather me build it in for this one-off kernel? [20:29] (CONFIG_MEMCG_SWAP is built in on amd64 so I'll build it in for this kernel, too) [20:29] tyhicks: yeah if it can be just built in thats better [20:29] will do [20:30] thin certainly makes sense as well with the dmest [20:30] dmesg :) [20:35] tyhicks: guess just give me vmlinuz :) [20:41] asac: ok, so framework policy is not copied correctly with 'name: docker.canonical_client'. as a result, the docker cli command doesn't work (cause it references this policy). I could make it all work, but by definition frameworks are supposed to be toplevel [20:41] yeah [20:41] asac: I think we should hold off on docker in the .canonical namespace [20:41] jdstrand: so what i dont understand is why the com.... works [20:41] jdstrand: i guess the alias? [20:41] thats fine [20:41] asac: because there is a server side hack iirc [20:42] the .canonical will go away if we do switch [20:42] its the alias [20:42] i think [20:42] maybe it is now an alias and not a hack [20:42] if i install docker [20:42] we had hacks in december [20:42] right [20:42] its not clear to me how the fact that its an alias propagates [20:42] me either [20:42] jdstrand: did you use docker.canonical in yaml? [20:42] i think dont do that [20:42] just use docker [20:42] and upload it as .canonical [20:42] and then its fine [20:43] i think store already implemented it [20:43] as origin [20:43] so we can kick it out of package.yaml [20:43] asac: right, so, with 'name: docker' on upload I had the store tell me I messed up [20:43] this is why it works for what we did with com... [20:43] odd [20:43] with 'name: docker.canonical' I see the policy issue [20:43] ok then the store hasnte finished work [20:43] lets not bother till they land that origin feature [20:43] i thought it was done [20:43] but maybe they are stilll doing something [20:43] asac: when you say 'upload it as .canonical' what do you mean? [20:43] adjust the filename? [20:44] jdstrand: its meant to be only something you do in the store [20:44] you package it up without namespace [20:44] and upload it as .canonical [20:44] then its all good [20:44] yes, what does that mean? [20:44] :) [20:44] that is what I attempted to do first [20:44] this means you upload it as use that has namespace .canonical [20:44] yeah [20:44] the store will just track that as "origin" [20:44] ok, that didn't work [20:44] right [20:44] this is the only big thing we are missing [20:44] for next week [20:45] from what i know :) [20:45] besuides your security refinements [20:45] I logged to the proper account, the store recognized (as seen through the error message) that I was in the .canonical namespace, but didn't like the package [20:45] yeah then they didnt land it ompletely [20:45] i know they were super close but had to migrate DB [20:45] jdstrand: do we need a backport of the click-reviewers-tools in the ppa:snappy-dev/tools (and/or beta)? [20:45] ok, that's fine [20:45] but wanted to do that over weekend or something [20:46] mvo: so.. I was working on the review tools and then was asked to put them aside in favor of seccomp [20:46] mvo: I have a lot of changes that need to land but they aren't quite ready yet [20:46] this is for bugs and security yaml [20:46] jdstrand: no problem, I was just curious [20:46] tyhicks: maybe the vmlinuz is already done (while it builds the module lot)? [20:47] jdstrand: I personally think that the seccomp stuff is more important to land [20:47] once I get through seccomp I'll pick that up again [20:47] crazy times :) [20:47] * asac remembers the two weeks before first release for cloud [20:48] so, for anyone interested, lp:~snappy-dev/snappy-hub/docker is up to date with what is in the store and tagged [20:48] thanks [20:48] so if people want to change the packaging, just do: snappy build ./package-dir [20:49] mvo: have I mentioned how I do snappy builds? [20:49] mvo: I don't use the tools for snappy [20:50] mvo: I fire up a snappy image then: scp -P 8022 ubuntu@localhost:/usr/bin/snappy /tmp ; /tmp/snappy build ...' :) [20:50] mvo: I guess static linking is good for mething :) [20:50] something [20:56] jdstrand: haha, nice. [20:56] asac: there were some file permissions related failures that stopped the build - it is running now [20:57] jdstrand: thats good so you tested the snappy go builds already, excellent [20:57] tyhicks: thank you for looking at that [20:57] mvo: always! :) [20:57] np [20:57] mvo: I then run them through my review tools branch [21:03] tyhicks: local problems? [21:03] * asac ignores [21:04] asac: here you go: http://people.canonical.com/~tyhicks/bcm/linux-image-3.19.1-4-generic-bcm2709_3.19.1-4.4+kconfig1_armhf.deb [21:05] asac: unpack the deb and pull out the vmlinux file === j12t_ is now known as j12t [21:19] asac: be sure to check your email - paolo was one step ahead of us and will have a more official build ready in a couple hours [21:19] sergiusens: sorry, but any idea what http://paste.ubuntu.com/10794788/ means and how I can get rid of it? [21:20] I'm not sure if you want to go through the image generation with my kernel or wait for his [21:21] tyhicks: right now i want to try copying it hard to /boot :) [21:22] not new image [21:25] that makes sense [21:29] tyhicks: thanks! http://paste.ubuntu.com/10794885/ [21:29] it works :) [21:30] nice! :) [21:32] well they die [21:32] not sure whats going on :) [21:32] nice, and really nice to see the raspi2 oem snap from lool [21:32] yeah [21:32] thats cool [21:33] its comming togehter [21:51] * asac waves and goes to semi weekend and then travel :)