nova client reports --ephemeral wrong usage poorly

Bug #1433200 reported by jichenjc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Low
Ramaraja

Bug Description

Juno version ,got following error indication , should report better error message

[root@ip9-114-194-88 ~]# nova boot --image 67e9f04f-b5f1-4b9e-9b48-c28a310ad44b --nic net-id=2e798297-c8e8-48e4-b361-1ecdab69c851 --flavor 99 --ephemeral 4 --ephemeral 3 ji6
ERROR (ValueError): dictionary update sequence element #0 has length 1; 2 is required

jichenjc (jichenjc)
affects: nova → python-novaclient
Ramaraja (ramaraja-r)
Changed in python-novaclient:
assignee: nobody → Ramaraja (ramaraja-r)
melanie witt (melwitt)
summary: - nova clinet report --ephemeral wrong usage correctly
+ nova client reports --ephemeral wrong usage poorly
Changed in python-novaclient:
importance: Undecided → Low
status: New → Confirmed
Ramaraja (ramaraja-r)
Changed in python-novaclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Ramaraja (ramaraja-r)
Changed in python-novaclient:
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Ramaraja (ramaraja-r)
Changed in python-novaclient:
status: In Progress → Fix Committed
Revision history for this message
melanie witt (melwitt) wrote :

Hi, please don't set Fix Committed without including a link to the review which has been merged. Fix Committed means a fix has been merged, and usually this is done automatically by the OpenStack Infra bot.

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

Reviewed: https://review.openstack.org/169639
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=2761606fbf9c73860aa665c8af3a55bff48ce6b6
Submitter: Jenkins
Branch: master

commit 2761606fbf9c73860aa665c8af3a55bff48ce6b6
Author: Ramaraja Ramachandran <email address hidden>
Date: Wed Apr 1 11:31:46 2015 +0530

    Report better error message --ephemeral poor usage

    The eph_dict expects the format size=value.Catch valueError and return
    proper error text

    Change-Id: I99ef7efe7dc14aa346913009e244ad4eea0369a9
    Closes-bug: #1433200

Changed in python-novaclient:
status: In Progress → Fix Committed
Matt Riedemann (mriedem)
Changed in python-novaclient:
milestone: none → 2.25.0
Matt Riedemann (mriedem)
Changed in python-novaclient:
status: Fix Committed → 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.