Activity log for bug #1919177

Date Who What changed Old value New value Message
2021-03-15 16:53:11 Gauthier Jolly bug added bug
2021-03-15 16:53:11 Gauthier Jolly attachment added cloud-init.tar.gz https://bugs.launchpad.net/bugs/1919177/+attachment/5476816/+files/cloud-init.tar.gz
2021-03-19 16:26:31 Paride Legovini cloud-init: status New Incomplete
2021-04-13 14:50:43 Robert C Jennings bug task added cloud-init (Ubuntu)
2021-04-13 14:51:11 Robert C Jennings cloud-init (Ubuntu): milestone ubuntu-21.04
2021-04-13 14:52:39 Robert C Jennings tags rls-hh-incoming
2021-04-13 14:56:16 Dimitri John Ledkov bug task added linux-azure (Ubuntu)
2021-04-13 14:56:26 Dimitri John Ledkov linux-azure (Ubuntu): milestone ubuntu-21.04
2021-04-13 15:39:55 Tim Gardner bug added subscriber Tim Gardner
2021-04-13 21:47:44 Guilherme G. Piccoli bug added subscriber Guilherme G. Piccoli
2021-04-14 07:10:47 Gauthier Jolly attachment added syslog https://bugs.launchpad.net/cloud-init/+bug/1919177/+attachment/5487677/+files/syslog
2021-04-15 15:00:56 Dan Streetman bug added subscriber Dan Streetman
2021-04-15 21:22:38 Seth Forshee bug added subscriber Seth Forshee
2021-04-16 13:28:44 Guilherme G. Piccoli attachment added DBG-mlx5-Add-delaylink-parameter-to-delay-Link-up-event-.patch https://bugs.launchpad.net/cloud-init/+bug/1919177/+attachment/5488894/+files/DBG-mlx5-Add-delaylink-parameter-to-delay-Link-up-event-.patch
2021-04-21 16:32:35 Gauthier Jolly description [General] On Azure, when provisioning a Hirsute VM with Accelerated Networking enabled, sometimes the SSH key is not setup properly and the user cannot log into the VM. [how to reproduce] Start a VM with AN enabled: ``` az vm create --name "$VM_NAME --resource-group "$GROUP" --location "UK South" --image 'Canonical:0001-com-ubuntu-server-hirsute-daily:21_04-daily-gen2:latest' --size Standard_F8s_v2 --admin-username ubuntu --ssh-key-value "$SSH_KEY" --accelerated-networking ``` After a moment, try to SSH: if you succeed, delete and recreate a new VM. [troubleshooting] To be able to connect into the VM to debug, run: ``` az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" ``` In "/run/cloud-init/instance-data.json", I can see: ``` "publicKeys": [ { "keyData": "<my-pub-key>", "path": "/home/ubuntu/.ssh/authorized_keys" } ], ``` as expected. [General] On Azure, when provisioning a Hirsute VM with Accelerated Networking enabled, sometimes part of the cloud-init configuration is not applied. Especially, in those cases, the SSH key is not setup properly and the user cannot log into the VM. [how to reproduce] Start a VM with AN enabled: ``` az vm create --name "$VM_NAME --resource-group "$GROUP" --location "UK South" --image 'Canonical:0001-com-ubuntu-server-hirsute-daily:21_04-daily-gen2:latest' --size Standard_F8s_v2 --admin-username ubuntu --ssh-key-value "$SSH_KEY" --accelerated-networking ``` After a moment, try to SSH: if you succeed, delete and recreate a new VM. [troubleshooting] To be able to connect into the VM, run: az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" ``` In "/run/cloud-init/instance-data.json", I can see: ```      "publicKeys": [       {        "keyData": "<my-pub-key>",        "path": "/home/ubuntu/.ssh/authorized_keys"       }      ], ``` as expected. [workaround] As mentioned, Azure allows the user to run command into the VM without SSH connection. To do so, one can use the Azure CLI: az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" This example uses "ssh-import-id" but it's also possible to just echo a given public key into /home/ubuntu/.ssh/authorized_keys NOTE: this will only solves the SSH issue, I do not know if this bug affects other things. If so the user would have to apply those things manually.
2021-04-21 16:33:41 Gauthier Jolly description [General] On Azure, when provisioning a Hirsute VM with Accelerated Networking enabled, sometimes part of the cloud-init configuration is not applied. Especially, in those cases, the SSH key is not setup properly and the user cannot log into the VM. [how to reproduce] Start a VM with AN enabled: ``` az vm create --name "$VM_NAME --resource-group "$GROUP" --location "UK South" --image 'Canonical:0001-com-ubuntu-server-hirsute-daily:21_04-daily-gen2:latest' --size Standard_F8s_v2 --admin-username ubuntu --ssh-key-value "$SSH_KEY" --accelerated-networking ``` After a moment, try to SSH: if you succeed, delete and recreate a new VM. [troubleshooting] To be able to connect into the VM, run: az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" ``` In "/run/cloud-init/instance-data.json", I can see: ```      "publicKeys": [       {        "keyData": "<my-pub-key>",        "path": "/home/ubuntu/.ssh/authorized_keys"       }      ], ``` as expected. [workaround] As mentioned, Azure allows the user to run command into the VM without SSH connection. To do so, one can use the Azure CLI: az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" This example uses "ssh-import-id" but it's also possible to just echo a given public key into /home/ubuntu/.ssh/authorized_keys NOTE: this will only solves the SSH issue, I do not know if this bug affects other things. If so the user would have to apply those things manually. [General] On Azure, when provisioning a Hirsute VM with Accelerated Networking enabled, sometimes part of the cloud-init configuration is not applied. Especially, in those cases, the public SSH key is not setup properly. [how to reproduce] Start a VM with AN enabled: ``` az vm create --name "$VM_NAME --resource-group "$GROUP" --location "UK South" --image 'Canonical:0001-com-ubuntu-server-hirsute-daily:21_04-daily-gen2:latest' --size Standard_F8s_v2 --admin-username ubuntu --ssh-key-value "$SSH_KEY" --accelerated-networking ``` After a moment, try to SSH: if you succeed, delete and recreate a new VM. [troubleshooting] To be able to connect into the VM, run: az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" ``` In "/run/cloud-init/instance-data.json", I can see: ```      "publicKeys": [       {        "keyData": "<my-pub-key>",        "path": "/home/ubuntu/.ssh/authorized_keys"       }      ], ``` as expected. [workaround] As mentioned, Azure allows the user to run command into the VM without SSH connection. To do so, one can use the Azure CLI: az vm run-command invoke -g "$GROUP" -n "$VM_NAME" --command-id RunShellScript --scripts "sudo -u ubuntu ssh-import-id $LP_USERNAME" This example uses "ssh-import-id" but it's also possible to just echo a given public key into /home/ubuntu/.ssh/authorized_keys NOTE: this will only solves the SSH issue, I do not know if this bug affects other things. If so the user would have to apply those things manually.
2021-04-22 12:49:15 Gauthier Jolly bug task added systemd (Ubuntu)
2021-04-22 13:21:18 Gauthier Jolly attachment added Package diff between 20210219 and 20210220 20.04 Azure images https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1919177/+attachment/5491010/+files/package-diff.txt
2021-04-23 13:38:00 Paride Legovini cloud-init (Ubuntu): status New Incomplete
2021-04-27 16:12:22 Brian Murray cloud-init (Ubuntu): milestone ubuntu-21.04 hirsute-updates
2021-04-27 16:12:26 Brian Murray linux-azure (Ubuntu): milestone ubuntu-21.04 hirsute-updates
2021-04-29 15:33:45 Matthieu Clemenceau tags rls-hh-incoming fr-1324 rls-hh-incoming
2021-04-29 17:45:44 Brian Murray tags fr-1324 rls-hh-incoming fr-1324
2021-05-18 22:04:24 Balint Reczey systemd (Ubuntu): status New Incomplete
2021-05-19 11:23:55 Marcelo Cerri linux-azure (Ubuntu): status New Invalid
2021-06-01 23:16:22 Balint Reczey nominated for series Ubuntu Hirsute
2021-06-01 23:16:22 Balint Reczey bug task added cloud-init (Ubuntu Hirsute)
2021-06-01 23:16:22 Balint Reczey bug task added systemd (Ubuntu Hirsute)
2021-06-01 23:16:22 Balint Reczey bug task added linux-azure (Ubuntu Hirsute)
2021-06-01 23:16:32 Balint Reczey systemd (Ubuntu): status Incomplete Fix Released
2021-06-01 23:20:56 Balint Reczey linux-azure (Ubuntu Hirsute): status New Invalid
2021-06-01 23:21:03 Balint Reczey cloud-init (Ubuntu Hirsute): status New Incomplete
2021-12-14 03:25:44 Mathew Hodson bug task deleted linux-azure (Ubuntu)
2021-12-14 03:25:48 Mathew Hodson bug task deleted linux-azure (Ubuntu Hirsute)
2021-12-14 03:25:56 Mathew Hodson bug task deleted cloud-init (Ubuntu Hirsute)
2021-12-14 03:26:01 Mathew Hodson bug task deleted cloud-init (Ubuntu)
2021-12-14 03:26:22 Mathew Hodson affects cloud-init ubuntu-translations
2021-12-14 03:26:30 Mathew Hodson bug task deleted ubuntu-translations
2024-07-26 13:53:10 Brian Murray systemd (Ubuntu Hirsute): status New Won't Fix