It turns out Horizon dashboard didn't correctly pass HARD_REBOOT to Nova. Here is the code where this issue comes out:
@profiler.trace def server_reboot(request, instance_id, soft_reboot=False): hardness = nova_servers.REBOOT_HARD if soft_reboot: hardness = nova_servers.REBOOT_SOFT novaclient(request).servers.reboot(instance_id, hardness)
If it is not soft_reboot, novaclient won't be called. BTW: there is no such an issue in upstream Horizon project: https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/nova.py
Will file a patch to fix this issue.
It turns out Horizon dashboard didn't correctly pass HARD_REBOOT to Nova.
Here is the code where this issue comes out:
@profiler.trace reboot( request, instance_id, soft_reboot=False): REBOOT_ HARD REBOOT_ SOFT
novaclient( request) .servers. reboot( instance_ id, hardness)
def server_
hardness = nova_servers.
if soft_reboot:
hardness = nova_servers.
If it is not soft_reboot, novaclient won't be called. /github. com/openstack/ horizon/ blob/master/ openstack_ dashboard/ api/nova. py
BTW: there is no such an issue in upstream Horizon project: https:/
Will file a patch to fix this issue.