share groups api does not support AZs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
New
|
Undecided
|
Unassigned |
Bug Description
API for share groups does not support setting "availability zone". Also, DB model does not have appropriate field. BUT, its support stated in spec [1] and supported by client:
$ manila help share-group-create
usage: manila share-group-create [--name <name>] [--description <description>]
Creates a new share group (Experimental).
Optional arguments:
--name <name> Optional share group name. (Default=None)
--description <description>
--share-types <share_types>, --share_types <share_types>
--share-
--share-network <share_network>, --share_network <share_network>
--source-
--availabilit
And attempt to create share group with AZ returns error code 400 and following message:
$ manila -d share-group-create --name az1 --availability-zone nova
...
REQ: curl -i -X POST http://
RESP: [400] {'Content-Length': '95', 'X-Compute-
RESP BODY: {"badRequest": {"message": "The fields set([u'
...
description: | updated |
description: | updated |