Attr "is_public" can not be set for share using API "manage"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Wishlist
|
NidhiMittalHada |
Bug Description
Existing API "manage" allows us to manage existing share, and we can provide following attrs:
$ manila help manage
usage: manila manage [--name <name>] [--description <description>]
Manage share not handled by Manila.
Positional arguments:
<service_host> manage-share service host: some.host@
<protocol> Protocol of the share to manage, such as NFS or CIFS.
<export_path> Share export path.
Optional arguments:
--name <name> Optional share name. (Default=None)
--description <description>
--share_type <share_type>, --share-type <share_type>
--driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]
But we can not set explicitly its visibility (key '--public') that we can do using API "create".
$ manila help create
...
Positional arguments:
...
Optional arguments:
...
--public Level of visibility for share. Defines whether other
tags: | added: api manage |
Changed in manila: | |
importance: | Undecided → Low |
Changed in manila: | |
assignee: | nobody → NidhiMittalHada (nidhimittal19) |
Changed in manila: | |
status: | New → In Progress |
Changed in manila: | |
status: | In Progress → Fix Committed |
Workaround for this bug: do "manila update" after "manila manage"