/srv/irclogs.ubuntu.com/2019/07/12/#snappy.txt

mborzeckimorning05:20
=== morphis6 is now known as morphis
mborzeckimvo: morning06:38
mvohey mborzecki06:39
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:03
mborzeckipstolowski: hey07:07
mvogood morning pstolowski07:13
mvopstolowski: 7016 has two +1, can I squash it and cherry pick it to 2.40?07:14
mborzeckihttps://github.com/snapcore/snapd/pull/7093 can land easily07:14
mvopstolowski: also see my last comment, AIUI the sublevel patch is applied not more often now than before? or am I misreading something?07:15
pstolowskimvo: yes! thank you07:15
mvopstolowski: thank *you*07:15
mborzeckipassing a suite selector with ... on spread command line, those are nor ORed apparently07:36
mborzeckiduh, manual: true :/07:38
zygaHey, trying to connect from my laptop but fighting network issue07:41
zygaSomehow cannot tether07:41
pedronismborzecki: reviewed again 6890, it needs a 2nd review, John gave it but has changed a lot since.08:05
mborzeckipedronis: great, i'll ping Chipaca when he's around08:06
zygare08:41
zygayay08:41
ackkhi, is there a way for a (confined) snap to know the channel it's tracking?09:38
zygaackk: no, but we discussed adding that via snapctl09:39
zygaackk: perhaps pstolowski knows this?09:39
pedronisI don't remember discussing this in particular09:41
pstolowskiyep, as pedronis says09:42
pedroniswe mainly discussed: checking whether an interface is connected, check whether there is new revision, and very recently checking whether there's a missed/pending auto-refresh because an app was running09:42
pedronisI think is not totally out of question to return this info in the 2nd of that list09:43
pedronisbut I would like to understand the use case09:43
ackkpedronis, in maas' case, we have an option to deploy a machine as a maas rackcontroller, which installs the snap. ideally we want the same version of the currently running maas. of course there's no guarantee that the channel doesn't have a newer revision, but pointing the new machine to the same channel is the best option09:44
pedronisackk: you want to use cohorts for that09:45
pedronisthat's what they are designed for09:45
ackkpedronis, how do they work?09:45
pedronismake sure a cluster always uses the same revision09:45
pedronisackk: https://forum.snapcraft.io/t/managing-cohorts/8995  they will be in 2.4009:46
* ackk reads up09:46
ackkpedronis, so the idea is you create a cohort on machine A ("pinning" the version of maas), deploy machine B and install maas using the cohort, delete the cohort?09:47
pedronisackk: yes, you don't delete cohorts though09:48
pedronisthey don't take space in the store09:48
ackkpedronis, but they will prevent both machines for getting updated if a new snap is released right?09:48
zygapedronis: we did discuss checking which channel is being tracked in lyon09:48
pedroniszyga: I don't remember, maybe in a conversation I was not in, or maybe it was before I arrived09:49
zygapedronis: perhaps in a hallway but I'm sure we had that conversation09:49
zygaI don't recall that detail09:49
pedronisackk: they will prevent the machine to get updated for 90 days, then they update but they will again update to the same revisions09:49
ackkpedronis, ok. so if we don't want to hold the update, just to get them on the same channel, deleting is fine. correct?09:50
pedronisackk: deleting what?09:50
ackkpedronis, the cohort after installing machine B09:50
pedronisackk: there is not deleting of cohorts09:50
ackksorry, i mean, leaving it09:51
pedronisackk: no, if you leave it09:51
pedronisthey will potentially go out of sync09:51
pedronisif you want to refresh you do the same09:52
pedronisget a new cohort09:52
pedronison a machine09:52
pedronisand refresh again on the others using that cohort09:52
zygamborzecki: found one more leaky test https://github.com/snapcore/snapd/pull/7091/commits/bace705b928d065a61870cf16953b652ad5c576a09:52
ackkpedronis, but you have to leave the cohoort to refresh, right?09:53
pedronisackk: no09:53
ondrazyga ping09:53
zygahey ondra09:54
pedronisacck: you do snap refresh --cohort=<new-cohort>09:54
ondrazyga I have machine which just went into funny state09:54
pedronis<snap>09:54
ondrazyga opengrok-2 opengrok.tomcat[3188]: cannot locate base snap core18: No such file or directory09:54
ondrazyga ut09:54
ondrazyga it's classic ubuntu 18.0409:54
pedronisackk: you can switch from cohort to cohort without leaving using those ops09:54
zygaondra: is core18 mounted?09:54
ackkpedronis, oh, I see, I thought create-cohort would be related to what you have, I see it's not09:54
zygaondra: mborzecki reported weird system state after systemd update today09:55
ondrazyga it has not rebooted for weeks09:55
ondrazyga it's mounted, but there is not sym link to 'current'09:55
zygaondra: but systemd updates in place09:55
zygaondra: oh, that's curiour09:56
mborzeckiondra: looked like systemd lost track of loopback devices and where they were mounted at after it was daemon-reexec'ed during the update09:56
zygaondra: can you check snap changes?09:56
zygamvo: ^^09:56
ackkpedronis, I see, thanks09:56
zygamvo: current went away on ondra's machine09:56
ondrazyga yep 86   Error   today at 07:04 UTC      today at 07:04 UTC      Auto-refresh snap "core18"09:56
ondrazyga https://paste.ubuntu.com/p/G4rT485kFr/09:57
ondrazyga hmm Error   today at 07:04 UTC  today at 07:04 UTC  Make current revision for snap "core18" unavailable09:57
ondrazyga I did not. update systemd for ages there09:58
zygaondra: can you show snap tasks  for that change please?09:58
ondrazyga this machine is running web service, so I did not touch it for several weeks/months09:58
zygaondra: some updates auto apply via security pocket09:59
ondrazyga do you mean that paste bin I sent?09:59
zygaoh, looking09:59
zygaondra: your fs is broken09:59
zygaondra: is / writable?09:59
ondrazyga it's classic ubuntu09:59
zygaondra: is it writable10:00
zygalooks like it switched to read only mode10:00
ondrazyga looks like10:00
ondraI was able to touch file in home10:00
ondrazyga and root10:00
zygaactually, the error is curious10:01
zygahttps://www.irccloud.com/pastebin/CEml5ETz/10:01
zygaer10:01
zygathat's the $SNAP_DATA data-set10:02
zygais /var/snap mounted on another partition>?10:02
ondrazyga it is :)10:02
zygais that partition read only?10:03
ondrazyga nope writable10:03
zygaondra: then I don't know10:04
zygaondra: check system logs for around 2019-07-12T07:04:46Z10:04
zygamaybe something happened then?10:04
ondrazyga no I could only see there that read only error10:06
ondrazyga so manual 'snap refresh core18' went fine and fixed it10:07
zygaondra: which cloud provider is this?10:07
mvopstolowski: thanks for 7096! really nice to see how straightforward this is now10:11
pstolowskimvo: it became so much simplier with nulls internally10:11
mvopstolowski: cool stuff!10:12
pstolowskii could throw away a large chunk of the new code10:12
ondrazyga you do not want to know, canonistack :D10:13
ondrazyga I blame it on cosmic rays10:13
zygapstolowski: with https://github.com/snapcore/snapd/pull/7096/files we could look at tests that set stuff to unset it10:13
zygaI have a few for sure10:14
zygathanks for that!10:14
zygapstolowski: https://github.com/snapcore/snapd/pull/7096#pullrequestreview-26117629510:17
pstolowskizyga: thanks!10:18
Chipacapedronis: fwiw, fyi, https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/182850010:20
zygapstolowski: one more https://github.com/snapcore/snapd/pull/7096/files#r30292224010:21
pedronisChipaca: we need to loop in whoever is making those images10:21
Chipacapedronis: loop in, yes. With steel wire around <body parts>.10:22
Chipacapedronis: assuming my suspicion is correct10:22
Chipacawhich I suspect it is :-)10:22
pstolowskizyga: right, thanks!10:22
Chipacaanyhow, time for a break10:22
* Chipaca breaks things10:22
mborzeckithis is interesting https://forum.snapcraft.io/t/too-early-for-operations/12243/810:27
mborzeckishouldn't core be listed there?10:27
zygamborzecki: yes10:28
zygawhoever makes that seed needs to fix it10:28
mborzeckihm that's 19.10 :) at least it hasn't been released yet10:29
mborzeckimvo: do you know how seed.yaml is generated for those images?10:30
zygamborzecki: perhaps manually10:31
zygamborzecki: many people don't know about snap prepare-image and use a page full of shell to do the "equivalent"10:31
zygagiven that there are on snap IDs there I bet it is the shell versioni10:31
mvomborzecki: what image exactly?10:32
mborzeckimvo: see the topic, someone installed 19.10 from a daily image, seed.yaml looks broken10:33
mvomborzecki: :( I think those seeds are generated "manually" by some livecd-rootfs shell. we can ask foundations (cc sil2100) how 19.10 daily image seed.yaml is generated and if it can be fixed10:33
pedroniswe are trying to move them to prepare-image --classic10:34
pedronisbut given the complexity of livecd-rootfs, is not trivial10:34
diddledanChipaca: I just added the seed.yaml from a hyper-v image10:40
diddledanref: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/182850010:40
Chipacadiddledan: thanks! could you do the followup, ie sudo snap info --verbose /var/lib/snapd/seed/snaps/*.snap | grep base:  ?10:46
diddledandone10:48
Chipacadiddledan: who creates these images, do you know?10:49
diddledanI don't10:49
diddledanlooks like willcooke might know as he posted the blog entry about them https://ubuntu.com/blog/optimised-ubuntu-desktop-images-available-in-microsoft-hyper-v-gallery10:50
Chipacawillcooke: can we talk about QAing stuff :/10:51
zygaI can try the hyper v image later if anyone needs me to10:52
diddledandoes snapd wait for the user to login before doing any pre-seed? I'm wondering if the way those images logs you in is confusing matters - it uses XRDP over a Hyper-V internal socket10:53
Chipacadiddledan: no it does not10:54
diddledanok, ignore that then :-p10:54
* diddledan throws more random at the wall until stuff sticks :-D10:54
Chipacadiddledan: it's simple, the seed.yaml needs to be self-contained10:54
willcookeChipaca, it has been working previously, because things like calc are snaps.  I have a feeling we have talked about this problem previously, but kenvandine will need to comment further.10:54
Chipacadiddledan: if a snap in seed needs core18, core18 needs to be in the seed10:54
diddledanaha. so the seed.yaml is missing core18!10:55
Chipacawillcooke: calc and things have needed core18 since shortly after 18.0410:55
Chipacawillcooke: those images have gone out, and we blogged about them, without them working: the _seeded_ snaps have core1810:55
diddledanthat makes sense, because core did get installed by the pre-seed10:55
Chipacathis isn't a weird things-got-updated-after-image-baking, the image is baked and has not been tested10:55
Chipacawillcooke: thus me asking about QA10:56
Chipacawillcooke: you have the same issue in dailies fwiw, if that's also 'under' you10:57
Chipacawillcooke: https://forum.snapcraft.io/t/too-early-for-operations/12243?u=chipaca10:57
Chipaca(i'm less concerned about these because those are explicitly not qa'd)10:58
=== ricab is now known as ricab|brb
willcookeChipaca, kenvandine knows about this, he'll be online in an hour or so I expect11:00
Chipacaok11:01
Chipacawillcooke: both of these?11:01
willcookeChipaca, yes, I think it's the same problem, and I have a feeling that he's spoken to someone in your team about this recently. I thought he'd worked around it, but it would seem not11:02
Chipacawillcooke: I'll wait and talk with kenvandine when they're around, then11:03
Chipacamy view is very snapd-centric but I don't see what there's to workaround :-)11:03
ackkI've been seeing a weird behavior recently. At times some snaps (maybe it's actually just core18) show up in nautilus as removable devices. If I click on it it gets mounted under /media and I see the content, but the file is not actually there: https://paste.ubuntu.com/p/9DMCxHR3RN/11:07
* zyga sees that as more rationale to mount snaps in dedicated namespaces only11:09
ackkzyga, I don't understand how nautilus finds it, the file is not there but I can mount/umount it multiple times and it actually works11:10
zygaackk: nautilus probably tracks all mount ops11:11
ackkzyga, yeah but the snap is gone, and it's not mounted anymore11:14
Chipacaackk: wait until you notice using tab completion on snap makes devices flicker in nautilus11:14
Chipacaackk: *that* will do your head in11:14
zygaChipaca: whaaat?11:14
ackkwat?11:14
Chipacanot all the time, sadly11:15
mborzeckizyga: rawhide cloud image https://paste.ubuntu.com/p/FTTpjJv2Hj/ hm doesn't look like only v211:15
=== ricab|brb is now known as ricab
zygamborzecki: perhaps not switched by default yet, the plan is to by release though11:15
mborzeckizyga: mhm11:16
mborzeckizyga: ok, on cgroup2 now only11:19
zygamborzecki: woot11:19
zygamborzecki: I'm fixing leaky tests11:19
zygamborzecki: found a good way now11:19
mborzeckizyga: i mean the image is switched to unified hierarchy https://paste.ubuntu.com/p/YzcFg4rD7z/ ;)11:19
zygamborzecki: ?11:20
zygamborzecki: did you switch yourself11:20
zygamborzecki: or did you update?11:20
zygamborzecki: I like one thing about v211:20
zygamborzecki: run mount11:20
zygamborzecki: see how short that is? :D11:20
mborzeckizyga: switched it myself, this the yesterday's compose11:20
mborzeckizyga: shorter but not super short :)11:21
zygamborzecki: how long is it?11:22
mborzeckizyga: https://paste.ubuntu.com/p/sbfygMW6Hr/11:25
* zyga sees more bpf11:25
mborzeckiheh11:26
mborzeckipoeple seem use some automation to track upstream releases for aur packages, mvo uploaded a release 2h go, 40 minutes ago got an email from aur that the package has been flagged already11:27
zygagod, why is apt removing lxd all the time11:31
zygamvo: how can I check that a package is installed vs auto-installed11:31
mvozyga: apt show lxd11:41
mvozyga: watch out for "APT-Manual-Installed: yes11:41
mvo"11:41
zygamvo: thank you11:41
zygamvo: tests are wreaking havoc to lxc preinstalled in cloud image11:41
zygamvo: because unrelated apt-get autoremove other-package # removes lxd11:41
mvofun11:43
mvoapt install xld11:43
mvoapt install lxd11:43
mvowill set lxd to manual installed11:43
zygayeah, I'm just double checking the initial state11:43
zygathe qemu images don't have lxd11:43
zygabut cloud images do11:43
* pstolowski lunch11:44
mvo7k closed PRs11:45
* mvo is impressed11:46
zygamvo: so, I don't see the manual flag11:55
zygamvo: but apt autoremove doesn't remove it11:55
zygahttps://www.irccloud.com/pastebin/qI2YEpuO/11:56
mborzeckiChipaca: also https://forum.snapcraft.io/t/too-early-for-operations/12243/ is a daily 19.10 image11:58
zygahmmmm11:58
zygagosh11:59
zygawhat is making this broken :.11:59
Chipacazyga: which thing?12:01
zygaChipaca: tests installing and removing packages12:08
zygaI don't understand it yet12:08
zygabut some remove operations remove lxd12:08
zygawhy, don't know12:08
zygafighting spread to give me shell before changing the image much12:08
zygausability of spread is sometimes lacking12:09
mvozyga: that means its used by something12:10
zygamvo: is that apt show line going to show me this  information reliably, that it is auto-installed?12:11
zygamvo: I want to understand what is breaking the state (changing it from manual to auto)12:11
* zyga is extremely fed up with the heat12:11
mvozyga: maybe we can have a quick chat ? I'm not sure I have enough context but there are a bunch of debug option available to figure out why something gets removed12:12
mvozyga: do you have a link to a log or something?12:12
zygamvo: I'm tired, need a break12:12
zygamvo: I will look at this later12:12
jdstrandackk: not sure you say from yesterday: 17:24 < jdstrand> ackk: fyi, https://people.canonical.com/~jamie/snapd-daemon-user/12:14
mvozyga: yeah, lets just talk after the standup12:14
mborzeckizyga: broken snaps looks like a larger problem with systemd/5.2 kernel12:20
mborzeckizyga: just got the same state after a reboot12:20
mborzeckizyga: https://paste.ubuntu.com/p/QMH66ZXcNW/12:22
mborzeckiarch package updated12:24
Chipacadrat, late for lunch12:25
* Chipaca runs12:25
* Chipaca om noms12:49
* Chipaca is on fire12:50
* Chipaca makes a note to use fewer chillies next time12:50
Eighth_Doctorugh...13:01
* Chipaca omw13:01
Eighth_Doctorhttps://twitter.com/hughsient/status/114966377002673357113:01
Eighth_Doctorhttps://blogs.gnome.org/hughsie/2019/07/12/gnome-software-in-fedora-will-no-longer-support-snapd/13:01
=== ricab_ is now known as ricab|lunch
ChipacaI was particularly perturbed by him saying we're at war13:03
diddledan"One ISO consortium member asks whether they should remove hydrogen engine support from the ISO car as they feel BMW is not playing fair." <-- that's the crux, it is being used as a punishment for daring to consider alternatives13:08
diddledanand let's be clear. the investigation is barely 20 days old13:10
Eighth_Doctordiddledan: imo, having something that isn't g-s for the non-gnome flavors would be useful anyway13:15
Eighth_Doctorright now, there's nothing available for DEs that don't have their own software management frontend13:15
Eighth_Doctorlike MATE, for example13:22
Eighth_Doctordiddledan: I'm not happy that I'm being caught in the crossfire though :(13:24
mborzeckizyga: added a topic about mount problems with 5.2 I see here: https://forum.snapcraft.io/t/snap-mounts-broken-with-kernel-5-2-and-systemd-242/1227213:27
zygathank you, looking13:28
ChipacaEighth_Doctor: is there anything i can do to help13:31
diddledancuddles?13:31
ChipacaEighth_Doctor: even if it's just something like, send you pizza or flowers or beer or something13:31
Eighth_DoctorChipaca: I don't know13:31
Eighth_Doctorhaha13:31
zygamborzecki: thank you for reminding me about 2.40; I'll update openSUSE and look at Debian13:31
Eighth_Doctorzyga: is 2.40 out now?13:32
mborzeckiEighth_Doctor: yes13:32
Eighth_Doctorjoy...13:32
roadmrhttps://snapcraft.io/core13:32
Eighth_Doctoralright, since hughsie is being a jerk, I guess I have to package gnome-software-snap separately13:33
Eighth_DoctorChipaca: what makes this situation worse is that he's trapped me with the snap store thing13:34
Eighth_DoctorI don't know if I dare bring up this to FESCo or the Council, because he might try to use it to get snapd removed from the distro entirely13:34
* diddledan wants 2.41 already :-p ('cos it'll have my change from https://github.com/snapcore/snapd/pull/6876)13:34
Eighth_DoctorChipaca: he put that in the changelog entry for justification: https://src.fedoraproject.org/rpms/gnome-software/c/ef1746da8c7613c6bd29d9b9bbfbe95c4291bc8513:35
ChipacaEighth_Doctor: *hugs*13:37
diddledansurely all this throwing of toys is just gonna force Ubuntu to not use gnome software ever again?13:37
Eighth_Doctorto me, it looks like he's just unhappy he can't have flathub13:37
Eighth_Doctorthat's what it seems like to me, but he says he was already told Ubuntu wasn't going to13:38
Eighth_DoctorI think I've handled this fairly well, all things considered: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/O4CMUKPHMMJ5W7OPZN2E7BYTVZWCRQHU/13:39
=== msalvatore_ is now known as msalvatore
zygaEighth_Doctor: oh man13:45
zygaEighth_Doctor: changelog entry13:45
Eighth_Doctorzyga: yup13:46
zygaEighth_Doctor: yeah, it feels like a lot of hurt feelings now13:46
pstolowskimvo: btw #6977 needs your re-review13:46
zygaEighth_Doctor: thank you for participating in that discussion, I feel that it is unfortunate it ended up like that and that  some heat-of-the-moment-commit-messages will be regretted eventually13:47
zygabut what's done is done13:47
mvopstolowski: aha, nice - thank you!13:47
Eighth_Doctorzyga: I guess I'm packaging gnome-software-snap separately now13:48
Eighth_Doctorgod damn all of this13:48
mvo /o\13:49
mborzeckiEighth_Doctor: hopefully it's smooth as long as g-s doesn't break the a[pb]i13:49
mvoEighth_Doctor: sorry for the trouble13:49
Eighth_Doctormborzecki: ABI breaks every release13:49
Eighth_Doctorthat's why no one does out of tree plugins13:50
zygahttps://twitter.com/hughsient/status/114967743593322496013:55
=== ricab|lunch is now known as ricab
* cachio afk14:12
kenvandinemvo: https://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu/commit/?h=eoan&id=6f3707c8dd8fdc7c4c0ca1eeff428fa0e4678db614:40
diddledan\o/14:41
diddledanawesome, kenvandine :-)14:41
Chipacakenvandine: note you also need to have 'core'14:41
kenvandineChipaca: iirc livecd-rootfs pulls in core explicitly14:42
Chipacadunno if the new logic thing does that14:42
kenvandineor was14:42
kenvandineright14:42
diddledanyou need to have both now14:42
Chipacakenvandine: yesterday's daily did not14:42
kenvandineright14:42
Chipacakenvandine: that's what the forum issue was about14:42
kenvandinelooks like this has been broken for a while14:42
Chipacakenvandine: the launchpad one was a missing core1814:42
mvokenvandine: thank you!14:42
Chipacakenvandine: what project should I assign the launchpad one to?14:43
kenvandinelivecd-rootfs i guess14:43
kenvandinesince according to this commit should be explicitly pulling in core1814:43
Chipacahttps://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/182850014:44
Chipacadone :)14:44
diddledanthe commit is `- * core18` - the commit explicitly removed core18 from the list14:44
kenvandineright14:44
kenvandinebut the commit message said they did that because livecd-rootfs explicitly adds it14:45
Chipacakenvandine: what QA is done on these images? how did get to make a blog post about an image that was broken in this way?14:45
Chipacakenvandine: talking about the hyperv ones in particular14:45
kenvandinewe manually tested he hyperv images, so i don't know what happened there14:45
kenvandineChipaca: remember i had run into a similar problem with this?14:45
kenvandineand we figured out what was needed to get the seed to work14:46
Chipacakenvandine: yes which is why i assumed there was some sort of automated qa to catch it14:46
kenvandinewhen i was creating the 19.04 images14:46
Chipaca18.05 already had these issues (from hwe peeps)14:46
Chipacaor was it 18.0614:46
kenvandineand it was working, so i'm really confused as to how what ended up on partner-images is broken14:46
Chipacaanyway, yeah14:46
kenvandineunless it wasn't the right image that was copied there14:46
kenvandinewhich could b14:47
kenvandine+e14:47
kenvandineat the time we were manually moving files around and had a series of broken images14:47
kenvandinewe're just now getting a more formalized process as foundations is taking over creating those images14:48
kenvandineChipaca: so i guess we should actually revert that commit and add core18 to the bionic seed?14:54
diddledanI can't find a corresponding commit (removing core18) for bionic branch - it looks like core18 was never added in the first place14:54
kenvandineright14:54
kenvandineit wasn't14:54
kenvandinelivecd-rootfs was supposed to be handling that14:55
diddledanwell it seemingly does for the downloadable isos.. somehow the hyper-v ones were different (unavoidably they need a separate spin because they have the xrdp changes)14:57
pedronismvo: this is the pastebin I mentioned in the standup (about core18): https://pastebin.canonical.com/p/hVfzbMmwm2/14:59
diddledanbah @ private pastes :-p15:01
diddledanhow's a nosey busybody gonna watch what ya'll up to if you keep it private ;-p15:02
mvodiddledan: haha - sorry for that, its just about testing stuff15:02
diddledanfor "nosey busybody" read: diddledan15:02
kenvandinehttps://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/37006115:04
kenvandinehttps://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/37006215:04
kenvandinehttps://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/37006315:04
diddledanheh. launchpad is having a brainfart15:05
diddledan.. and it's back15:05
diddledanwill need to make sure to check the images this produces that explicitly adding core18 doesn't somehow conflict with anything livecd-rootfs does15:06
diddledanI'm thinking about the non-hyper-v cases here where we had the right thing™ already15:07
ackkdid something changed in recent snapds wrt /proc/PID/mounts?15:08
kenvandinediddledan: we didn't though, the latest 19.10 isos have the same problem15:10
diddledanoh ok..15:10
kenvandineit's not just hyperv15:10
kenvandinethe released 19.04 and 18.04.2 isos were fine15:10
diddledanI figured they were fine 'cos bionic and cosmic seemingly did the right thing15:11
zygaackk: what are you seeing?15:11
diddledanyou need mount-observe IIRC?15:11
ackkzyga, denials on those files. not sure if they're causing issues, but I don't think they were there before15:11
zygaackk: the mount table is a "mild information leak" so it was always denied without mount-observe AFAIR15:12
ackkzyga, I see15:12
zygaackk: I think nothing has changed there recently15:12
ackkzyga, thanks15:14
Chipacakenvandine: the latest 19.10 isos have a different problem, maybe, not the same15:17
Chipacakenvandine: as they have core18, and they don't have core15:17
kenvandineah... actually i think they wanted to drop core and add the snapd snap?15:17
kenvandinethey tried that late in disco and found problems15:18
kenvandineChipaca: so maybe attempting the same for eoan15:18
kenvandinemvo: ^^ do you recall that?15:18
mvokenvandine: in a meeting right now15:18
kenvandineok15:18
Chipacakenvandine: that will only work if you have a model and the model has a base15:21
kenvandineok, i know that's something they wanted to do.15:21
Chipacakenvandine: given that we're getting «cannot proceed without seeding “core”»15:22
Chipacakenvandine: then you're missing one of those two things :-)15:22
Chipacas/you/we/15:22
Chipacas/you/we/g15:22
Chipacakenvandine: to be clear, you'd only get that message in three scenarios:15:25
Chipacadammit!15:25
Chipacakenvandine: to be clear, we'd only get that message in three scenarios:15:25
Chipaca1. we don't have a model (wut)15:25
Chipaca2. the model doesn't have a base15:25
Chipaca3. the model has a base that is explicitly set to "core"15:25
Chipacathat's because that message comes from installSeedEssential15:26
Chipacawhich happens before the rest of the seeding proceeds15:26
kenvandinehttps://git.launchpad.net/ubuntu/+source/livecd-rootfs/tree/live-build/functions?h=ubuntu/eoan#n43415:26
Chipacakenvandine: yeah, the "is the model ok with this" isn't in the picture there is it15:28
kenvandineright15:28
Chipacasnap_prepare_assertions does look into the model, so maybe it can extract this info to feed into the seeding logi15:29
Chipacabut, dunno15:29
Chipacaanyway, imma go break things for a bit15:30
* Chipaca takes a break15:30
kenvandinelooks to me like the disco branch has the same logic, so expects to be able to seed snapd instead of core15:32
kenvandinebut the bionic branch doesn't, it does explicitly seed core15:33
Chipacakenvandine: I don't know what model we use, but all it would take would be for it to have a core18 base15:33
Chipacapedronis: maybe you know ^15:33
pedronisChipaca: no base doesnt make sense for classic images15:33
pedronisit's only for core images15:34
Chipacapedronis: ?15:34
pedroniswhat I said15:34
Chipacapedronis: 'snap known model' on classic ubuntu 16 says we don't have a base15:34
pedroniscannot put base: core18 and classic: true in a model15:34
pedronisChipaca: true15:34
pedronisdoesn't mean core is the base15:35
pedronisthere's no root base for a classic system15:35
Chipacad'oh, i missed trivialSeeding15:35
ChipacaconfigTs := snapstate.ConfigureSnap(st, "core", 0)15:35
Chipacagrr15:35
Chipacakenvandine: classic always needs core15:36
Chipacapedronis: thank you15:36
Chipacapedronis: also maybe classic always needing core is a bug15:36
pedronisit doesn't quite need core15:36
pedronisthat is config15:36
Chipacasigh15:36
Chipacapedronis: hol' up15:36
Chipacapedronis: there's only one place that prints that error message15:36
pedroniswhich error message?15:36
Chipacapedronis: so we're obviously hitting that code path15:36
Chipacapedronis: cannot proceed without seeding “core”15:37
pedronisChipaca: to be clear, I'm not saying there are no bugs15:37
Chipaca:-)15:37
pedronisjust makign clear that setting a base15:37
pedronisis not the answer15:37
Chipacayeah, i got you so far15:37
Chipacaah, we only do trivial seeding if _no_ seed is there15:38
Chipacaotherwise we do seeding as normal15:38
Chipacaand, given you can't set a base for a classic model15:38
Chipacayou'll always require core15:38
pedronisatm yes15:38
Chipacawhich means adding snapd makes no sense15:38
Chipacaso that code in livecd-rootfs-wotsit is wrong, or at least ahead of its time15:39
Chipacakenvandine: ^15:39
kenvandineok15:39
pedronisChipaca: we don't have tests about this15:39
pedronisclassic with just snapd15:39
pedronisthat's why is not worky15:39
Chipacapedronis: well, we do now, in the shape of cd images in the wild15:39
Chipaca:)15:40
Chipacarather expensive tests15:40
pedronisI wouldn't call it15:40
pedronisus having a test15:40
pedronismore, there is a test15:40
Chipacamake your 'we' bigger and you'll get there15:40
Chipaca:-p15:40
pedronisalso why livece-rootfs shouldn't be in the game15:40
pedronisfor 2nd guessing snapd15:40
pedronisChipaca: anyway just a matter of having a variant tests/main/classic-firstboot/task.yaml15:42
pedronisand fixing first boot to do sane things15:42
pedronisChipaca: relatedly, this is still wip: https://github.com/snapcore/snapd/pull/640415:45
ChipacaI'm going afk for a while, will be back later to EOW properly15:50
* pstolowski pstolowski|afk15:55
Chipacayou know it's time to EOW when you're having to up the font size of everything17:58
Chipacahave an excellent weekend, all!17:58
zygaChipaca: heh :)17:58
zygaChipaca: see you after next week17:59
zygaChipaca: enjoy the quiet days17:59
ChipacaEighth_Doctor: still waiting on where to send pizza etc17:59
zyga(when everything is on fire and nobody picks up the phone ;-)17:59
ChipacaEighth_Doctor: (but reach me on twitter :) )17:59
Chipacazyga: we'll give everybody your tg contact info, no fear17:59
zygaChipaca: excellent, I'll be somewhere between here and poland17:59

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