client fails to handle multiple labels with multiple values

Bug #1723040 reported by Ricardo Rocha on 2017-10-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
M V P Nitesh

Bug Description

An example creating a template with --labels passed multiple times, and once with multiple key/value pairs:

# openstack coe cluster template create --name test00 --coe kubernetes --image 55e22657-74e5-46d9-ba28-47980986b42c --external-network CERN_NETWORK --master-flavor m2.medium --flavor m2.medium --labels kube_dashboard_enabled=false --labels flannel_backend=vxlan,kube_tag=v1.8.0
Request to create cluster template test00 accepted
| labels | {u'flannel_backend': u'vxlan,kube_tag=v1.8.0', u'kube_dashboard_enabled': u'false'} |

The issue is with the magnumclient.common.utils.format_labels.

no longer affects: magnum
M V P Nitesh (m-nitesh) on 2017-10-15
Changed in python-magnumclient:
assignee: nobody → M V P Nitesh (m-nitesh)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers