VM reboot issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Problem Statement: Creating VM from image work fine, but reboot of that instance from openstack results in Error state.
Steps to re-create:
1. Create a VM from Openstack with Image as the source. VM is created successfully.
2. Now issue a openstack server reboot <VM>
3. Softreboot fails after sometime, and hard reboot is attempted, but it fails and moves the instance to an Error state.
Observations.
1. Weird thing I noticed is, when the instance is being created the nova log shows this (Note the VOLUME ID)
2024-01-19 06:45:06.536 7 INFO nova.virt.
2. The create volume (c22d487d-
3. openstack server show VM shows the correct volume ID as in 2.
4. During reboot issued though openstack, the multipath just fails and nova logs are stuck at cleaning stale cinder volumes.
5. Reboot command from inside the VM work fine. (sudo reboot)
----
6. When I use volume as the source to create instance, I have none of these problems. Nova log shows the correct volume ID during the creation phase and reboot works great with no issues.
I can consistently reproduce this error.
Host OS - Ubuntu 22.04
Deployment - Kolla Ansible with Docker containers
Storage - Netapp with iSCSI
Hypervisor - KVM
Nova Version - 18.4.0
This seems to affect on Bobcat. Antelope works fine.
I tried to update os-brick package to the latest version, and tried to downgrade to the same version as on antelope (6.2.0), the issue persisted on both occasions.