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

otubovijayendra: doesn't openstack have a dhcp service? IIRC, when an instance deployed with cloud-inti is on a ipv4 network, the link local interface comes up with its addr 169.254.0.0/16 to get metadata from OpenStack.10:38
otubovijayendra: perhaps I don't know exactly how PowerVS works here, does it uses the full implementation of OpenStack?10:39
vijayendraotubo, PowerVC/VS doesn't use complete openstack services, It doesn't use DHCP service provided by openstack. VM's are statically configured using ConfigDrive11:08
otubovijayendra: would you have your network yaml configuration to share? I'm implementing the support for cloud-init set some more network options on sysconfig.11:09
vijayendraotubo, here is sample network_data.json looks like https://paste.ubuntu.com/p/Tb5vk6SgT411:10
otubook11:13
vijayendraotubo, cloud.cfg:  https://paste.ubuntu.com/p/KbNGjqHYYq/11:13
otubovijayendra: I might need the network_data.json as well11:14
otubovijayendra: I need a yaml configuration like this https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html#examples11:15
vijayendraotubo, this is network_data.json only https://paste.ubuntu.com/p/Tb5vk6SgT411:16
vijayendrayou can see step  cat 1.json11:17
vijayendraotubo, we don't have this network yaml config in our setup. I believe cloudinit just uses this network_data.json11:21
vijayendraotubo, cloudinit is not using any other config here https://paste.ubuntu.com/p/8q84fGC74s/11:24
vijayendraotubo, let me check configDrive once again, if it has any network yaml11:32
vijayendraotubo, I don't find any network yaml inside config drive too https://paste.ubuntu.com/p/WbmsnyJDG4/11:40
=== cpaelzer__ is now known as cpaelzer
Odd_Blokerharper: smoser: Do either of you know of a reason why we shouldn't fix https://bugs.launchpad.net/cloud-init/+bug/1900837?  It seems clear-cut to me, IDK if I'm missing some historical context though, as this behaviour has been in place since at least 2012.14:48
ubot5Ubuntu bug 1900837 in cloud-init "cloud-init resets permissions on log file after reboot" [High,Triaged]14:48
smoseri think there is a permissions setting on it.14:51
smoserlog_file_persm14:51
Odd_BlokeI think that's owner/group.14:52
smoseryeah, and its also syslog_fix_perms14:52
smoserwhich may not be the cloud-init log.14:52
smoserso i agree that if it is present, we should not change perms.14:53
Odd_Blokerharper: I'm looking at the Azure testing you asked me to do on https://github.com/canonical/cloud-init/pull/608 (apologies for missing the request the first time!); how would you anticipate failure presenting?  (My underlying question: would running the SRU script for Azure, which includes advanced networking, be sufficient to confirm that all is good?)16:24
Odd_Bloke(From reading through, it looks to me like that is likely sufficient, but some confirmation would be appreciated. :)16:25
blackboxsw:q16:41
blackboxswoops16:42
rharperOdd_Bloke: on the azure instance, it would make the same duplicate mac complaint17:15
rharperOdd_Bloke: so a successful boot up of an instance with cloud-init and that PR is sufficient;  the ovs side and verifying normal maas bond/bridge is verified; so just checking that we don't regress azure + advanced networking;17:16
Odd_Blokerharper: Ack, thanks!17:49
meenai'm online at a "reasonable" time, and i'm not brain-dead, and i have hardly any real work, so who's up for holding my hand, and spoon feeding me python tests?17:57
meenasmoser: thanks for the start on the kenv patch18:00
smoseryou're  welcome.18:05
smoserthe unit tests for ds-identify are ... interesting18:06
meenaif by interesting you mean gross, then, i agree.18:06
meenado i have to recompile my quemu / libvirt / kvm to temporarily fake a different vendor?18:12
meenasmoser: anyway, i;d also have to refactor util.py / read_dmi_data()18:15
smosermeena: yeah, you wil have to do that too.18:17
meenaanyway, i'd like to get this into the next release, cuz… well, i fucked that up last year, would be good to fix it, too…18:18
smoserand by gross... if you can find a better way to get reasonable coverage on a shell script, then go for it.18:18
meenasmoser: 🙈️🙉️🙊️18:19
meenaanyone else really surprised by emails from launchpad bugs, and then really disappointed that it's from you yourself21:13

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