Instance backed by ceph goes to Error state with error ""Invalid state of instance files on shared\" while trying to evacuate host.

Solution Verified - Updated -

Issue

  • Instances are booted from ceph volumes. While trying to do nova host-evacuate to move instances from a broken compute node to another one as below:
nova host-evacuate --on-shared-storage --target <target-host> <src-host>

Instances go to Error state with below error in the logs.

| fault                                | {"message": "Invalid state of instance files on shared storage", "code": 500, "details": "  File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 343, in decorated_function |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2947, in rebuild_instance

How can I resolve this?

Environment

  • Red Hat Enterprise Linux Openstack Platfrom v7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.