/srv/irclogs.ubuntu.com/2016/08/30/#snappy.txt

mupPR snapcraft#764 opened: Implementing 'grade' support in snapcraft.yaml <Created by caio1982> <https://github.com/snapcore/snapcraft/pull/764>01:10
mupPR snapcraft#767 opened: Make a copy of the snapcraft files common list before using it <Created by elopio> <https://github.com/snapcore/snapcraft/pull/767>01:55
mupPR snapcraft#741 closed: Make it easy to setup a pre-commit hook <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/741>02:22
mupPR snapcraft#767 closed: Make a copy of the snapcraft files common list before using it <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/767>02:58
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachhey hey06:14
tvosso/06:43
mupPR snapd#1780 opened: Mention Launchpad bugs list in README <Created by nottrobin> <https://github.com/snapcore/snapd/pull/1780>07:09
nottrobinWe got an issue with Snapd filed to the snapcraft.io site. I realise your github README doesn't mention where to file bugs. I've created a PR to fix that. ^07:10
zygagood morning07:20
zygamwhudson: hey07:20
zygamwhudson: would you mind adding me as a co-maintainer to snap-confine and snapd?07:20
mupPR snapd#1781 opened: README: cover the new /run/snapd-snap.socket <Created by mvo5> <https://github.com/snapcore/snapd/pull/1781>07:22
=== chihchun is now known as chihchun_afk
mupPR snapd#1781 closed: README: cover the new /run/snapd-snap.socket <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1781>07:24
mupPR snapd#1780 closed: Mention Launchpad bugs list in README <Created by nottrobin> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1780>07:44
mupPR snapd#1782 opened: docs/interfaces: Add empty line after lxd-support title <Created by caldav> <https://github.com/snapcore/snapd/pull/1782>07:46
mupPR snapd#1782 closed: docs/interfaces: Add empty line after lxd-support title <Created by caldav> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1782>07:47
mupBug #1600713 changed: snapd.boot-ok.service always failed after booting <Snappy:Invalid> <https://launchpad.net/bugs/1600713>07:56
=== chihchun_afk is now known as chihchun
mupPR snapd#1783 opened: snap-exec: add support for commands with internal args in snap-exec <Created by mvo5> <https://github.com/snapcore/snapd/pull/1783>08:30
=== AL_ is now known as Guest45546
mvopitti: re bug #1618207 - whats the best bet to figure out if the system is on a high-quality link? talking to NM?08:33
mupBug #1618207: snapd.refresh.service runs when being offline or on expensive/slow internet <amd64> <apport-bug> <yakkety> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1618207>08:33
pittimvo: NM might not be installed (but if it isn't, then I think we can assume to not have 3G or other "expensive" links)08:34
pittimvo: not sure what touch does for updates, maybe that does something clever08:35
mvopitti: iirc its using the download-manager which tries to be very smart08:36
mvopitti: I wish nm-online had an option --is-expensive08:36
ogra_hmm08:36
mvopitti: then it would be super simple08:36
ogra_my dragonboard and rpi3 installs used to greet me every day with a refreshed core snap for the past two weeks ... seems that has stopped very recently08:37
ogra_i need to run snap refresh now to actually get the update08:37
ogra_snapd.refresh.timer says "loaded active waiting" ...08:38
pittimvo: "ip route show to 0/0" shows the device of the default route, and nmcli d show $(device) the device type; but that's non-trivial indeed08:38
pittimvo: not the most important thing in the world too, but I noticed the failed service so I thought I'd at least record a bug08:39
mvopitti: yeah, it makes sense08:39
mvoogra_: uh, strange08:39
mvoogra_: no reason why its waiting?08:39
ogra_how do i find out ?08:40
pittiwell, why would a timer not be waiting?08:40
pitti(that's the normal state)08:40
pittiogra_: maybe snapd.refresh.service failed for you? check systemctl status?08:41
ogra_http://paste.ubuntu.com/23110890/08:41
pittiit does fail for me on my normal laptop08:41
pittiAug 30 06:24:30 donald snap[1084]: error: cannot refresh []: Post https://search.apps.ubuntu.com/api/v1/snaps/metadata: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)08:41
pittiwhich is different than the two bugs I filed08:41
ogra_Aug 30 08:36:55 dragonboard /usr/lib/snapd/snapd[2597]: snapstate.go:379: cannot refresh snap "ubuntu-core": snap "ubuntu-core" has changes in progress08:42
ogra_Aug 30 08:36:55 dragonboard snapd[2597]: 2016/08/30 08:36:55.414746 snapstate.go:379: cannot refresh snap "ubuntu-core": snap "ubuntu-core" has changes in progress08:42
ogra_aha08:42
ogra_ah, wait, thats my manual run08:43
pittiFWIW, if I open https://search.apps.ubuntu.com/api/v1/snaps/metadata in a browser I get a 40308:43
ogra_i dont see any changes in progress08:44
ogra_thats weird08:44
ogra_seems when i manually refresh it tries to spawn the timer refresh too at the same time08:46
ogra_ubuntu@pi3:~$  grep refresh /var/log/syslog08:47
ogra_Aug 30 08:37:40 pi3 systemd[1]: Starting Automatically refresh installed snaps...08:47
ogra_Aug 30 08:37:40 pi3 /usr/lib/snapd/snapd[2663]: snapstate.go:379: cannot refresh snap "ubuntu-core": snap "ubuntu-core" has changes in progress08:47
ogra_Aug 30 08:37:40 pi3 snapd[2663]: 2016/08/30 08:37:40.631024 snapstate.go:379: cannot refresh snap "ubuntu-core": snap "ubuntu-core" has changes in progress08:47
ogra_Aug 30 08:37:48 pi3 systemd[1]: Started Automatically refresh installed snaps.08:47
ogra_Aug 30 08:37:48 pi3 systemd[1]: snapd.refresh.timer: Adding 1h 15min 34.967902s random time.08:47
ogra_Aug 30 08:37:48 pi3 systemd[1]: snapd.refresh.timer: Adding 4h 22min 20.282576s random time.08:47
ogra_this was definitely triggered by a manual "snap refresh"08:47
ogra_i guess the timer and the manual refresh somehow wrangle over it08:48
mvopitti: I got a timeout as well in one of my tests currently08:48
* ogra_ got a properly updated ubuntu-core ... no timeouts here 08:49
ogra_do you have the VPN active ?08:49
ogra_i noticed that sometimes after DSL reconnect i get DNS issues with it ... reconnecting the VPN then helps08:50
ogra_(DNS issues with all canonical machines)08:50
mupPR snapd#1770 closed: overlord/assertstate,asserts/snapasserts: give snap assertions helpers a package, introduce ReconstructSideInfo <Critical> <Reviewed> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1770>09:01
ahoneybundholbach: I'm looking for a project in snappy-playpen that uses those white_check_marks and red_circles for examples09:02
dholbachahoneybun, just take a look at the top-level README.md09:03
dholbach(the file itself)09:03
ahoneybunnone of the projects use that09:04
ahoneybunthe check mark things09:04
ahoneybunmm :Cannot find definition for part 'desktop-qt509:08
ahoneybunoh got it09:09
mupPR snapd#1784 opened: Add an interface to access the usb drives <Created by axelebas> <https://github.com/snapcore/snapd/pull/1784>09:15
ahoneybunthat's a real useful line right there: http://start.ubuntu.com/connectivity-check.html09:19
ahoneybunyea this thing called lxd is kinda useless with the errors09:22
=== ant_ is now known as Guest58751
mwhudsonzyga: sure, you@ubuntu.com?09:24
mwhudsoni'm not even sure i'm a maintainer for snapd yet09:24
Son_GokuI can't believe I'm saying this, but morning all09:27
* Son_Goku doesn't understand how he's awake this early in the morning...09:27
ahoneybunsame09:27
ahoneybunit's 5:30am here09:27
Son_Gokuyep09:27
Son_Gokusame here09:27
ahoneybunniice09:27
Son_GokuI'm going to be in for a world of hurt today, since I have meetings ALL afternoon09:28
Son_Gokuthis is going to suck hard09:28
mwhudsonzyga: eh given that https://qa.debian.org/developer.php?login=zygmunt.krynicki@canonical.com has things and ubuntu.com does not...09:31
Son_Gokuwhat port does snapd use to talk to the Canonical store?09:45
zygaSon_Goku: part?09:47
Son_Gokuwhat TCP port?09:47
zygamwhudson: me@zygoon.pl09:47
Son_GokuI'm attempting to write a simple SELinux policy for snapd09:47
zygamwhudson: I'll transition my packages over there09:48
zygaSon_Goku: woot! thank you!09:48
mwhudsonzyga: done09:48
Son_Gokuzyga, making no promises here, as I have almost no idea what I'm doing :P09:48
zygaSon_Goku: I cracked the snap-confine feature I was trying to implement; I will try to land it and release 1.0.41 today/tomorrow09:48
Son_Gokuawesome09:48
* zyga hugs Son_Goku 09:49
zygaSon_Goku: mount namespaces are *complex* and underdocumented09:49
Son_Gokuugh09:49
zygaI'd like to fix the namespace(7) man page, it's just lacking essential facts09:49
Son_GokuI feel like stabbing someone after hearing that09:49
zygamwhudson: thank you :-)09:49
ogra_Son_Goku, isnt "i dont know what i'm doing" a prerequisite for using selinux ?09:49
Son_Gokuno09:49
ogra_:)09:49
zygamwhudson: I'll try to prepare 1.0.41 in alioth and ask you for review (not today, no worries :)09:49
Son_GokuI do actually know what I'm doing with SELinux09:50
mwhudsonzyga: did you get your DM?09:50
zygamwhudson: given our timezone coverage it should be good to work on the overalap for a few moments09:50
Son_GokuI have no idea what the totality of snapd's scope is09:50
zygamwhudson: yes09:50
mwhudsonzyga: congrats!09:50
mwhudsonzyga: and collab-maint?09:50
ogra_Son_Goku, totality of snapd scope -> make the world a better place... and free beer for zyga ...09:51
zygamwhudson: not sure, I think that is separate, no?09:51
ogra_(what else :) )09:51
mwhudsonzyga: yeah it is09:52
mwhudsonzyga: https://lists.debian.org/debian-devel-announce/2012/01/msg00006.html i think09:53
=== Guest45546 is now known as aleba
zygaaleba: o/09:54
mwhudsonzyga: took a couple of days for me, but might have been over a weekend or something, don't remember09:54
Son_Gokumore procedure?09:54
zygamwhudson: ah, I see09:55
zygamwhudson: just signed email09:55
Son_Gokuogra_ , I don't know what TCP/UDP ports snapd uses to talk to the store API09:55
zygaSon_Goku: yeah, I would really like to see more of fedora's web tools in debian09:55
zygaSon_Goku: ahhh, just http/https I bet09:55
ogra_Son_Goku, 80/443 i think09:55
ogra_err09:55
zygaSon_Goku: there's no UDP involved09:55
zygaSon_Goku: everything is http-based09:56
ogra_yeah,09:56
zygaSon_Goku: there's the trivial store implementation somewhere AFAIR09:58
Son_Gokuzyga, insofar as seeing more of fedora's awesome tools in debian, they gotta at least implement fedmsg fully09:58
Son_Gokuhttps://wiki.debian.org/FedMsg09:58
zygaSon_Goku: and badges!!!09:58
zygaSon_Goku: but badges should be cross-distro09:59
Son_Gokuthe badges are powered by fedmsg :)09:59
zygaSon_Goku: one person, all the badges from all the distros toether09:59
zygaSon_Goku: I know, I looked at it09:59
zygaSon_Goku: badges are awesome :)09:59
Son_Gokuthe fedora people would definitely be interested in spreading the software everywhere :)09:59
Son_Gokuthere's even people interested in making Koji build proper debian packages, too :P09:59
Son_Gokuthe fedora infrastructure is awesome10:00
Son_Gokuthe upcoming fedora hubs will be even more amazing10:00
zygahubs?10:00
Son_Gokuhttps://fedoraproject.org/wiki/Fedora_Hubs10:01
zygaFedorabook ;)10:02
Son_Gokuyep10:02
zygainteresting, I'm going to look at how that evolves10:02
Son_Gokuit's supposed to be deployed shortly after the third generation Fedora Account System goes live10:02
Son_Gokuwe're on FAS2 now10:02
Son_Gokuwhich I think we've been using for about six years10:02
zygaSon_Goku: heads up, snappy now uses two sockets, the new one is /run/snapd-snap.socket10:03
zygaSon_Goku: 2.14 in COPR has an updated patch to cover this10:03
zygaSon_Goku: the 2nd socket is designed to allow all the snaps to talk to snapd about their stuff10:04
zygaSon_Goku: (it is not a priviledged socket)10:04
Son_Gokuugh10:04
zygaSon_Goku: I guess I have to update the request for the socket presets10:04
Son_Gokuit's a systemd socket?10:04
zygayes10:05
Son_Gokuerr systemd unit10:05
zygaSon_Goku: actually10:05
zygaSon_Goku: it's one .socket10:05
zygaSon_Goku: the same one we had10:05
Son_Gokuso you're fine10:05
zygaSon_Goku: it just has two listen streams10:05
zygaSon_Goku: ahhh right :-)10:05
zygathat's a relief :)10:05
zygaSon_Goku: I'll finish my coffee and .41 patch and do a quick test to see how snapd works without top-level /snap10:06
Son_Gokudoes snapd have any log files?10:06
zygaSon_Goku: no10:06
zygaSon_Goku: just systemd stuff10:06
ogra_it logs to syslog10:06
Son_Gokuokay10:06
ogra_(or journald )10:06
zygaSon_Goku: I was wondering how to transition people on COPR10:06
zygaSon_Goku: plan a) do nothing, advertize this and let people transition manually10:07
zygaSon_Goku: plan b) do the transition in COPR before the package lands10:07
zygaSon_Goku: and keep the transition logic copr-only10:07
Son_Gokutransition what?10:07
zygaSon_Goku: transition away from /snap10:07
Son_Gokuplan B10:07
Son_Gokuthe transition logic shouldn't exist in the official fedora packaging10:08
Son_Gokubut being the good person you are, you'll handle the transition properly in copr10:08
zygaSon_Goku: yeah, I agree10:08
Son_Gokuyou'd probably use one of the transaction scriptlets to do this10:08
zygaSon_Goku: I was thinking that the package could stop all the mount units, this should stop all the services, do the transition in the mount files, and re-start the mount units10:09
Son_Gokuright10:09
zygaSon_Goku: but I don't know, I'd like to try it out in a controlled env before I push any updates10:09
Son_Gokusure10:09
zygaSon_Goku: (and move the stuff around a little on the FS while this happens)10:09
Son_Gokuzyga: https://fedoraproject.org/wiki/Packaging:Scriptlets10:09
mupPR snapd#1745 closed: overlord/snapstate: respect SnapMountDir in tests <Reviewed> <Created by zyga> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/1745>10:21
Son_Gokuzyga, are there any config files that snapd needs rw access?10:21
jamespageSamYaple, I appear to be following you around snap bits and pieces related to openstack - I have some prelimary snaps for keystone and nova - https://github.com/search?q=user%3Ajavacruft+snap10:27
jamespagemight be good to hook up and collab and ensure we're not re-doing each others work to much :-)10:28
zygaSon_Goku: /var/lib/snapd/*10:31
zygaSon_Goku: nothing in /etc AFAIK10:31
Son_Gokuokay10:32
ogra_oh10:33
zygaogra_: ?10:34
ogra_nothing, i just checked the ubuntu-core dl stats :)10:34
zygaogra_: aand? :)10:35
ogra_+50% since i last checked (about two weeks ago or so)10:36
zygaogra_: woot :-)10:37
ogra_mvo, we will need to talk about GL libs in the kernel and how to handle them ...10:45
Son_Gokuzyga: https://gitlab.com/Conan_Kudo/snapcore-selinux10:45
ogra_(afaik there is nothing today that bind mounts them into the right place etc )10:45
ogra_(or that even recognizes them in the kernel snap)10:45
zygaSon_Goku: checking10:46
zygaSon_Goku: https://gitlab.com/Conan_Kudo/snapcore-selinux/blob/master/snappy.fc#L610:47
zygaSon_Goku: will that catch both snapd.socket and snapd-snap.socket?10:47
Son_GokuI think so10:47
zygaSon_Goku: what does ? do in that context?10:47
zygaSon_Goku: it looks like you wanted *10:47
zygaSon_Goku: or better yet, just spell out both sockets10:48
zygaSon_Goku: quick question, would you mind moving this to github? we could move it to snapcore/snapcore-selinux10:49
Son_Gokucreate the project and I'll push it there10:49
zygaSon_Goku: thanks, I don't mind gitlab but that's just one-more-account for me10:49
Son_GokuI personally dislike GitHub a lot10:49
Son_Gokubut I can't avoid it10:50
Son_Gokumore and more projects are moving there all the time :(10:50
mupPR snapd#1776 closed: image: snap assertions into image <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1776>10:52
ogra_cjwatson, did yu see my ping about Bug #1608432 yesterday ?11:31
mupBug #1608432: snaps with type: os should allow publishing of .manifest files <launchpad-buildd:New> <Snapcraft:Incomplete> <https://launchpad.net/bugs/1608432>11:31
cjwatsonno11:31
ogra_i have the manifext in place now ...11:31
ogra_*manifest11:32
cjwatsonright, that path is fine11:33
ogra_cjwatson, and another question i asked yesterday, is there any way for me to get the store revision number for a snap from the LP api (i have a script that screen-scrapes the url from the UI currently, but thats indeed no long term solution)11:33
cjwatsonogra_: not at present, will probably need thought, file  abug11:34
ogra_will do11:34
Son_Gokuzyga, so I have a super basic SELinux policy module for snapd11:55
Son_Gokuhttps://gitlab.com/Conan_Kudo/snapcore-selinux11:55
Son_Gokuit has a Makefile and install instructions11:55
zygaSon_Goku: checking11:56
=== hikiko is now known as hikiko|afk
mupPR snapd#1785 opened: many: add vendoring of dependencies by default <Created by mvo5> <https://github.com/snapcore/snapd/pull/1785>12:59
zygatyhicks: hey, I've implemented the mount namespace sharing12:59
zygatyhicks: I'll write a few spread tests for it and I'll ask you for review13:00
zygatyhicks: there's one thing that I didn't anticipate but it's not a major thing13:00
zygatyhicks: (systemd changing a default)13:00
mupPR snapd#1786 opened: debian: readd ubuntu-core-snapd-units as a transitional package <Created by mvo5> <https://github.com/snapcore/snapd/pull/1786>13:05
mvotvoss: I pushed a vendoring branch fwiw13:11
mupPR snapcraft#768 opened: Update kernel meta to the latest spec <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/768>13:16
=== chihchun is now known as chihchun_afk
tyhickszyga: nice!13:21
sergiusensgood morning!13:27
zygatyhicks: the only wart that kept me from getting this to work is that the preserving bind mount needs to be targetted to a private tree13:27
zygatyhicks: and systemd makes / shared by default13:27
=== chihchun_afk is now known as chihchun
=== JanC_ is now known as JanC
mupPR snapcraft#769 opened: Minor fixes for typos in --help <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/769>13:40
zygatyhicks, jdstrand: can you join a hangout please13:43
zygahttps://hangouts.google.com/hangouts/_/canonical.com/snappy-devel?authuser=113:43
zygaabout the ns sharing thing13:43
tyhickszyga: not quite yet - having another conversation13:43
zygatyhicks: when could you be free?13:44
=== diddleda- is now known as diddledan_
zygajdstrand: how about you?13:45
jdstrandI'm in said conversation13:46
mupPR snapcraft#770 opened: HACKING.md: list dependencies to install with pip <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/770>13:46
zygaok, let me find a spot for the four of us then13:46
zygaI sent you an invite, please tell me if you are free at this time or if you have other commitments13:48
mupPR snapd#1786 closed: debian: re-add ubuntu-core-snapd-units as a transitional package <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1786>13:50
zygajdstrand, tyhicks, niemeyer: I moved the call a few hours into the future, I hope that we can all meet then13:56
tyhickszyga: I can't do the new time13:57
tyhickszyga: I'm off this afternoon13:57
zygacan you do it now?13:57
tyhickszyga: in a few more minutes13:59
zygajdstrand, niemeyer: ^^ let's use that time if you are available13:59
zygaas the rest of the day looks packed13:59
zygaand we are running out of time13:59
jdstrandI have a meeting in 1 hour and in 2 hours14:01
jdstrandzyga: I think tyhicks and I are almost done. do we need a full our?14:01
jdstrandhour?14:01
zygalet's hope not :)14:01
zygalet's do it now14:02
zygajoining the hangout14:02
zygatyhicks, jdstrand, niemeyer: https://hangouts.google.com/hangouts/_/canonical.com/mount-namespace?authuser=114:03
mupPR snapcraft#765 closed: Use a recursive iglob for filesets <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/765>14:04
=== hikiko|afk is now known as hikiko
mupPR snapd#1771 closed: store: refresh expired device sessions <Critical> <Created by matiasb> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1771>14:17
SamYaplejamespage: sounds good. I have nova and glance put together mostly. lets catch up on what to do next14:39
jamespageSamYaple, api services appear to be relatively simple (just network and network-bind required)(14:39
jamespageSamYaple, the big tickets on my list atm are openvswitch, libvirt and all of the network management and virt management stuff that happens14:40
mupPR snapd#1783 closed: snap-exec: add support for commands with internal args in snap-exec <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1783>14:40
jamespageSamYaple, have you any thoughts on snap naming?  as this is greenfield, having something that easily identifies the snap as openstack related feels goof to me14:40
jamespageso I was going for something like14:40
jamespageopenstack-identity14:40
jamespageopenstack-image14:41
jamespageopenstack-block-storage14:41
jamespageso project names, rather than codenames?14:41
SamYaplejamespage: well the project names are keystone, glance, cinder14:43
SamYaplenot naming them that seems like a bad choice14:43
jamespageSamYaple, purpose vs name I guess14:44
SamYaplebut i do have the snap names for the openstack projects registered14:44
SamYaplewell this affects the binaries too, keep that in mind14:44
jamespageSamYaple, I'm easy either way tbh - for our charms we use the keystone, cinder, glance names..14:44
tvossmvo, thx, got link?14:44
jamespageSamYaple, so you're thinking simply keystone/glance14:44
jamespageno openstack prefix?14:44
SamYapleif there is an openstack prefix then we end up with openstack-keystone.manage, and openstack-nova.manage14:45
SamYapleits not the end of the world, but im not sure its ideal14:45
jamespageSamYaple, I saw the bug related to additional binary naming - agree if feels awkward and would mean lots of *NOTES* in official docs...14:46
jamespageI'd rather not write a whole new install guide for this stuff :-)14:46
mvotvoss:  https://github.com/snapcore/snapd/pull/178514:46
jamespageSamYaple, I was pondering a plugin extending py2 or py3 (or either) to wrap the OpenStack snap related bits in14:46
mupPR snapd#1785: many: add vendoring of dependencies by default <Created by mvo5> <https://github.com/snapcore/snapd/pull/1785>14:46
SamYaplei know what you mean. thats what i was trying to get out of that bug report. however a simple alias would align all the packages14:46
SamYaplejamespage: what do you mean?14:47
SamYaplejamespage: ive extended the py2 plugin to do mostly everything thats needed. now im refactoring the py2 and py3 plugins to be one plugin14:47
jamespageSamYaple, I was thinking about some non py related stuff14:47
jamespageSamYaple, having these - https://github.com/javacruft/snap-openstack-compute-controller/blob/master/bin/run.sh14:47
jamespagein every snap feel ugly - it should be generated as part of the creation of the snap IMHO14:48
jamespageso the yaml would allow a snap author to configure bits of that14:48
SamYapleim not sure any script inside the snap is needed14:48
jamespageSamYaple, what's been your approach to configuration files then?14:48
jamespagethat's pretty much all that does - so for example for keystone it sets various state paths to SNAP_COMMON/xxxx14:49
SamYaplethere is some changes being implemented that would allow /etc/nova from the host to bind into the container. that is my ideal14:49
SamYaplei want a replacement to system packages as much as possible14:49
SamYapleoperators manage it the same way they would a baremetal deploy14:50
SamYaplecertainly things we can talk about though14:50
jamespageI can see how that helps with config files; but for local state, I think that want to be in SNAP_COMMON14:50
jamespagethat said, I don't think we should consider ourselves bound to /etc/XXXX14:51
mupPR snapd#1787 opened: overlord/snapstate, daemon, cmd/snap: more explicit revision support <Created by chipaca> <https://github.com/snapcore/snapd/pull/1787>14:51
jamespagekeystone and nova control plane service where quite happy to run in a non root location, with config files pulled in from SNAP_COMMON and the snap itself14:51
SamYaplewell the /etc bind part is done at run time right? so thats a variable location14:51
SamYaplebut i woud like the ability to set the configs _to_ that location. i dont think this restricts either one of us in what were saying though14:52
SamYaplejamespage: you arent the first to express intrest about this. i just threw up a channel at ##openstack-snappy, perhaps we can discuss the openstack bits there rather than clog up this channel with non-snappy things14:53
jamespagecoreycb, ddellav: ^^ you might wanna join that as well14:54
coreycbjamespage, joined14:59
morphis__ogra_: I saw that cloud-init isn't generating files in /etc/network/interfaces.d anymore, is that due to the netplan landing?15:02
ogra_morphis__, yeah, we're waiting for the final bits in subiquity15:02
morphis__ogra_: but any edge channel should have these already?15:03
ogra_no15:03
ogra_you need to manually create the /e/n/i files atm15:03
morphis__but networkd takes over on my current pi3 image15:04
mupPR snapcraft#770 closed: HACKING.md: list dependencies to install with pip <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/770>15:04
ogra_not here15:04
morphis__ogra_: there is a /etc/netplan/00-initial-config.yaml  which enables dhcp for all ethernet devices15:04
morphis__and networkctl marks my en* devices as configured15:05
ogra_well, i dont have issues on my devices ...15:05
morphis__ogra_: I don't have issues too15:05
ogra_they both have a wlan0 config though15:05
morphis__just trying to understand what the current state is15:06
jamespagecoreycb, did you?15:06
ogra_the current state is that we wait for subiquity15:06
morphis__ogra_: and what exactly are you waiting for?15:06
ogra_that will then forcefully re-config15:06
ogra_missing UI bits fior fixed bugs15:06
coreycbjamespage, a double #15:06
jamespagecoreycb, yah15:07
jamespagelolo15:07
jamespagecargonza, ditto you ##openstack-snappy15:07
morphis__ogra_: what will it re-config? network configuration via netplan?15:11
ogra_everything15:11
morphis__or via /etc/network/interfaces.d?15:11
ogra_default user ... network etc15:11
ogra_subiquity will forecefully do a basic config15:11
ogra_since that kills your system if it doesnt succeed it has been ripped out til all UI bits for all config pieces are there15:12
morphis__ogra_: so who is currently putting /etc/netplan/00-initial-config.yaml in?15:12
ogra_i guess netplan15:12
morphis__ok, where are the netplan packages we currently pull in?15:13
ogra_in the PPA15:13
mupPR snapd#1788 opened: snapstate: use umount --lazy when removing the mount units <Created by mvo5> <https://github.com/snapcore/snapd/pull/1788>15:13
morphis__ogra_: which ppa?15:16
ogra_the ubuntu-core build PPA ... https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial15:17
morphis__ogra_: thanks15:22
mupPR snapd#1789 opened: many: when installing snap file derive metadata from assertions unless --force-dangerous <Blocked> <Created by pedronis> <https://github.com/snapcore/snapd/pull/1789>15:32
=== chihchun is now known as chihchun_afk
nessitaelopio, hi! who is in charge of snapcraft/snappy docs? I'm following http://snapcraft.io/create/ and it mentions snapcraft 2.11 while in xenial we already have 2.15.115:35
mupPR snapcraft#769 closed: Minor fixes for typos in --help <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/769>15:37
mupPR snapd#1790 opened: store: set initial device session <Blocked> <Created by matiasb> <https://github.com/snapcore/snapd/pull/1790>15:39
davidcallenessita: "you'll need to have Snapcraft 2.11 or later installed"15:48
mupPR snapcraft#764 closed: Implementing 'grade' support in snapcraft.yaml <Created by caio1982> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/764>15:49
nessitadavidcalle, users don't read text, we just look at the pretty pictures or bash-clis :-P (thanks)15:49
ysionneauhmmm15:50
ysionneau"the requried kernel commandline snap_core is not set" after upgrading os.snap15:50
ysionneauwhat is supposed to be in snap_core ?15:50
sergiusensdavidcalle oh, btw15:50
sergiusensdavidcalle https://bugs.launchpad.net/snapcraft/+bug/161812615:51
mupBug #1618126: tour: snapcraft upload does not return a url <Snapcraft:New> <https://launchpad.net/bugs/1618126>15:51
davidcallenessita: the point is valid though, the plan was to update it when we have breaking changes or new major versions.15:52
morphis__ogra_: also is that known that with a image generated for the pi3 from edge neither gadget or kernel snaps are listed?15:52
ogra_morphis__, nope15:53
morphis__it also redownloads the core snap15:54
ogra_mvo, ^^^15:54
sergiusensdavidcalle which makes me want to delete https://github.com/snapcore/snapcraft/blob/master/docs/upload-your-snap.md15:54
sergiusensdavidcalle and https://github.com/snapcore/snapcraft/blob/master/docs/your-first-snap.md15:54
davidcallesergiusens: oh thanks, when I saw the title, I thought it was an issue on your side. The store API is not returning it at all?15:56
sergiusensdavidcalle we changed the whole workflow15:58
ysionneauany idea what snap_core is supposed to be in the cmdline ?15:59
davidcallesergiusens: I'm about to EOD, can you take some time tomorrow to walk me through the new workflow? I may have some assumptions about it that could use an update.16:02
ysionneauhm it seems I reached the end of what I could squeeze out of U-D-F to generate working images16:05
ysionneauwith new os.snap it does not work anymore16:05
ysionneauwhat's the working replacement for U-D-F then?16:05
ogra_ysionneau, u-d-f16:10
ogra_from the u-d-f snap package16:10
ysionneauah right a new u-d-f16:11
ysionneausnap find udf ?16:12
* ysionneau does not find udf package16:14
ogra_snap install ubuntu-device-flash --edge --devmode16:14
mupPR snapd#1791 opened: Support checking account-key-request assertions <Created by cjwatson> <https://github.com/snapcore/snapd/pull/1791>16:15
ysionneauyann@imperium:~/dev/snappy_paros/tools/snappy/paros_image$ sudo -E /snap/bin/ubuntu-device-flash --verbose core 16 -o paros.img --channel edge  --gadget ../../../paros_2.0_all.snap --kernel ../../../paros_kernel/paros-kernel_3.10.97_armhf.snap --os ubuntu-core --developer-mode --enable-ssh16:21
ysionneaucannot use "../../../paros_2.0_all.snap", must be one of: ["canonical-i386" "canonical-pc" "pc" "canonical-pi2" "pi2" "pi3" "canonical-dragon" "dragonboard" "beagleblack" "plano-amd64"]16:21
ysionneauI cannot supply my gadget file?16:21
ogra_ysionneau, i think there was an option ot override that check ...16:26
ogra_damn .. but i forgot what it was, mvo should be able to help16:26
ysionneauI wasn't using extra option before but if there is one I'm interested :)16:27
ogra_i think it was an env var ... morphis__ do you remember ?16:27
ysionneauplease pm it to me if you find something, I've got to do16:36
ysionneauto go*16:36
ysionneauthanks for the help!16:36
morphis__ogra_: I've just changed the kernal snap, for the gadget I can't say :-)16:43
ogra_hmm16:43
mupPR snapd#1718 closed: daemon,overlord: add subcommand handling to snapctl <Reviewed> <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapd/pull/1718>17:03
ogra_hrm17:35
ogra_ubuntu@pi3:~$ sudo reboot17:36
ogra_Failed to start reboot.target: Connection timed out17:36
ogra_...17:36
* qengho hugs systemd.17:36
ogra_well, seems kill doesnt work ...17:37
ogra_i cant kill -9 any processes17:38
ogra_pitti, ^^^ i have a suspicion that systemd on arm has some issues17:38
* ogra_ had the kill -9 issue before and thought it was only subiquity ... but seemingly it is deeper in the system since subiquity was unseeded17:39
mupPR snapd#1792 opened: asserts: introduce device-session-request <Created by pedronis> <https://github.com/snapcore/snapd/pull/1792>17:44
pittiogra_: do you have a full journal from that system? signal handling is unrelated to pid 1, that sounds kernel-ish17:44
ogra_well, i rebooted ...17:45
mupPR snapd#1793 opened: asserts: initial support to generate/sign snap-build assertions <Created by caio1982> <https://github.com/snapcore/snapd/pull/1793>17:46
ogra_hmm... and there is no logging in journalctl between this morning reboot and the reboot i did just now17:47
ogra_well, actually it didnt log anything since the 26th17:47
ogra_thats weird17:47
ogra_uh17:48
ogra_no, actually i see the clock switch backwards during boot in the log17:48
ogra_pitti, http://paste.ubuntu.com/23112815/17:49
ogra_this is a werid log17:49
ogra_(syslog though)17:49
ogra_it seems to jump to aug. 26th during boot17:50
pittiogra_: systemctl --failed ?17:54
ogra_ubuntu@pi3:~$ sudo systemctl --failed17:58
ogra_0 loaded units listed. Pass --all to see loaded but inactive units, too.17:58
ogra_To show all installed unit files use 'systemctl list-unit-files'.17:58
ogra_nothing... but as i said, i rebooted by now17:58
pbekhello all, since today when I upload my qownnotes snap to the store I get an error message: Launchpad uploaded this snap package to the store, but the store failed to18:04
pbekscan it:18:04
pbek 'Exec=usr/bin/QOwnNotes' does not use: qownnotes18:04
pbek(the same snapcraft.yml worked yesterday)18:04
pbekthat's the yml: https://git.launchpad.net/~pbek/qownnotes-snap/tree/snapcraft.yaml18:04
pbekDoes anyone have an idea?18:04
slangasekmwhudson, cyphermox: sounds like we should get nplan 0.11 or later into the ppas soonish?18:34
cyphermoxyes18:40
cyphermoxis it somewhere right now?18:40
sergiusensogra_ mind adding a manual test case here https://github.com/snapcore/snapcraft/blob/master/manual-tests.md for kernel building?18:51
kyrofapbek, your .desktop file is off18:52
kyrofapbek, try changing the Exec to `Exec=qownnotes`18:52
kyrofapbek, so you use the command you exported18:52
kyrofapbek, the desktop file is not run from within $SNAP-- it's run from outside the snap altogether18:53
kyrofapbek, so usr/bin/QOwnNotes does not exist. You need to run the app like a user would, using the qownnotes in the PATH18:53
pbekkyrofa: thanks a lot for mentioning, I will try that!18:54
kyrofapbek, sure thing!18:54
sergiusensjdstrand hey there, is this correct? /dev/shm/snap/my-snap/my-mem (my-snap is my snap)19:16
jdstrandsergiusens: no. use /dev/shm/snap.my-snap.<anything else including '/'>19:18
sergiusensah, thanks19:18
=== JanC is now known as Guest64850
=== JanC_ is now known as JanC
nessitaanyone with experience using debian packages as dependency for a snap part? I'm listing a few debian deps as "stage-packages" for a part and getting "Error downloading stage packages for part 'magicicada-client': no such package 'gir1.2-notify'"19:32
nessitafrom the docs " This method can reuse any of the 48000 .deb packages that traditional Ubuntu provides" I understand I can list as many debian package names as needed19:33
seb128nessita, there is no such deb in ubuntu, you forgot a -0.7?19:36
seb128nessita, https://launchpad.net/ubuntu/+source/libnotify19:37
seb128nessita, see the debs names listed19:37
nessitaseb128, ah, I guess I was confused because sudo apt-cache policy gir1.2-notify returns a result, and apt-get install also works :-)19:37
nessitaseb128, thank you!19:37
seb128nessita, it does?19:38
nessitaseb128, yeah19:38
seb128weird19:38
nessitanessita@miro:~/projects/magicicada-client/current$ sudo apt-cache policy gir1.2-notify19:38
nessitagir1.2-notify-0.7:19:38
nessita  Installed: 0.7.6-2svn119:38
nessita  Candidate: 0.7.6-2svn119:38
seb128ah19:38
nessitabut as you say the package name is gir1.2-notify-0.719:38
seb128right, it's named -0.719:38
ogra_sergiusens, a manual test case for building a kernel ? what do you want to verify with that ?19:38
nessitaseb128, yeah, just noticed, thank you!19:38
seb128apt seems to do something weird19:38
seb128yw!19:38
sergiusensogra_ ask elopio19:41
sergiusensogra_ just to see thst nothing breaks in every release19:41
mupPR snapcraft#766 closed: Better file conflict message <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/766>19:43
mupPR snapcraft#768 closed: Update kernel meta to the latest spec <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/768>19:46
mupPR snapd#1794 opened: devicestate: some cleanups and solving a couple todos <Created by pedronis> <https://github.com/snapcore/snapd/pull/1794>19:48
kyrofajdstrand, can I ask you to take a look at #1586465 for the reviewer tools when you're able?19:52
mupBug #1586465: Add support for hooks <Canonical Click Reviewers tools:New> <Snapcraft:New> <snapd (Ubuntu):Fix Committed by kyrofa> <https://launchpad.net/bugs/1586465>19:52
ogra_sergiusens, elopio, i doubt it makes any sense to build a kernel  without a full image test ... (you need to check bootability etc)19:55
ogra_and the store already does a lint check when uploading the auto-built snap so issues will be catched there19:56
ogra_sergiusens, elijah all we could perhaps test is to roll an empty kernel snap and check in the snap.yaml that the values didnt return ... but given the whole code was ripped out thats very unlikely anyway ;)19:58
ogra_err19:58
ogra_s/elijah/elopio/ ... sorry19:58
elopioogra_: I would like to have documented and execute for every release a test of building the kernel and booting it.20:00
elopioI know we are not there yet.20:01
elopioIf you think we are safe making releases with that test, that's ok for me. We can wait until ubuntu-image is ready.20:01
ogra_hmm, thats now pretty deeply integrated with LP and nearly fully automated ... you can indeed do it locally but that wont tell you much20:01
ogra_i'll think about it20:01
elopioogra_: thanks.20:03
elopios/with that test/without that test. :)20:03
mupPR snapd#1795 opened: camera interface improvements <Created by jdstrand> <https://github.com/snapcore/snapd/pull/1795>20:06
nessitasergiusens, hi! what's the proper path for getting assistance for a snapcraft error? https://pastebin.canonical.com/164307/20:28
nessitatrying to follow the same procedures as end users :-)20:28
josephtnessita: either ask here, the snappy-playpen channel on gitter, or the mailing list.20:33
mupPR snapd#1794 closed: devicestate: some cleanups and solving a couple todos <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1794>20:34
nessitajosepht, thanks.20:36
nessitaHelp! snapcraft is failing when trying to build a part and the error is unclear on how to get it fixed https://pastebin.canonical.com/164307/20:36
nessitahum, I should use a public paste :-/20:36
=== blr_ is now known as blr
sergiusensnessita we don't have a real solution for that yet, except for telling people about http://stackoverflow.com/questions/14296531/what-does-error-option-single-version-externally-managed-not-recognized-ind20:42
nessitasergiusens, perhaps snapcraft can fetch latest setuptools instead of using the system's?20:44
sergiusensnessita the setuptools in xenial are fine with this, what needs updating is setup.py20:45
nessitasergiusens, is "my" setup.py you mean?20:46
sergiusensnessita yes yours... or wait for us to fix20:46
nessitasergiusens, is there any doc I can read about what I need to change in my setup.py? or what command I can run to make this error appears and fix it20:49
mupPR snapcraft#762 closed: node plugin: run build in pull phase to download dependencies <Created by smoser> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/762>20:55
smoser\o/20:56
mupPR snapd#1796 opened: interfaces: add screen-inhibit-control interface (LP: #1604880) <Created by jdstrand> <Conflict> <https://github.com/snapcore/snapd/pull/1796>20:58
sergiusensnessita not that I know of; I still get confused with setuptools distutils eggs and what not to have it handy20:58
sergiusensnessita is your snapcraft.yaml anywhere?20:59
nessitasergiusens, let me push it20:59
sergiusenssmoser thanks for the PR20:59
nessitasergiusens, https://code.launchpad.net/~nataliabidart/magicicada-client/snapping/+merge/30441721:04
nessitasergiusens, be aware I'm not sure what I'm doing, yet :)21:04
nessitasergiusens, I'm following http://snapcraft.io/create/ and making free interpretation of things21:05
sergiusensev do you have something I can test this with? https://github.com/snapcore/snapcraft/pull/752/files21:11
mupPR snapcraft#752: Ant properties, build target, and destination directory options <Created by evandandrea> <https://github.com/snapcore/snapcraft/pull/752>21:11
sergiusensnessita that's fine21:11
* sergiusens install bzr21:12
evsergiusens: cooking something up21:14
sergiusensev if you have something simple, please add to integration_tests :-)21:15
evsergiusens: confused; I did add an integration_test21:15
sergiusensev err ignore me :-)21:17
evooh, slight bug: properties and targets in the docstring should be ant-properties and ant-targets21:18
evfixing21:18
sergiusensok, this just means I need to look at this closer21:19
evdamn, and I was so close ;)21:19
mwhudsonslangasek, cyphermox: yes21:32
mwhudsonslangasek, cyphermox: it's just dch -Dxenial "build for xenial" && dput ...21:32
sergiusensnessita it might take me a bit on my 6Mbps21:32
slangasekmwhudson: can you do this, for whichever version you would like me to also copy to the snappy-dev ppa? :)21:33
kyrofasergiusens, lucky, you have 6?21:34
mwhudsonslangasek: sure21:34
mwhudsonslangasek: aren't we supposed to be talking now? :)21:34
slangasekmwhudson: we clearly are talking!21:34
sergiusenskyrofa I was told I was going to be upgraded from 3 to 6 but it still feels like 3 according to speedtest21:35
sergiusensand over the air ;-)21:35
mwhudsonslangasek: multi format communication!21:35
kyrofaYeah that's what mine is right now too. It's terrible!21:35
nessitasergiusens, thanks!21:40
mupPR snapd#1797 opened: interfaces: add upower-observe interface (LP: #1595813) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/1797>21:43
evsergiusens: https://gist.github.com/evandandrea/b1ed4ffa0395f994ec31a6a6101d0cb421:51
evproduces the same snap as https://github.com/evandandrea/cassandra-snap/blob/master/parts/plugins/x-cassandra.py did21:51
mupPR snapd#1765 closed: many: move network initialization to a separate service <Created by mwhudson> <Closed by mwhudson> <https://github.com/snapcore/snapd/pull/1765>22:30
loolwould someone know where the code corresponding to the ubuntu-device-flash snap is stored? I can't find the same error strings in lp:goget-ubuntu-touch22:33
mupPR snapd#1798 opened: firstboot: change location of netplan config <Created by mwhudson> <https://github.com/snapcore/snapd/pull/1798>22:33
looldoesn't seem to be under https://launchpad.net/~snappy-dev/+snaps either22:34
slangaseklool: if you find it, please let me know; that would help for ubuntu-image porting work as well...22:47
loolslangasek: lp:goget-ubuntu-touch does not seem extremely far off, and there were mentions of a derived branch in recent conversations lp:~mvo/goget-ubuntu-touch/minimal-first-boot22:48
loolbut I can't confirm it's the same code22:48
sarnolddoes this look familiar? Download snap "ubuntu-core" (352) from channel "stable" (read tcp 192.168.122.102:58452->64.94.115.12:443: read: connection reset by peer)23:14
sarnoldapt-get purge snapd && apt-get install snapd fixed that.23:23
looljdstrand: thanks for taking the time to do another pass on the docker snap; see card/pull request for what I know about the breakage of this snap23:26
looljdstrand: in fact fwding you the email23:26
sergiusensjdstrand hi there, has cprov briefed you on `grade`?23:31
cprovsergiusens: I didn't. Any side effect on CRT ?23:35
sergiusenscprov it might block uploads :-)23:35
sergiusensin any case I affected click-reviewers-tools to the bug23:35
cprovIf absent it defaults to stable, exactly as confinement23:36
cprovAnd Snacraft init starts with develop23:37
sergiusensev nice! I do have two observations; glue seems temporary which is good; [build-]environment is coming for parts and apps but in your custom plugin you could of done it by overriding the `env` method.23:38
sergiusenscprov yes, that is all good :-) Problem is, we might get rejected as the key might be unknown to c-r-t23:38
sergiusensunless that works already23:38
cprovYes, should have checked that, sorry23:39
mupPR snapd#1799 opened: asserts,cmd/snap: add "name" header to account-key(-request) <Created by cjwatson> <https://github.com/snapcore/snapd/pull/1799>23:40
sergiusenscprov no need to be sorry ;-)23:59

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