share created with CG can not be deleted

Bug #1497215 reported by Valeriy Ponomaryov
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Valeriy Ponomaryov

Bug Description

Steps to reproduce:

1) create cg

2) create share with cg (1)

3) delete share (2)

Expected: successful deletion of the share

$manila delete 1cb74b4b-d2d6-4f77-8d8d-45c6e7678e14
Delete for share cgshare failed: Must provide 'consistency_group_id' as a request parameter when deleting a share in a consistency group. (HTTP 400) (Request-ID: req-9d853f2e-00ea-4432-8c7c-420a9e170cbf)
ERROR: Unable to delete any of the specified shares.

After implementation of CGs manila "delete" API expects param "consistency_group_id" if share belongs to such one.

Now, manilaclient does know nothing about this param and even do not provide possibility to set it for request.

Changed in python-manilaclient:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
milestone: none → liberty-3
importance: Undecided → Critical
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-manilaclient (master)

Fix proposed to branch: master

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Submitter: Jenkins
Branch: master

commit 0bbd2144f701df3408b1435b16611c2ba3c22221
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Sep 18 14:37:27 2015 +0300

    Fix shares CLI for using CGs

    For the moment, share can not be neither created with CG nor deleted
    if belongs to some CG.
    So, add experimental header to 'share create' operation to fix
    the former case and update 'delete share' operation to make it support
    deletion of shares that belongs to CG in general.

    Change-Id: I497a9ab845552fd7e0d66e7352d637c6a86082af
    Closes-Bug: #1496518
    Closes-Bug: #1497215

Changed in python-manilaclient:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-manilaclient 1.4.0

This issue was fixed in the openstack/python-manilaclient 1.4.0 release.

Changed in python-manilaclient:
status: Fix Committed → Fix Released
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.