If PermitRootLogin is disabled live migrations silently fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If PermitRootLogin is disabled on compute nodes, live migrations fail but VM remains active running on the source host, making impossible for the operator to understand what is happening.
Error is:
```
2023-10-17 08:34:42.602 3904 ERROR nova.virt.
root@10.10.10.23: Permission denied (publickey).: Connection reset by peer: libvirt.
2023-10-17 08:34:42.815 3904 WARNING nova.compute.
2023-10-17 08:34:43.014 3904 ERROR nova.virt.
2023-10-17 08:34:43.034 3904 ERROR nova.compute.
```
VM should go in error state with an indication about why it failed.
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.