cloud-init sometimes fails on dpkg lock due to concurrent apt-daily-upgrade.service execution
Bug #1711428 reported by
Jim Browne
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
This is the same problem as https:/
So, I guess add apt-daily-
Or wait for an APT fix. Or retry APT commands when executing "packages:"
Reporting this to save someone else trouble, but I think we'll be rolling back to Trusty at this point. Hopefully the B LTS will have an alternative to systemd.
To post a comment you must log in.
The apt-daily-upgrade service already declares itself to be 'After= apt-daily. service' . So there should be strict sequencing here of cloud-final.service -> apt-daily.service -> apt-daily- upgrade. service. If that's not happening, this warrants analysis to understand why so that it can be fixed in the apt package directly rather than adding more relationships to the cloud-init unit.