--meta key=value cannot accept '=' in value

Bug #934515 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Wishlist
Scott Moser
python-novaclient (Ubuntu)
Fix Released
Medium
Scott Moser

Bug Description

$ nova boot --image=$img_id --flavor=1 --meta=a=b=c myname
ERROR: dictionary update sequence element #0 has length 3; 2 is required

Simple fix is in novaclient/v1_1/shell.py '_boot' to do:
- meta = dict(v.split('=') for v in args.meta)
+ meta = dict(v.split('=',1) for v in args.meta)

Changed in python-novaclient (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

should be in 2012.1~rc1~20120310.525-0ubuntu1

Changed in python-novaclient (Ubuntu):
assignee: nobody → Scott Moser (smoser)
status: New → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

fix-commited. based on https://review.openstack.org/#change,4285 .
maybe it should be fix-released? definiteliy after essex release it should be.

Changed in python-novaclient:
assignee: nobody → Scott Moser (smoser)
status: New → Fix Committed
iopenstack (drdanhe)
Changed in python-novaclient:
importance: Undecided → Wishlist
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.