--version parameter in package-import command doesn't work

Bug #1536121 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
Medium
zhurong
Liberty
Won't Fix
Medium
Unassigned
Mitaka
Fix Released
Medium
zhurong

Bug Description

Steps to reproduce:
root@node-1:~# murano package-import
usage: murano package-import [-c [<CATEGORY> [<CATEGORY> ...]]] [--is-public]
                             [--version VERSION] [--exists-action {a,s,u}]
                             <FILE> [<FILE> ...]
murano package-import: error: too few arguments
root@node-1:~# murano package-import --version 1 io.murano.apps.SomeApp
0.7.1
root@node-1:~# murano package-import io.murano.apps.SomeApp --version 1
0.7.1

Observed result:
It always shows version of python-muranoclient

Changed in python-muranoclient:
importance: Undecided → Medium
Changed in python-muranoclient:
status: New → Confirmed
milestone: none → 0.8.2
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

the command actually works if you use --version=1.2.3

However I suggest we rename the parameter

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

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

Changed in python-muranoclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (master)

Reviewed: https://review.openstack.org/280085
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=f4c9015fc0a6a981e1f8ab2696092beff0555830
Submitter: Jenkins
Branch: master

commit f4c9015fc0a6a981e1f8ab2696092beff0555830
Author: zhurong <email address hidden>
Date: Mon Feb 15 07:24:09 2016 +0000

    Rename the package-import version parameter

    Now use murano package-import with version parameter,
    It always shows version of client.

    So rename the parameter 'version' to 'package-version'

    Change-Id: Idcf6d83bf608acc8429baebd4e657c5e16a06e35
    Closes-bug: #1536121

Changed in python-muranoclient:
status: In Progress → Fix Released
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.