Comment 0 for bug 1927695

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : Cannot apply netplan config when running autoinstaller

I am installing on an arm64 server using the autoinstaller (with the subiquity snap in the edge channel, version 21.04.2+git11.dabd3198, revision 2405) with command line:

linux /vmlinuz console=hvc0 console=ttyAMA0 earlycon=pl011,0x01000000 fixrtc ip=dhcp url=http://192.168.100.1/tftp/bluefield.iso autoinstall ds="nocloud-net;s=http://192.168.100.1/tftp/" cloud-config-url=/dev/null

meta-data is an empty file, while user-data has content:

#cloud-config
autoinstall:
  version: 1
  # ubuntu/ubuntu
  identity:
    hostname: mynic
    username: ubuntu
    password: "$6$rounds=4096$PCrfo.ggdf4ubP$REjyaoY2tUWH2vjFJjvLs3rDxVTszGR9P7mhH9sHb2MsELfc53uV/v15jDDOJU/9WInfjjTKJPlD5URhX5Mix0"
  ssh:
    allow-pw: true
    authorized-keys:
      - "ssh-rsa AAAAB3Nz..."
    install-server: true

The error I see on the console is:

Ubuntu 20.04.2 LTS ubuntu-server ttyAMA0

connecting...
start: subiquity/Meta/status_GET
finish: subiquity/Network/apply_autoinstall_config/apply_config: Command '['netplan', 'apply']' returned non-zero exit status 1.
start: subiquity/ErrorReporter/1616017201.889178991.network_fail/add_info
finish: subiquity/Network/apply_autoinstall_config/wait_for_apply: Command '['netplan', 'apply']' returned non-zero exit status 1.
finish: subiquity/Network/apply_autoinstall_config: Command '['netplan', 'apply']' returned non-zero exit status 1.
finish: subiquity/apply_autoinstall_config: Command '['netplan', 'apply']' returned non-zero exit status 1.
finish: subiquity/ErrorReporter/1616017201.889178991.network_fail/add_info
start: subiquity/Meta/status_GET
start: subiquity/Meta/status_GET
start: subiquity/Meta/status_GET