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

powersjblackboxsw: your ci run hung it appears. I just relaunched it15:36
blackboxswthanks powersj . yeah I just double checked to make sure i didn't leave a pdb.set_trace() anywhere15:43
blackboxswrunning tox locally seems to run fine.15:43
powersjwell remember CI is much more than tox ;)15:44
dgarstangSo, it's been a couple of months since I was here. At the time, cloud-init didn't seem to support fs_setup on CentOS. Seems that's still the case17:02
dgarstangSure wish you guys would fix that17:10
smoserdgarstang, it is probably much closer.17:11
smoserand we have trunk rpms that you can test17:12
smoserbut i dont think we've explicitly fixed it17:12
blackboxswdgarstang: is there a bug open about this? I see we've got a released bug https://bugs.launchpad.net/cloud-init/+bug/1687712 that helped a bit17:12
ubot5Ubuntu bug 1687712 in cloud-init "cc_disk_setup: fs_setup with cmd doesn't work" [Medium,Confirmed]17:12
dgarstangsmoser: last time I tried that it broke my instance, it wouldn't bot17:12
smoserhttps://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/17:12
dgarstangboot even17:12
dgarstangI also need this to work with CentOS 6, not just 717:13
smoserrpms there for both17:13
smoserbut probalby not fixed. :-(17:13
dgarstang:(17:14
gbenhaimHi All, not sure if this is the correct place to ask, but I'll try. I wanted to know if "merging user-data sections" is supported when using "NoCloud" datasource ?17:30
blackboxswsmoser: approved https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/32753217:53
smoserblackboxsw, had some questions https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/32782718:13
blackboxswsmoser: per your review there, you mentioned we want EphemeralIPv4Network to validate and setup networking to match the requested ip addr. Do we have existing funcitons in net somewhere that look at the existing interfaces IP?   I found netdev_info in cloudinit/netinfo.py. Any other utility function I should be using?19:41
blackboxsw 19:41
blackboxswI didn't want to rewrite something if we already have a utility function19:42
smoserblackboxsw, i dont have anything :-(19:42
smoseri'm open to comments like "can't we do that later".19:43
smoserblackboxsw, a low cost/tech path might be this19:45
smoserroot@z1:~# ip -family inet addr add 192.168.1.2/27 dev eth019:45
smoserroot@z1:~# ip -family inet addr add 192.168.1.2/27 dev eth019:45
smoserRTNETLINK answers: File exists19:45
smoserroot@z1:~# echo $?19:45
smoser219:45
smoserso if its already present then it will exit 2 and 'File exists'. (if we pay attention to stderr/stdout then we need to LANG=C)19:46
blackboxswyeah I was leaning toward trying to use ip cmds instead of ifconfig (as netdev_info uses) just to be more forward looking19:46
smoserfor sure use ip19:46
blackboxswsmoser: yeah I think we can do something simple for this branch. No need to put off content as tech debt if it's a sensible approach and easy implementation.19:49

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