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

leonaldois it possible that cloudinit will rerun with local configuration if network is not archieveable06:44
leonaldoi assume that it only run per instance with default configuration。06:45
leonaldo😊07:20
rharpersmoser: powersj:  saw this in the log here: <_ix> 22:34:48> Any idea why I'd be getting `<cloudinit.simpletable.SimpleTable object at 0x1e01ed0>` in my network device table output12:26
rharperwould we have a cloud-init.log from a centos boot in ci ?12:29
smoserrharper, well, its where it is rendering the table for display. :-(12:52
rharpersmoser: right, missing a str method or something14:08
blackboxswwill check it out. see if I can reproduce it14:59
blackboxswrharper: we reproduced it w/ lxd, I'm working on a fix for simpletawble15:29
blackboxswsimpletable even15:29
rharperblackboxsw: cool15:36
blackboxswlooks like that issue with simpletable also broke ssh_authkey_fingerprints15:53
blackboxswfix committed locally, adding a couple more unit tests15:53
intheclouddan[m]is there a clean way to remove a \n from a set_fact? I'm defining a value for it and not sure why that value, IE 0\n or 1\n is being set that way and not just 0 or 116:14
intheclouddan[m]wrong room...16:14
=== Guest66098 is now known as mgagne
blackboxswsmoser: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33206616:36
blackboxswintheclouddan[m]: :)16:36
smoserpowersj, when c-i runs on a MP16:49
smoserit does not collect any artifcats, is that correct ?16:49
powersjsmoser: correct only the console output of the tests16:49
smoseri'd have hoped to have been able to look at the artifacts from the integration test of the MP abov e from blackboxsw  and see that it had hte desired content in /var/log/cloud-init-output.log16:49
powersjsmoser: put in a card for me and I can change that16:50
* blackboxsw installs on aws, cleaned-boot env to check16:51
smoserhttps://trello.com/c/fWq8GFKB16:52
powersjsmoser: thx16:53
blackboxswhttp://paste.ubuntu.com/25714850/ an aws clean-boot run16:57
blackboxswwith my branch16:58
smoserblackboxsw, it failed integration test for maas17:08
smoseri think just because no good reason17:08
smoserbut...17:08
_ix_I'd be down to test whatever you folks have got.17:08
smoser_ix_, the simpletable issue you reported is in process of being fixed17:09
smoserhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33206617:09
_ix_That's really great. Thank you!17:09
blackboxswyeah that looks like the same case _ix_17:09
blackboxswyeah we just ran into that today too17:09
blackboxswshould have a daily copr build up today with that fix17:10
smoserpowersj, https://jenkins.ubuntu.com/server/job/cloud-init-ci/398/console17:13
smoserdo you recognize that as "transient yum noise?"17:13
smoserwith a better placement of the '?'17:13
* smoser triggers rebuild17:13
smoserhttps://jenkins.ubuntu.com/server/job/cloud-init-ci/399/17:14
* blackboxsw is trying to build in my centos lxc17:16
powersjsmoser: yes17:16
powersjCannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again17:16
powersjis networking noise/issues17:16
powersj"mirror.bytemark.co.uk" because we know those super fast US -> UK pipes are always faster... not17:17
smoserfaster than .jp pipes usually .  "faster" is a relative term.17:19
powersj:)17:19
powersjtrue17:19
blackboxswci looks happy this time https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33206617:34
blackboxswalso just built and installed on centos7 in an lxc here to validate17:42
blackboxswsmoser: are you working on the apport bug? otherwise I can peek17:54
blackboxsw    def raw_input_char(self, prompt):17:55
blackboxsw        '''raw_input, but read only one character'''17:55
blackboxswheh, kinda built into the DialogCLI class17:55
smoserblackboxsw, you can take a look for sure18:04
smoseri coudlnt figure out what was getting called18:04
smoserdmulford_, you there?18:28
smoserhttps://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+ref/fix/rh-subscription-add-null-check18:28
dmulford_smoser: yep, what's up?18:28
smoserjust posted on your mp18:29
smoserblackboxsw, you want to pull your MP18:30
smoseror i can18:30
blackboxswthanks I'll pull. keeps me in practice.18:30
dmulford_smoser: ahh perfect :)18:30
smoserok.18:30
smoserblackboxsw, ok. pull that, and then you want to do an artful new-upstream-snapshot ?18:32
smoserand then we can do one for x and z also18:32
smoserand while i wait i'll just think about the sru bugs.18:32
dmulford_smoser: thank you, this looks great! I will pull and test it out as you've requested18:34
blackboxswsmoser: got a lead on the apport fix  http://paste.ubuntu.com/25715415/18:55
blackboxswthat'll force read two chars if choices are > 10 (10 includes one key for the builtin "C" cancel).18:56
blackboxswanyway. onto the MP for cloud-init. then I can manufacture a 'good' fix for apport I think18:56
blackboxswwas just testing on artful18:57
blackboxswmerged simpletable fix. working on artful now19:01
blackboxswonly change in apport behavior is that any choices with greater than 10 items, will have to hit <enter> after single-character choices19:03
smoseri didnt see where that was19:03
smoserthat you had to hit enter. how does/did you do that ?19:03
smoseri'd let the choices go to 100 at least before complaint. its a long list, but you raising RuntimeError is just going to make someone not file a bug.19:04
smoserthat they were going to file19:04
blackboxswsmoser when you say 'y' for simple choices (Y/N/C) it is just one character19:05
smoserhm... funny. you could instead of raising RuntimeError you could file a bug "too many choices in question 'XXXX'"19:05
blackboxswif it's a 18 item choice (like what cloud you are on) you have to hit >enter> for choice 9 or 'c'19:05
smoseryeah, that makes sense. but ididnt see where you did that in your patch19:06
smoserit reads 2 chars.19:06
smoserah19:06
smoser.strip()19:06
blackboxswyeah 1 chars plus the strip19:06
blackboxsw2 I mean19:06
blackboxswI was wondering what you thought about that RuntimeError. it's something that should file a bug against package X.19:07
blackboxswmaybe it just appends to the report that is being created .   .... 'question X had too many choices so user's couldn't respond'19:08
blackboxsws/user's/user/19:08
smoserblackboxsw, why cuoldnt user respond ?19:11
smoseryou arbitrarily picked '50' as too long19:11
smoseroh. it gets bad when over 100. casue then the user has to hit enter twice for < 10 :)19:12
blackboxswheh, will I just thought is was an arbitrarily long set of options to the point that it was unreadable19:14
blackboxswjust a line in the sand. that doesn't really need to be drawn19:14
blackboxswbut, the logic itself only handles up to  99 choices19:14
smoserblackboxsw, i'd let it go to 100. personally.19:15
smoseri have a scrollbar on my terminal19:15
blackboxswheh true19:15
smoserblackboxsw, https://hackmd.io/BwUwrAhgRg7ADFAtMCBOJAWCDHQGwyIBmcAJqiBnhiAExRRA?both19:26
smosercank you see that ?19:26
smoserkind of etherpad + markdown.19:27
_ix_Hello again -- do the successful builds appear in copr immediately?19:27
smoserpowersj, can you confirm...19:35
smoser https://jenkins.ubuntu.com/server/view/cloud-init/job/cloud-init-copr-build/19:35
smoserif i rebuild that, it will do trunk -> copr -> _ix_-gets-what-he-wants19:36
blackboxswsmoser: I can see that19:36
_ix_smoser: Very cool. I think we can be patient and wait for the regular nightly and give it a shot tomorrow.19:37
powersjblackboxsw: yes that pushes to the cloud-init-dev copr repo19:38
powersjsmoser: ^19:38
smoser_ix_, i just pushed "go"19:39
smoserso i'm guessing 20 minutes-ish19:39
blackboxswok smoser I'm ready for pushing to artful I think19:41
blackboxswgot time for a hangout?19:41
blackboxswto check that I've gone through  the proper release steps19:41
smoseryeah19:41
smoseri'll join in m inute19:42
blackboxswsmoser: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33207619:55
blackboxswhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33207820:18
blackboxswhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33208020:27
powersjFYI there is a new daily build on COPR https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/21:31
smoserblackboxsw, https://bugs.launchpad.net/cloud-images/+bug/172266321:44
ubot5Ubuntu bug 1722663 in cloud-images "Azure: /etc/resolv.conf points to /run/resolvconf/resolv.conf in artful" [Critical,Confirmed]21:44

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