The --mount options didn't work in stable/queens
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Committed
|
Critical
|
hongbin |
Bug Description
Use 'stable/queens' version python-zunclient with latest version of zun server, the --mount option doesn't work.
$ cd /opt/stack/
$ git checkout stable/queens
$ zun run --mount size=1,
ERROR: Invalid input for field '0'.Value: '{u'source': u'', u'destination': u'/data', u'size': u'1'}'. {u'source': u'', u'destination': u'/data', u'size': u'1'} is valid under each of {'required': ['size', 'destination']}, {'required': ['source', 'destination']}
Failed validating 'oneOf' in schema[
{'additiona
'oneOf': [{'required': ['source', 'destination']},
'properties': {'destination': {'type': ['string']},
'type': 'object'}
On instance['mounts']:
{u'
(Request-ID: req-a1cae2e4-
Changed in zun: | |
importance: | Undecided → Critical |
assignee: | nobody → hongbin (hongbin034) |
status: | New → Triaged |
description: | updated |
Changed in zun: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/540678
Review: https:/