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.

Copy

Environment

  • Platform9 Managed OpenStack - v4.0 and higher
  • Nova

Cause

  • Disk file for an instance is missing which prevents ostackhost from updating its resources.
Copy
  • This happens if an instance is resized or cold migrated and the confirm resize operation is not performed.

Resolution

  1. Perform a confirm resize operation on the instance by running the following command.
Copy
  1. 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.
Copy
  1. After renaming the directory, set the instance into an ACTIVE state and perform a stop and start operation on the instance.
Copy

Additional Information

Related upstream bug: https://bugs.launchpad.net/nova/+bug/1774249

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard