opendevreview | Julia Kreger proposed openstack/diskimage-builder master: Skip glean-install for ironic ramdisks https://review.opendev.org/c/openstack/diskimage-builder/+/900083 | 19:46 |
---|---|---|
TheJulia | clarkb: second patch seems to work just fine. In fact, no dhcp, and networking was near instantly up once cloud-init/network manager got started | 21:41 |
clarkb | TheJulia: my concern is for the case where we do need it to fallback to dhcp though. | 22:36 |
clarkb | dhcp as the method of last resort is very useful so would be good to confirm that happens when disabling it as a first attempt method | 22:36 |
TheJulia | We could make it detect ironic’s agent in the image build… | 22:37 |
TheJulia | I guess I'm also worried your construing that to be all dhcp, which it is not, just the first pass configuration | 22:38 |
TheJulia | "initial" collection basically | 22:38 |
clarkb | but the change puts this in the config: disable_network_activation: true | 22:39 |
clarkb | naively without knowing too much about cloud init that tells me its not going to try anything but what you then explicitly configure it to do | 22:39 |
TheJulia | https://cloudinit.readthedocs.io/en/latest/reference/network-config.html#disabling-network-activation != the next paragraph | 22:40 |
clarkb | so its attempting to bring up network in any way it can with no info hence dhcp. Then looking at the datasources (which may not even need networking like config drive) then doing what the data source says to do | 22:41 |
clarkb | btu that doesn't answer the question of what does it do if networking fails to come up at that point. /me keeps reading | 22:42 |
TheJulia | the keep reading part :) | 22:42 |
* TheJulia goes and jumps on the exercise bike | 22:42 | |
clarkb | ok so it does use a heuristic to dhcp only on likely interfaces as a fallback by default | 22:43 |
clarkb | that seems reasonable. Also, I'm reminded why glean exists. cloud init is really the kitchen sink configurator | 22:43 |
TheJulia | Yeah | 22:44 |
TheJulia | With a bit of the fridge and stand mixer attached | 22:44 |
clarkb | +2 sorry I missed the extra bit in the docs the last time this came up | 22:46 |
TheJulia | Oh no worries! | 23:04 |
TheJulia | Thanks! | 23:04 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!