nova boot api raises ValueError when incorrect formatted metadata is passed
Bug #1668549 reported by
Dinesh Bhor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Medium
|
Dinesh Bhor | ||
Ocata |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
If you pass incorrect formatted metadata to the 'boot', 'rebuild' and 'image-create'
apis returns following error:
ERROR (ValueError): dictionary update sequence element #0 has length 1; 2 is required
The above error message is not user friendly. It doesn't give proper information to user to change the input accordingly.
Command:
nova boot --image <image-id> --flavor 1 --meta HA_Enabled,qad <instance_name>
Output:
ERROR (ValueError): dictionary update sequence element #0 has length 1; 2 is required
The metdata(--meta) should be in key=value pair.
The same issue is there for 'image-create' and 'rebuild' apis.
description: | updated |
Changed in python-novaclient: | |
assignee: | nobody → Dinesh Bhor (dinesh-bhor) |
description: | updated |
Changed in python-novaclient: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/441750
Review: https:/