resize to different host failed by vcenter driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
1. I have a environment managed two cluster. Make sure there is two compute-service for vmware exists, in this case, the vmware compute service is: vmware_
[root@10-1-0-71 nova]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-cells 10-1-0-71 internal enabled :-) 2013-12-06 06:22:48
nova-conductor 10-1-0-71 internal enabled :-) 2013-12-06 06:22:50
nova-scheduler 10-1-0-71 internal enabled :-) 2013-12-06 06:22:42
nova-cert 10-1-0-71 internal enabled :-) 2013-12-06 06:22:43
nova-console 10-1-0-71 internal enabled :-) 2013-12-06 06:22:51
nova-consoleauth 10-1-0-71 internal enabled :-) 2013-12-06 06:22:42
nova-compute 10-1-0-71 nova enabled :-) 2013-12-06 06:22:50
nova-compute vmware_nova nova enabled XXX 2013-11-21 10:03:44
nova-compute vmware_
nova-compute vmware_
2. deploy a vm to cluster02:
nova boot --image 4432ca56-
[root@10-1-0-71 nova]# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 127db0b8-
+------
3. resize the instance to flavor 2
POST: http://
{
"resize" : {
"flavorRef" :"2"
}
}
4. wait a while, the instance became to verify_resize status, then confirm resize
[root@10-1-0-71 nova]# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 127db0b8-
+------
POST: http://
{
"confirmResize" : null
}
3. Instance become to ERROR
[root@10-1-0-71 nova]# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 127db0b8-
+------
4. the error show
| fault | {u'message': u'NV-3AB798A The resource domain-
5. messages in log:
2013-12-06 00:17:58.892 10072 TRACE nova.compute.
2013-12-06 00:17:59.035 10072 ERROR nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
2013-12-06 00:17:59.035 10072 TRACE nova.openstack.
6. [root@10-1-0-71 nova]# nova host-list
+------
| host_name | service | zone |
+------
| 10-1-0-71 | cells | internal |
| 10-1-0-71 | conductor | internal |
| 10-1-0-71 | scheduler | internal |
| 10-1-0-71 | cert | internal |
| 10-1-0-71 | console | internal |
| 10-1-0-71 | consoleauth | internal |
| 10-1-0-71 | compute | nova |
| vmware_nova | compute | nova |
| vmware_
| vmware_
+------
[root@10-1-0-71 nova]# nova hypervisor-list
+----+-
| ID | Hypervisor hostname |
+----+-
| 1 | 10-1-0-71 |
| 7 | domain-
| 8 | domain-
+----+-
7. I tried to change nova.conf file to make openstack display same host name when use host-list and hypervisor-list, like: domain-
tags: | added: vmware |
no longer affects: | openstack-vmwareapi-team |
Changed in nova: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
milestone: | none → next |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | next → none |
In step 3, are you resizing the VM while it is spawning, or do you wait till the the operation is complete?