Zun

Activity log for bug #1747282

Date Who What changed Old value New value Message
2018-02-04 18:46:25 hongbin bug added bug
2018-02-04 18:46:30 hongbin zun: importance Undecided Critical
2018-02-04 18:46:32 hongbin zun: assignee hongbin (hongbin034)
2018-02-04 18:46:37 hongbin zun: status New Triaged
2018-02-04 18:47:04 hongbin description Use 'stable/queens' version python-zunclient with latest version of zun server, the --mount option doesn't work. $ cd /opt/stack/python-zunclient $ git checkout stable/queens $ zun run --mount size=1,destination=/data nginx 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['properties']['mounts']['items']: {'additionalProperties': False, 'oneOf': [{'required': ['source', 'destination']}, {'required': ['size', 'destination']}], 'properties': {'destination': {'type': ['string']}, 'size': {'type': ['string', 'integer']}, 'source': {'type': ['string']}}, 'type': 'object'} On instance['mounts']: {u'destination': u'/data', u'size': u'1', u'source': u''} (HTTP 400) (Request-ID: req-a1cae2e4-4d97-4b34-bb4d-627d7ece376f) Use 'stable/queens' version python-zunclient with latest version of zun server, the --mount option doesn't work.   $ cd /opt/stack/python-zunclient   $ git checkout stable/queens   $ zun run --mount size=1,destination=/data nginx 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['properties']['mounts']['items']:     {'additionalProperties': False,      'oneOf': [{'required': ['source', 'destination']},                {'required': ['size', 'destination']}],      'properties': {'destination': {'type': ['string']},                     'size': {'type': ['string', 'integer']},                     'source': {'type': ['string']}},      'type': 'object'} On instance['mounts']:     {u'destination': u'/data', u'size': u'1', u'source': u''} (HTTP 400) (Request-ID: req-a1cae2e4-4d97-4b34-bb4d-627d7ece376f)
2018-02-04 19:38:14 OpenStack Infra zun: status Triaged In Progress
2018-02-23 20:22:09 hongbin zun: status In Progress Fix Committed