subiquity fails to see autoinstall data conveyed by cloud-init 23.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Released
|
Undecided
|
Dan Bungert | ||
cloud-init (Ubuntu) |
Invalid
|
Undecided
|
Chad Smith | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Mantic |
Invalid
|
Undecided
|
Chad Smith | ||
subiquity (Ubuntu) |
Fix Released
|
Undecided
|
Dan Bungert | ||
Jammy |
Fix Released
|
Critical
|
Dan Bungert | ||
Mantic |
Fix Released
|
Undecided
|
Dan Bungert |
Bug Description
When attempting to send autoinstall data by way of cloud-config on cloud-init v23.2, subiquity fails to retrieve this data from cloud-init.
In this case, the following can be seen in subiquity-
Traceback (most recent call last):
File "/snap/
return pickle.
AttributeError: Can't get attribute 'IscDhclient' on <module 'cloudinit.
The pickle file has been written by the host system cloud-init v23.2, whereas the older cloud-init in the snap is failing to read the data.
At the moment mantic ISOs are affected, future ISO builds such as jammy would also be affected when leading up to 22.04.3.
A proposed workaround for subiquity is to run a python script outside the snap context to retrieve the data.
description: | updated |
Changed in cloud-init (Ubuntu Mantic): | |
status: | New → In Progress |
assignee: | nobody → Chad Smith (chad.smith) |
status: | In Progress → Invalid |
Changed in subiquity: | |
assignee: | nobody → Dan Bungert (dbungert) |
status: | New → In Progress |
Changed in subiquity (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.3 |
Changed in cloud-init (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.3 |
Changed in subiquity (Ubuntu Mantic): | |
status: | New → Fix Committed |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
Changed in cloud-init (Ubuntu Jammy): | |
milestone: | ubuntu-22.04.3 → none |
Changed in subiquity (Ubuntu Mantic): | |
assignee: | nobody → Dan Bungert (dbungert) |
Changed in subiquity (Ubuntu Jammy): | |
importance: | Undecided → Critical |
assignee: | nobody → Dan Bungert (dbungert) |
cloud-init component of this tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 4158