Public bug reported:
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-local.service
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-networkd-wait-online.service @17.308s +1.706s
└─systemd-networkd.service @17.223s +83ms
└─network-pre.target @17.219s
└─cloud-init-local.service @2.791s +14.426s
└─systemd-remount-fs.service @1.792s +994ms
└─systemd-journald.socket @1.719s
└─system.slice @1.712s
└─-.slice @1.698s
On the Fail test, the sequence is:
cloud-init-local.service
└─open-vm-tools.service @2min 6.601s
└─dbus.service @2min 6.593s
└─basic.target @2min 6.576s
└─paths.target @2min 6.566s
└─acpid.path @2min 6.557s
└─sysinit.target @2min 6.556s
└─cloud-init.service @2min 2.386s +4.169s
└─systemd-journald.socket @1.012s
└─system.slice @998ms
└─-.slice @998ms
** Affects: cloud-init (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796875
Title:
cloud-init and cloud-init-local services boot sequence does not obey
dependency settings
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1796875/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs