extra specs can not be set to share type if required spec is not provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Valeriy Ponomaryov |
Bug Description
Manila share types have one required extra spec - "driver_
obligated to provide it.
Here is how it looks like:
$ manila --debug type-key somesharetype set k=v
...
REQ: curl -i -X POST http://
RESP: [400] {'date': 'Tue, 24 Mar 2015 12:01:07 GMT', 'connection': 'keep-alive', 'content-type': 'application/json; charset=UTF-8', 'content-length': '131', 'x-compute-
RESP BODY: {"badRequest": {"message": "Invalid extra_spec: Required extra specs 'driver_
DEBUG (shell:507) Invalid extra_spec: Required extra specs 'driver_
Traceback (most recent call last):
File "/opt/stack/
map(
File "/opt/stack/
args.
File "/opt/stack/
stype.
File "/opt/stack/
return_
File "/opt/stack/
resp, body = self.api.
File "/opt/stack/
return self._cs_
File "/opt/stack/
**kwargs)
File "/opt/stack/
raise exceptions.
BadRequest: Invalid extra_spec: Required extra specs 'driver_
ERROR: Invalid extra_spec: Required extra specs 'driver_
Changed in manila: | |
importance: | Undecided → High |
assignee: | nobody → Valeriy Ponomaryov (vponomaryov) |
milestone: | none → kilo-rc1 |
status: | New → In Progress |
description: | updated |
tags: | added: api |
Changed in manila: | |
status: | Fix Committed → Fix Released |
Changed in manila: | |
milestone: | kilo-rc1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/167251
Review: https:/