Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API to delete consistetn group is not consistent with python module and document #12

Open
BruceShenC opened this issue Nov 25, 2015 · 1 comment

Comments

@BruceShenC
Copy link
Collaborator

Description:
REST API is not consistent with python module and document

Project:
OpenStack

Project Area:
OpenStack Cinder

Release:
OpenStack

Severity:
S2

Full Details:
In the code for consistent group to delete:

def delete(self, context, group, force=False):

force with the default value. When create it was option

In the descrition of rest api for consistent group, it was alos optional
"
force (Optional) plain xsd:boolean
"
But when call this REST API, if not set 'force', the response will failed

Support Materials:

@xing-yang
Copy link

This works as designed. If the group is empty, the force flag is not needed. If the group contains volumes, a force flag is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants