I did more debug:
1) the nova schduler did choose another compute host as destination , and instance's host was changed into the destination when the instance is in VERIFY_RESIZE state. But from vCenter the instance was still in original EXSi host (actuall there are two instances ,one with old name , one with suffix _orig). This is not right.
2) after resize , instance's host name was changed, the changed host name is not mananged by nova-compute , then resize confrim, nova-compute can't find the changed host name , then the error was raised.
I did more debug:
1) the nova schduler did choose another compute host as destination , and instance's host was changed into the destination when the instance is in VERIFY_RESIZE state. But from vCenter the instance was still in original EXSi host (actuall there are two instances ,one with old name , one with suffix _orig). This is not right.
2) after resize , instance's host name was changed, the changed host name is not mananged by nova-compute , then resize confrim, nova-compute can't find the changed host name , then the error was raised.
Before resize ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- + ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- + 18T07:42: 27Z | STS:task_ state | None | SRV-ATTR: host | vmware_ nova_cluster01 | 8be0-4794- 9c22-52a8c7a2bf 55) | b0059044896687b 96e12dd97a33d61 deb564244ee | SRV-ATTR: instance_ name | instance-000000ca | USG:launched_ at | 2013-12- 18T07:42: 27.000000 | SRV-ATTR: hypervisor_ hostname | domain- c17(cluster01) | fcd7-4fe2- 96c6-1a750b430f 3c | USG:terminated_ at | None | faa08a9ec021a48 d4 | 18T07:41: 38Z | 1b18f6c9498be3b d9 | volumes: volumes_ attached | [] | STS:power_ state | 1 | AZ:availability _zone | nova | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- +
[root@10-1-0-71 nova]# nova show gcb_resize1
+------
| Property | Value |
+------
| status | ACTIVE |
| updated | 2013-12-
| OS-EXT-
| OS-EXT-
| key_name | None |
| image | trend-thin (4432ca56-
| network1 network | 10.0.1.2 |
| hostId | 964f8e94c6b9084
| OS-EXT-STS:vm_state | active |
| OS-EXT-
| OS-SRV-
| OS-EXT-
| flavor | m1.tiny (1) |
| id | 2f93a76e-
| security_groups | [{u'name': u'default'}] |
| OS-SRV-
| user_id | 01dd320eb49d4bd
| name | gcb_resize1 |
| created | 2013-12-
| tenant_id | 045dd87f67eb40d
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| os-extended-
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-
| OS-EXT-
| config_drive | |
+------
After resize: ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ 18T08:05: 52Z | STS:task_ state | None | SRV-ATTR: host | vmware_ nova_cluster02 | 8be0-4794- 9c22-52a8c7a2bf 55) | f029b96f22fb39d ea07a9caae6cbae e77481a6919 | SRV-ATTR: instance_ name | instance-000000ca | USG:launched_ at | 2013-12- 18T07:59: 12.000000 | SRV-ATTR: hypervisor_ hostname | domain- c382(cluster02) | fcd7-4fe2- 96c6-1a750b430f 3c | USG:terminated_ at | None | faa08a9ec021a48 d4 | 18T07:41: 38Z | 1b18f6c9498be3b d9 | volumes: volumes_ attached | [] | c382(cluster02) does not exist', u'code': 404, u'created': u'2013- 12-18T08: 05:52Z' } | STS:power_ state | 1 | AZ:availability _zone | nova | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
[root@10-1-0-71 nova]# nova show gcb_resize1
+------
| Property | Value |
+------
| status | ERROR |
| updated | 2013-12-
| OS-EXT-
| OS-EXT-
| key_name | None |
| image | trend-thin (4432ca56-
| network1 network | 10.0.1.2 |
| hostId | 5f93f60c197ee7a
| OS-EXT-STS:vm_state | error |
| OS-EXT-
| OS-SRV-
| OS-EXT-
| flavor | m1.small (2) |
| id | 2f93a76e-
| security_groups | [{u'name': u'default'}] |
| OS-SRV-
| user_id | 01dd320eb49d4bd
| name | gcb_resize1 |
| created | 2013-12-
| tenant_id | 045dd87f67eb40d
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| os-extended-
| accessIPv4 | |
| accessIPv6 | |
| fault | {u'message': u'NV-3AB798A The resource domain-
| OS-EXT-
| OS-EXT-
| config_drive | |
+------