2021-05-07 07:47:52 |
Alfonso Sanchez-Beato |
bug |
|
|
added bug |
2021-05-07 07:52:08 |
Alfonso Sanchez-Beato |
description |
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 |
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
See also LP: #1926132 |
|
2021-05-10 21:31:33 |
Michael Hudson-Doyle |
tags |
|
fr-1358 |
|
2021-07-13 22:23:48 |
Michael Hudson-Doyle |
summary |
Cannot apply netplan config when running autoinstaller |
consider changing definition of "has network" to include DNS being set up |
|
2021-07-13 22:31:50 |
Michael Hudson-Doyle |
description |
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
See also LP: #1926132 |
Subiquity currently assumes that if at least one nic has a default route, then the network is up enough to be used during installation. This definitely isn't always true -- one case is where the device being installed was netbooted in an isolated environment (you can configure things so it doesn't get a default route as a workaround but still). The reasonably suggestion is that waiting for a default route and a DNS server is a better indication of the network being usable.
Currently we monitor netlink to wait for a default route. I think we can talk DBUS to systemd-resolved to wait for a DNS server, but I don't have any practical experience with DBUS really.
--- original description ---
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
See also LP: #1926132 |
|