Increase logging in NPIV port mappings
The NPIV port mapping code can be tricky to debug. This change provides a small, but significant logging change that enables easier debug. This may help with concurrency issues that may arise when deploying many Cinder volumes at once. Change-Id: I7d80848266bf83f1febfc3089e6e1e057df1ffa5
This commit is contained in:
parent
f2d4c27d27
commit
6fcd918b8a
@ -555,6 +555,11 @@ class NPIVVolumeAdapter(v_driver.FibreChannelVolumeAdapter):
|
|||||||
meta_elems.append(p_wwpn)
|
meta_elems.append(p_wwpn)
|
||||||
meta_elems.extend(v_wwpn.split())
|
meta_elems.extend(v_wwpn.split())
|
||||||
|
|
||||||
|
LOG.info(_LI("Fabric %(fabric)s wwpn metadata will be set to "
|
||||||
|
"%(meta)s for instance %(inst)s"),
|
||||||
|
{'fabric': fabric, 'meta': ",".join(meta_elems),
|
||||||
|
'inst': self.instance.name})
|
||||||
|
|
||||||
fabric_id_iter = 1
|
fabric_id_iter = 1
|
||||||
meta_key = self._sys_meta_fabric_key(fabric)
|
meta_key = self._sys_meta_fabric_key(fabric)
|
||||||
key_len = len(meta_key)
|
key_len = len(meta_key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user