[Bug 1097388] New: cloud-init running before network online
http://bugzilla.opensuse.org/show_bug.cgi?id=1097388 Bug ID: 1097388 Summary: cloud-init running before network online Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Factory Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: rjschwei@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: jdsn@suse.com Found By: Development Blocker: --- When testing the Leap 15.0 OpenStack image from https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.0/images/ I found that it did not import authorized keys because DataSourceNone was used because the metadata API detection happened before network was up. With this patch, it waits for network to come up and then uses the correct DataSourceOpenStack --- /usr/lib/systemd/system/cloud-init.service.orig 2018-06-13 09:02:08.688000000 +0000 +++ /usr/lib/systemd/system/cloud-init.service 2018-06-13 08:57:09.632000000 +0000 @@ -8,3 +8,3 @@ After=systemd-networkd-wait-online.service -Before=network-online.target +After=network-online.target Before=sshd-keygen.service -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1097388
http://bugzilla.opensuse.org/show_bug.cgi?id=1097388#c1
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1097388
Roland Bernet
http://bugzilla.opensuse.org/show_bug.cgi?id=1097388
http://bugzilla.opensuse.org/show_bug.cgi?id=1097388#c2
Robert Schweikert
participants (1)
-
bugzilla_noreply@novell.com