Comment 0 for bug 2022102

Revision history for this message
Dan Bungert (dbungert) wrote :

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.