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

Alexander Turner 1939015 at bugs.launchpad.net
Thu Aug 5 12:33:56 UTC 2021


Public bug reported:

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.

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

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

Status in subiquity package in Ubuntu:
  New

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