(hyper-v) resize instance failed if remove configdrive.iso
Bug #1628437 reported by
zhanghaixia
This bug report is a duplicate of:
Bug #1619602: Hyper-V: vhd config drive images are not migrated.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
After I use configdrive to inject ip,hostname and password of the instance, and i move the configdrive.iso file from cdrom. when i resize the instance, report that "config drive is required by instance: ***, but it does not exist" .
openstack use hypervisor which is hyper-V.
To post a comment you must log in.
2016-09-28 17:04:28.743 3700 ERROR nova.compute. manager [req-4da854d0- 95e8-4795- b382-1b64419a88 f8 08be067f92f24ca 088512eed730848 62 0452cf0ca39e420 c9ce5009067df7f f5 - - -] [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] Setting instance vm_state to ERROR manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] Traceback (most recent call last): manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ nova\compute\ manager. py", line 4117, in finish_resize manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] disk_info, image) manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ nova\compute\ manager. py", line 4083, in _finish_resize manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] old_instance_type) manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ oslo_utils\ excutils. py", line 85, in __exit__ manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] six.reraise( self.type_ , self.value, self.tb) manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ nova\compute\ manager. py", line 4078, in _finish_resize manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] block_device_info, power_on) manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ nova\virt\ hyperv\ driver. py", line 237, in finish_migration manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] block_device_info, power_on) manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ nova\virt\ hyperv\ migrationops. py", line 295, in finish_migration manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] self._check_ and_attach_ config_ drive(instance, vm_gen) manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Nova\Python27\ lib\site- packages\ nova\virt\ hyperv\ migrationops. py", line 162, in _check_ and_attach_ config_ drive manager [instance: 66903693- 1f14-4d14- bf89-613e79a7c4 cd] "but it does not exist.") % instance.name)
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-09-28 17:04:28.743 3700 TRACE nova.compute.
2016-0...