emc-xchallenge / cinder

http://openstack.org
Apache License 2.0
0 stars 4 forks source link

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

Open BruceShenC opened 8 years ago

BruceShenC commented 8 years ago

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 commented 8 years ago

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.