Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
VM Migration Failure Which Results the VM in "ERROR" State
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Post live migration of VM, the Nova API/DB shows the VM status as ERROR, although the VM continues running successfully on the target hypervisor.
Environment
- Private Cloud Director Virtualization - v2025.4 and Higher
- Self-Hosted Private Cloud Director Virtualization - v2025.4 and Higher
- Componen: Compute Service
Cause
This issue occurs due to inconsistencies between the Nova database and the actual hypervisor state during/after migration. Different underlying issues can cause this problem. Below are the common causes:
- Stale file locks on storage volumes.
- Database state mismatch between Nova conductor and compute host.
- Scheduler exceptions (e.g.,
NoValidHost) after migration completes.
Diagnostics
- Stale file locks on storage volumes
- Migration fails with volume/lock errors.
- The
/var/log/pf9/ostackhost.logfrom the source compute host:
ostackhost.log
- Confirm Cinder volume status:
Management Plane
- Database state mismatch between Nova and hypervisor
- The
openstack server showreports ERROR or wrong hypervisor, but VM is running on a different host. - The
/var/log/pf9/ostackhost.logfrom the source compute host:
ostackhost.log
- Check Nova DB entry vs actual hypervisor:
Command
- Verify if the VM is running on the above mentioned hypervisor and its state:
On Host
- Scheduler exceptions (e.g.,
NoValidHost) after migration
- Migration logs show
NoValidHost, but VM still boots/migrates at the hypervisor level. - The nova-scheduler logs :
Management Plane
Resolution
To restore consistency and recover the VM:
- Set the VM state to Active
Bash
- Start the VM:
Bash
Validation
- Confirm the VM is now in ACTIVE state:
Management Plane
- Ensure it is hosted correctly:
Management Plane
Additional Information
- This procedure is safe: it resets Nova’s recorded state without modifying VM disk or memory.
- Always validate using
virshcommand that the VM is running before resetting state. - For frequent issues, investigate root causes in Nova conductor, scheduler, and Cinder logs.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Instance Creation Failing due to Failed NFS MountDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message