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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content