When someone manually creates a 3PAR host in a domain that is different than the 3par driver is configured to talk to, then attaches fail with a bogus exception of a VLUN not being found.
2013-03-22 14:27:26 ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling
Traceback (most recent call last):
File "/opt/stack/cinder/cinder/openstack/common/rpc/amqp.py", line 430, in _process_data
rval = self.proxy.dispatch(ctxt, version, method, **args)
File "/opt/stack/cinder/cinder/openstack/common/rpc/dispatcher.py", line 133, in dispatch
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/cinder/cinder/volume/manager.py", line 633, in initialize_connection
return self.driver.initialize_connection(volume_ref, connector)
File "/opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_fc.py", line 186, in initialize_connection
vlun = self.common.create_vlun(volume, host, self.client)
File "/opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_common.py", line 447, in create_vlun
return client.getVLUN(volume_name)
File "/usr/local/lib/python2.7/dist-packages/hp3parclient/client.py", line 328, in getVLUN
raise exceptions.HTTPNotFound({'code':'NON_EXISTENT_VLUN', 'desc': "VLUN '%s' was not found" % volumeName})
HTTPNotFound: Not found (HTTP 404) NON_EXISTENT_VLUN - VLUN 'osv-ksVNv0M5RH.tnYrC1IjdnA' was not found
Fix proposed to branch: master /review. openstack. org/25187
Review: https:/