Ostackhost Fails to Resize, Create and Migrate Instance with Error "ComputeHostNotFound
Problem
The cold migration of an instance fails with the following traceback observed in the ostackhost log located at /var/log/pf9 on the source host.
Environment
- Platform9 Managed OpenStack - v4.0 and higher
- Nova
Cause
- Disk file for an instance is missing which prevents ostackhost from updating its resources.
- This happens if an instance is resized or cold migrated and the confirm resize operation is not performed.
Resolution
- Perform a confirm resize operation on the instance by running the following command.
- If the instance goes into an error state, navigate to the instance storage path, identify the instance directory, and modify its name using the following command.
- After renaming the directory, set the instance into an ACTIVE state and perform a stop and start operation on the instance.
Additional Information
Related upstream bug: https://bugs.launchpad.net/nova/+bug/1774249
Was this page helpful?