-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
networking comes up parallel to cloud-init-local #2482
Comments
Launchpad user Will Bryant(willbryant) wrote on 2016-11-08T09:33:35.384479+00:00 Apologies for a stupid question but on Xenial, cloud-init-local.service has Before=network-pre.target, so would that have fixed this? I'm a bit confused about what happens during init local - I am testing out NoCloud using uvt-kvm, and apart from the "Cloud-init v. 0.7.8 running 'init-local'" banner, I don't see any output from the first cloud-init process. The expected output doesn't seem to happen until the second service starts, "Starting Initial cloud-init job (metadata service crawler)", which is after the "Started Raise network interfaces." and "Reached target Network.". So I feel like I am misunderstanding what init local does? |
Launchpad user Will Bryant(willbryant) wrote on 2016-11-08T10:58:25.721166+00:00 Ah, you need dsmode: local in the meta-data file. So yeah, this looks fixed when using systemd? |
Launchpad user Joshua Powers(powersj) wrote on 2017-07-27T21:27:59.990736+00:00 Hi Will! Thank you for taking the time to report this bug. In an effort to keep Take a read first at the boot stage document: The local stage blocks networking from coming up in the first place as My apologies that you did not receive a more prompt reply. I am however |
Launchpad user Launchpad Janitor(janitor) wrote on 2018-01-26T04:17:34.977237+00:00 [Expired for cloud-init because there has been no activity for 60 days.] |
This bug was originally filed in Launchpad as LP: #1368861
Launchpad details
Launchpad user Scott Moser(smoser) wrote on 2014-09-12T16:46:02.375880+00:00
This is a similar bug to bug 1225922.
but this is more just the first part.
The user can provide networking information to cloud-init via a local datasource.
However, if there is networking information already, those devices might already be up.
The suggested fix here is to block networking from coming up until after cloud-init-local is up.
This way, a local datasource can reliably insert definitive networking and not have to fight with information already present (such as default 'eth0' network info).
The text was updated successfully, but these errors were encountered: