The --mount options didn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Committed
|
Critical
|
hongbin |
Bug Description
Use the latest version of python-zunclient and zun server, Cannot use the --mount option to create container with volumes. The commands below break:
$ zun run --mount size=1,
ERROR: Invalid mounts argument 'destination=
$ zun run --mount type=cinder,
ERROR: Invalid input for field '0'.Value: '{u'source': u'', u'destination': u'/data', u'type': u'cinder', u'size': u'1'}'. Additional properties are not allowed (u'type' was unexpected)
Failed validating 'additionalProp
{'additiona
'oneOf': [{'required': ['source', 'destination']},
'properties': {'destination': {'type': ['string']},
'type': 'object'}
On instance['mounts']:
{u'
u'size': u'1',
u'source': u'',
u'type': u'cinder'} (HTTP 400) (Request-ID: req-ff8e4523-
Changed in zun: | |
assignee: | nobody → hongbin (hongbin034) |
importance: | Undecided → Critical |
status: | New → Triaged |
Fixed in: https:/ /review. openstack. org/#/c/ 540678/