after migrate volume to 3PAR, fails to find volume

Bug #1492023 reported by Walt Boring
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Critical
Walt Boring

Bug Description

After you migrate a volume to a 3PAR, the volume can then not be found by the driver.

This is due to the 3PAR driver's missing the update_migrated_volume()

Here is the output of a delete volume after the volume was migrated to the 3PAR

2015-09-03 13:32:26.139 DEBUG oslo_concurrency.lockutils [req-3d16e301-c019-425f-a33d-e708847b794e 4a72870fba294ac1accadf7f036a63c4 f8b09bf608754b348f5612ccbcc190f7] Lock "e19ee418-9e9e-48c8-a506-2fed50c46ffd-delete_volume" acquired by "cinder.volume.manager.lvo_inner2" :: waited 0.001s from (pid=19518) inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:253
2015-09-03 13:32:26.357 WARNING cinder.volume.drivers.san.hp.hp_3par_common [req-3d16e301-c019-425f-a33d-e708847b794e 4a72870fba294ac1accadf7f036a63c4 f8b09bf608754b348f5612ccbcc190f7] getCPGStatData requires hp3parclient version '3.2.2' version '3.2.1' is installed.
2015-09-03 13:32:26.378 WARNING cinder.volume.drivers.san.hp.hp_3par_common [req-3d16e301-c019-425f-a33d-e708847b794e 4a72870fba294ac1accadf7f036a63c4 f8b09bf608754b348f5612ccbcc190f7] srstatld requires WSAPI version '30201200' version '30201046' is installed.
2015-09-03 13:32:26.379 DEBUG cinder.volume.drivers.san.hp.hp_3par_common [req-3d16e301-c019-425f-a33d-e708847b794e 4a72870fba294ac1accadf7f036a63c4 f8b09bf608754b348f5612ccbcc190f7] Connecting to 3PAR from (pid=19518) client_login /opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_common.py:284
2015-09-03 13:32:26.855 WARNING cinder.volume.drivers.san.hp.hp_3par_common [req-3d16e301-c019-425f-a33d-e708847b794e 4a72870fba294ac1accadf7f036a63c4 f8b09bf608754b348f5612ccbcc190f7] Delete volume id not found. Removing from cinder: e19ee418-9e9e-48c8-a506-2fed50c46ffd Ex: Not found (HTTP 404) 23 - volume does not exist
2015-09-03 13:32:26.856 DEBUG cinder.volume.drivers.san.hp.hp_3par_common [req-3d16e301-c019-425f-a33d-e708847b794e 4a72870fba294ac1accadf7f036a63c4 f8b09bf608754b348f5612ccbcc190f7] Disconnect from 3PAR REST and SSH 34cd0dca-7a4c-4e0d-a37a-84b451385aab from (pid=19518) client_logout /opt/stack/cinder/cinder/volume/drivers/san/hp/hp_3par_common.py:308
2015-09-03 13:32:26.940 DEBUG cinder.quota [req-1c097c50-11f6-4b06-8dba-030a79d188de None None] Created reservations ['03d66096-1d44-42c4-bf98-98ee8e3534b0', '73f74f3d-3266-4123-8cfb-6fa303ab475a'] from (pid=19518) reserve /opt/stack/cinder/cinder/quota.py:803
2015-09-03 13:32:27.043 DEBUG cinder.volume.utils [req-1c097c50-11f6-4b06-8dba-030a79d188de None None] Can not find volume e19ee418-9e9e-48c8-a506-2fed50c46ffd at notify usage from (pid=19518) _usage_from_volume /opt/stack/cinder/cinder/volume/utils.py:85
2015-09-03 13:32:27.094 WARNING cinder.volume.drivers.san

Tags: 3par drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/220358

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/220358
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=18f85a9dc391719fb1becb63ac3b8505e0460c51
Submitter: Jenkins
Branch: master

commit 18f85a9dc391719fb1becb63ac3b8505e0460c51
Author: Walter A. Boring IV <email address hidden>
Date: Thu Sep 3 17:05:44 2015 -0700

    3PAR Add update_migrated_volume to drivers

    The 3PAR drivers were missing the method
    update_migrated_volume, which would then cause
    all sorts of problems after a volume was migrated
    into a 3PAR array.

    Change-Id: Iab9b3ef1812bc7e8249c802f0c699787b0a58af6
    Closes-Bug: 1492023

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-rc1 → 7.0.0
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.