Time To SSH Regression
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Critical
|
Brett Holman | ||
Focal |
Fix Committed
|
Undecided
|
Unassigned | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
Undecided
|
Unassigned | ||
Mantic |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
=== Begin SRU Template ===
[Impact]
In 23.3.1, system unit ordering changes moved the configuration Before=
Leaving this current extended delay to login unresolved also breaks tooling which uses `uvt-kvm wait` which is present in some continuous integration testing.
The fix is to revert https:/
[Test Case]
Launch a daily image and a daily-image with proposed cloud-init and compare the following data points:
- time to SSH: number of retries required to successfully SSH into the VM
- validate time to ssh by sampling: systemd-analyze critical-chain systemd-
- systemctl show -p Before,After cloud-config.
- systemd-analyze blame: # validate systemd-
[Regression Potential]
This is a revert to functionality that was working for years. It will regress emulated riscV users per LP: #2013403 as they may be able to see a login prompt that will show up before cloud-config completes and could reject their correct configured password as invalid until the cloud-config.
[Other info]
LP: #2013403
LP: #2039441
[Original Description]
Affected version: 23.3
Commit b3c9b6a7 introduced a dependency on snapd.seeded.
This was discovered while investigating LP: #2039441.
[1] https:/
[2] https:/
Changed in cloud-init (Ubuntu): | |
status: | New → Fix Committed |
description: | updated |
description: | updated |
description: | updated |
Changed in cloud-init (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in cloud-init (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in cloud-init (Ubuntu Lunar): | |
status: | New → Fix Committed |
Changed in cloud-init (Ubuntu Mantic): | |
status: | New → Fix Committed |
Downstream commit[1] for Ubuntu merged which reverts this change. It will be released as cloud-init version 23.3.2- 0ubuntu0~ 23.10.1.
[1] https:/ /github. com/canonical/ cloud-init/ commit/ 052d898023fbd6f 7d87338e31f6cca 6535cccef7
When cloud-init merges the ability to avoid snap.seeded.service costs in cloud-config. service this change will be re-applied.