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

fxpesterhi all, how to debug datasource discovery ? `cloud-init -d init` not initializing it, can`t debug configdrive descovery15:18
smoserfxpester,15:19
fxpesterhihi15:20
fxpesterin 'normal' logs I can see  `Command: ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/sda1', '/tmp/tmpxamurqwn']`15:24
fxpesterbut can`t find a way to reproduce it15:24
smoserfxpester, possibly you dont have a module loaded at that point in boot that you need and gets loaded later ?16:11
smoserwhat kernel /distro is this ?16:11
smoserif you could post both /var/log/cloud-init.log and /var/log/cloud-init-output.log tha'td hhelp16:11
smoserand also a dmesg maybe16:12
Tugzhey all16:25
Tugzquestion: how do i know which modules cloud-init 0.7.5 supports? This is on cnetos 7 and im trying to use disk_setup and fs_setup without success :(16:25
blackboxswhey Tugz, checking  /etc/cloud/cloud.cfg should list module names that are configured for your environment.16:27
blackboxswlook under cloud_init_modules, cloud_config_modules and cloud_final_modules sections for the complete list16:28
blackboxswof enabled modules16:28
blackboxswI'd expect - disk_setup listed under cloud_init_modules section16:28
blackboxsw - growpart16:29
blackboxsw - resizefs16:29
blackboxsw - disk_setup16:29
blackboxsw are on my ubuntu instance16:29
rharperTugz: this may be related, https://bugs.launchpad.net/cloud-init/+bug/1672833 , the tl;dr was that the disk_setup module wasn't included in the /etc/cloud/cloud.cfg in some older releases;16:34
ubot5Ubuntu bug 1672833 in cloud-init "AWS NVME SSD (i3 family) ephemeral storage fails to mount via fs_setup" [Medium,Invalid]16:34
rharperhttps://bugs.launchpad.net/cloud-init/+bug/1672833/comments/416:34
rharperhackery to fixup in that comment if that's the case for your cent7 image16:34
Tugzhey blackboxsw where is this section?17:28
Tugzoh its on the .cfg found it17:30
Tugzthanks17:30
blackboxswTugz: older releases of cloud-init may not have the specific key name, but yeah /etc/cloud/cloud.cfg17:30
Tugzhow do i know if this version of cloud init supports the modules?17:30
blackboxswif the module exists on the config modules directory for your version then it is "available" on your platform.  Modules are all named cc_*py:     'rpm -ql cloud-init | grep cc_'17:35
blackboxswthe module is then enabled only if it is listed in /etc/cloud/cloud.cfg17:35
blackboxswso different platforms/images can "disable" a module by not listing the named module in /etc/cloud/cloud.cfg17:36
blackboxsweven if it is installed in /usr/lib/python2.7/site-packages/cloudinit/config/cc_*py17:36
blackboxswas a note, we just talked about the potential of surfacing a cmdline utility to do this introspection on your behalf to easily report availability && enabled/disabled for given features/modules17:37
Tugzblackboxsw, thanks fo rthe valuable info. much appreciated17:49
blackboxswno worries Tugz, happy hacking17:49
blackboxswhrm looks like we had dupes in https://trello.com/c/CAjwe8LX/273-cloud-init-sru-zesty-xenial for https://bugs.launchpad.net/cloud-init/+bug/170109721:44
ubot5Ubuntu bug 1701097 in cloud-init (Ubuntu Zesty) "eni rendering of ipv6 gateways fails" [Medium,Fix committed]21:44
blackboxswIt see it twice in our SRU list21:44
rharperblackboxsw: well, we get one for free then21:55
blackboxswyeah already at 70%. man long day21:56
blackboxswverifications 'r us21:56
* blackboxsw needs to get a branch up to include net-convert in "cloud-init devel" at some point21:57
blackboxswit'd assist with half of these21:57
blackboxswtoo many other fish to fry at the moment21:57
rharperblackboxsw: heh22:01
* rharper has PYTHONPATH=`pwd` ./tools/net-convert.py in history 22:01
rharperbut, yeah, would be nice to have it in subcommands22:01
rharperalso, s/network_data.json/json in the input format parameter22:02
blackboxswsmoser: I'll probably need an assist validating SRU bug #163893122:10
ubot5bug 1638931 in cloud-init "enable AliYun datasource by default" [Medium,Confirmed] https://launchpad.net/bugs/163893122:10
blackboxswas I have no aliyun acct22:10

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