NetApp doesn't update the backend LUN name during generic migration

Bug #2042662 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

Scenario: Using NetApp iSCSI backend, try to migrate a volume from one NetApp host to another.

Since NetApp doesn't support driver assisted migration, we end up doing a generic migration in which case we create a temporary volume in the destination host, transfer data and update the new volume properties same as the original volume (id, metadata, attachements etc)

NetApp creates a file on the backend with the temporary volume's name (volume-<id>) and never updates it to the source volume's name.

Cinder calls update_migrated_volume method of the driver to allow the driver to update the name but NetApp driver doesn't implement it.

We can reproduce this by migrating a netapp volume and checking the provider location.

<location>:/vol/<pool>/volume-<temp_vol_id>

Instead it should be,

<location>:/vol/<pool>/volume-<original_vol_id>

We need to do something like the lvm driver which renames the volume after migration.

https://github.com/openstack/cinder/blob/4ee1bdaf648064adb6ad9f0e4fda6adc6ad1cbb6/cinder/volume/drivers/lvm.py#L417

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.