/srv/irclogs.ubuntu.com/2016/10/11/#snappy.txt

mupPR snapcraft#863 opened: history/status alignment fixes <Created by cprov> <https://github.com/snapcore/snapcraft/pull/863>00:10
Ryan___help01:39
rl-ubuntuAnyone has a guide in running .net core in snappy ubuntu core? i'm following the guide in microsoft website, i can't install because it was using apt-get install.01:45
Son_Gokuit's not snapped yet01:51
rl-ubuntu@Son_Goku so it's possible to run a .net core in snappy ubuntu core i just need to snap it first, correct?01:54
nothalrl-ubuntu: No such command!01:54
Son_Gokuyep01:54
rl-ubuntuawesome, will try that. thanks01:56
mupBug #1612260 changed: My package is published but not showing up in the store <Snappy:Expired> <https://launchpad.net/bugs/1612260>04:17
mupPR snapd#2125 opened: tests: fixed code blocks on external backend readme <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2125>07:05
dholbachgood morning07:13
oSoMoNdidrocks, hey, I’ve rebuilt my webbrowser-app snap and I was expecting that because of https://github.com/ubuntu/snapcraft-desktop-helpers/commit/46bea1d261e005eecfe532a5a23d9dd080898432 locales-all would be pulled in as a stage package, but it appears it’s not. any idea why?07:32
mupPR snapd#2126 opened: tests: add spread test for `snap auto-import` <Created by mvo5> <https://github.com/snapcore/snapd/pull/2126>07:37
didrocksoSoMoN: hey! oh, interesting, let me check if I can find the online definition of the importer07:42
didrocksoSoMoN: you did snapcraft update, correct?07:42
didrocksI do see locales-all here07:42
oSoMoNdidrocks, I didn’t run snapcraft update, but when checking the source of the desktop-qt5 part, it has my commit07:52
oSoMoNre-running now, after running snapcraft update07:53
=== mbriza|gone is now known as mbriza
didrocksoSoMoN: you did snapcraft clean as well?07:56
didrocksbecause I'm unsure it dirty check properly07:56
oSoMoNI ran bzr clean-tree --unknown --ignored in my branch, so there should be no leftover07:57
didrocksyep!07:57
mupPR snapd#2127 opened: tests: add test for auto-mount assertion import <Created by mvo5> <https://github.com/snapcore/snapd/pull/2127>08:05
mupPR snapd#2125 closed: tests: fixed code blocks on external backend readme <Created by fgimenez> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2125>08:11
oSoMoNdidrocks, now it worked, locales-all got included in my snap08:14
oSoMoNlooks like running snapcraft update made the differenc08:14
didrocksnice! :)08:14
oSoMoNdifference08:14
didrocksyep08:14
didrocksyou need to refresh the definition08:14
didrocksit's like apt update if you prefer08:14
oSoMoNthanks for the tip!08:14
seb128it's a bit error prone that it needs to be done manually this way :-/08:16
didrocksagreed, (I'm pretty sure that was already raised)08:18
didrocksat least, it should tell "we have new definitions for you, please run…"08:18
didrocksIIRC, the concern was "too many connections to the server"08:18
seb128I can see that connecting every time you use snapcraft wouldn't work either08:19
seb128but maybe refreshing once a day08:19
seb128then those who need to trigger an update can manually do it08:19
=== jamespag` is now known as jamespage
=== StoneTable is now known as aisrael
mupPR snapcraft#864 opened: Update documentation links to developer.ubuntu.com that now redirect … <Created by robert-ancell> <https://github.com/snapcore/snapcraft/pull/864>08:47
=== King_InuYasha is now known as Son_Goku
mupPR snapd#2128 opened: debian: remove usage of dh-systemd <Created by vosst> <https://github.com/snapcore/snapd/pull/2128>09:06
mupPR snapd#2129 opened: interface attributes: prepare plug slot hooks (phase 1) <Created by stolowski> <https://github.com/snapcore/snapd/pull/2129>09:23
Chipacaogra_, once again talking about doing fancy stuff in core in #systemd and the "run systemd in initrd" comes up09:45
ogra_Chipaca, well, have fun implementing it and making it work with the existing bits :P09:51
ogra_Chipaca, effectively that will just make the initrd explode in size09:51
Chipacaogra_, my response was *very* polite09:51
ogra_with not much benefit09:51
ogra_:)09:52
Chipacaogra_, on the other hand, did we ever have a serious conversation around making initrd be the actual root?09:52
ogra_Chipaca, we did in the phonedations team a few times. but not in context to snappy ... if we'd actually use initamfs-tools to create that rootfs (to only contain *exactly* what is necessary) that would surely result in an awesome but maintenance intense system09:56
dr1337ogra_ what was it like working on the ninja sphere?09:59
ogra_dr1337, like working with a beaglebone on streoids ;)10:00
ogra_*steroids10:01
dr1337How did canonical get involved in it?10:01
mupPR snapd#2130 opened: store: retry store ops (phase 1) <Created by stolowski> <https://github.com/snapcore/snapd/pull/2130>10:01
ogra_dr1337, no idea ... probably a conference or some such. i only got the board and was asked to do an initial test image after the involvement was there already10:09
=== hikiko is now known as hikiko|ln
om26erre: launchpad snap builders, which version of Ubuntu do they use ?10:17
ogra_xenial i think10:17
om26erI am building a snap, it works fine in a lxc container running xenial but fails to build in lp10:17
ogra_how does it fail (got a build log link ?)10:17
om26erogra_: https://launchpadlibrarian.net/289187171/buildlog_snap_ubuntu_xenial_amd64_crossbar_BUILDING.txt.gz10:17
ogra_om26er, i'd guess for a firewall issue10:18
om26erogra_: seems other things are downloading file from pypi10:19
om26eratleast from what I can see10:19
dakerom26er: it says : Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known10:19
ogra_i see a lot "Ignoring indexes:" above the error10:19
ogra_so this is probably the first point where it actually tries to download any indexes10:20
om26erhmm10:20
om26erogra_: lp bug?10:20
ogra_dunno, but surely something to ask cjwatson about :)10:21
ogra_he has the deeper insight here :)10:21
om26ercjwatson: ^ my snap build fails in lp, it works fine in a clean lxd container I am running locally.10:23
cjwatsonom26er: you have to do your network access in the pull phase, not build10:23
om26erthe snapcraft.yaml looks like this: https://github.com/om26er/crossbar/blob/master/snapcraft.yaml10:24
cjwatsonom26er: I know you're trying to, but it's clearly not complete10:24
cjwatsonom26er: possibly due to setup_requires or similar that pip download isn't managing to follow10:24
cjwatsonom26er: you can probably just manually add cffi to the download step10:24
om26erogra_: ^ can you decrypt that on to how that may reflect in my snapcraft.yaml (still trying to get used to snapcraft :)10:25
ogra_no, sorry, i'm not a big python guy beyond what comes from the archive (i have no biggger knowledge of pip)10:27
cjwatsonom26er: "python-packages: cffi" probably10:28
cjwatsonat least worth a go as a starting point10:28
cjwatsonom26er: well strictly "python-packages: cffi>=1.1.0"10:28
cjwatsonom26er: though you might possibly be better with "requirements: requirements.txt" instead10:30
cjwatsonthat would get the pinned requirements recommended by upstream in this case10:30
om26erok let me try that.10:32
om26ercjwatson: seems that didn't help :/ same results https://launchpadlibrarian.net/289191346/buildlog_snap_ubuntu_xenial_amd64_crossbar_BUILDING.txt.gz10:55
om26er.yaml looks like this now https://github.com/om26er/crossbar/blob/master/snapcraft.yaml10:56
om26ernote: I used requirements-in.txt file in the tree as requirements.txt has some hash verification so its fails like http://paste.ubuntu.com/23307635/10:57
om26era successful build (local lxd) looks like this http://paste.ubuntu.com/23307708/11:00
=== hikiko|ln is now known as hikiko
cjwatsonom26er: Yuck.  Possibly wheel should be in the download phase due to this.11:01
cjwatsonom26er: Adding "python-packages: cffi>=1.1.0" should work around it, then.11:02
om26ercjwatson: with removal of the requirements like ? or can that co-exist ?11:02
cjwatsonom26er: It can coexist.11:02
cjwatsonom26er: But I think there's a reasonable argument that this is a snapcraft bug: given that wheel may need to hit the network, it should be done in the pull phase.11:03
cjwatsonom26er: i.e. something like http://paste.ubuntu.com/23307726/ (totally untested)11:06
om26ercjwatson: hmm wonder if there is a way to test that in lp :)11:07
ogra_cjwatson, hmm, all my kernel snap rebuilds failed with a 403 error11:09
ogra_that is: https://code.launchpad.net/~snappy-dev/+snap/pi2-kernel/+build/6639 https://code.launchpad.net/~snappy-dev/+snap/dragonboard-kernel/+build/6641 https://code.launchpad.net/~snappy-dev/+snap/pc-kernel/+build/6638 and https://code.launchpad.net/~snappy-dev/+snap/pc-kernel/+build/663711:10
om26ercjwatson: btw that did work :)11:18
om26erSo we need to fix that so that others don't hit that.11:19
om26er*in snapcraft11:19
liuxgogra_,  if I have a ubuntu core device and it is bound to my launchpad account, may I know how I can make it work with another colleauge's launchpad on his computer?11:26
liuxgogra_, the idea is that he can login into the device witth his account instead of my account, which uses the ssh key in my computer.11:27
ogra_i think the command that console-conf uses in teh backend is "snap create-user"11:29
ogra_(not 100% sure though)11:29
=== sjn__ is now known as sjn
liuxgogra_, what is the correct syntax for using the command "snap create-user"?  do I just need to supply the launchpad id?11:30
cjwatsonogra_: I don't have enough logging at the moment to be able to tell you exactly why that was.  The possible causes are that the uploader hasn't signed the latest developer agreement in the store, that the uploader hasn't set a developer namespace in the store, or that the authorisation token isn't authorised for the correct package name.  (You can rule out the last of those by going through ...11:30
cjwatson... e.g. https://code.launchpad.net/~snappy-dev/+snap/pi2-kernel/+authorize)11:30
ogra_liuxg, i dont actually know ... doesnt snap help tell something about it ? (but i guess jst your mail address should suffice)11:30
cjwatson"snap create-user --help" says you give it an email address.11:31
cjwatson[create-user command arguments]11:31
cjwatson  <email>:           An email of a user on login.ubuntu.com11:31
ogra_cjwatson, well, thats weird, the uploader is indeed me :)11:31
ogra_uh, oh11:31
ogra_and i just notice that all the core builds failed to upload too ...11:32
cjwatsonogra_: I'm just telling you the possible causes.  It will be one of those.  I don't know which.11:32
ogra_cjwatson, can we have mail notification for that ? i havent gotten a single mail11:32
cjwatsonogra_: bug please11:32
ogra_will do11:32
cjwatsonogra_: there's supposed to be a mail notification, so must have missed a case11:33
ogra_yeah, i get mails for other failures11:33
cjwatsonright, BadUploadResponse doesn't have an associated notification11:34
liuxgogra_, thanks. I have not tried it yet. Maybe I will try it when I am with my colleague. I do not have his account info now.11:35
cjwatsonogra_: anyway apparently the 403s are a known SCA bug in production, being looked at now11:37
ogra_sigh, this is insane ... i'll be clicking authorize stuff for the next hour or so, *all* aumoated snaps failed11:37
cjwatsonogra_: +authorize won't help11:37
cjwatsonin this case11:37
ogra_ouch11:37
cjwatsonogra_: once the SCA bug is fixed you should be able to retry the store upload from LP though11:38
ogra_ok11:38
ogra_yeah, even after authorize/re-upload i get 403's everywhere, confirmd11:39
ogra_cjwatson, bug 163229911:44
mupBug #1632299: BadUploadResponse store reply in snap uploads should trigger email notification <Launchpad itself:New> <https://launchpad.net/bugs/1632299>11:44
popeywhat is "Initialize device" and why is it spamming my "snap changes" every 9 mins or so... http://termbin.com/rzoi ?11:44
cjwatsonthanks11:45
ogra_popey, by reading that paste i would say it is an Error :P11:46
popeyheh11:49
popeyogra_: worthy of a bug report somewhere do you think?11:50
ogra_yeah11:50
popeyok, thanks for looking11:50
ogra_i guess mvo or pedronis could help you further with that one11:50
popeyok, bug filed.11:52
mupBug #1632305 opened: console-conf cannot be used twice <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1632305>11:53
mupBug #1632306 opened: 'snap changes' spammed with "Initialize device" <Snappy:New> <https://launchpad.net/bugs/1632306>11:53
ogra_liuxg, hah ... looks like Bug #1632305 above has a trick you can use to create your second user ;)11:55
mupBug #1632305: console-conf cannot be used twice <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1632305>11:55
liuxgogra_, where is the trick? sorry, I missed it.11:55
ogra_re-run "sudo console-conf" ;)11:56
ogra_seems to work if you use a new user and just dont change the network settings11:56
ogra_(according to that bug)11:56
liuxgogra_, do you mean run it after ssh into the device?11:57
ogra_yes, as the bug says11:57
pedronispopey: it means it's failing to register itself? is this with a canonical image? does it have network?11:57
liuxgogra_, OK. thanks. I will have a try.11:57
liuxgogra_, so, "sudo console-conf" is now working or not. according to the bug report, it does not work yet11:59
ogra_it faisl if you re-use the same user11:59
ogra_(thats the bug)11:59
ogra_but thats not what you want11:59
liuxgogra_, oh, so, I can set it to another user. after that, I can switch back to my own, right? if this works, it should be fine for me.12:00
ogra_right12:00
liuxgogra_, thanks. it is cool. by the way, does "snap create-user" do the same thing? it seems to be the correct command12:01
ogra_console-conf calls it, ye12:02
ogra_s12:02
ogra_(as i said in the beginning)12:02
mvopopey: thanks for your bug on the init device issue, could you please attach the output of "change change 833" (or similra, one of the failing ones)12:02
liuxgogra_, ok. so, both ways work. thanks a lot12:02
ogra_re-using console-conf is just  cheap way12:02
ogra_popey, btw, is that the device that switched back to stable unconditionally ?12:02
liuxgogra_, right. :)12:03
ogra_popey, if so, that could indeed be related12:03
ogra_(teh fw_setenv command i gave you is just a hack)12:03
popeymvo: done12:10
popeyogra_: uhm, not sure if it's that one, I have 312:11
pedronispopey: did you reset you state at some point or something ?12:12
popeynot intentionally12:12
popeysee also bug 163179112:13
mupBug #1631791: Pi 2 on ubuntu-core 424 no longer able to do anything <Snappy:Confirmed> <https://launchpad.net/bugs/1631791>12:13
popeyooh, i have another one doing the initialize device thing12:13
pedronisthat error mode is weird12:14
popeyalso, bug 1632124 is on a pi 3 which is also doing the initialize device thing12:16
mupBug #1632124: snapd pegging cpu at 100% <Snappy:New> <https://launchpad.net/bugs/1632124>12:16
=== cmars` is now known as cmars
pedronispopey: asked a couple more questions in the bug itself12:38
popeypedronis: on it, painfully slow to get snap changes as the cpu is pegged by snapd12:39
popeypedronis: ok, commented12:40
pedronispopey: it's creating key after key and not finding them12:42
pedronisapparently12:42
* ogra_ notes that popey's image is still using ubuntu-core ... 12:44
ogra_(newer images use the "core" package instead)12:44
popeyinteresting12:45
balloonsGood morning all. Quick question -- should there be any delay from publish to availibilty in the store? I don't remember ever seeing a delay, but I'm hearing publication can take 12 hours or more sometimes12:45
ogra_well, not that much, you would have to flash a newer image to get there ... but perhaps there is a bug in the code that handles both names ...12:45
ogra_thats relatively new code12:46
arammm, on a clean rpi2 clasic image as of today, doing snap install hello-world shouldn't install core instead of ubuntu-core?12:46
araI just did this and ubuntu-core was downloaded12:46
popeyoh, it doesn't migrate from ubuntu-core to core? I need to re-flash again?12:46
ogra_popey, yes ...12:46
zygaara: hey12:47
popey:(12:47
ogra_ara, i think thats only happening with the next snapd revision ...12:47
ogra_(defaulting to install core)12:47
arammm, classic on rpi2 fails to install ubuntu-core as well: https://pastebin.canonical.com/167549/12:48
arahey zyga, how's korea?12:49
pedronispopey: I'm quite baffled by what is going on on your pi2, seems like we write something and a second after we are not reading it12:49
ogra_ara, wow, gross12:49
ogra_it shouldnt try to handle any boot stuff on classic ever12:49
araogra_, this is a clean server classic image, no dist-upgrade yet12:50
ogra_probably that code isnt pi-safe :)12:50
araogra_, do you want me to file a bug for this? if so, where? what logs?12:51
ogra_ara, hmm, you should definitely dist-upgrade first to get the latest snapd12:51
aralet me update snapd and see if that solves it12:51
ogra_snapd, snap-confine and ubuntu-core-launcher12:52
ogra_(orr just dist-upgrade)12:52
* ara wonders if we should produce 16.04.1.1 images with the latest packages, as so much changed12:52
arasnap-confine was not even installed yet on those images12:52
ogra_well, 16.04.2 will have everything12:53
ogra_right, but snapd will pull it in on dist-upgrade12:53
ogra_iirc it was added as dependency12:53
arayes, it does12:53
zygaara: hey, pretty and exotic12:56
mupBug #1631801 changed: snapd removes Exec lines from .desktop file on installation <Snappy:Invalid> <https://launchpad.net/bugs/1631801>13:15
om26erSo I need to write values to /sys/class/gpio/ is there a way to keep my snap confined and be able to do so ?13:16
om26erzyga: ^13:18
zygaom26er: using the GPIO interface on a correctly set up core image (only gadget can expose those)13:21
om26erzyga: apart from those to be exposed, my main question is can I write to lets say /sys/class/gpio21/direction or /sys/class/gpio21/value ? Since that's what would make it be able to do it anything. Now I assume it will always require sudo ?13:22
om26eron another question what would it take to ensure they are exposed on a RaspberryPi ? Does the RPi gadget snap need to do that ?13:24
om26eror even is there a "gadget" snap for the Pi ?13:25
zygaom26er: yes, regular permissions will still be in the way13:25
zygaom26er: you'd have to write a service that can run as root to use them13:25
om26erzyga: curious where does this PR stand in all this https://github.com/snapcore/snapd/pull/2065 ?13:28
mupPR snapd#2065: interfaces/builtin: use udev to export GPIOs to userspace <Blocked> <Reviewed> <Created by zyga> <https://github.com/snapcore/snapd/pull/2065>13:28
zygaom26er: on hold13:29
zygaI was busy with roscon lately13:29
=== josepht` is now known as josepht
rvrIs there any problem with the store?13:34
om26erCurrently it seems I can expose the GPIO by adding udev rule, not sure though If I can read/write values to from a confined snap, will test soon.13:34
rvrsnap install classic doesn't work13:34
rvrvrruiz@localhost:~$ snap install hello-world13:34
rvrerror: cannot install "hello-world": snap not found13:34
om26erWFM13:35
qenghorvr: Weird. What architecture?13:35
rvrqengho: arm6413:35
qenghoAh hah.13:35
qenghoI bet no one made an arm64 package for hello-world.13:35
qenghoBut that can be fixed in no time. ...13:36
rvrqengho: Ok, but I could run spread tests just one hour ago13:36
rvrand now it's giving me error with snap install classic13:36
qenghorvr:  I don't know what that means.13:36
sergiusensqengho hello world is arch all I think13:36
sergiusenshello however isn't13:37
sergiusenstoo many hellos13:37
ogra_ogra@localhost:~$ sudo snap install hello-world13:37
ogra_hello-world (stable) 6.3 from 'canonical' installed13:37
ogra_ogra@localhost:~$13:37
* ogra_ is just testing dragonboard arm64 here13:37
ogra_not classic though13:37
ogra_(do we actually have classic images yet ?)13:37
om26erspeaking of classic, I don't see a yakkety classic RPi image anywhere.13:38
rvrogra_: I guess so, because it was working this morning13:39
ogra_om26er, ask foundations :)13:39
ogra_or the server team13:39
ogra_or whoever cares for classic these days13:39
om26erits boring, still uses linux 4.4 :p as linux-raspi2 was never updated in yakkety13:39
sergiusensogra_ maybe there needs to be clarification on what classic, the enable-classic or a classic install on the rootfs13:39
ogra_oh, crap, i mis-read rvr's line above13:40
om26eroh wait, 4.8 for RPi is now uploaded.13:40
ogra_ogra@localhost:~$ sudo snap install classic --devmode --edge13:40
ogra_classic (edge) 16.04 from 'canonical' installed13:40
ogra_ogra@localhost:~$13:40
ogra_works fine here13:40
ogra_rvr, ^^^13:40
rvr+ snap install --devmode --edge classic13:41
rvrerror: cannot install "classic": snap not found13:41
rvrHmm13:41
ogra_your order is different13:42
om26ertry turning it off and on again13:42
om26er;)13:42
rvrlol13:42
rvrThis is weird13:43
rvrvrruiz@localhost:~$ sudo snap install classic --devmode --edge13:43
rvrerror: cannot install "classic": snap not found13:43
mupBug #1632336 opened: after first boot /var/lib/snapd/seed/snaps is empty <Snappy:New> <https://launchpad.net/bugs/1632336>13:53
mupBug #1632337 opened: dragonboard beta3 image reboots during snap create-user <Snappy:New> <https://launchpad.net/bugs/1632337>13:53
Chipacapopey, on the pi2/3 that get that weird device thing loop, what does "snap --version" say?14:00
Chipacapopey, i mean in bug 163230614:00
mupBug #1632306: 'snap changes' spammed with "Initialize device" <Snappy:New> <https://launchpad.net/bugs/1632306>14:00
mvopopey: what revision is your core snap on currently? we are looking at the device registraiton bug reight now14:00
popeypopey@localhost:~$ snap --version14:00
popeysnap    2.16+ppa37-114:00
popeysnapd   2.16+ppa37-114:00
popeyseries  1614:00
popeyon pi 214:00
popeyChipaca: ^14:01
mvopopey: revision from snap list please, that will also help us14:01
Chipacapopey, ta14:01
=== jgrimm-out is now known as jgrimm
mvoChipaca: ppa37 sounds like beta314:01
Chipacamvo, that's already in the bug :-)14:01
mvopopey: *cough* sorry!14:01
mvoChipaca: autsch14:01
popeyyeah, i would, but running "snap list" takes aaaaaages14:01
popeynp14:01
Chipacamvo, ubuntu-core 16.04.1 845 canonical -14:02
popeyubuntu-core  16.04.1       845  canonical  -14:02
mvopopey: aha, takes ages because snapd is so busy churning :/14:02
popeyconfirmed14:02
popeyit's variable, sometimes it is, sometimes not14:02
popeymy pi3 is churning, for sure. still not responsed to --version14:03
popeypopey@localhost:~$ snap --version14:03
popeysnap    2.16+ppa39-114:03
popeysnapd   2.16+ppa39-114:03
popeyseries  1614:03
popey^ from pi 314:04
shuduohello, where is right place to define snapweb should be included or not in a customized image?14:26
gerry_hi I am just playing with snaps for the first time I have used the first example yaml to style what I want to do with my .jar. Unsuprisingly it does not work I was just looking if there is an easy reason? the yaml is at http://pastebin.com/69B0spML14:29
mupPR snapd#2131 opened: tests add spread test for prepare-device customizing device init/registration <Created by pedronis> <https://github.com/snapcore/snapd/pull/2131>14:43
mupPR snapd#2132 opened: interfaces/builtin: enable out of process providers for locationd <Created by vosst> <https://github.com/snapcore/snapd/pull/2132>14:48
Chipacaogra_, you around?14:58
Chipacaor maybe it's barry14:58
Chipacaogra_, about resizing the image to its smallest, what filesystem is it?14:58
ogra_ext414:58
mupPR snapd#2133 opened: osutil: add missing unit tests for IsMounted <Created by mvo5> <https://github.com/snapcore/snapd/pull/2133>15:00
Chipacaogra_, any reason not to make it 4G and then resize2fs -M (and then truncate)?15:01
ogra_Chipaca, yes, 4G takes 10.15min to dd, uses your diskspace pointlessly etc etc15:02
ogra_*10-1515:02
Chipacaogra_, dd to where?15:02
ogra_Chipaca, we already have a bug about this and agreement to implement it properly to only have the images as big as their content requires15:02
ogra_Chipaca, to a device15:02
ogra_Chipaca, that bug is why i'm so surprised that barry implemented "+50%"15:03
shuduohello ogra_, where is right place to define snapweb should be included or not in a customized image?15:03
ogra_which is just nonsense15:03
Chipacaogra_, but I mean resize2fs -M before dd'ing15:03
ogra_Chipaca, you need the right partition size ... so you still have an image size that is to big and having the user run resize2fs as a step of a standard install is awful15:04
ogra_we have this properly automated on first boot15:04
ogra_there is really no need to add other fancy hackery here15:04
ogra_we just need ubuntu-image to do the thing that was agreed15:04
jdstrandthomi: use 'architectures: [all]'15:05
* jdstrand notes he is off today and just passing through15:05
ogra_shuduo, in your ubuntu-image call when you build the image15:05
ogra_shuduo, there might be some way in the gadget but i dont know how that exactly works15:06
ogra_s/might/should/15:06
ogra_(never used it)15:06
zygatyhicks: hey15:07
zygatyhicks: can you review snap-confine change for me please15:07
tyhickszyga: hey - I can only handle something small/quick right now15:08
zygatyhicks: hmm, this is neither but it is very important15:09
zygatyhicks: alternatively just pick it up tomorrow and review/finish it (if it requires any changes)15:09
zygatyhicks: this is about /media sharing for GA15:09
zygaogra_: hey15:10
zygaogra_: I'm booting beta3 amd64 on vmware and ... I get "cannot find 'writable' partition", being dropped to initrd shell, can you help me debug this?15:11
tyhickszyga: is there an open PR?15:11
zygatyhicks: yes, two, let me give you the links15:11
zygahttps://github.com/snapcore/snap-confine/pull/16915:12
mupPR snap-confine#169: Add spread tests for mount namespace layout <Created by zyga> <https://github.com/snapcore/snap-confine/pull/169>15:12
zygathis is easy and just serves as a before/after15:12
ogra_zyga, i have not even a clue how to run such an image in vmware, iirc you need to run the image though a bunch of tools to convert it etc15:12
zygawhile it works fine the json dump is somewhat flaky, in my tests sometimes some entries are ordered in another way and the test fails (nothing is broken but the output is different). I will look at fixing that in the next branch15:12
shuduoogra_: hmm, i can't find clues in the doc https://github.com/CanonicalLtd/ubuntu-image/blob/master/docs/gadget-yaml.rst15:12
zygaogra_: qemu-img and you've got a vmdk15:13
zygaogra_: I wonder if there's something special that qemu does for us that is missing?15:13
ogra_nope, nothing special15:13
zygatyhicks: the "meat" is in https://github.com/snapcore/snap-confine/pull/16815:13
mupPR snap-confine#168: Rework mount namespace support <Created by zyga> <https://github.com/snapcore/snap-confine/pull/168>15:13
zygaogra_: what can I do in initrd to debug this?15:14
zygatyhicks: I'll sort the output, that should fix it15:14
ogra_zyga, you could boot with break=premount ... but i'D just inspect the image and the partitioning ... i guess whetever that tool does did somehow trash the partitioning15:15
tyhickszyga: oof... when do you need this reviewed by?15:15
zygatyhicks: ASAP, this is the big late feature15:16
tyhicks:(15:16
zygaogra_: thanks, I'll check15:16
ogra_not sure if kpartx can handle vmdk15:16
zygaogra_: I can explore from within easily15:17
zyga(attach it to another VM)15:17
ogra_k15:17
zygaogra_: but I strongly doubt it is corrupted, vmdk is just another wrapper for the same set of bytes15:17
* ogra_ hasnt used vmware in like 5 years ... so i cant really tell ... 15:18
ogra_perhaps the conversion tool removes FS labels ... who knows :)15:19
* ogra_ curses the beta3 images ... 15:19
zygaogra_: it's a block level convertion15:19
ogra_12min dd ... still going ...15:20
zygaogra_: it doesn't understand fs or partitioning15:20
ogra_(30-40sec with the dailies that have a proper size)15:20
zygaogra_: did you have any luck with that wireless SD card15:20
ogra_zyga, did you see my mail ?15:20
ogra_i sent a summary yesterday15:20
zygaogra_: no, I'm totally behind email15:20
zygaI'll read it, thanks15:20
ogra_i'm in love !!!15:20
ogra_these wireless SD cards are the best since sliced bread15:21
zygaogra_: really? :D15:21
ogra_400MHz v5 CPU, 30MB ram ... linux driven ...15:21
zygaogra_: brig it next week, I'll buy some back home (or maybe in seoul)15:21
ogra_just adding a bettery and you have the püerfect IoT device15:21
zygav5 heh, maybe we can build core for v5 :)15:21
ogra_nah15:22
zygahow much flash?15:22
ogra_only 1MB disk size on the mtd device15:22
zygaoooh15:22
zygaomg :)15:22
zygahow big is the kernel?15:22
zygaand are there sources?15:22
ogra_the OS is all busybox + wpa_supplicant15:22
ogra_partitally i heard15:22
ogra_havent found them yet15:23
ogra_there used to be sources but tanscend seems to have taken them down15:23
ogra_doesnt matter though ... for our usecase i need to replace the busybox with one that has different applets enabled and add a dropbear binary with proper keyx setup ... the rest of the OS can stay as is15:24
zygaogra_: no matter, I'm happy that it works15:24
ogra_it is super insecude ...15:24
zygaogra_: I bet :)15:24
zygaplars: ^^ do you know about this?15:24
ogra_dsont ever store your nekkid photos on such a card ;)15:24
zygaogra_: I almost wish someone made a wired version of the card :)15:25
ogra_(though admittedly you are not jennifer lawrence ... the interest would probably be lower)15:25
zygahehee15:25
zyga"omg how do I remover this ugly guy from my computer"15:25
ogra_the card has soldering points for serial too btw15:25
ogra_so you could drive serial sensors etc15:26
ogra_so an Sd card+coin battery ... + whatever serial device you want to use for measuring15:26
plarszyga: in a meeting, give me a bit15:26
zygaplars: nothing urgent, I bet you will like what orga found for pi testing :)15:27
ogra_zyga, indeed, if you dont use the SD side for image testing like we do, the SD can become your rootfs ... so the 1MB mtd size is moot15:27
ogra_you'd only use it for jump-start15:29
ogra_mvo, so pi3 dies with bug 1630586 now if you dont have a serial cable attached (there is a workaround in the bug i can add to the notes)15:30
mupBug #1630586: Pi3 kernel crash and is unreliable <patch> <Snappy:New> <linux-raspi2 (Ubuntu):New for p-pisati> <https://launchpad.net/bugs/1630586>15:30
tyhickszyga: I'm starting to review those PRs now15:31
zygatyhicks: thanks15:31
zygaogra_: does pi2/3 have hw watchdog?15:34
mvoogra_: hm, what does that mean? image unsuitbable for publication?15:34
zygaogra_: smells like something we should enable early to let snappy recover15:34
zyga(on upgrade)15:34
ogra_mvo, i added a line to the notes ... see yourself if the workaround is to hard15:35
ogra_zyga, i think ppisati tried to enable it on u-boot level but i think it isnt reliable15:35
mvoogra_: hm, hm, feels not ideal, how hard would it be to incoperate this - do we need a new kernel?15:38
ogra_mvo, we can either kill serial completely (by removing that line) ... or wait for a new kernel15:39
ogra_if you want serial you need the line ... booting without serial requires the line removed currently15:40
ogra_mvo, we could default to not support serial at all on the pi3 for beta3 and upload a changed gadget .... but that makes debugging any boot probs really hard15:42
ogra_ogra@localhost:~$ snap lust15:43
ogra_error: Unknown command `lust', did you mean `list'?15:43
ogra_ogra@localhost:~$ snap list15:43
ogra_Name        Version       Rev  Developer  Notes15:43
ogra_core        16.04.1       75   canonical  -15:43
ogra_pi2-kernel  4.4.0-1021-3  14   canonical  -15:43
ogra_pi3         16.04-0.4     5    canonical  -15:43
ogra_snapweb     0.21          16   canonical  -15:43
ogra_looks fine after removing the line15:43
mvoppisati_: what do you think? how long will a new kernel with the fix for the serial issue for pi3 take?15:43
ogra_mvo, given that we only had new kernels yesterday (general SRU) i guess a bit15:44
* ogra_ runs another pi3 test with wlan only 15:50
ogra_if dd ever finishes :(15:51
ogra_hmm ... console-conf startup time on pi is still not stellar :(15:55
plarszyga: Yeah, I saw some emails about ogra_  doing some cools stuff with that. I look forward to hearing how it comes out, but it's all moot if we can't get network and user automatically provisioned15:58
plarsI've heard that there's some way of getting the user part done by putting a file on a usb stick and leaving it in the device, but I've not seen a functioning example of that yet, nor how the automatically getting the network set up without console interaction would work15:59
plarsmvo: I heard that you might have answers to at least part of that ^?15:59
ogra_plars, why qould yu need that ?15:59
plarsogra_: for provisioning the image on the device for automated testing16:00
ogra_plars, the card starts in AP mode, you would only have a PC with extra WLAN card that attaches to that AP16:00
ogra_there is nothing you need to do on the SD side for this16:00
plarsogra_: no, I'm talking about the snappy image that we flash onto it16:00
ogra_plars, ah, so you would dd the img and then push additional files to it ?16:01
ogra_or mangle files16:01
plarsogra_: what you're describing would let us flash the image onto the sd, which we could then boot. But if we want to run tests on it, we would need a way to provision the user and network without having to connect it to video/keyboard and have someone press buttons16:01
ogra_plars, and how do you do this today ?16:01
plarsogra_: I don't know... I've heard there's supposed to be something we can do with assertions16:01
plarsogra_: today? We don't ever since that was changed16:01
ogra_mvo, no WIFI only love on pi3 either :(16:01
plarsogra_: we didn't have problems before when there was a default user, but it's not possible right now. The latest I've heard is that it should be possible soon with assertions, but no functioning example of how to do it yet16:02
ogra_plars, well, you can definitely do some cloud-init stuff today ... so affectively you would push cloud-init user config to it16:02
plarsogra_: where does it read that from? can you give me an example or link to documentation on how it looks and how it uses it?16:03
plarsthat's the piece I'm missing at the moment16:03
zygatyhicks: FI, I found the missing sort in process.py, the results are now stable16:03
zygaplars: we already can get user provisioned16:04
zyganot sure about network16:04
ogra_plars, you would need to delete a file in /etc/cloud that by default disables cloud init today ... and tzhen just use the "normal" cloud-init configuration ... whatever that is16:04
tyhickszyga: I've left my review of 16916:04
ogra_plars, in any xcase that will be possible via wifi SD16:05
* zyga looks16:05
=== chihchun is now known as chihchun_afk
plarsogra_: where does it get that cloud init config from if I remove the disable file?16:06
r2geohi all, can someone tell me where I can find the a stable image for RPi3? Is there an estimate when the RPi3 image may appear on http://cdimage.ubuntu.com/ubuntu-core/xenial/daily-preinstalled/current/ ?16:06
zygatyhicks: I'll fix 169 and merge this into the other one so that the essential change is visible and accurate (the mountinfo contents)16:07
ogra_plars, you dd ... then remount the SD so you have the new filesystem there ... then remove /etc/cloud/disable-cloud-init.foo (or however it is called) then put your cloud-init user config into /writable/system-files/var/cloud/foobar/whatever ... call sync ... re-power the board ... done16:08
=== rmescandon_ is now known as rmescandon
plarsogra_: I'll give it a try, thanks16:08
ogra_plars, everything from dd to sync in that line above would be in a simple shell script the SD card execs when you tell it to16:08
plarssure16:09
ogra_so regarding the wifiSD it shouldnt matter how you provision, it wont care ... all it will be is a "wlan -> nc -> dd" bridge16:10
ppisati_ogra_: mvo: a kernel with the fixed serial is being prepared this week16:10
ppisati_it'll go out...16:11
ppisati_last week of Oct16:11
ogra_phew, thats late16:12
mvoogra_, ppisati_: could we create our own kernel snap for pi3 with just this patch ? or is the amount of work too crazy?16:14
mupBug #1632387 opened: console-conf wifi only setup on pi3 beta3 image not possible <Snappy:New> <https://launchpad.net/bugs/1632387>16:15
mupBug #1632388 opened: console-conf wifi only setup on pi3 beta3 image not possible <Snappy:New> <https://launchpad.net/bugs/1632388>16:15
ogra_mvo, filed ^^^ and added to the notes too16:15
ogra_mvo, we surely could but thats likely a day of work or so16:15
ogra_since i need to use proper debs here16:16
ogra_mvo, so with these two drawbacks the pi3 is good as well16:16
ppisati_ogra_: if you can build from ckt PPA, you can get it next week16:17
ogra_i could set up a special build16:17
ogra_mvo, ^^^16:17
ogra_so next week16:18
mupBug #1632390 opened: "snap find" return unrelative snap <Snappy:New> <https://launchpad.net/bugs/1632390>16:18
rvrogra_: http://paste.ubuntu.com/23308944/16:27
rvrogasawara: I reinstalled the image, the device has access to the internet, but snap install still doesn't work16:27
rvrOops16:27
rvrogra_: ^16:27
ogra_rvr, weird, it definitely worked here16:28
rvrogra_: Also, there are suspicious messages in the syslog about dragonboard-kernel16:28
ogra_(i have trashed the Sd now for pi3 testing)16:28
rvrogra_: Yeah, fgimenez could also install it16:28
ogra_smells like something went wrong with your initial setup16:29
plarshmm, I haven't tried it yet without removing that cloud-init.disabled, but after I removed it from my image and rebooted, it just gets stuck in a boot loop16:29
plarsshows the 4 raspberries, black screen, repeat16:29
ogra_plars, because you have no conbfig in place16:29
plarsno other output...16:29
ogra_cloud-init goes mad if you run it without any config16:30
rvrogra_: Wifi and account setup went fine16:30
plarsogra_: I tried it with one, but perhaps I need it to have a different filename/path? I put a very basic one to just create the user in /writable/system-data/var/lib/cloud/cloud-init.conf16:30
ogra_plars, yeah, there are special dirs underneath var/lib/cloud/ you need to use16:31
* ogra_ forgot the exact bits 16:31
ogra_plars, if you have access to some 15.04 image, that should have everything ... we used to use this for sertting up the ubuntu user16:31
plarsogra_: I'll see if I can find one somewhere16:32
ogra_for series 16 there will be some additional changes to make it actuall yuse snap create-user ... but for a first smoke test the old 15.04 stuff should suffice16:32
ogra_rvr, did your board not reboot after creating the user ? i think fgimenez and me both had that issue ... perhaps that fixes something you dont have gotten fixed then16:33
rvrogra_: Right, no reboot16:34
zygatyhicks: how are you doing on that other branch?16:34
rvrogra_: I'll try that16:34
ogra_rvr, and that is mvo's beta3 test image ?16:34
ogra_or are you on one of my dailies16:35
rvrogra_: untested16:35
ogra_ok. same here16:35
fgimenezogra_, rvr all the beta3 images are affected, there's a fix for it that hasn't landed yet16:35
ogra_then i dont really know whats different16:36
ogra_fgimenez, i dont see any reboots on the pi's16:36
tyhickszyga: haven't made much progress just yet and I am about to have to step away for a short appointment16:36
tyhickszyga: it'll be my top priority after I return16:36
zygatyhicks: do you mind if I rebase it to clean up the spread test?16:37
zygatyhicks: no changes to any of the c code16:37
fgimenezogra_, i found the issue on the pi3, all the images are affected afaik, maybe you didn't wait enough16:37
tyhickszyga: now would be a great time for that16:37
zygatyhicks: thanks, I'll do that then16:37
zygatyhicks: when will you get back?16:37
tyhickszyga: about an hour from now16:38
ogra_fgimenez, well, i just finished a pi3 (wired network, hdmi/usb kbd with the uart fix in config.txt) ... no reboot at all and works just fine16:38
zygaah, ok, I _might_ be around still16:38
zygathough 1:38 AM now ;-)16:38
plarsogra_: no luck - I copied over the user-data file from an old image to the same path on my sd, and I still get the reboot loop. Maybe fgimenez has tried this?16:38
ogra_plars, well, there might be bugs :)16:39
ogra_i just know how it is supposed to work16:39
ogra_and my wifiSd setup will still take a while til it is ready, so we have time16:39
ogra_(to fix the bugs)16:39
ogra_plars, iirc there were two dirs and two files in 15.4016:40
ogra_*0416:40
ogra_did you copy both ?16:40
plarsogra_: yes, the meta-data one was the same as I already have thre16:40
plars*there16:40
ogra_one for user and one for system stuff16:40
ogra_ah, k16:40
fgimenezogra_, mmm i see it happening on the untested image, sometimes during console-conf, sometimes after, but the issue is there, after the first reboot all goes fine16:41
plarsogra_: This was the path and contents of the user-data one: https://www.irccloud.com/pastebin/3AZ5Etxv/16:41
ogra_plars, could you try a daily image instead ? that you see nothing but berries is definitely also wrong ... we fixed that a while ago in the dailies and about 2h ado in the beta candidates16:41
rvrArgh16:41
rvrSame after reboot16:41
rvrerror: cannot install "classic": snap not found16:41
fgimenezogra_, this PR fixes the problem https://github.com/snapcore/snapd/pull/211716:42
mupPR snapd#2117: snapstate: avoid reboots if nothing in the boot setup has changed <Created by mvo5> <https://github.com/snapcore/snapd/pull/2117>16:42
=== Mikaela is now known as Mikaela_
plarsogra_: ah, that could be then... let me re-download. I grabbed it from here, but it looks like the pi3 image is gone (and no db410c yet too): http://cdimage.ubuntu.com/ubuntu-core/xenial/daily-preinstalled/current/16:42
plarsogra_: so there's no new daily yet?16:43
ogra_plars, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/16:43
ogra_every day :)16:43
plarsoh nice!16:43
=== Mikaela_ is now known as Mikaela
ogra_fgimenez, right ... but that only causes a normal reboot with the "system will reboot in 10 min" warning on the console ... the reboot in console-conf when creation the user looks more like a crash16:45
ogra_*creating16:45
fgimenezogra_, yes, it's the same issue16:45
ogra_fgimenez, why did i get the notification after the dragonbaord was set up then ?16:47
ogra_(i.e. after the reboot that happened in the middle of console-conf)16:48
ogra_i dont think they are the same ...16:49
fgimenezogra_, not sure, i'm having a lot of unrelated reboots in dragonboard, something different is happening there16:49
ogra_(but it is moot anyway, teh fix will land andd we'll see if console-conf will work then)16:49
ogra_i did two installs and only had one reboot in each of them when console-conf ran snap create-user ... reliable and reproducable in both tests i did16:50
ogra_i didnt use the first one long enough to know if i also had the 10min waring then ... i definitely had it on the second install though16:51
ogra_fgimenez, do you run your board with the mezzanine board attached ?16:51
ogra_(i do)16:51
ogra_prehaps that has some influence16:51
fgimenezogra_, on dragonboard i have the firstboot reboot as in the rest of images and then a lot more of them16:52
ogra_weird16:52
fgimenezwhile executing the suite16:52
rvrogra_: fgimenez: Could my U1 account be misconfigured?16:52
ogra_rvr, how would that be misconfigured ? if you have an ssh key it will download it16:53
lucacomehello16:53
fgimenezogra_, no mezzanine here, looks nice :)16:53
rvrogra_: Well, I'm trying to guess why snap install works for you and not for me16:53
lucacomedo you know if there are any statistics about the adoption of snap?16:53
ogra_fgimenez, aha ... we default to serial console only on the dragonboard currently ... i bet you have more instability because it tries to write console stuff to serial16:54
fgimenezogra_, well only the uart to usb adapter card16:54
ogra_that *is* the mezzanine board ;)16:54
fgimenezogra_, aha! then yes :)16:54
ogra_http://www.96boards.org/products/mezzanine/16:55
fgimenezi thought you were talking about this http://www.96boards.org/products/mezzanine/linksprite-7-display-kit/16:55
ogra_http://www.96boards.org/products/mezzanine/uarts/16:55
fgimenezyep that's it16:56
ogra_right16:56
ogra_ok, so it isnt that16:56
ogra_sad, i had some hope :P16:56
rvrI have an UART to USB adapter, for programming atmel chips16:57
rvrI guess it can be used with the Dragonboard connecting the correct pins16:58
plarsogra_: I can't seem to open the writable partition from your image directly, not even after I write it to the sd. Maybe that's something to do with the resize?16:59
ogra_plars, nope ... there is still some wiggle room16:59
plarsogra_: [1951890.585324] EXT4-fs (dm-1): bad geometry: block count 118499 exceeds size of device (118272 blocks)16:59
ogra_you should be able to write a few mb16:59
ogra_"exceeds size of device" ?!?17:00
ogra_what size is that SD =17:00
ogra_?17:00
plarssimilarly, when I try to do it with the sd: [1951839.136126] EXT4-fs (mmcblk0p2): bad geometry: block count 118499 exceeds size of device (118272 blocks)17:00
plarsogra_: the first one was just trying to open the raw image file after running it through kpartx17:00
plarsogra_: the second was after writing it to an 8GB sd17:01
fgimenezrvr, at last i'm getting the same error installing classic on dragonboard, it seems that the error comes from the store http://paste.ubuntu.com/23309074/17:03
rvrfgimenez: !!!!17:04
rvrSo at the end, I am not mad ;)17:05
rvrAlthough I was getting mad!17:05
ogra_plars, works fine here ... i can plug the SD in and nautilus auto-mounts the partitions17:05
plarsogra_: strange - is that with the pi3 image?17:05
ogra_plars, with all images ...17:05
ogra_the geometry is indeed wrong, but it should still be mountable17:06
plarsmine doesn't mount... extraction went ok but I didn't check the checksum. Let me retry downloading. I'll grab another one too as a sanity check17:07
ogra_ogra@anubis:~/datengrab/images/snappy$ ls /media/ogra/17:08
ogra_system-boot  writable17:08
ogra_this i get when re-plugging the SD after dd'ing it17:08
rvrfgimenez: Who do manage the store?17:09
ogra_why does it work for me then ... very weird17:09
rvrfgimenez: Ok, snap install works with ubuntu-snappy/16.04/current/17:11
ogra_are both of you using --devmode --edge ?17:11
rvrogra_: I just installed hello world in Dragonboard with that image17:11
rvrNo devmode nor edge17:11
rvrBut I couldn't do that with the untested image17:12
ogra_you need it for classic17:12
ogra_there is no stable classic package17:12
ogra_(never has been)17:12
ogra_ogra@anubis:~/datengrab/images/snappy$ df -h /dev/sdc*17:12
ogra_Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf17:12
ogra_udev            7,8G       0  7,8G    0% /dev17:12
ogra_/dev/sdc1       127M     22M  105M   17% /media/ogra/system-boot17:13
ogra_/dev/sdc2       3,3G    313M  2,9G   10% /media/ogra/writabl17:13
ogra_plars, ^^^ i just freshly dd'ed17:13
ogra_re-plug .... and i get the above17:13
fgimenezogra_, yes, that comes from the suite https://github.com/snapcore/snapd/blob/master/spread.yaml#L11717:13
ogra_ogra@anubis:~/datengrab/images/snappy$ touch /media/ogra/writable/foo.txt17:14
ogra_touch: '/media/ogra/writable/foo.txt' kann nicht berührt werden: Keine Berechtigung17:14
ogra_ogra@anubis:~/datengrab/images/snappy$ sudo touch /media/ogra/writable/foo.txt17:14
ogra_ogra@anubis:~/datengrab/images/snappy$17:14
ogra_plars, ^^^17:14
ogra_that works too17:14
plarsogra_: just re-downloaded, checking again now17:14
ogra_fgimenez, are you sure prefixing the options is supposed to work ?17:14
ogra_sudo snap install classic --devmode --edge17:15
ogra_that is what i use all the time17:15
pmcgowanogra_, hey do you know about the network bridges snapd sets up17:16
rvrclassic (edge) 16.04 from 'canonical' installed17:16
ogra_nope17:16
rvrSo there is something wrong with the untested image and the store17:17
ogra_pmcgowan, you mean netplan ? thats pitti-land17:17
pmcgowanogra_, I see lxdbr017:17
fgimenezogra_, yes, according to snap install --help the install options should go between "install" and the snap name17:17
pmcgowanits grabbing an address that is screwing me up I suspect17:17
ogra_fgimenez, well, i always use it the other way around ...17:17
ogra_and it works here17:17
fgimenezogra_, good to know that works too :)17:18
* ogra_ dd's another dragon image to verify ... cant be that everything works for me but doesnt for you guys 17:18
ogra_are we actually using the same image ?17:18
ogra_:P17:18
ogra_pmcgowan, well, i'm pretty sure snapd doesnt set up any lxc network devices17:19
rvrThe untested one, Oct 7th17:19
ogra_pmcgowan, unless you install an lxc snap or use snapcraft cleanbuild there is nothiong that involves lxc/d in snappy17:20
ogra_rvr, yes17:20
pmcgowanogra_, ok somethig else then17:20
plarsogra_: ok, it seems I'm able to mount the dragonboard one, but not the pi3 one17:23
ogra_plars, well, all the above was pi317:23
plarsogra_: weird17:23
ogra_plars, else it would have been sdc8 and 917:24
plarsYeah17:24
ogra_ogra@localhost:~$ sudo snap install classic --devmode --edge17:26
ogra_classic (edge) 16.04 from 'canonical' installed17:26
ogra_ogra@localhost:~$17:26
ogra_fginther, rvr ^^^ i'm looged in for the first time ...17:26
ogra_ogra@localhost:~$ uname -a17:26
ogra_Linux localhost.localdomain 4.4.0-1024-snapdragon #27-Ubuntu SMP Fri Aug 12 11:45:29 UTC 2016 aarch64 aarch64 aarch64 GNU/Linux17:26
ogra_ogra@localhost:~$17:26
ogra_no issues at all with classic17:26
ogra_i dont get it ...17:27
rvr:-/17:27
ogra_ogra@localhost:~$ snap list17:28
ogra_Name                Version       Rev  Developer  Notes17:28
ogra_classic             16.04         17   canonical  devmode17:28
ogra_core                16.04.1       74   canonical  -17:28
ogra_dragonboard         16.04-0.17    23   canonical  -17:28
ogra_dragonboard-kernel  4.4.0-1024-3  9    canonical  -17:28
ogra_snapweb             0.21          17   canonical  -17:28
ogra_ogra@localhost:~$17:28
ogra_do your versions match ?17:28
rvrI don't get any list17:28
ogra_( core 74 specifically )17:28
ogra_so weird17:28
ogra_as if we had different boards17:28
ogra_(or different images)17:29
zygaha17:33
zygafound it17:33
zygadamn, that was silly17:33
zygaI should sleep17:34
ogra_silly is the new clever i heard17:34
ogra_;)17:34
zygahehehe17:34
zygawell, clever is the "has regular sleeping patterns" thing17:35
ogra_sleeping is for the week^Wweak17:38
ogra_(or so)17:39
mupBug #1632085 changed: Support "fudge factor" for file system sizing <Ubuntu Image:In Progress by barry> <https://launchpad.net/bugs/1632085>17:51
plarsogra_: tried the cloud-init bits on dragonboard, it boots at least, but no network, no user - still wants manual config :(18:07
plarsnothing in cloud-init.log too18:09
tyhickszyga: I'm back and can start looking at 168 again - are you close to pushing the rebased version?18:09
zygatyhicks: yes, but don't worry, just keep on reading and commenting18:11
zygatyhicks: I'll merge18:11
zygatyhicks: I was just not sorting the stuff correctly and I cannot imagine it even worked at all18:11
kyrofazyga, why are you here?18:16
zygakyrofa: well, you know me18:18
zygakyrofa: but I had a great day18:18
kyrofazyga, tsk tsk18:18
kyrofazyga, manage to avoid more meetings?18:18
zygakyrofa: and I just love the feeling when something works well18:18
zygakyrofa: I will just smile and say I was far away from other people ;)18:18
kyrofazyga, good ;)18:18
zygakyrofa: this place is amazing18:18
zygakyrofa: I found so many cool things today18:19
kyrofazyga, does your new hotel have that soup?18:19
zygakyrofa: soup?18:19
zygakyrofa: which one?18:19
kyrofaThat one you like for breakfast18:19
zygakyrofa: this place has no food, I moved to the old town, there are restaurants like *everywhere* here18:20
kyrofaAh, that sounds _great_18:20
zygakyrofa: I did't try the breakfast here yet, I had onigiri for breakfast18:20
* zyga googles to check if he rememebers the name right18:20
zygayep18:20
zygaI don't remember the korean name though18:20
kyrofaAh, nice18:21
zygathis hotel is so not enterprise level though :) the room is the size of the bed in the other one :)18:21
zygabut it's fun, the owner even learned some polish today to surprise me18:22
zygatyhicks: I just pushed to https://github.com/snapcore/snap-confine/pull/169/files18:45
mupPR snap-confine#169: Add spread tests for mount namespace layout <Created by zyga> <https://github.com/snapcore/snap-confine/pull/169>18:45
zygatyhicks: I'll merge this into the other branch and resolve conflicts18:45
zygatyhicks: how do you feel about the 2nd branch?18:45
tyhickszyga: still processing it - this is a lot of change to the most complex part of the project :)18:47
tyhickszyga: no deal breakers yet18:47
zygatyhicks: fingers crossed then, thank you for working on this!18:49
tyhickszyga: np - nice job on getting something working18:49
tyhickszyga: do you have a link to that doc that you wrote up before starting to implement this?18:51
zygayeah, give me a second18:52
zygathere's one thing I didn't comment on that's somewhat bad18:53
zygabootstrap pollutes the main NS if it dies mid-way18:53
zygaI was looking for ways to avoid that but I don't think this is possible18:53
zygathere might be a way to detect abnormal termination and use a child to help clean up but this is imperfect18:54
zygatyhicks: I think there was no doc this time, it was for the ns sharing but not for this18:56
zygatyhicks: we had a pastebin and a shell prototype18:56
tyhickszyga: the main NS is only polluted due to /tmp/snap.rootfs_XXXXXX having mounts set up inside of it, correct?18:57
tyhickszyga: ah, I must have gotten those two confused - thanks for looking18:57
zygatyhicks: yes, that directory will still have some stale bits if we terminate abnormally18:58
* tyhicks nods18:58
thomiThanks jdstrand, I'll try that. I must have missed it in the docs on snapcraft.io?19:12
zygadamn19:25
zygawell, just anoying19:25
zygatyhicks: AFAIK I removed cgroups because they get mounted in unexpected order, so I was thinki that I should sort stuff so that I can do deterministic remapping but parts of the sorted strings are random19:26
tyhickszyga: ok, skip cgroups for now19:26
tyhickszyga: that is frustrating19:26
zygaI'll sort twice,first after partial derandomization (just paths) and then after everything else is derandomized19:27
zygaI'll just test this a few more times before I push it again, you really have to reboot the test machine to see this fail19:27
kgunnnoise][ you about?19:33
tyhickszyga: I've just submitted my review19:35
kgunnnessita_: or you about?19:35
zygatyhicks: thank you, checking19:36
pmcgowansnapd wont run for me today, http://pastebin.ubuntu.com/23309681/19:37
* kyrofa needs a nap, back in a bit19:39
kgunnnessita_: noise][ so i'll just leave my query here...long time ago :) i made "mir-server" namespace in the store... i suppose at the time i said amd64 for supported arch's19:39
kgunni now have armhf and arm64 snaps available, is there any way to change the namespace to reflect this? so that i can upload these for folks?19:40
pmcgowanalso seeing Oct 11 19:39:39 localhost snapd[3538]: error: cannot downgrade: snapd is too old for the current system state (patch level 4)19:40
kgunn...at least, it's not obvious to me how i might do it looking at my options in myapps.developer.com19:40
josephtkgunn: have you tried to upload one of the new architecture's snaps?19:45
kgunnjosepht: ironically...did just now....and i see it's saying arm64...so it's smart that way19:46
kgunn?19:46
josephtkgunn: yes, that's been my experience.19:46
kgunncool thanks josepht i was having nightmares thinking i was going to have to create a new store namespace just for arch support19:47
josephtkgunn: no problem19:48
mupBug #1632452 opened: snappy store still indicates Martin Albisetti for publishing <Snappy:New> <https://launchpad.net/bugs/1632452>19:52
mupPR snapd#2133 closed: osutil: add missing unit tests for IsMounted <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2133>19:58
mupPR snapd#2127 closed: tests: add test for auto-mount assertion import <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2127>20:05
mupPR snapd#2126 closed: tests: add spread test for `snap auto-import` <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2126>20:07
=== nacc_ is now known as nacc
mupPR snapd#2121 closed: cmd/snap: do not auto-import from loop or non-dev devices <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2121>20:50
mupPR snapd#2117 closed: snapstate: avoid reboots if nothing in the boot setup has changed <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2117>20:52
mupPR snapd#2119 closed: tests: abort tests if an update process is scheduled <Created by fgimenez> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2119>20:53
mupPR snapd#2124 closed: daemon: add postCreateUserSuite test suite <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2124>20:55
mupPR snapd#2118 closed: overlord: merge overlord/boot pkg into overlord/devicestate <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2118>20:59
mupBug #1632452 changed: snappy store still indicates Martin Albisetti for publishing <Software Center Agent:New> <https://launchpad.net/bugs/1632452>21:05
mupPR snapd#2134 opened: overlord/devicestate: recover/mark as seeded devices that were first booted with the old external approach <Created by pedronis> <https://github.com/snapcore/snapd/pull/2134>21:33
benbroany update on this?21:34
benbrohttps://bugs.launchpad.net/snappy/+bug/158477921:35
mupBug #1584779: Upgrade a running snap without restarting it <Snappy:Confirmed> <https://launchpad.net/bugs/1584779>21:35
mupPR snapd#2135 opened: cmd/snap: simplify auto-import mountinfo parsing <Created by niemeyer> <https://github.com/snapcore/snapd/pull/2135>21:49
mupPR snapd#2136 opened: tests/lib: prepare ubuntu-core with core from beta <Created by niemeyer> <https://github.com/snapcore/snapd/pull/2136>22:09
mupPR snapd#2134 closed: overlord/devicestate: recover/mark as seeded devices that were first booted with the old external approach <Created by pedronis> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2134>22:21
mupBug #1632508 opened: Get a way to differentiate uninstall/shutdown from snap update in stop script <lxd> <Snappy:New> <https://launchpad.net/bugs/1632508>22:59

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