As per the previous bug https://bugs.launchpad.net/cinder/+bug/1658888 filed against HPE 3PAR driver. Cause of failure is, multiple threads are trying to enter in initialize_connection OR terminate_connection method at the same time which leads to an above error.
As per the previous bug https:/ /bugs.launchpad .net/cinder/ +bug/1658888 filed against HPE 3PAR driver. Cause of failure is, multiple threads are trying to enter in initialize_ connection OR terminate_ connection method at the same time which leads to an above error.
Fix is to apply lock on those methods.