HP3PAR Manila driver fails to delete snapshot for CIFS share

Bug #1420055 reported by Mark Sturdevant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Mark Sturdevant

Bug Description

Attempting to delete a CIFS share snapshot results in the following error:

2015-02-09 16:43:32.307 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/manila/manila/share/drivers/hp/hp_3par_driver.py", line 227, in delete_snapshot2.307 TRACE oslo.messaging.rpc.dispatcher self.vfs)
2015-02-09 16:43:32.307 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/manila/manila/share/drivers/hp/hp_3par_mediator.py", line 406, in delete_snapshot307 TRACE oslo.messaging.rpc.dispatcher path = share['shareDir'].split('/')
2015-02-09 16:43:32.307 TRACE oslo.messaging.rpc.dispatcher AttributeError: 'list' object has no attribute 'split'

Changed in manila:
assignee: nobody → Mark Sturdevant (mark-sturdevant)
Changed in manila:
status: New → In Progress
Changed in manila:
milestone: none → kilo-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/158932
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=58858ec84ed57ba26e80df3ebbdb1c622489a373
Submitter: Jenkins
Branch: master

commit 58858ec84ed57ba26e80df3ebbdb1c622489a373
Author: Mark Sturdevant <email address hidden>
Date: Tue Feb 24 16:16:47 2015 -0800

    HP 3PAR driver fix for delete snapshot

    Attempting to delete a CIFS snapshot raises an AttributeError
    when attempting to split "shareDir" during dependent share
    checking. The split was made safe for an empty shareDir and
    the path indexing was fixed in the dependent share checking.

    Change-Id: Ieb745df6222817f6c459f62bac3fb66ecc576482
    Closes-Bug: #1420055

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: kilo-3 → 2015.1.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.