Activity log for bug #1964642

Date Who What changed Old value New value Message
2022-03-11 21:45:27 Barto bug added bug
2022-03-11 21:46:22 Barto description Two years ago I was able to create a Virtualbox Ubuntu 20.04 guest in a Windows 10 host with Packer 1.5.6, using an unattended installation. The Packer command was: "boot_command": [ "<enter><enter><f6><esc><wait> ", "autoinstall ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/", "<enter>" ], The user-data file was: #cloud-config autoinstall: version: 1 identity: realname: mclibre hostname: ubuntu password: '$6$mclibre$YiuRPSZM3ZXVe4UyIqv1dvy9rUjf5/LsGCkDyaex.WN45wzVTuRmW5QLuctuicGAFZIO2M3QR8NLdtQYatKTn1' username: mclibre locale: es_ES.UTF-8 keyboard: layout: es network: network: version: 2 ethernets: ens33: {dhcp4: true, dhcp-identifier: mac} ssh: install-server: true late-commands: - sed -i 's/^#*\(send dhcp-client-identifier\).*$/\1 = hardware;/' /target/etc/dhcp/dhclient.conf - 'sed -i "s/dhcp4: true/&\n dhcp-identifier: mac/" /target/etc/netplan/00-installer-config.yaml' Now, I have tried to create a Virtualbox Ubuntu 20.04.4/.3/.2/.1 guest using packer 1.5.6 but Packer can't not create the image because once the installation is done, after rebooting the SSH server does not answer (the packer log error says: SSH handshake err: Timeout during SSH handshake). I have tried with the last version of Packer, Packer 1.8.0, and the result is the same. I can create a Ubuntu Server 20.4 image but not a Ubuntu Server 20.4.1, .2, .3 or .4 image. I can provide as much aditional information as you want. Thanking you in advance, Bartolome Sintes Two years ago I was able to create a Virtualbox Ubuntu 20.04 guest in a Windows 10 host with Packer 1.5.6, using an unattended installation. The Packer command was:       "boot_command": [         "<enter><enter><f6><esc><wait> ",         "autoinstall ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/",         "<enter>"       ], The user-data file was: #cloud-config autoinstall:   version: 1   identity:     realname: mclibre     hostname: ubuntu     password: '$6$mclibre$YiuRPSZM3ZXVe4UyIqv1dvy9rUjf5/LsGCkDyaex.WN45wzVTuRmW5QLuctuicGAFZIO2M3QR8NLdtQYatKTn1'     username: mclibre   locale: es_ES.UTF-8   keyboard:     layout: es   network:     network:       version: 2       ethernets:         ens33: {dhcp4: true, dhcp-identifier: mac}   ssh:     install-server: true   late-commands:     - sed -i 's/^#*\(send dhcp-client-identifier\).*$/\1 = hardware;/' /target/etc/dhcp/dhclient.conf     - 'sed -i "s/dhcp4: true/&\n dhcp-identifier: mac/" /target/etc/netplan/00-installer-config.yaml' Now, I have tried to create a Virtualbox Ubuntu 20.04.4/.3/.2/.1 guest using packer 1.5.6 but Packer can't create the image because once the installation is done, after rebooting the SSH server does not answer (the packer log error says: SSH handshake err: Timeout during SSH handshake). I have tried with the last version of Packer, Packer 1.8.0, and the result is the same. I can create a Ubuntu Server 20.4 image but not a Ubuntu Server 20.4.1, .2, .3 or .4 image. I can provide as much aditional information as you want. Thanking you in advance, Bartolome Sintes
2022-03-12 00:21:50 Ubuntu Foundations Team Bug Bot tags packer ssh unattended virtualbox bot-comment packer ssh unattended virtualbox
2022-03-12 10:34:10 Barto affects ubuntu openssh (Ubuntu)
2022-03-16 09:25:06 Barto attachment added packer-1-2-ubuntu-20-04-4-server-2022-03-16-10-16-50.log https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5569531/+files/packer-1-2-ubuntu-20-04-4-server-2022-03-16-10-16-50.log
2022-03-17 11:55:21 Paride Legovini openssh (Ubuntu): status New Incomplete
2022-03-17 21:14:56 Barto attachment added 1_ip_addr.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570195/+files/1_ip_addr.png
2022-03-17 21:15:28 Barto attachment added 2_systemctl_status_1.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570196/+files/2_systemctl_status_1.png
2022-03-17 21:15:51 Barto attachment added 3_systemctl_status_2.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570197/+files/3_systemctl_status_2.png
2022-03-17 21:16:14 Barto attachment added 4_systemctl_status_ssh.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570198/+files/4_systemctl_status_ssh.png
2022-03-17 21:16:38 Barto attachment added 5_ssh_myself.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570199/+files/5_ssh_myself.png
2022-03-17 21:17:08 Barto attachment added 6_dhclient_conf_1.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570200/+files/6_dhclient_conf_1.png
2022-03-17 21:17:29 Barto attachment added 7_dhclient_conf_2.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570201/+files/7_dhclient_conf_2.png
2022-03-17 21:17:55 Barto attachment added 8_00_installer_config_yaml.png https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5570202/+files/8_00_installer_config_yaml.png
2022-05-17 04:17:20 Launchpad Janitor openssh (Ubuntu): status Incomplete Expired
2022-05-18 13:16:37 Athos Ribeiro tags bot-comment packer ssh unattended virtualbox bot-comment packer server-triage-discuss ssh unattended virtualbox
2022-05-23 13:39:30 Athos Ribeiro tags bot-comment packer server-triage-discuss ssh unattended virtualbox bot-comment packer ssh unattended virtualbox
2022-05-23 13:41:23 Athos Ribeiro openssh (Ubuntu): status Expired Invalid