When attaching a 3PAR volume to a host that already exists as a 3PAR host, with a different name, I get the following exception;
2013-05-20 09:06:16 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 433, in _process_data
**args)
File "/opt/stack/cinder/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/cinder/cinder/volume/manager.py", line 677, in initialize_connection
return self.driver.initialize_connection(volume_ref, connector)
File "/opt/stack/cinder/cinder/openstack/common/lockutils.py", line 228, in inner
retval = f(*args, **kwargs)
File "/opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_fc.py", line 190, in initialize_connection
host = self._create_host(volume, connector)
File "/opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_fc.py", line 244, in _create_host
persona_id)
File "/opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_fc.py", line 219, in _create_3par_fibrechan_host
raise exception.Duplicate3PARHost(err=err, info=info)
Duplicate3PARHost: 3PAR Host already exists: Host wwn 50014380242B8B4C already used by host jim-devstack-foo (id = 124). The hostname must be called 'jim-devstack'
2013-05-20 09:06:16 ERROR [cinder.openstack.common.rpc.common] Returning exception 3PAR Host already exists: Host wwn 50014380242B8B4C already used by host jim-dev
stack-foo (id = 124). The hostname must be called 'jim-devstack' to caller
Fix proposed to branch: master /review. openstack. org/30465
Review: https:/