[Bug 1939015] Re: [Ubuntu 20.04.2 Server] Autoinstall max() arg failure with cloud-config LVM

Michael Hudson-Doyle 1939015 at bugs.launchpad.net
Sun Sep 26 23:07:53 UTC 2021


Sorry for the late reply. This is very strange, the error is in code
that really shouldn't be executing in this case. If you try 20.04.3 you
should be able to start a shell after the install fails which will at
least make debugging more possible.

My only guess is that somehow subiquity thinks your block devices are
unreasonably small (so somewhat related to
https://bugs.launchpad.net/subiquity/+bug/1943609, although subiquity
would have to think _all_ disks are small to hit this in your case I
think).

** Changed in: subiquity (Ubuntu)
       Status: New => Incomplete

-- 
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/1939015

Title:
  [Ubuntu 20.04.2 Server] Autoinstall max() arg failure with cloud-
  config LVM

Status in subiquity package in Ubuntu:
  Incomplete

Bug description:
  I'm PXE booting and auto installing a 20.04 server without success.
  The server is acquiring the `user-data` file from my cloud-init server
  however it fails at the some point on each install,
  `convert_autoinstall_config: max() arg is an empty sequence`

  For reference my ipxe params:

  ```
  kernel vmlinuz root=/dev/ram0 ip=dhcp hostname=test url=http://releases.ubuntu.com/20.04.2/ubuntu-20.04.2-live-server-amd64.iso autoinstall ds=nocloud-net;s=http://server/configs/
  initrd initrd
  ```

  and more excitingly, my user-data (simple example from Canonical to
  test). meta-data is empty.

  ```
  version: 1
  identity:
      hostname: test
      username: tester
      password: an_encrypted_password
  ```
  The error:
  https://i.stack.imgur.com/7NBWB.png

  I'm unable to login to `installer` and access a shell (Ctrl+C ends the
  session) to read the file. SCP won't copy the file, so the crash is
  currently a mystery.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1939015/+subscriptions




More information about the foundations-bugs mailing list