← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346549] [NEW] VMware: "Storage error: Unable to find iSCSI Target"

 

Public bug reported:

The following Tempest tests are failing with the VMware nova driver:

tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume
tempest.api.compute.servers.test_delete_server.DeleteServersTestXML.test_delete_server_while_in_attached_volume
tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume
tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestXML.test_rescued_vm_detach_volume

The following error is seen in the logs:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
    incoming.message))
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)
  File "/opt/stack/nova/nova/compute/manager.py", line 405, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
    payload)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
    return f(self, context, *args, **kw)
  File "/opt/stack/nova/nova/compute/manager.py", line 290, in decorated_function
    pass
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 276, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 318, in decorated_function
    kwargs['instance'], e, sys.exc_info())
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 306, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 4269, in attach_volume
    bdm.destroy(context)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 4266, in attach_volume
    return self._attach_volume(context, instance, driver_bdm)
  File "/opt/stack/nova/nova/compute/manager.py", line 4287, in _attach_volume
    self.volume_api.unreserve_volume(context, bdm.volume_id)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 4279, in _attach_volume
    do_check_attach=False, do_driver_attach=True)
  File "/opt/stack/nova/nova/virt/block_device.py", line 45, in wrapped
    ret_val = method(obj, context, *args, **kwargs)
  File "/opt/stack/nova/nova/virt/block_device.py", line 249, in attach
    connector)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/virt/block_device.py", line 240, in attach
    device_type=self['device_type'], encryption=encryption)
  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 646, in attach_volume
    mountpoint)
  File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 388, in attach_volume
    self._attach_volume_iscsi(connection_info, instance, mountpoint)
  File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 363, in _attach_volume_iscsi
    reason=_("Unable to find iSCSI Target"))
StorageError: Storage error: Unable to find iSCSI Target

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

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

Title:
  VMware: "Storage error: Unable to find iSCSI Target"

Status in OpenStack Compute (Nova):
  New

Bug description:
  The following Tempest tests are failing with the VMware nova driver:

  tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume
  tempest.api.compute.servers.test_delete_server.DeleteServersTestXML.test_delete_server_while_in_attached_volume
  tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume
  tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestXML.test_rescued_vm_detach_volume

  The following error is seen in the logs:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
      incoming.message))
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
      return self._do_dispatch(endpoint, method, ctxt, args)
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
      result = getattr(endpoint, method)(ctxt, **new_args)
    File "/opt/stack/nova/nova/compute/manager.py", line 405, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
      payload)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
      return f(self, context, *args, **kw)
    File "/opt/stack/nova/nova/compute/manager.py", line 290, in decorated_function
      pass
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 276, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 318, in decorated_function
      kwargs['instance'], e, sys.exc_info())
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 306, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 4269, in attach_volume
      bdm.destroy(context)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 4266, in attach_volume
      return self._attach_volume(context, instance, driver_bdm)
    File "/opt/stack/nova/nova/compute/manager.py", line 4287, in _attach_volume
      self.volume_api.unreserve_volume(context, bdm.volume_id)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 4279, in _attach_volume
      do_check_attach=False, do_driver_attach=True)
    File "/opt/stack/nova/nova/virt/block_device.py", line 45, in wrapped
      ret_val = method(obj, context, *args, **kwargs)
    File "/opt/stack/nova/nova/virt/block_device.py", line 249, in attach
      connector)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/virt/block_device.py", line 240, in attach
      device_type=self['device_type'], encryption=encryption)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 646, in attach_volume
      mountpoint)
    File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 388, in attach_volume
      self._attach_volume_iscsi(connection_info, instance, mountpoint)
    File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 363, in _attach_volume_iscsi
      reason=_("Unable to find iSCSI Target"))
  StorageError: Storage error: Unable to find iSCSI Target

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


Follow ups

References