/srv/irclogs.ubuntu.com/2015/04/10/#snappy.txt

JamesTaitGood morning all; happy Friday, and happy Siblings Day! :-D09:08
=== vrruiz_ is now known as rvr
=== erkules_ is now known as erkules
sergiusensmvo: it's frameworks (list versus string)10:58
sergiusensmvo: I was going to fix last night but got distracted fixing other things10:58
mvosergiusens: yeah, fixed10:58
mvosergiusens: no worries10:58
sergiusensmvo: just removed the line a suppose10:58
sergiusensmvo: btw, mind looking at my latest u-d-f mps?11:11
mvosergiusens: yeah, just removed it11:11
mvosergiusens: sure, do you have a url?11:11
mvosergiusens: I will need lunch first though11:11
sergiusenspitti: fwiw, was just trying to know the status on ntp, not sure you were on top of it or who was11:13
sergiusensmvo: https://code.launchpad.net/goget-ubuntu-touch/+activereviews11:14
pittisergiusens: we have timesyncd enabled by default now, AFAIK that was the intended ntp client for snappy?11:14
sergiusensmvo: the ones from les that 24hrs ago :-)11:14
sergiusenspitti: oh, it is, great!11:14
=== kickinz1 is now known as kickinz1|lunch
=== kickinz1|lunch is now known as kickinz1
loolsergiusens: how do I use your new beaglebone snap straight from the store?12:58
sergiusenslool: call it by name13:03
sergiusenslool: e.g.; beagleboneblack.sergiusens13:03
sergiusens--oem beagleboneblack.sergiusens13:03
loolsergiusens: sudo ubuntu-device-flash core \ --platform am335x-boneblack \ --size 4 \ --oem beagleboneblack.sergiusens --developer-mode --channel=ubuntu-core/devel-proposed -o bbb.img13:08
sergiusenslool: --size is 4 by default13:09
sergiusenslool: just sudo ubuntu-device-flash core --output bbb.img --channel edge --oem beagleboneblack.sergiusens is enough13:10
sergiusenslool: I tried to apply sane defaults everywhere to type less13:10
loolsergiusens: what defines "edge" as a channel?13:22
loolsergiusens: and how does it figure --platform am335x-boneblack?13:24
lool(I'd like to do the same for pi)13:25
loolok, found channel maps13:25
sergiusenslool: platform is in the oem snap13:26
sergiusenslool: the channel maps is a shorthand, (and some form of consistency with the snappy tool)13:26
loolit 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 now13:27
beunolool, sergiusens, started working on a spec: https://docs.google.com/document/d/1-BFwOcM7yq3feowdAL9SVW5UZkNHiE0q3duXBMUkkyY/edit13:29
sergiusenslool: I was waiting for the system image rename to happen to make this easier13:30
loolbeuno: I guess you've already seen the naming of the chrome release channels13:31
loolhttps://www.chromium.org/getting-involved/dev-channel13:31
loolit seems we have the same number of channels, but with different names13:31
lool(that's fine of course)13:31
beunolool, we have 1 more!  :)13:33
beunoanyway, its subject to change, it captures the discussions we've had so far13:33
lool(RaspberryPi2)ubuntu@localhost:~$ sudo snappy install docker_1.5.0.001_multi.snap13:35
loolInstalling docker_1.5.0.001_multi.snap13:35
lool2015/04/10 13:34:53 Signature check failed, but installing anyway as requested13:35
loolmkdir /apps/docker/1.5.0.001/meta/framework-policy: permission denied13:35
loolunpack docker_1.5.0.001_multi.snap to /apps/docker/1.5.0.001 failed with exit status 113:35
loolkickinz1: ^13:35
loolmvo: ^ does the above sound familiar (snappy go version on image 220 on rpi2)13:35
fionnanI'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:36
kickinz1fionnan, you need to have your Dockerfile in /home/ubuntu/apps/docker/1.3.xxx/13:37
fionnanif anyone knows of any docs about using docker on snappy would be great too, I can't seem to find anything :(13:37
fionnankickinz1: cool, thanks!13:38
kickinz1then in this dir you run docker buid...13:38
sergiusenslool: I think Chipaca is dealing with this13:38
Chipacasergiusens: with what?13:38
loolChipaca: see above error when installing docker13:39
kickinz1lool, hdstrand had this yesterday evening, but it was related to a bad docker-daemon.apparmor.13:39
lool15:35 < lool> mkdir /apps/docker/1.5.0.001/meta/framework-policy: permission denied13:39
lool15:35 < lool> unpack docker_1.5.0.001_multi.snap to /apps/docker/1.5.0.001 failed with exit status 113:39
fionnankickinz1: that fixed it!13:39
loolkickinz1: I've built the rootfs minutes ago against devel-proposed; how do I get the fix?13:39
Chipacalool: that does not look like something i'm doing, no13:39
Chipacalool: why did you get permission denied on mkdir?13:39
kickinz1lool: I will upload a more recent one for you to test, but the one I sent to you was supposed to work13:40
Chipacaooh, wait, that might be me13:40
* Chipaca looks a bit deeper13:40
sergiusensmvo: jodh I got this weird problem when upgrading from d-p to devel-proposed http://paste.ubuntu.com/10791611/13:40
loolkickinz1: I have beagle up too13:41
Chipacalool: so, that error itself is not me afaict, but i'd be interested in knowing how you got there13:41
loolubuntu-core     2015-04-10 22013:41
Chipacalool: are the permissions in the docker tar wrong?13:41
loolChipaca: I dont know, I can check13:41
Chipacalool: please13:42
loolChipaca: look alright to me13:42
loolChipaca: http://paste.ubuntu.com/10791622/13:42
Chipacayep, those lok alright13:43
Chipacalook*13:43
Chipacalool: do you have anything in dmesg?13:45
sergiusensChipaca: remember that snappy calls unpack with reduced privs13:45
Chipacasergiusens: but i don't see any reason for a mkdir at random to fail on unpack, which is what's reported here13:46
jodhsergiusens: it's an upgrader bug resulting from the recent rework. Fixing...13:48
Chipacalool: 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 hitch13:50
Chipacalool: so i'd really like to know more :)13:50
lool[   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
lool[   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:50
lool[   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
loolare the only dmesg bits13:51
Chipacalool: dmesg -T will give you saner timestamps, for next time :)13:51
Chipacanone of those seem relevant to docker13:51
loolgood to know13:51
loolChipaca: no13:51
loolChipaca: would also be surprized that snappy install would run confined13:52
loolso mkdir failing is weird13:52
loolChipaca: I'll test on BBB in a few, with an updated snap13:52
Chipacalool: what are you testing on, here?13:53
loolChipaca: oh sorry, dmesg is from wrong board13:53
Chipacalool: is this the same vm that was saying "no space left on device"?13:53
loolI actually reinstalled since13:53
loolChipaca: so yes, it is from same vm13:54
loolChipaca: and I think the issue is missing modules13:54
lool[Fri Apr 10 13:00:10 2015] systemd-journald[458]: Failed to create new runtime journal: No space left on device13:54
loolprobably lack of tmpfs13:54
loolright, lsmod is empty13:54
loolthe modules are there in rootfs, but not initrd13:54
* lool goes updating13:54
Chipacalool: so it looks like that vm is otherwise fubar'ed13:55
loolyeah13:56
Chipacalool: if you can reproduce the issue with a vm that is not already broken let me know :)13:56
Chipacai really think we need a "sanity check" command in snappy13:56
Chipaca... but there's so much more stuff we need :)13:56
loolbah I foobarded the initrd14:02
lool/sbin/udevadm: line 2: ��HL�F�k���@�������14:06
loolsomehow not good14:06
lool/sbin/udevadm: line 1: ELF: not found14:06
loolppisati: 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.lz14:08
loolwell, I'll start with gzip14:08
eltigreis it possible to develop/tinker on snappy core on raspberry pi without a second raspberry pi running ubuntu?14:08
ogra_lool, abootimg-unpack-initrd ... abootimg-pack-initrd14:12
ogra_we have helpers for this ;)14:12
loolok, managed to repack initrd14:15
loologra_: thanks14:15
loolit was actually my unpacking which was incorrect14:15
lool(forgot -d to cpio)14:15
loolI still get [   50.591157] systemd-journald[399]: Failed to create new runtime journal: No space left on device14:15
loolppisati: so for some reason the modules dep were out of date14:17
loolI still get the dreaded [   50.525271] systemd-journald[332]: Failed to create new runtime journal: No space left on device14:22
eltigreI don't see any information about "cross compiling" or porting applications to raspi/snappy, so maybe it isn't that easy14:22
looleltigre: http://hypernephelist.com/2015/03/09/cross-compilation-made-easy-on-ubuntu-with-sbuild.html14:23
looleltigre: it depends *what* you're cross-compiling though14:23
looleltigre: I typically did all the MWC snaps with cross-compilation14:23
loolgo / C / C++ ones mainly14:24
loolbut sometimes it can be a pain14:24
eltigreI would be using python14:24
looleltigre: are there native bits?14:24
eltigreI think I will go the raspbian route for the foreseeable future14:24
eltigremaybe14:24
looleltigre: I'm not sure why it would be any easier with raspian14:25
eltigreit's pretty easy to run into C extensions you didn't expect in Python nowadays14:25
lool*raspbian14:25
eltigreit compiles stuff14:25
eltigreslowly, but it does14:25
eltigreand it has a package manager, unlike snappy14:25
loolwe do have a package manage, it's snappy!  :-)14:25
eltigreno, that's an application manager14:26
looleltigre: right, we dont have snaps for a build environment14:26
eltigrethe difference being that you have to somehow get your dependencies in the app itself, as far as I understand it14:26
loolthat's right14:26
loolkickinz1: ok, I managed to install docker on rpi2 now14:27
eltigrewhich is on one hand a very good idea, but on the other... well... unfamiliar and currently much more work14:27
looleltigre: I think that's about right14:27
loolit's less familiar and more work right now14:28
loolbut it pays off in the end14:28
looleltigre: you can have an Ubuntu chroot on a snappy install where you do the builds14:28
kickinz1lool: ok, I have a new package for you then.14:28
loolor a qemu-arm schroot on your desktop (above blog post) or cross-build stuff14:28
eltigreproblem is, I'm not that familiar with the chrooting stuff... I hardly even grokked docker14:28
looleltigre: now specifically for python, you'd want to grab barry who's worked exactly on this topic14:28
looleltigre: https://lists.ubuntu.com/archives/snappy-devel/2015-April/000428.html14:29
eltigrethanks14:29
loolkickinz1: does it intentionally have the exact same name as the previous one?14:30
lool2015/04/10 14:31:01 Signature check failed, but installing anyway as requested14:31
loolopen /apps/docker/1.5.0.001/meta/docker-daemon.seccomp: permission denied14:31
loolunpack docker_1.5.0.001_multi (1).snap to /apps/docker/1.5.0.001 failed with exit status 114:31
jdstrandthat's weird14:31
loolkickinz1, jdstrand: The older snap installs fine though14:31
jdstrandlool: this might be because you are installing the same version over other?14:32
kickinz1lool: on bbb?14:32
loolkickinz1: both on rpi214:32
looljdstrand: maybe14:32
looljdstrand: I had snappy removed though14:32
jdstrandlool: what is ls -l /apps/docker/1.5.0.001/meta/14:32
loolright now after successful install of old snap: http://paste.ubuntu.com/10791980/14:33
* lool removes14:33
jdstrandthat looks fine14:33
loolnow /apps/docker exists but is empty14:33
jdstrandlool: do ls -l after removal too14:33
jdstrandok, that is what I've seen14:34
loolnow installing again the new one14:34
loolI've renamed it to drop the " (1)" in the filename14:34
loolah that worked14:34
looljdstrand: was just a filename issue14:34
jdstrandok cool14:34
loolnow I got http://paste.ubuntu.com/10791992/14:35
kickinz1jdstrand seems ok on bb for me14:35
loolkickinz1: ok, installed latest snap on pi2; what do I confirm?14:35
kickinz1lool: docker run -it armbuild/ubuntu14:36
kickinz1on the container just try some things like: "apt-get update && apt-get upgrade"14:36
loolFATA[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
kickinz1then docker stop "id of the container"14:36
* lool removes docker, and grabs latest package14:37
kickinz1lool, sudo systemctl status docker_docker-daemon_1.5.0.001.service14:37
loolkickinz1: switching to your latest snap first14:38
kickinz1lool ok14:38
loolinstalling14:39
lool  Process: 1347 ExecStop=/apps/docker/1.5.0.001/bin/docker.stop (code=exited, status=0/SUCCESS)14:40
lool  Process: 1319 ExecStart=/apps/docker/1.5.0.001/bin/docker.start (code=exited, status=1/FAILURE)14:40
kickinz1lool, can you paste the tailed output of "sudo journalctl -l"14:41
jdstrandlool: you may have a stray docker running from before14:41
loolkickinz1: cloud-init stuff only14:42
looljdstrand: yeah, that's what I think too14:42
loolI dont see it in ps though14:43
* lool reboots14:43
looluh -bash: docker: command not found14:45
lool   Loaded: not-found (Reason: No such file or directory)14:46
loolI dont see the systemd service file under /etc/systemd/system14:47
loolok. trying BBB now14:51
loolok, docker is running14:51
lool$ docker run -it armbuild/ubuntu14:51
loolUnable to find image 'armbuild/ubuntu:latest' locally14:51
loolPulling repository armbuild/ubuntu14:51
loolit's doign stuff14:52
loolkickinz1: So not tested in full on BBB, but seems mostly working14:52
kickinz1lool, ok, thanks!14:52
loolwould love some help debugging the isuse on rpi214:53
loolI'm removing docker snap, will search for stray files, and reboot14:53
lool   Active: failed (Result: exit-code) since Fri 2015-04-10 15:01:17 UTC; 13s ago15:01
lool  Process: 1033 ExecStopPost=/apps/docker/1.5.0.001/bin/docker.poststop (code=exited, status=0/SUCCESS)15:01
lool  Process: 1003 ExecStart=/apps/docker/1.5.0.001/bin/docker.start (code=exited, status=1/FAILURE)15:01
lool/apps/docker/1.5.0.001/bin/docker.start: line 14: /home/ubuntu/etc/docker.conf: No such file or directory15:02
lool/apps/docker/1.5.0.001/bin/docker.start: line 32: docker: command not found15:02
loolFATA[0000] open /var/run/docker.pid: permission denied15:03
looljdstrand: what's the magic to force regenerating the profiles? probably because I installed multiple snaps with same version15:05
lool[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=015:05
jdstrandlool: sudo aa-clickhook -f ; sudo aa-profile-hook -f15:05
loolthanks15:05
looljdstrand: 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=015:06
jdstrandkickinz1: ah-- ^15:06
loolthat's only on pi2 though15:06
jdstrandwe have this rule:15:06
jdstrand/run/@{APP_PKGNAME}.pid rw,15:06
looljdstrand: note that I'm running this by hand because the job fails to start15:07
jdstrandbut APP_PKGNAME is 'docker-daemon'15:07
loolaha15:07
kickinz1jdstrand, I don't understand how it works on bbb as it is also running docker.armhf.15:07
jdstrandthat isn't the part15:08
jdstrandname="/run/docker.pid"15:08
jdstrandwe have:15:08
jdstrand@{APP_APPNAME}="docker-daemon"15:08
jdstrand/run/@{APP_PKGNAME}.pid rw,15:08
jdstrandoh wait15:08
jdstrandno, that is right, I misread it15:08
lool[Fri Apr 10 15:07:34 2015] device-mapper: table: 254:0: thin-pool: unknown target type15:09
lool[Fri Apr 10 15:07:34 2015] device-mapper: ioctl: error adding target to table15:09
loolthat seems to be the actual error from the job15:09
loolppisati: ^15:09
jdstrandoh this is the docker command15:09
jdstrandkickinz1: hold on15:09
looljdstrand: I suspect it's non-fatal15:10
jdstrandyes15:10
jdstrandit is15:10
loolso annoying, but systemd cleans things up15:10
ppisatiit refers to this: drivers/md/dm-thin.c:15:10
jdstrandinteresting that amd64 didn't need it15:10
loolppisati: is it built in your rpi2 kernel?15:11
ppisatilool: do you have that module?15:11
ppisatino idea15:11
loolppisati: what's the module name?15:11
loolDM_THIN_PROVISIONING15:12
loolppisati: # CONFIG_DM_THIN_PROVISIONING is not set15:12
loolppisati: I blame it all on you!15:12
ppisatiobj-$(CONFIG_DM_THIN_PROVISIONING)      += dm-thin-pool.o15:12
ppisati:)15:12
loolppisati: could you make sure this is part of our "Ubuntu standard options that always turned on"?15:12
ppisatiYES YES WHIP ME WHIPE!!! :D15:12
ppisatiyeppa15:13
ppisatii can kick a new build15:13
ppisatiright now15:13
loolppisati: and coud you rebuild a rpi2 kernel with all interesting options we usually want turned on?15:13
loolthanks15:13
ppisatilool: we already have all the interesting options turned on15:13
ppisatilool: this one wasn't part of it15:13
loolkickinz1: 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, monday15:13
* ppisati goes and kick a new build15:13
jdstrandlool: when did you see that? when the service was correctly running or when it wasn't?15:13
looljdstrand: that was on the rpi215:13
jdstrandwas docker-daemon running?15:14
looljdstrand: trying to run the service by hand to trigger15:14
looljdstrand: no15:14
jdstrandah15:14
jdstrandright, then that is correctly denied15:14
looljdstrand: actually on BBB I see *nothing*15:14
looljdstrand: so I guess it's not something you'd want to worry about15:14
loolI guess side effect of me launching teh job by hand somehow15:15
jdstrandlool: to start by hand, do sudo aa-exec -p docker_docker-daemon_1.5.0.001 -- /apps/docker/current/bin/docker.armhf ...15:15
loolthanks15:15
jdstrandlool: if you use 'docker' by hand, you get the 'docker cli command' and policy from /apps/bin15:16
loolthanks15:16
jdstrandlool: but you want to run docker as a daemon, so you need to start it under that profile15:16
jdstrandkickinz1: nothing to be done15:16
jdstrandat least policy wise15:16
loolppisati: poke when you have a new PPA kernel, I'll update my device tarball with it15:16
ppisatilool: yep15:16
loolppisati: I can update the initrd too; not quite sure how to generate the modules dep without booting a pi2 and running depmod -a though15:17
ppisatilool: but do you actually need the modules during boot? i don't think so15:17
loolppisati: I dont think so, but I'm trying to keep them up-to-date nevertheless15:18
loolppisati: besides, I'm including the deps in the device tarball rootfs part15:18
mvojdstrand: 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:25
mvojdstrand: aha, it seems like "change_profile -> *" is the right one (?)15:27
jdstrandchange_profile -> *,15:27
mvothanks! that helped me a lot15:27
* mvo hugs jdstrand15:27
jdstrandbut, if you did want to confine this, you can do stuff like15:27
jdstrandchange_profile -> docker_*,15:27
* jdstrand hugs mvo back :)15:27
asacogra_: around?15:28
ogra_asac, in a meeting, but around, yeah15:28
asacogra_: can you check in on #snappy-internal ?15:28
asacfor a moment15:28
kirklandogra_: hi, I'm here15:32
ogra_hey kirkland15:32
kirklandogra_: okay, we're getting started15:33
ppisatilool: it's baking - https://launchpad.net/~p-pisati/+archive/ubuntu/embedded/+packages15:41
jdstrandbeuno: hey, so in the store, you can upload a snap but there is no way to choose an architecture any more?15:49
jdstrandbeuno: kickinz1 is uploading docker and in the yaml it has: architecture: [amd64, armhf]15:49
jdstrandbeuno: 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 them15:50
ppisatijdstrand: same error i had for wget15:52
jdstrandinteresting15:52
jdstrandmaybe the store needs a little tweaking15:53
jdstrandbeuno (and kickinz1 and ppisati): I adjusted the review tools to match what the store is currently doing so this shouldn't happen again16:22
jdstrandwell, once the store is updated16:23
kickinz1jdstrand, ok thanks16:23
ppisatijdstrand: what are these tools?16:25
jdstrandppisati: they are the things that run during snappy build and what runs on the server16:26
jdstrandlp:click-reviewers-tools16:26
ppisatijdstrand: jdstrand that means i shall rebuild and resubmit? or do i still need for a store update? i guess the latter16:27
ppisati*need to wait16:27
jdstrandppisati: no, you don't need to do anything16:29
jdstrandthe next time you upload, if the store has pulled in my change, you won't have that review tool error16:29
kirklandubuntu@localhost:~$ sudo snappy update16:34
kirklandubuntu-core    124 MB     [===================================================================================================================================================]    OK16:34
kirklandI've been stuck after that for 10+ minutes now16:34
kirklandhelp?16:34
kickinz1kirkland on which board?16:35
kirklandkickinz1: rpi216:35
kickinz1channel is devel-proposed?16:35
kirklandkickinz1: how can I tell?16:35
kickinz1kirkland: I don't have rpi2, sorry16:36
kirklandkickinz1: how can I tell what channel?16:36
kickinz1kirkland: cat/etc/syste-image/channel.ini16:36
kirklandokay, it's applying now16:36
kickinz1kirkland: if channel is ubuntu-core/devel16:36
kickinz1kirkland, you will need to 'sudo mount -o remount rw /'16:37
kickinz1kirkland, change channel to ubuntu-core/devel-proposed, then reboot, then update16:37
kickinz1kirkland, but from me it is theory (as done on bbb), better have an anwer from an rpi2 owner16:38
kirklandkickinz1: okay16:39
kirklandkickinz1: can I just snappy install docker now?16:39
kickinz1kirkland, if on new image : yes16:39
kirklandkickinz1: okay, i'm updated now, rebooting16:40
kirklandkickinz1: where can I just download the latest rpi2 image now?16:40
kickinz1kirkland, but I don't know the status of docker on rpi2, I didn't get updates on that16:40
kickinz1kirkland, what 'snappy list' looks like?16:42
kirklandsnappy: 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
kickinz1kirkland, ok old image16:42
kirklandkickinz1: where can I get the new image?16:43
kirklandkickinz1: why didn't snappy update get me the new image?16:43
kickinz1kirkland, cause latest image is not yet promoted16:43
kickinz1kirkland, I would go for channel change/ or backup solution is to use a docker-1.5.0-armhf for old image16:43
kirklandkickinz1: channel: ubuntu-core/devel16:44
kickinz1jdstrand, asac, ^16:44
kickinz1kirkland, try this package:  https://mifamofi.net/owncloud/public.php?service=files&t=c2d37c5711ef8b323ac3da519142e21d16:45
sergiusenskickinz1: kirkland rpi has no upgrade path until we have a proper kernel in our repos16:45
jdstrandkirkland: someone said earlier it took 20 minutes16:45
kirklandkickinz1: okay, I'm on devel-proposed now16:45
jdstrandok good16:45
jdstrandif on devel-proposed, use the store16:45
asackirkland: lool has made an image prebuilt for you16:45
kirklandasac: link?16:46
asacin your inbox ;)16:46
* asac looks it up16:46
sergiusenshe sent an email16:46
kirklandgot it16:46
asackirkland: you cnanot update on the pi2 from alpha2 or even after because its nota  certified enablement16:46
asacso just install the one you have16:46
asacnew builds at least dont try to update16:47
kirklandcustom.img09-Apr-2015 16:013.6G16:48
asackirkland: wget http://people.canonical.com/~lool/pi2-device-and-oem/custom.img16:48
asacdd it16:48
asacyeah16:48
kirklandasac: I don't have enough bandwidth to pull that here16:48
asackirkland: ok i can xz it16:48
asacone moment16:48
asaclool: i have to wget that because you are not on lillypitty?16:49
asacweird16:50
asacor you have weird permissions16:50
asaclool: could you .xz this ... assuing it will be popular for the moment?16:50
asacand put checksums ni place16:50
asackirkland: i am xz'ing here rifght now: http://people.canonical.com/~asac/tmp/pi2/16:52
asactakes a it16:52
asacbit16:52
jdstrandasac: you don't have to wget it16:55
asaci couldnt copy it from ~lool16:55
jdstrandI logged into lillypilly and can see it16:55
asaclool has always special permissions16:56
asachehe16:56
asacok16:56
jdstrandI didn't try copying16:56
asacmaybe i mistyped16:56
asacbut i have it now anyway16:56
jdstrandok16:56
ogra_"french permissions"16:56
jdstrandhehe16:56
asacman xz is so slow16:59
asaci thinkk my 3.6G wget will finish before it finish packing16:59
kirklandasac: okay, thanks17:02
kirklandasac: is ogra_ still around, or gone?17:02
kirklandasac: we're also trying the node-snapper stuff right now17:02
ogra_kirkland, i'm here17:02
kirklandogra_: alright!!!17:02
ogra_kirkland, moving to the living room though ... i.e. no internal channels anymore :)17:03
kirklandogra_: can you post your metadata.yaml from your node-snapper example?17:03
asaclool: http://people.canonical.com/~asac/tmp/pi2/custom.img.xz17:03
asaci think its fine17:03
asackirkland: http://people.canonical.com/~asac/tmp/pi2/custom.img.xz17:03
asacerr its finished17:03
asaci will try too now17:03
asacguess my bandwidth is faster so i know if it doesntw ork beffore you17:04
asackirkland: ogra will be around if you continue to engage him :)17:04
kirklandasac: awesome, thanks17:04
asache is just sometimes falling asleep if he is idling too long :P17:04
kirklandhttp://paste.ubuntu.com/10792912/17:04
kirklanddocker failed to install here ^17:04
asackirkland: on what machine?17:05
asacwhat image?17:05
kirklandasac: rpi2, devel-proposed, up to date17:05
kirklandasac: I'm downloading your custom.img now17:05
asackirkland: how did you get it up tod date?17:05
asaci dont think you can have that17:05
kirklandasac: arg17:05
asacbecause update doesnt work on pi2 by design17:05
asaci think you have it just on the other partition, but still boot in the old one17:05
asackirkland: sure it will be better on the lools if its installing on the bbb latest17:06
asaci am dding that custom one too now... lets see17:06
kirklandasac: okay, in 7-8 minutes, the download will complete and I can write that image to the sdcard17:06
ogra_kirkland, sorry, had to re-locate and now i'm missing backlog, you wanted the metadata.yaml ?17:06
kirklandogra_: yes, please17:07
asacyeah i will hopefully be able to confirm by then... though its the first time i put this pi2 in action17:07
sergiusensbeuno: can oem snaps not require "departments" on upload?17:07
kirklandasac: can you please pastebin it for us?17:07
sergiusensbeuno: and can we have a filter to search for package type?17:07
ogra_kirkland, hmm, i dont have such a file ... i have a package.yaml though17:07
kirklandogra_: yes, that one, please17:08
asackirkland: what do you need pastebinit?17:08
kirklandasac: package.yaml of a nodejs snap17:08
kirklandasac: sorry, that was for ogra_17:09
asacright17:09
asacjust wondered :)17:09
asacogra_: ^17:09
kirklandogra_: can you please pastebin your package.yaml17:09
ogra_kirkland, http://paste.ubuntu.com/10792959/17:09
ogra_kirkland, https://code.launchpad.net/~ogra/+junk/chatroom has allteh files btw (linkedfrom the blog)17:10
kirklandasac: image downloaded17:13
kirklandogra_: okay, that branch is missing the arm tarball, right?17:14
kirklandogra_: I still need to unzip that?17:14
ogra_yes, thats only the packaging data17:14
ogra_the tarballs you crate with node-snapper17:14
ogra_*create17:14
asackirkland: so i dded it17:15
asacit boots17:15
asaci am logged in17:15
kirklandasac: I'm dd'ing now17:15
asac(RaspberryPi2)ubuntu@localhost:~$17:15
kirklandasac: can you snappy install docker?17:15
asacmvo: http://paste.ubuntu.com/10793006/17:16
asackirkland: :(17:16
asackickinz1: ^^17:16
kirklandasac: that looks exactly like what I saw before: http://paste.ubuntu.com/10792912/17:17
kickinz1asac snappy list ?17:17
kickinz1kirkland, yes but you had a snappy-python image17:17
mvoasac: uff, let me look17:18
asaclool: oem snap is also bogus17:19
asacwhere is the soruce?17:19
asacyou have the xz data thingy17:19
kickinz1asac, can you test docker-1.5.0-armhf for old image (https://mifamofi.net/owncloud/public.php?service=files&t=c2d37c5711ef8b323ac3da519142e21d)?17:20
asackickinz1: the old image i am not really interested in17:20
asacmany things wont work for folks there17:20
kickinz1asac, ok sorry...17:20
asackickinz1: can you focus on the new one? does the new docker work on the bbb?17:20
asacthe one from store?17:21
kickinz1asac, yes docker work on bbb from the store17:21
kirklandasac: dd done17:21
asacyou wont be happy though17:21
kickinz1asac, and I'm focused on the new image, I was just speaking of a backup on rpi217:21
asaci am tewsting now if the bbb works17:21
asacright, but i think kirkland wont be happy with that because then lots of other issues will pop up17:22
sergiusensmvo or jdstrand: when you have a minute please https://myapps.developer.ubuntu.com/dev/click-apps/227517:23
asaclool: where did you put your oem snap source? that needs to be rebuilt with latest snappy so i can create a new image17:23
asacmvo: i dont get why docker is in the store as com.ubuntu...17:24
mvosergiusens, jdstrand: approved17:24
mvoasac: me neither17:25
kirklandasac: that image is not booting for me17:25
sergiusensasac: I rebuilt lool's pkg here, I can upload it under my namespace for play if you want17:25
asackirkland: it does for me thats for sure17:25
asackirkland: it takes a while on first boot17:25
asacbecause of funky cloud-init17:25
sergiusensasac: or do it yourself, unpack it (dpkg-deb) and snappy build it again17:25
kirklandasac: okay, i'll wait a bit17:25
asac2-3 minutes17:25
kirklandasac: hmm, it's been more like 517:26
asacsergiusens: i want his .snap on people17:26
asacsergiusens: not store17:26
asacor is it in store?17:26
sergiusensasac: 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
asacsergiusens: just gimme the new snap17:26
sergiusensasac: he asked me about that, not sure he uploaded17:26
asacthis one breaks trusty snappy soo i cannot see if a newer image works17:26
asacits not17:27
asacat least not as pi2.lool17:27
asacmvo: well, but why does snappy install docker do the right thing?17:27
asacdo we have an alias there?17:27
asackickinz1: how do you upload the docker ?17:27
asacwhats in the metadata>?17:27
asacyou must not use com.ubuntu... anymore17:27
sergiusensasac: there's the com.ubuntu.snappy hack for the py version in devel17:27
asacsure17:27
sergiusensit might be legacy17:27
asacbut it just works here on snappy latest17:28
asaci type snappy install docker17:28
asacand it starts downloading com.ubuntu...17:28
asacso the store must have set an alias17:28
kickinz1I just went to the store and updated the package from there....17:28
sergiusensasac: I'm not sure kickinz1 has access to the .canonical part of the store; mvo and I do fwiw17:28
asackickinz1: do you have com.ubuntu.... in metadat?17:28
kickinz1I didn'tknew there was an other way.17:28
kickinz1asac: packlage.yaml?17:28
asacyes17:28
asacanyway17:29
asacit seems to isntall here on bbb17:29
asacfwiw17:29
asacsergiusens: i need the new .snap17:29
asacit seems that whatever image lool used isnt right17:29
kickinz1http://paste.ubuntu.com/10793087/17:29
kirklandasac: unplugged it, and plugged it back in again17:29
asackirkland: you have to remember that when dd finishes17:29
asacyou have to wait till IO buffer is done17:29
kirklandsee activity light, but nothing17:29
asacrun sync17:30
kirklandasac: I ran sync 3 times17:30
asacok17:30
asacthats odd17:30
asaci had a few time taht a dd didnt work17:30
asacusually i dded again and then it worked17:30
asacand i jsut tell yopu that i never used this pi2 and dded it and it booted :)17:30
asacit took long time before it upped ethernet17:30
asacthen it got network17:31
asacand then it was there17:31
asackirkland: do you have ethernet?17:31
kirklandyes17:31
asacok because until yesterday the image wouldnt boot without network17:31
mvofwiw, docker 1.5.0.002 installs fine for me in the latest image17:31
asacsergiusens: i need snap :)17:31
asacplease!!17:31
asaclools image is too outdated i am sure :)17:31
sergiusensasac: uploading, I'm on a slow connection17:32
asacsergiusens: sorry i rebuilt and now its going17:33
sergiusensasac: 'dpkg-deb -x pi2*.snap x && snappy build x' might be faster17:33
asacyeah17:33
asacthat was what i did17:33
sergiusensok17:33
sergiusensI'll brb17:33
asacsry for moron17:33
sergiusensgot into a coffee shop as rain took me by surprise17:33
sergiusensasac: lol, no worries17:33
* genii 's ears perk up at the mention of coffee, then he wanders away again17:34
asacoh coffee ... good idea17:34
asac:)17:34
sergiusensasac: I uploaded beagleblack.canonical btw17:34
geniiHeh17:34
asacbut i wait till i know if the new iamge just fixes the docker prob17:34
asacif dd would just be faster :)17:34
ogra_we need dd-diff ... that only applies the changed bytes :)17:35
asaclol17:35
jdstrandasac: meta/package.yaml is fine17:36
jdstrandasac: it is that he uploaded to the old namespace in the store17:36
asacright17:37
asacjdstrand: what is in package.yaml? just docker>?17:37
jdstrandname: docker17:37
kickinz1yes : http://paste.ubuntu.com/10793087/17:37
jdstrandthe packaging is correct17:37
asacgoodie17:37
jdstrandkickinz1: that is not the packaging you used17:38
jdstrandkickinz1: that seems to be old17:38
jdstrandI'm guessing your old armhf package17:38
kickinz1sorry, wrong place (old docker)17:38
kickinz1http://paste.ubuntu.com/10793165/17:39
kickinz1jd strand yes, was on my old armhf package.17:39
jdstrandwell, that has 003, but yes17:40
kirklandogra_: hey17:40
kirklandso can we get some help?17:40
kirklandogra_: hangout or something?17:40
jdstrandthis is what is in the store: http://paste.ubuntu.com/10793168/17:40
kickinz1So 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
ogra_kirkland, can we do it here ... i cant really do hangouts from this place atm17:40
kirklandogra_: okay17:40
kirklandogra_: so we run snappy build .17:40
kirklandogra_: and we get a .snap17:40
kirklandogra_: we push it to the device17:40
kirklandogra_: and snappy installs it17:41
kirklandogra_: now what...17:41
kirklandogra_: how can we tell if it's running17:41
=== kickinz1 is now known as kickinz1|away
kirklandogra_: I can't telnet to the 6565 port chatroom.ogra_0.1-5_multi.snap17:41
ogra_kirkland, well, journalctl should have a bunch of messages about it being started17:41
asackirkland: do you see the green light on the board blinking when it boots?17:42
ogra_webdm should aalso have an entry and yu should be able to reach it on http://$ip:6565/17:42
kirklandogra_: ubuntu@localhost:~$ journalctl17:42
kirklandNo journal files were found.17:42
kirklandasac: it blinked for a while, but not anymore17:42
asack17:42
ogra_kirkland, sudo ;)17:42
kirklandasac: I just re-wrote the image, again, sync sync sync17:43
kirklandasac: and put it back in the rpi217:43
ogra_kirkland, sudo journalctl|grep chatroom17:43
ogra_that should return some stuff17:44
kirklandogra_: okay, good, this helps, I'm debugging now17:44
ogra_(or just pipe toless)17:44
kirklandasac: okay, so we're not going to have docker on rpi2 today?17:44
kirklandasac: if so, that's fine, I'll apologize and we'll cope17:44
ogra_kirkland, note that the package is pretty old, i didnt update it since a while and snappy changed underneath ... might be there are issues now17:44
kirklandasac: I'd much rather put all effort into solving one problem (packaging a nodejs app) than 217:44
kirklandogra_: I'm confused a bit about one thing17:45
kirklandogra_: so I just untar that armhf tarball at the same level as the the meta/ and site/ dir?17:45
kirklandogra_: and snappy build just puts that in there?17:45
ogra_kirkland, node-snapper generates two tarballs ... you unpack them in the toplevel of your package dir17:46
kirklandogra_: okay, we only care about armhf here17:46
ogra_and should end up with an armhf and amd64 dir17:46
kirklandogra_: is that okay?17:46
ogra_you need to adjust package.yaml17:46
kirklandogra_: can I just remove amd64 from the package.yaml17:46
kirklandogra_: okay, good done17:46
ogra_yeah17:46
ogra_so you unpack the armhf tarball in the toplevel ...17:47
kirklandogra_: okay, and then you just point a browser at :6565?17:47
ogra_start-service.sh then checks for the arch and calls $arch/bin/nodejs site/server.js17:47
ogra_right17:47
kirklandogra_: start-service.sh runs automatically?17:48
ogra_it used to17:48
ogra_not sure if the systemd service handling changed recently17:48
asackirkland: should do17:48
asacif not you can try starting the service manually17:49
asachave to find the right systemd name :)17:49
asacwe love systemd17:49
ogra_sudo systemctl |grep chatroom17:49
ogra_that should give you the service name17:49
kirklandasac: okay, my rpi2 is now up with the new image17:51
asackirkland: really?17:51
asacwow :)17:51
kirklandasac: yeah, so can I install docker then?17:51
asackirkland: reflashed?17:51
kirklandasac: yeah17:51
asacno it wont work as i said above17:52
asaci am trying17:52
asaci think the image is too old :) ... i tested on bbb and it worked17:52
asacwith todays image17:52
* kirkland has to move downstairs now17:52
asacyeah gimme a bit17:52
asaci am confident that it will nto bail as it does with the lool image17:52
asacjust have to get it booting17:53
asachad the same prob you had17:53
asacjdstrand: http://paste.ubuntu.com/10792912/17:55
asaccan you think of a reason why that might be buggy with image from yesterday?17:55
asace.g. is there hope17:56
asacit works with bbb from this morning for sure17:56
ogra_did you check your clock ?17:56
asactyeah that was fine here17:56
asacwe have now ntp-like thing17:56
asacso if network its good17:56
ogra_ah, k17:57
* ogra_ lost track ... so much stuff on phone going on atm17:57
asacyeah even more stuff going on here still :/17:57
asacanyone has a good picture how to connect the serial pins on this pi2?17:59
asaci would feel better if i could see whats going on17:59
asacbah!!!18:01
ogra_bah ?18:01
asacreboot18:01
asacudf doesnt work anymore18:01
asacbecause i ctrl-c'18:01
asaced it18:01
kirklandogra_: I've been stuck here for ~10 minutes:18:04
kirkland> utf-8-validate@1.0.1 install /node_modules/ws/node_modules/utf-8-validate18:04
kirkland> node-gyp rebuild18:04
ogra_there should be a spinner underneath18:04
ogra_that usually takes a while, it compiles the modules18:05
ogra_if yu dont see the spinner, ctrl-c and run it again ... it uses qemu-user-static for the cross building, thats not 100% reiable18:06
kirklandogra_: okay, ctrl-c'd, trying again18:06
ogra_whats your host arch ?18:06
ogra_i ran it only on amd64 machines18:06
ogra_(and on nothing newer than utopic, though that sholdnt matter)18:07
asacit 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
asacmvo: are we good on promotion?18:07
asaci think that might help :_)18:07
kirklandasac: heh18:07
* asac regenerates two images18:07
asacone pi218:07
asacand pi2-docker with docker preinstalled18:07
asac:P18:07
asacnot that it would help if apparmor falls over on first boot18:08
asachence i try the plain one first to see if it works :)18:08
* asac wont figure out how to connect serial18:08
mvoasac: still on it :( its looking promising though18:08
asacmvo: good!!18:08
mvoasac: Chipaca is currently tsting BBB, I did some testing on amd64/kvm18:08
ogra_asac, i'm not near my rpi ... :/18:08
ogra_and i cant tell from the top of my head18:09
asacogra_: where are you?18:09
ogra_downstairs ...18:09
asachaha18:09
ogra_:)18:09
asacdont worry18:09
asaci am confident that this flash run will rock18:09
kirklandogra_: okay, we made it past that step now18:09
ogra_cool18:09
ogra_asac, susie says: "cut the blue wire, not the yellow one"18:10
ogra_(she jus asked why i laugh)18:10
asaclol18:11
asacmvo: do uyou know if james landed something that touches the initrd?18:13
asactoday?18:13
asacor yesterday?18:13
mvoasac: I don't think so but I don't know for sure18:14
mvoasac: why do you ask?18:14
asacjust wondering if the device tarball of lool still has a chance to boot with an image 2 days later18:14
asacdont worry18:14
asacwaiting for pi2 to start booting18:15
mvoasac: so testing results are a bit sparse, should we just promote amd64 and armhf (assuming the test look good)18:15
asacmvo: i am not sure what that excludes :)18:15
sergiusensmvo: asac I can continue with testing now or addon to Chipaca if we can speed things up18:16
asaci386 i dont care much18:16
Chipacasergiusens: selftest fails here18:16
Chipacasergiusens: http://pastebin.ubuntu.com/10793413/18:17
asacso this one did never get a green light18:17
asacme dds again18:17
kirklandogra_: http://paste.ubuntu.com/10793417/18:18
asaci would very much love to be on a machine that doesnt do crazy automounting :)18:18
asaci feel this induces99% of my bogus flash attempts18:18
* asac looks up this dbus --inhibit magic18:18
sergiusensChipaca: oh, that's why I mentioned "remove software" from package.yaml18:18
ogra_kirkland, you dont have start-service.sh in your package18:18
asacsergiusens: can udf still work with udisks --inhibit-all ?18:18
sergiusensChipaca: mvo I'll run the selftests with the beagleblack.canonical oem package18:18
kirklandogra_: oh, I thought you had everything in that branch18:19
ogra_kirkland, did you actually follow the blog ... technically just copy/pasting the terminal commands should be enough18:19
sergiusensasac: it should, there's no udisk involvement here18:19
kirklandogra_: I did the first time around;  the second time around, I just bzr branched your +junk branch18:19
ogra_yeah, that should be enough ...18:19
ogra_you should just need to unpack the tarball in the toplevel18:20
asackirkland: what do uyou have in /apps/ ?18:20
asacls /apps/18:20
jdstrandasac: so, that paste is weird-- a number of things seem wrong. aa-clickhook failed gracefully, but systemd-snappyhook had some issues18:21
jdstrandasac: is it still an issue? let me try from the store on an updated image18:22
asacright i wanted to file it in the "snappy doesnt like namespaces, but that got fixed today" category18:22
asacjdstrand: no its only on the lool pi2 image18:22
asaci just want to know if its something underlying18:22
asacor just outdated image18:22
asaci totally get that anything can be possible because we rushed so many things in last few days18:23
asacjust wanted to feel better while i fiddle with stupid dd18:23
jdstrandseems like maybe a filesystem issue?18:23
asacreally?18:24
asaci dont have the paste anymore18:24
asacrebooted18:24
jdstrandcause that error from aa-clickhook is just about taking the json and outputting a text file18:24
jdstrandasac: I'm guessing since I don't have access to the device18:24
jdstrandmaybe it was still read only?18:25
jdstrandagain, guessing18:25
asacno clue18:25
asacletse wawit18:25
asacmy latest dd seems to be at least truying to boot18:25
jdstrandthat's a good start :)18:25
asacand it got an ip18:26
asacalso good news18:26
* asac waits for cloud-init do the groundwork to get me to ssh18:26
asacok so i am in the latest and greatest snappy userspace18:26
asacon the amazing lool device tarball18:26
jdstrandwoo!18:26
kirklandogra_: okay, this looks good:18:27
kirklandFeb 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.snap18:27
kirklandFeb 16 21:04:32 localhost.localdomain systemd[1]: Started A simple WebRTC videochat.18:27
kirklandFeb 16 21:04:32 localhost.localdomain systemd[1]: Starting A simple WebRTC videochat...18:27
kirklandnot getting anything though, if I point my browser at 192.168.1.115:656518:27
asacopen /apps/docker/1.5.0.002/meta/package.yaml: permission denied18:27
jdstrandthat's less 'woo'18:28
asacwtf18:28
asacsomething is odd there18:28
asachmm18:29
asacsecond time it worked :)18:29
jdstrandehh..18:29
asackirkland: what was the command that kickinz1|away said we should use?18:29
jdstrandgood?18:29
asacfor armhf docker?18:29
asacthe docker command is there :)18:29
kirklandasac: you need an armhf docker image18:29
asacyes he gave us a command18:30
asacyou have that?18:30
kirklandasac: I'll have to look in scrollback here18:30
asaci dont have it :(18:30
ogra_kirkland, hmm, anything else in the logs ?18:30
ogra_it should just work ...18:30
jdstrandasac, kirkland: docker run -it armbuild/ubuntu18:31
jdstrandasac: you might be interested in http://paste.ubuntu.com/10791782/18:33
kirklandogra_: netstat -an | grep 656518:33
kirklandogra_: shows nothing18:33
jdstrandasac: I guess if following that paste, you would change any of the 'ubuntu:' to be 'armbuild/ubuntu:'18:33
ogra_kirkland, ps ax|grep node18:33
=== ahayzen_ is now known as ahayzen
ogra_does the nodejs process run ?18:34
jdstrandasac: but I've never done that18:34
kirklandogra_: no node processes running18:36
ogra_kirkland, hmm, but no errors in journalctl ?18:36
ogra_that werid18:37
kirklandogra_: right, not anymore18:37
ogra_*that's18:37
kirklandogra_: http://paste.ubuntu.com/10793547/18:37
kirklandogra_: there's a few snappy installs in there18:37
kirklandogra_: note the timestamps18:37
ogra_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 error18:37
asacjdstrand: do those commands work for you on bbb?18:37
ogra_are you sure you ship the armhf tarball ?18:38
kirklandogra_: how can I check?18:38
asacjdstrand: i always get stuff olike:18:38
asacFATA[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
kirklandogra_: fyi, I have to switch networks every time I move from IRC to the rpi, and back, so sorry for the long turnaround18:38
asacjdstrand: when docker images18:39
asacfor instance18:39
ogra_kirkland, does /apps/chatroom-test.ogra/0.1-5/armhf/bin/nodejs exist ?18:39
jdstrandthat's weird18:39
jdstrandI've never seen that before18:39
jdstrandhttp:///var/run/docker.sock/v1.17/version makes no sense18:39
asacyeah something bad happened18:40
asacjdstrand: do uyou have a beagle?18:40
asacjust try installing docker and see if docker images works18:40
jdstrandis docker daemon running?18:40
asacno18:40
jdstrandnot yet18:40
jdstrandI just ordered one yesterday18:40
asachmm18:40
kirklandogra_: http://paste.ubuntu.com/10793573/18:40
jdstrandI can say kickinz1|away tested bbb and amd64 and I tested various versions of amd6418:41
ogra_kirkland, looks all fine to me ... hmm, perhap some env vars have changed, start-service,sh uses $SNAPP_  everywhere18:41
jdstrandasac: what is the output of 'grep DEN /var/log/syslog'18:42
asacdoont have it anymore18:42
asacsomething odd happend on first install18:42
asacthe rest might be cruft18:42
jdstrandok18:42
asacso its not valid18:42
asaci will now check on bbb18:42
asacwhile installing my image that has docker preinstalled18:42
jdstrandI think you are right to invalidate that test18:42
asaci have the feeling my sdcard has problems18:42
jdstrandthat would possibly explain things18:43
* asac prepares to find a new one18:43
asaci have that one in the pi2 since MWC18:43
asacshould be pretty good18:44
asacpretty high quality18:44
jdstrandsergiusens: 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-ssh18:44
jdstrandsergiusens: ... New image complete (rNNN)18:44
asacjdstrand: so same same18:44
asacBeagleBoneBlack)ubuntu@localhost:~$ docker images18:44
asacFATA[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
jdstrandthat's no good18:44
jdstrandI'm going to try in kvm18:45
asacjdstrand: who is supposed to start docker?18:45
jdstrandsystemd18:45
asacjdstrand: there is no docker job in /etc18:45
asacfind /etc/systemd/ | grep docker18:45
asac(BeagleBoneBlack)ubuntu@localhost:~$18:45
jdstrandasac: what does /var/log/syslog say about the install?18:45
asacdunno  installed it before i rebooted18:46
jdstrandsyslog is persistent18:46
asacApr 10 18:42:55 localhost click[586]: ERROR:root:Failed to create system unit for docker_docker-daemon_1.5.0.002: expected string18:46
sergiusensjdstrand: I can get that in in a bit, sure18:46
* jdstrand taps fingers waiting for image to come up18:47
asachttp://paste.ubuntu.com/10793654/18:47
asacjdstrand: ^18:47
asacthats a grep18:47
kirklandogra_: alrighty, I'm up and running18:47
kirklandogra_: thanks for your help18:47
kirklandogra_: have a good evening, sir18:48
ogra_kirkland, yay, what was it ?18:48
kirklandogra_: a bunch of little things18:48
kirklandogra_: I'll try to write them up18:48
ogra_heh, k18:48
kirklandogra_: mostly, I didn't do the right things with start-service.sh18:48
jdstrandasac: so, lool did mention earlier he was trying to start it manually... I wonder if he had the same issue18:48
jdstrandsigh18:48
* jdstrand -> reboot18:48
* davmor2 shows jdstrand and image quickly18:48
ogra_kirkland, well, theoretically you shouldnt need to do anything .... so i'l like to merge any needed changes18:48
asacmvo: http://paste.ubuntu.com/10793654/18:48
kirklandasac: poke me if docker on rpi2 comes around :-)18:49
asacdoes that mean anything to you?18:49
kirklandogra_: honestly, if start-service.sh were part of your bzr branch, that would be great :-)18:49
ogra_it is, no ?18:49
* ogra_ checks18:49
kirklandogra_: no, it's generated by your node-snapper script18:49
kirklandogra_: and then it has to be copied over18:49
kirklandogra_: and then manually edited18:49
ogra_oh, right18:49
kirklandogra_: i did something wrong, somewhere in there18:50
kirklandogra_: finally, I just went back over all of your instructions again, from scratch, and it worked well enough18:50
ogra_yeah, because it needs to create the LD_LIBRARY_PATH and friends18:50
kirklandogra_: so the instructions are good :-)  Just a little new/confusing the first time through18:50
mvoasac: hm, that looks like something in docker, no? the click error comes after the unit fails to start18:50
ogra_ok18:50
asacmvo: why would click fail to create the unit ?18:51
asacthat should never fail imo18:51
mvoasac: click should not generate it at all anymore :) its snappy-go that does that nowdays18:51
asacso what is click doing here?18:51
asacis that because he has com.ubuntu.snappy ?18:52
* asac still doesnt get why that just installs18:52
asacif i run snappy install docker18:52
mvoasac: its because the build still produces snappy compatiblity code18:52
asacin which cases?18:52
asacis that the problem?18:52
mvoasac: when snappy build is called and yes, I think that is the problem18:52
asacso his package is click still?18:52
asacdamn18:52
asac:)18:52
asacjdstrand: can you dpkg -x his docker18:52
asacand snappy build . it fresh?18:53
asaci dont have that .snap :(18:53
mvoasac: nothing I can do against that yet, sorry, soon it will not be anymore18:53
asacmvo: well, so i hear that he used an old snappy build ?18:53
asacok18:54
mvoasac: not nesessarily, the current snappy still generates compatiblity code for the older images18:54
asacso you think if we upload it as .canonical it might work?18:54
asacodd thing is that on amd64 jdstrand says it works18:54
mvoit works on my amd64 as well18:54
mvowell, it installs and I can run docker and it prints stuff18:54
asaci can do that too18:54
asacrun "docker images"18:55
asacthat bails out18:55
asacthe service is not running18:55
asacthe docker command is there18:55
asaci really need the .snap :_)18:55
asacjdstrand: can you get me the .sanp from store?18:55
asaci want to try sideloading it18:55
asaci am sure he sideloaded it during development18:55
asacand it worked ;)18:55
asacbeuno: can yiou check if we have an alias set in store18:56
asacfor docker to com.ubuntu... ?18:56
mvohttp://paste.ubuntu.com/10793735/18:57
mvoasac: -^ works on my amd64 install18:57
mvoasac: do you run that on the BBB?18:57
jdstrandman that was painful18:59
jdstrandok, I'm back18:59
asacmvo: yeah its buggy there19:00
asacmvo: can you give me the raw snap?19:00
asaci have zero clue how to get that19:00
mvoasac: sergiusens wrote a store-get command for this, I think we should have a hidden snappy download command for this19:01
jdstrandmeh, I lost my review copy cause I rebooted19:01
jdstrandI can get it19:01
jdstrandhold on19:01
asacthx so much :)19:02
mvoasac: go get github.com/sergiusens/store-get19:02
mvoasac: $GOPATH/bin/store-get docker19:02
mvoasac: that should work19:02
asaci am not set up for go stuff :/19:02
asaclets no solve that for now19:03
mvomeh, ok19:03
asacso seems snappy update is running ;) ... cant do more19:03
mvosorry19:03
mvobut its really just sudo apt-get install golang-go and export GOPATH=~/go19:04
kickinz1|awayasac, did you try on bbb?19:04
asacyeah19:04
asackickinz1|away: same problem19:04
kickinz1|awayit was working ok for me and for lool on bbb19:04
asackickinz1|away: http://paste.ubuntu.com/10793783/19:04
kickinz1|awaywhich image on bbb?19:04
asacthe one from this morning19:04
kickinz1|awaysnappy list gives you what?19:05
asackickinz1|away: http://paste.ubuntu.com/10793787/19:05
asac22119:05
kickinz1|awayI'm on 220...19:05
kickinz1|awayName        Date       Version   Developer19:05
kickinz1|awayubuntu-core 2015-04-10 22019:05
kickinz1|awaydocker      2015-04-10 1.5.0.00219:05
asackickinz1|away: did you install from store?19:05
asacor sideload?19:05
kickinz1|awayinstall from store19:05
kickinz1|awayI did sudo snappy remove docker (that one was sideloaded)19:06
asacyeah19:06
kickinz1|awaythen sudo snappy install docker (that on came from store)19:06
asacmaybe that left over the parts that dont work from store19:06
kickinz1|awaythen I tested19:06
asackickinz1|away: do you have the .snap still?19:06
kickinz1|awayyes19:06
asacwould like too try side loading19:06
kickinz1|awayhttps://mifamofi.net/owncloud/public.php?service=files&t=f837f7bc6787466c54c1467f4371598719:07
asacmvo: how can i manually remove the docker?19:07
asacit doesnt uninstall because the service is still running19:07
asacerr is not running19:07
asackickinz1|away: can you put that as a file up somewhere?19:09
asacnevermind19:09
asaci jsut dont like using browser download19:09
asachave it now19:09
kickinz1|awayasac yes I just qhared the link before ^ : https://mifamofi.net/owncloud/public.php?service=files&t=f837f7bc6787466c54c1467f4371598719:09
kickinz1|awayok19:09
jdstrandasac: http://people.canonical.com/~jamie/docker_1.5.0.002_all.snap19:12
asacok so sideloading does the trick19:13
asaci think its the com.ubuntu... fun thing19:13
asacok /me goes all in and preinstall the sideloaded docker :)19:14
asacfor pi219:14
asacjdstrand: you can upload for .canonical?19:14
jdstrandfyi, I just did 'sudo snappy install docker' from the store and it is working19:14
jdstrandon amd6419:15
asacyeah i dont know why that is the case19:15
jdstrandr37719:15
asaci know that i just sideloaded it and it works on bbb19:15
asaclike our theory19:15
kickinz1|awayI'll update my bbb to 221 and check install from store19:15
asacit didnt work on pi2 from store nor on bbb when i didnt have it instaleld before19:15
jdstrandgive me a minute19:15
asackickinz1|away: so be sure that you remove all stuff of docker19:15
asackickinz1|away: rm -rf /apps/docker/19:16
asackickinz1|away: rm -rf /apps/bin/docker*19:16
asackickinz1|away: rm -rf /var/lib/apps/docker/19:16
jdstrandkickinz1|away: have you updated the docker branch?19:16
asackickinz1|away: and also the docker stuff in /etc/systemd/19:16
asackickinz1|away: so rm /etc/systemd/system/multi-user.target.wants/docker_docker-daemon_1.5.0.002.service19:16
asacand rm /etc/systemd/system/docker_docker-daemon_1.5.0.002.service19:16
asacthen installing from store will explode19:16
asacour theory because of the namespace\19:16
asaci think our snappy remove does not clean the systemd jobs19:17
asacis what i suspect19:17
jdstrandremove seems to have some bugs19:17
asacyeah19:18
jdstrandI haven't had a chance to dig in and file them19:18
asacthe data is still there19:18
asacnot the systemd stuff19:18
asacodd19:18
asacguess next week is bug fix mode :)19:18
asacand not that many features :)19:18
asacwtf now from store worked too19:20
asacsigh19:20
kickinz1|awayon bbb ?19:20
asacyeah19:21
asacvery very odd19:21
kickinz1|awayafter a sideload?19:21
asaci installed 2 hours ago19:21
asacno systemd jobs19:21
asac(from store)19:21
asaci manually cleaned all things and sideloaded -> worked19:22
asaci manually cleaned and install from stored -> worked19:22
kickinz1|awaydid you removed /var/lib/apparmor/docker related stuff?19:22
asacoh no19:22
asacthat one i didnt19:22
asacgood point19:22
asaci only did /var/lib/apps/docker19:22
asacso that might be it19:23
jdstrandthere is also framework policy in /var/lib/snappy19:23
kickinz1|awayjdstrand still uploading, very slow bandwith...19:23
kickinz1|awayjdstrand just uploaded19:24
jdstrandok19:24
asacjdstrand: can we maybe reupload kickinz1|away's snapp as .canonical ?19:24
jdstrandthere it goes19:24
asaccan you do that?19:24
asaci think its worth a shot :P19:24
jdstrandasac: that is what I am working on19:24
asacwe certainly prefer to not have com....19:24
asacah thanks19:24
asacwe need to find the store folks19:24
asaca) shut down the smoser account19:24
asacb) clean the docker :)19:24
asacomg19:26
asacthere is so much stuff of docker in the FS19:26
asaceven in click directories taht shouldnt exist in my world view19:26
asacspread everywhere19:26
asacjdstrand: we really need to clean up the world where appamore spreads stuff :)19:26
asacits everywhere19:26
asacneeds to be nicely in one place :P19:27
asacknow its not you19:27
asacbut just saying19:27
asacits hooked in everywhere19:27
asackinda makes sense that we dont clean it nicely on remove19:27
asackickinz1|away: so i cant say that its really the sideloading19:28
asacbecause my bbb was certainly not docker free when it suddenly started working19:28
asacguess we have to find | grep docker and rm -rf manually19:28
asacor on fresh flash which is awful19:28
asacok flashing fresh pi2 again19:28
asacjdstrand: http://paste.ubuntu.com/10793979/19:30
jdstrandasac: re apparmor, yes, that is part of what /var/lib/snappy is about. that is the new world. the old world still exists19:30
jdstrandso we have click and snappy locations, so its weird19:31
asacs i think i removed all fiels that had name docker19:32
asacand sideloading still worked19:32
asacso there is hope19:32
asacbut maybe i oversaw something19:32
jdstrandthere is also the issue that things are garbage collected when install fails, but not completely19:34
asacyeah for sure19:35
jdstrandok, lp:~snappy-dev/snappy-hub/docker updated to what is in the store now19:36
jdstrandnow preparing 1.5.0.003 with .canonical19:36
jdstrandok, the snap looks good19:40
jdstrandactually, I'm not sure what account is used for .canonical. is that on the mailing list?19:41
jdstrandsergiusens: ^19:41
asacINFO[0000] Listening for HTTP on unix (/var/run/docker.sock)19:42
asacWARN[0000] WARNING: Udev sync is not supported. This will lead to unexpected behavior, data loss and errors19:42
asacFATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed19:42
asackickinz1|away: ^^19:42
asacso i think thats the problem19:42
sergiusensjdstrand: I have creds and so does mvo19:42
jdstrandI've got it now19:42
sergiusensjdstrand: want it19:42
sergiusensah you got it19:42
jdstrandthanks19:42
asacroot@localhost:/apps/docker/1.5.0.002# /apps/docker/1.5.0.002/bin/docker.start19:42
asacINFO[0000] +job serveapi(unix:///var/run/docker.sock)19:42
asacINFO[0000] Listening for HTTP on unix (/var/run/docker.sock)19:42
asacWARN[0000] WARNING: Udev sync is not supported. This will lead to unexpected behavior, data loss and errors19:42
asacFATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed19:42
* asac bets its kernel option missing19:42
* sergiusens watches the flood of asac19:42
asac21:42 < asac> FATA[0000] Error running DeviceCreate (CreatePool) dm_task_run failed19:43
asacreally would like to know what that tries to do19:43
asachttp://paste.ubuntu.com/10794076/19:43
asacthat looks suspicious19:43
asacyeah this ioctl multiplies when i run docker19:44
asachttps://github.com/docker/docker/blob/dd786eefbbf286ca57b52374a6905c1ac8b8bd60/docs/sources/installation/kernel.rst19:45
crised_Can I see the available packages for this distro?19:45
mfilipeanyone here knows how is the progress to Digital Ocean accepts Ubuntu Core?19:47
kickinz1|awaybbb: updating from 3 -> 222 ;) (slow bandwidth used an already downloaded).19:51
jdstrandsergiusens: "The uploaded package name (docker) does not use your namespace (canonical)"19:53
jdstrandsergiusens: I thought we said I did not need .canonical in the name?19:54
jdstrandthe store may need an alias19:55
jdstrandasac: please advise ^19:55
jdstrandyaml has: name: docker19:55
jdstrandupload resulted in "The uploaded package name (docker) does not use your namespace (canonical)"19:55
asacok found somethign19:55
sergiusensjdstrand: that's not ready afaik19:55
asacour kernel doesnt have enough options19:55
asacCONFIG_BLK_DEV_DM19:55
asacCONFIG_DM_THIN_PROVISIONING\19:56
asacjdstrand: you know kernel packaging fu enough to maybe add those options ? and spin a ppa build?19:56
asachttps://launchpad.net/~p-pisati/+archive/ubuntu/misc/+files/linux-bcm2709_3.19.1-4.4.dsc19:56
jdstrandsergiusens: if that's true, we should hold off on uploading this into the .canonical namespace19:56
jdstrandtyhicks: can you take a look at that? ^19:56
jdstrandtyhicks: at what asac mentioned19:57
asacso i am cross checking https://github.com/docker/docker/blob/dd786eefbbf286ca57b52374a6905c1ac8b8bd60/docs/sources/installation/kernel.rst19:57
asacwith cat boot/config-3.19.1-4-generic-bcm2709  | pastebinit19:57
asachttp://paste.ubuntu.com/10794169/19:57
asacand CONFIG_BLK_DEV_DM19:57
asacmissing makes lots of sense given the error we see19:57
asachttp://paste.ubuntu.com/10794076/19:57
jdstrandlet me see what snappy does if I do 'name: docker.canonical'19:58
asacyeah19:59
asacbut the optioons are missing for sure19:59
asacso missing from what i see is:19:59
asacCONFIG_MEMCG_SWAP19:59
asacCONFIG_DM_THIN_PROVISIONING19:59
jdstrandI'm quite sure snappy is going to not dtrt with docker.canonical19:59
asacCONFIG_BLK_DEV_DM19:59
asacjdstrand: i think it will19:59
asacunless we still install apps with .developer :_)19:59
asacotherwise its tracked19:59
jdstrandno, I don't think so20:00
jdstrandit is going to install the framework policy incorrectly20:00
jdstrandbecause frameworks are expected to be toplevel20:00
asackirkland: 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 options20:01
asacwe might have some luck, but best focus on bbb and tell them that pi2 will behave the same20:01
tyhicksasac: is there a git tree with the bcm2709 kernel source?20:01
asactyhicks: no clue20:01
asacwe really just need a one off20:01
asacto bandaid20:01
asactyhicks: you can dget the dsc20:01
tyhicksI've only ever built ubuntu kernels out of the kernel team's git trees20:02
asacand dpkg-source -x it :)20:02
tyhicksI can give the dsc a shot20:02
sergiusenstyhicks: http://people.canonical.com/~lool/pi2-device-and-oem/20:02
asactyhicks: so there probably is one if you give me gitweb20:02
asaci can search20:02
sergiusenstyhicks: there's a link to a deb built by paulo20:02
asacits ppisiati20:02
asacwho did that20:02
sergiusensin a ppa20:02
asactyhicks: but i never can find gitweb20:02
sergiusensasac: http://kernel.ubuntu.com/git20:03
* asac waits for the resource efficient gitweb app to figure what to display :)20:03
sergiusensasac: http://kernel.ubuntu.com/git?p=ppisati/ubuntu-vivid.git;a=summary20:04
kirklandasac: okay, no worries20:04
kirklandasac: thanks a lot, I'll apologize to the guys here20:04
asackirkland: could be... but it makes sense now20:04
kirklandasac: thanks to ogra, we have a nodejs app :-)20:04
asackirkland: so you can sideload it to bbb for sure20:04
kirklandasac: we're happy enough with that20:04
asaccool20:05
asacwell, i spend so much time of my friday night that i needed to spend on something else20:05
asacthat i really want this to work :)20:05
tyhickssergiusens: I'd need to build a new snappy image to provide an updated kernel?20:05
kirklandasac: +1, go have a beer or 520:05
* tyhicks is looking at the pi2-device-and-oem link20:05
asackirkland: well, if tyhicks can build a new kernel i might spin a new image for you tomorrow that will work20:05
asactyhicks: you cannot do that20:06
asactyhicks: if you have the kernel with those new options20:06
asactalk to me :)20:06
asacand i wil try to hack it into the device tarball and see if it works20:06
asacits a bit of a nightmare :)20:06
tyhicksok20:06
asac21:55 < asac> CONFIG_BLK_DEV_DM20:06
asac21:56 < asac> CONFIG_DM_THIN_PROVISIONING\20:06
jdstrandasac: fyi, https://bugs.launchpad.net/snappy-ubuntu/+bug/144279020:07
asac21:57 < asac> and CONFIG_BLK_DEV_DM20:07
asactyhicks: those tree20:07
* tyhicks nods20:07
asacthree!!20:07
jdstrandasac: (snappy remove doesn't remove everything)20:07
* tyhicks will give it a shot20:07
tyhicksasac: I'm not going to do it in a ppa - that'll take too long20:07
asacyeah20:07
asactyhicks: i need armhf image and modules deb20:07
asacthe rest i will just fiddle around from there20:07
* tyhicks nods20:07
asactyhicks: you migth want to heck if we enable those options as modules20:07
asacor as y20:07
asacin our normal kernel20:08
asacjust check on amd6420:08
asacif its y20:08
tyhicksright20:08
tyhickswill do20:08
asacmaybe its just swapping the vmlinuz :)20:08
asacthat would be jackpot20:08
asacat least i would just try to do that for bandaiding20:08
kirklandasac: if so, give it to mahmoh20:08
kirklandasac: he's supporting the hackathon tomorrow20:08
jdstrandinteresting: rm: cannot remove '/var/lib/apps/docker/1.5.0.002/aufs': Device or resource busy20:08
asackirkland: is he up to speed?20:08
asac:)20:08
asackirkland: he isnt even online :(20:08
asaci tried to find him all week20:08
asacjdstrand: yeah thats all funny20:09
asactyhicks: sorry i posrted one config twice... the third i found on docker page is CONFIG_MEMCG_SWAP20:09
jdstrandhopefully aufs is in said kernel too20:09
asacbut not sure if we needt hat... the first two are surely the ones matching the errors i get in dmesg20:10
asaclet me see20:10
asaci think it is20:10
asaccat boot/config-3.19.1-4-generic-bcm2709   | pastebinit20:10
asachttp://paste.ubuntu.com/10794241/20:10
asacjdstrand: ^20:10
asacjdstrand: thats odd20:11
asachttps://github.com/docker/docker/blob/dd786eefbbf286ca57b52374a6905c1ac8b8bd60/docs/sources/installation/kernel.rst20:11
asacits not there20:11
asacNote: as of 0.7 docker no longer requires aufs. AUFS support is still available as an optional driver.20:11
asacjdstrand: ^^20:11
asacread that page :)20:11
jdstranderf, I hit the darn useless logging bug and garbage collection on install20:11
asacnot sure why you have docker still using it though20:11
asac:{20:11
asacjdstrand: file them and we knock them out next week :)... bug fixing20:11
asacmaybe make a short list20:11
kirklandasac: probably not, you'll need to send him a note20:12
kirklandasac: I'm heading home tonight20:12
jdstrandwell, I only mentioned aufs cause that aufs file was not removable20:12
asackirkland: is he not around?20:12
jdstrandasac: I filled them yesterday20:12
jdstrandfiled20:12
jdstrandthat is what kept people up late into the night20:12
mahmohasac: hi20:14
asachi mahmoh20:14
asackirkland: so what kind of stuff are they doing there and mind need support?20:14
asackirkland: maybe other channel20:14
kickinz1|awayasac: on my fresh bbb 222: http://paste.ubuntu.com/10794316/20:20
asackickinz1|away: yep see above20:21
asackickinz1|away: seems some bugs in snappy caused the bbb also to have troubles20:21
asackickinz1|away: it all seems to be kernel options missions20:21
asacmissing20:21
kickinz1|awayok20:21
kickinz1|awaysorry20:22
asacthe basics definitely work on bbb20:22
asackickinz1|away: sorry for causing confusion :)20:22
asacbut friday night things go crazy20:22
asackickinz1|away: we meet on sunday!20:22
asacgo off20:22
kickinz1|awayasac, ok see you on sunday!20:23
=== kickinz1|away is now known as kickinz1|afk
asacgood to know that away is closer than afk :)20:23
crised_Are the packages from ubuntu available to snappy???20:25
tyhicksasac: CONFIG_BLK_DEV_DM is already 'y'20:27
tyhicksasac: CONFIG_DM_THIN_PROVISIONING a module on amd64 - would you rather me build it in for this one-off kernel?20:28
tyhicks(CONFIG_MEMCG_SWAP is built in on amd64 so I'll build it in for this kernel, too)20:29
asactyhicks: yeah if it can be just built in thats better20:29
tyhickswill do20:29
asacthin certainly makes sense as well with the dmest20:30
asacdmesg :)20:30
asactyhicks: guess just give me vmlinuz :)20:35
jdstrandasac: 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 toplevel20:41
asacyeah20:41
jdstrandasac: I think we should hold off on docker in the .canonical namespace20:41
asacjdstrand: so what i dont understand is why the com.... works20:41
asacjdstrand: i guess the alias?20:41
asacthats fine20:41
jdstrandasac: because there is a server side hack iirc20:41
asacthe .canonical will go away if we do switch20:42
asacits the alias20:42
asaci think20:42
jdstrandmaybe it is now an alias and not a hack20:42
asacif i install docker20:42
jdstrandwe had hacks in december20:42
asacright20:42
asacits not clear to me how the fact that its an alias propagates20:42
jdstrandme either20:42
asacjdstrand: did you use docker.canonical in yaml?20:42
asaci think dont do that20:42
asacjust use docker20:42
asacand upload it as .canonical20:42
asacand then its fine20:42
asaci think store already implemented it20:43
asacas origin20:43
asacso we can kick it out of package.yaml20:43
jdstrandasac: right, so, with 'name: docker' on upload I had the store tell me I messed up20:43
asacthis is why it works for what we did with com...20:43
asacodd20:43
jdstrandwith 'name: docker.canonical' I see the policy issue20:43
asacok then the store hasnte finished work20:43
asaclets not bother till they land that origin feature20:43
asaci thought it was done20:43
asacbut maybe they are stilll doing something20:43
jdstrandasac: when you say 'upload it as .canonical' what do you mean?20:43
jdstrandadjust the filename?20:43
asacjdstrand: its meant to be only something you do in the store20:44
asacyou package it up without namespace20:44
asacand upload it as .canonical20:44
asacthen its all good20:44
jdstrandyes, what does that mean?20:44
jdstrand:)20:44
jdstrandthat is what I attempted to do first20:44
asacthis means you upload it as use that has namespace .canonical20:44
jdstrandyeah20:44
asacthe store will just track that as "origin"20:44
jdstrandok, that didn't work20:44
asacright20:44
asacthis is the only big thing we are missing20:44
asacfor next week20:44
asacfrom what i know :)20:45
asacbesuides your security refinements20:45
jdstrandI 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 package20:45
asacyeah then they didnt land it ompletely20:45
asaci know they were super close but had to migrate DB20:45
mvojdstrand: do we need a backport of the click-reviewers-tools in the ppa:snappy-dev/tools (and/or beta)?20:45
jdstrandok, that's fine20:45
asacbut wanted to do that over weekend or something20:45
jdstrandmvo: so.. I was working on the review tools and then was asked to put them aside in favor of seccomp20:46
jdstrandmvo: I have a lot of changes that need to land but they aren't quite ready yet20:46
jdstrandthis is for bugs and security yaml20:46
mvojdstrand: no problem, I was just curious20:46
asactyhicks: maybe the vmlinuz is already done (while it builds the module lot)?20:46
mvojdstrand: I personally think that the seccomp stuff is more important to land20:47
jdstrandonce I get through seccomp I'll pick that up again20:47
asaccrazy times :)20:47
* asac remembers the two weeks before first release for cloud20:47
jdstrandso, for anyone interested, lp:~snappy-dev/snappy-hub/docker is up to date with what is in the store and tagged20:48
asacthanks20:48
jdstrandso if people want to change the packaging, just do: snappy build ./package-dir20:48
jdstrandmvo: have I mentioned how I do snappy builds?20:49
jdstrandmvo: I don't use the tools for snappy20:49
jdstrandmvo: I fire up a snappy image then: scp -P 8022 ubuntu@localhost:/usr/bin/snappy /tmp ; /tmp/snappy build ...' :)20:50
jdstrandmvo: I guess static linking is good for mething :)20:50
jdstrandsomething20:50
mvojdstrand: haha, nice.20:56
tyhicksasac: there were some file permissions related failures that stopped the build - it is running now20:56
mvojdstrand: thats good so you tested the snappy go builds already, excellent20:57
jdstrandtyhicks: thank you for looking at that20:57
jdstrandmvo: always! :)20:57
tyhicksnp20:57
jdstrandmvo: I then run them through my review tools branch20:57
asactyhicks: local problems?21:03
* asac ignores21:03
tyhicksasac: here you go: http://people.canonical.com/~tyhicks/bcm/linux-image-3.19.1-4-generic-bcm2709_3.19.1-4.4+kconfig1_armhf.deb21:04
tyhicksasac: unpack the deb and pull out the vmlinux file21:05
=== j12t_ is now known as j12t
tyhicksasac: be sure to check your email - paolo was one step ahead of us and will have a more official build ready in a couple hours21:19
mvosergiusens: sorry, but any idea what http://paste.ubuntu.com/10794788/ means and how I can get rid of it?21:19
tyhicksI'm not sure if you want to go through the image generation with my kernel or wait for his21:20
asactyhicks: right now i want to try copying it hard to /boot :)21:21
asacnot new image21:22
tyhicksthat makes sense21:25
asactyhicks: thanks! http://paste.ubuntu.com/10794885/21:29
asacit works :)21:29
tyhicksnice! :)21:30
asacwell they die21:32
asacnot sure whats going on :)21:32
mvonice, and really nice to see the raspi2 oem snap from lool21:32
asacyeah21:32
asacthats cool21:32
mvoits comming togehter21:33
* asac waves and goes to semi weekend and then travel :)21:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!