← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1440968] Re: AttributeError: 'module' object has no attribute 'DatastorePath'

 

** Also affects: nova/kilo
   Importance: Undecided
       Status: New

** Changed in: nova/kilo
    Milestone: None => kilo-rc2

-- 
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/1440968

Title:
  AttributeError: 'module' object has no attribute 'DatastorePath'

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) kilo series:
  New

Bug description:
  The following traceback is seen when resizing ephemeral disks as part
  of tempest in VMware NSX CI (Minesweeper) :-

  2015-04-06 18:15:02.268 ERROR nova.compute.manager [req-038752a5-a600-4ba4-a689-88069496b2d9 MigrationsAdminTest-764545366 MigrationsAdminTest-39143519] [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5] Setting instance vm_state to ERROR
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5] Traceback (most recent call last):
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/opt/stack/nova/nova/compute/manager.py", line 4091, in finish_resize
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     disk_info, image)
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/opt/stack/nova/nova/compute/manager.py", line 4057, in _finish_resize
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     old_instance_type)
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     six.reraise(self.type_, self.value, self.tb)
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/opt/stack/nova/nova/compute/manager.py", line 4052, in _finish_resize
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     block_device_info, power_on)
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 299, in finish_migration
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     block_device_info, power_on)
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1264, in finish_migration
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     self._resize_create_ephemerals(vm_ref, instance, block_device_info)
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1146, in _resize_create_ephemerals
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]     folder = ds_util.DatastorePath.parse(vmdk.path).dirname
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5] AttributeError: 'module' object has no attribute 'DatastorePath'
  2015-04-06 18:15:02.268 30325 TRACE nova.compute.manager [instance: 7ce85d70-7f8a-4387-b5f6-6c4119322fd5]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1440968/+subscriptions


References