/srv/irclogs.ubuntu.com/2018/03/08/#cloud-init.txt

smosercpaelzer: are you able to recreate https://bugs.launchpad.net/cloud-init/+bug/175077008:06
ubot5`Ubuntu bug 1750770 in cloud-init "installing cloud init in vmware breaks ubuntu user" [Undecided,New]08:06
smoserit must have been 16.04, right >08:06
do3melismoser: good morning, can you trigger another ci run for https://code.launchpad.net/~d-info-e/cloud-init/+git/cloud-init/+merge/340112 ?08:24
blackboxswmorning do3meli https://jenkins.ubuntu.com/server/job/cloud-init-ci/827/ running08:42
do3melithx blackboxsw08:43
blackboxswbtw thanks for working on this. much appreciated08:43
do3melithanks blackboxsw, btw ci run completed successfully. so this is finally really ready for merging now08:57
blackboxswdo3meli: looks great. I'm working on an automated lander this morning and I'll run it against your branch. You'll probably see it close in the new few minutes09:07
do3meliawesome ;-)09:08
do3melimay you want to set it to approved before your automation picks it up ;-) cause currently the MP status is WIP09:08
do3melii mean "needs review"09:08
=== shardy is now known as shardy_afk
blackboxswsmoser: rharper https://askubuntu.com/questions/259453/how-can-i-monitor-cloud-init-for-errors-and-trigger-a-script-when-it-fails/1012766#101276610:37
rharpermaybe combine those together?10:43
rharpercloud-init status --wait and then examine the result.json file10:43
smoserblackboxsw: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/34111610:51
do3melican someone look into https://code.launchpad.net/~d-info-e/cloud-init/+git/cloud-init/+merge/340757 ?11:02
=== shardy_afk is now known as shardy
smoserrahbug 174969614:00
smoserrharper: bug 174969614:00
ubot5`bug 1749696 in cloud-init "Excessively vague error while parsing yaml: RuntimeError: Unable to shellify type dict which is not a list or string" [Undecided,Incomplete] https://launchpad.net/bugs/174969614:00
smoserwe could mark my shellify change as fixing that.14:00
smoserbut..14:00
PsyRabbitsmoser: I'm using open-vm-tools and I would like to know what data comes via OVF into my machine from VCloud director. So I red some source but didnt find files like cust.cfg or nics.txt referenced here: https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/DataSourceOVF.py#L112 Is it only for vmware tools? Or how can I see all data which is provided by VCloud Director OVF inside my14:17
PsyRabbitmachine?14:17
smoserPsyRabbit: what do you mean "via OVF" ?14:35
smoseris that via CD-rom / iso ?14:36
smoseror via the guest/host vmware transport14:36
smosermost of the vmware code is contributed via vmware developers and embarassingly I've never actually used it myself.14:37
smoserI have used the OVF iso transport, and originally wrote and tested that.14:37
PsyRabbitIt's via the guest/host vmware transport... The documentation is really thin in this direction14:39
smoserPsyRabbit: yeah. i really have very little vmware knowledge.14:47
PsyRabbitOkay... I mean I see that the hostname etc. can change, so the transport itself is working. But is there a way that I can dump all incoming key->value pairs independently from my datasource? Just that I know what I can use for further setup tasks?14:50
PsyRabbitIt's not really transparent for me...14:51
smoserPsyRabbit: i'm really sorry, you're at the limits of my knowledge in this area.14:52
blackboxswPsyRabbit: yeah around this space, I know that I recently reviewed a vmware branch that dealt with placing some customization script seeded (I thought from https://code.launchpad.net/~msaikia/cloud-init/+git/cloud-init/+merge/330105) It has a bit more context on a single customization script file containing both Pre and Post customization operations which gets placed on the system.14:53
blackboxswfrom the looks of the datasourceOVF, that file is located at /var/run/vmware-imc14:53
PsyRabbitsmoser: Thank you anyway :/ No problem, maybe someone read our conversation :) But I really have to say the documentation needs improvement...14:53
blackboxswon a deployed system. best approach (because most vmware folks only infrequently join this channel is to go for a deployment and check that directory for content.14:54
blackboxswalso you can find a bunch of information on which cloud-init reacts (user-data/metadata) in /run/cloud-init/instance-data.json on a deployment that contains cloud-init 17.1 or later14:54
PsyRabbitblackboxsw: The file is not present - I have the path from the source... Maybe it's deleted after usage (didnt find rm statement in python) or open-vm-tools is working different than vmware tools.14:55
PsyRabbitHmm, I'm using cloud-init 0.7.9 which is from the rhel 7 repo... instance-data.json is not present, there is only result.json and status.json14:57
blackboxswfrom wait_for_imc_cfg_file() in DatasourcOVF it looks like that file is optional as that function which if memory serves I think only is written if custome user scripts were provided during vm creation14:59
blackboxswPsyRabbit: let me get you a link to our tip COPR repo... one sec14:59
blackboxswit'd give you the ability to upgrade to latest cloud-init to check14:59
blackboxswPsyRabbit: https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/15:01
blackboxswwe have jobs that update this repo with tip of cloud-init (currently revision 18.1...)15:01
PsyRabbitblackboxsw: Thank you, I will try it out :)15:02
blackboxswrunning 'sudo cloud-init clean --logs --reboot' after you install that should clean your system of cloud-init artficts and reboot it allowing cloud-init to attempt running again15:02
blackboxswafter reboot, the OVF datasource  will write /run/cloud-init/instance-data.json which sheds light on metadata/user-data that cloud-init reacts too15:03
blackboxswalso PsyRabbit vmware folks occasionally jump into our cloud-init bi-weekly status meeting15:04
blackboxswoops let me update that in the channel topic15:04
PsyRabbitI think you helped me a lot blackboxsw! Thank you15:05
=== blackboxsw changed the topic of #cloud-init to: Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting: Monday 3/19 16:00 UTC | cloud-init 18.1 released (Feb 22, 2018)
blackboxswno worries15:06
dojordanhey @blackboxsw, you threre?18:20
=== r-daneel_ is now known as r-daneel
=== r-daneel_ is now known as r-daneel
dojordanhey all, on bionic, how / when does /etc/resolv.conf get generated?19:57
=== r-daneel_ is now known as r-daneel
dojordan@smoser, when you get a chance: https://code.launchpad.net/~dojordan/cloud-init/+git/cloud-init/+ref/fix_azure_hostname23:10

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