yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51864
[Bug 1588112] Re: instance stuck at error state after trying to migrate it to a misconfigured nova-compute node
It is correct that you can't do operations other than DELETE on
instances in this state. There could be some other enhancements here to
handle this, but this is mostly working as designed.
** Changed in: nova
Status: New => Opinion
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1588112
Title:
instance stuck at error state after trying to migrate it to a
misconfigured nova-compute node
Status in OpenStack Compute (nova):
Opinion
Bug description:
I was trying to add another nova-compute node into the cluster.
Afterwards I tried to do a live migration to verify the configuration.
The instance got stuck at error state and showing the task of
migrating.
I then fixed the misconfigure with the new added compute node. But the instance still not got fixed.
(the misconfigure was the network of the server and nova.conf file)
It seems that I can do nothing with but deleting the instance.
some commands and results below:
(openstack) server list
+--------------------------------------+--------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+--------------+--------+------------------+
| 84d31496-5d0a-4dbf-99bc-363d018a30a8 | ttt | ACTIVE | test=192.168.1.3 |
| d754e7e4-6dba-45a7-a303-902f45ff4ca0 | testfromdisk | ERROR | test=192.168.1.2 |
+--------------------------------------+--------------+--------+------------------+
server show d754e7e4-6dba-45a7-a303-902f45ff4ca0
+--------------------------------------+------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------------------+------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | AUTO |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | nova1 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | nova1 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000003 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | migrating |
| OS-EXT-STS:vm_state | error |
| OS-SRV-USG:launched_at | 2016-05-31T05:15:28.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | test=192.168.1.2 |
| config_drive | |
| created | 2016-05-31T05:15:15Z |
| fault | {u'message': u'Compute host nova2 could not be found.', u'code': 404, u'created': u'2016-06-01T07:08:13Z'} |
| flavor | m1.tiny (1) |
| hostId | b1f5ce288eb6e023bb7a7fcd2adbea8f32650690fb6b34d070ab8e22 |
| id | d754e7e4-6dba-45a7-a303-902f45ff4ca0 |
| image | |
| key_name | None |
| name | testfromdisk |
| os-extended-volumes:volumes_attached | [{u'id': u'b74b2eff-0955-4d13-adac-7964e109d4ff'}] |
| project_id | e082df4c980f4852b4451a9035723194 |
| properties | |
| security_groups | [{u'name': u'default'}] |
| status | ERROR |
| updated | 2016-06-02T00:11:45Z |
| user_id | 3682a3e21f46421da96e5d1b5b79b38c |
+--------------------------------------+------------------------------------------------------------------------------------------------------------+
(openstack) server stop testfromdisk
Cannot 'stop' instance d754e7e4-6dba-45a7-a303-902f45ff4ca0 while it is in task_state migrating
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1588112/+subscriptions
References