[Bug 2022102] Re: subiquity fails to see autoinstall data conveyed by cloud-init 23.2

Dan Bungert 2022102 at bugs.launchpad.net
Mon Jul 31 22:25:20 UTC 2023


Marking this fix released for Subiquity:

* general fix: on main branch, read the combined-cloud-config to be able to get the autoinstall
* mantic: build containing above fix promoted to stable/ubuntu-23.10
* jammy: rebuilt of stable branch promoted to stable/22.04.3 (what snap refresh will look at), and stable/22.04 (what the ISO build will look at) 

** Changed in: subiquity
       Status: Fix Committed => Fix Released

** Changed in: subiquity (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

** Changed in: subiquity (Ubuntu Mantic)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in cloud-init package in Ubuntu:
  Invalid
Status in subiquity package in Ubuntu:
  Fix Released
Status in cloud-init source package in Jammy:
  Invalid
Status in subiquity source package in Jammy:
  Fix Released
Status in cloud-init source package in Mantic:
  Invalid
Status in subiquity source package in Mantic:
  Fix Released

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