cloud-init and cloud-init-local services boot sequence does not obey dependency settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Observed the cloud-init.service and cloud-init-local service boot sequence does NOT obey the dependency setting in these .service files.
According to the dependency [Before/After] settings on these service files, the correct sequence should be cloud-init.service After cloud-init-
I did some testing on the following combination:
Ubuntu18.10 daily build + cloud-init 18.4-0 FAIL
Ubuntu18.04.1 + cloud-init 18.4-0 FAIL
Ubuntu18.04.1 + cloud-init 18.3-9 FAIL
Ubuntu18.04GA + cloud-init 18.3-9 PASS
This could be a regression from Ubuntu18.04.1, please help to check it.
On the PASS test, the sequence is:
cloud-init.service +2.317s
└─systemd-
└─systemd-
└─network-
└
On the Fail test, the sequence is:
cloud-init-
└─open-
└─dbus.service @2min 6.593s
└─basic.target @2min 6.576s
└
Link with VMWare bug: 2212195