cinder/cinder/volume/drivers/hpe
Gorka Eguileor fc51678298 3PAR: Fix live migration
After live migrating a volume into the 3PAR driver the volume would be
unusable.  And we would no longer be able to do any operation with it.

Migrated in-use volumes cannot be renamed when migrated and therefore
need to use the "_name_id" field of the Volume object (volumes table in
the DB) to store the original volume's ID so the driver can locate the
volume.

The problem is that, even though the 3PAR driver sets the "_name_id"
field, it doesn't use it for any operation, so once the volume has been
migrated and the ID of the volume no longer matches the one that was
used to create the volume (value now in "_name_id") it will no longer be
able to locate the volume.

This patch adds the logic necessary to locate volumes using the
"_name_id" field.

Closes-Bug: #1697422
Change-Id: I27b9d4be419e1b52db02d4525b292ceeb5d5f867
2020-06-09 15:52:14 +02:00
..
__init__.py Refactor HP 3PAR drivers to now be HPE 2015-11-12 12:46:35 -08:00
hpe_3par_base.py Add get_driver_options method 2019-03-07 09:18:01 -05:00
hpe_3par_common.py 3PAR: Fix live migration 2020-06-09 15:52:14 +02:00
hpe_3par_fc.py HPE 3PAR: Support duplicated FQDN in network 2020-04-21 00:04:03 -07:00
hpe_3par_iscsi.py 3PAR: Fix live migration 2020-06-09 15:52:14 +02:00