Wrong error message

Bug #1813516 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-zunclient
Fix Released
Undecided
hongbin

Bug Description

See below:

  $ zun run --mount type=cinder,size=1,destination=/data nginx
  ERROR: Invalid mounts argument 'destination=/data'. mounts arguments must be of the form --mount source=<volume>,destination=<path>, or use --mount size=<size>,destination=<path> to create a new volume and mount to the container, or use --mount type=bind,source=<file>,destination=<path> to inject file into a path in the container,

The error message said the invalid mounts argument is 'destination=/data', but it is not true. The invalid argument should be 'type=cinder'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zunclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/633430

Changed in python-zunclient:
assignee: nobody → hongbin (hongbin034)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-zunclient (master)

Reviewed: https://review.openstack.org/633430
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=56d7bf2c841204057c0a8c6410b16ff5e186c5e8
Submitter: Zuul
Branch: master

commit 56d7bf2c841204057c0a8c6410b16ff5e186c5e8
Author: Hongbin Lu <email address hidden>
Date: Mon Jan 28 03:38:25 2019 +0000

    Fix error message on mounts argument

    Change-Id: I17e9a03e08a798ed0dc0b9f773dfe6a8db7e5ebf
    Closes-Bug: #1813516

Changed in python-zunclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-zunclient 3.3.0

This issue was fixed in the openstack/python-zunclient 3.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.