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

Bug #1346549 reported by Ryan Hsu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

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

Tags: vmware
Revision history for this message
Tracy Jones (tjones-i) wrote :

do you have iSCSI in the tempest env?

Changed in nova:
status: New → Incomplete
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Gary Kotton (garyk) wrote :

I hit the same issue and it was due to the way in which cinder was configured. My understanding is that this is the case here as this is the CI. Since updating the config is up and running.

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.