[Bug 2022102] Re: subiquity fails to see autoinstall data conveyed by cloud-init 23.2
Dan Bungert
2022102 at bugs.launchpad.net
Tue Jul 25 19:49:58 UTC 2023
** Changed in: subiquity
Assignee: (unassigned) => Dan Bungert (dbungert)
** Changed in: subiquity
Status: New => In Progress
** Also affects: subiquity (Ubuntu)
Importance: Undecided
Status: New
** Also affects: cloud-init (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: subiquity (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: subiquity (Ubuntu Jammy)
Milestone: None => ubuntu-22.04.3
** Changed in: cloud-init (Ubuntu Jammy)
Milestone: None => ubuntu-22.04.3
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2022102
Title:
subiquity fails to see autoinstall data conveyed by cloud-init 23.2
Status in subiquity:
In Progress
Status in cloud-init package in Ubuntu:
Invalid
Status in subiquity package in Ubuntu:
New
Status in cloud-init source package in Jammy:
New
Status in subiquity source package in Jammy:
New
Status in cloud-init source package in Mantic:
Invalid
Status in subiquity source package in Mantic:
New
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-server-debug.log:
Traceback (most recent call last):
File "/snap/subiquity/4709/usr/lib/python3/dist-packages/cloudinit/sources/__init__.py", line 1133, in pkl_load
return pickle.loads(pickle_contents)
AttributeError: Can't get attribute 'IscDhclient' on <module 'cloudinit.net.dhcp' from '/snap/subiquity/4709/usr/lib/python3/dist-packages/cloudinit/net/dhcp.py'>
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2022102/+subscriptions
More information about the foundations-bugs
mailing list