/srv/irclogs.ubuntu.com/2017/04/14/#cloud-init.txt

powersjhttps://paste.ubuntu.com/24377231/ are the new errors we get00:02
smoserpowersj, i dont understand those E070200:36
smoserpowersj, https://github.com/PyCQA/pylint/issues/141902:39
smoserrharper, fun bond fix spinoff17:05
smoser https://bugs.launchpad.net/ubuntu/+source/linux/+bug/168287117:05
smoserblackboxsw, are you actually doing the maas one ?17:35
smoser(bug 1677710)17:35
smoserthats great if you are.17:35
* smoser hasn't had a maas around for a while.17:36
blackboxswsmoser, yeah was going to give it a go17:39
rharpersmoser: =(18:14
rharperI saw another thread about vlan_id=0 is somewhat undefined behavior18:14
smoseri didnt try anything other than xenial and yakkety18:15
rharperhttps://lwn.net/Articles/719297/18:20
rharper'In theory, VLAN 0 means "no VLAN". But the Linux kernel currently handles this differently depending on whether the VLAN module is loaded and whether a VLAN 0 interface was created. Sometimes the VLAN tag is stripped, sometimes not.18:20
blackboxswsmoser, per 1677710, I deployed  a xenial (!proposed) machine on maas 2.20rc1.  I see  the following in /run/cloud-init/ds-identify.log:18:27
blackboxswsingle entry in datasource_list (MAAS) use that.18:27
blackboxsw[up 4.70s] returning 018:27
smoserhm..18:27
blackboxswdoes this actually mean that ds-identify properly parsed the datasource?18:27
smoserno. it means the install only had that enabled18:28
smoserrharper, maybe you were missing that ?18:28
smoserrharper found this when doing some ubuntu core stuff18:28
smosersome versions of maas must pre-seed cloud-init with just MAAS18:28
smoserwhich, yeah, means that ds-identify shortcuts.18:28
smoseri had wondered why there wasnt much screaming over this18:29
smoser:)18:29
rharperwhat's going on ?18:36
rharpersome versions of maas?  how can it preseed the target?18:37
smoserthrough the cloud-inti preseed18:39
rharperI don't know what that is (ephemeral or deployment) ?18:39
smosercurtin passes the debian preseed through and dpkg-reconfigure18:39
rharperfor *ubuntu* images18:39
smoserright.18:39
rharperdeb-conf set selections work18:39
smoserand obviously that doesnt work for core images18:39
rharperthe issue for the bug is for images that don't use debs18:39
rharperof course no  one complained as no one is using core yet18:39
smoserwell, yes.18:39
smoserbut i didnt' realize it was was working still in ubuntu18:40
rharperyou mentioned something that I missed ?18:40
smoseri didnt' think you understood it to be working in ubuntu either18:40
rharperds-identify detecting maas in ubuntu images without the change to ds-identify to parse cloud.cfg.d/ ?18:41
rharperit entirely depends on where dpkg-reconfigure cloud-init wrote the cfg file18:41
rharperif it updates a file in /etc/cloud/*maas*.cfg; and had MAAS in the file, it would work;  the issue was that it didn't search the cloud.cfg.d/*.cfg18:42
smoserhm..18:45
rharperoh18:45
rharperno18:45
smoseroh. so it was busted. and blackboxsw verified it fixed.18:45
rharperthey use pxe kernel cmdline, right ?18:45
rharperin addition to the cloud config18:45
smoseri didnt' realize blackboxsw above said proposed18:45
rharperthey had two possible paths to tell it18:45
smoserfor ephemeral they do cmdline18:45
smoserand it worked there.18:46
rharperright18:46
smoserbut was busted in install images.18:46
smoserbut i'm confused why there wasnt more screaming.18:46
rharperhrm18:46
smoserwasnt/isnt/18:46
smoseroh.18:46
smoseri know18:46
smoserit was just yakkety that was busted18:46
smoserxenial is report only18:46
rharperyes18:46
rharperthat's right18:46
rharperso it'd say it found nothing but then work anyhow18:46
rharperie, not disable itself18:46
rharperthat doesn't quite line up with saying it found MAAS though18:47
rharperI'd be happy to see /run/cloud-init/* and /etc/cloud/*18:47
rharperfrom that instance18:47
rharperthen we can sort out what it did and did not find18:47
smoser?18:49
smoserin above, it found a single datasource configured (MAAS)18:49
smoserwhich indicates it searched /etc/cloud.cfg.d/18:49
smoserblackboxsw, you could pastebin /run/cloud-init/ds-identify.log18:49
smoserblackboxsw, ahasenack thanks. you guys have been a huge help18:53
rharpersmoser: the newer code does18:54
rharperhe said !proposed18:54
rharperso that'd be the previous one, right ?18:54
rharperwhich didn't search cloud.cfg.d18:54
smoseri dont know18:57
smoseri dont know how it could work.18:57
smoseri'd like to see more.18:57
* smoser really wishes he had a maas again18:58
smoseri do intend at some point to get beisner's work up joined with some updated "virtual-maas" stuff18:58
smoserso that we can easily deploy a maas on diglett18:58
rharperwell, I know it didn't search the .cfg dir before; the code was pretty clear about what files it searched18:59
rharperwhat's not clear is what cloud-init was tested in the above report18:59
rharperreport18:59
rharpersupposedly not the proposed one18:59
rharperbut we'll need the log and cloud dirs18:59
smoserhey. i'm out. have a nice weekend all.19:00
rharperok19:00
rharperyou too19:00
blackboxswsorry smoser got pulled into a phone call.19:07
blackboxswgeting that now19:07
blackboxswhttp://paste.ubuntu.com/2438224619:08
* blackboxsw catches up on backlog. So yeah I had a maas 2.2.0rc1 available and when I deploy xenial to bare metal I didn't see any warnings on login about missing datasources per 1677710. I didn't tweak anything in preseeds on this install as I wanted/hoped to see the original failure mode19:11
blackboxswthis is commandline login BTW I don't have physical access to the hardware19:12
blackboxswgrabbing cloud-init/* and /etc/cloud/*19:15
blackboxswrharper, for future reference on this one http://paste.ubuntu.com/24382309/ here are my /var/cloud-init/* files . I'll keep poking at this19:20
blackboxswI had tested xenial (not xenial-proposed). ii  cloud-init                         0.7.9-48-g1c795b9-0ubuntu1~16.04.1           all          Init scripts for cloud instances19:21
rharperblackboxsw: can you paste "find /etc/cloud"19:22
rharper /etc/cloud/cloud.cfg.d/90_dpkg.cfg set datasource_list: [ MAAS ]19:22
blackboxswgrabing that too. http://paste.ubuntu.com/24382329/19:23
rharperthere may be some issues here with report mode vs the strict handling19:24
blackboxswhttp://paste.ubuntu.com/24382335/19:25
blackboxsw^ /etc/cloud/cloud.cfg.d/90_dpkg_maas.cfg with keys redacted19:25
smoserok. that makes sense.19:25
smoserit always read that file19:25
smoserand maas seeded cloud-init with that so it wrote it.19:25
smoser /etc/cloud/cloud.cfg.d/90_dpkg.cfg19:25
smoserlater19:25
blackboxswcat /etc/cloud/cloud.cfg.d/90_dpkg.cfg19:26
blackboxsw# to update this file, run dpkg-reconfigure cloud-init19:26
blackboxswdatasource_list: [ MAAS ]19:26
blackboxswhave a good one smoser19:27

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