images.update() fails when image contains multiple tags
Bug #1306774 reported by
Julien Vey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
High
|
Steve Lewis |
Bug Description
When updating an image which contains multiple tags, glanceclient create the following request body for the PATCH method
'[{"path": "/tags/0", "value": "tag1", "op": "replace"},
{"path": "/tags/1", "value": "tag2", "op": "add"},
{"path": "/tags/2", "value": "tag3", "op": "add"}'),
This results in a 400 Bad Request "Invalid JSON pointer for this resource: '/tags/0'"
According to http://
[{"path": "/tags", "value": ["tag1", "tag2", "tag3"], "op": "replace"}]'
Changed in python-glanceclient: | |
assignee: | nobody → Julien Vey (vey-julien) |
description: | updated |
description: | updated |
Changed in python-glanceclient: | |
assignee: | Julien Vey (vey-julien) → Steve Lewis (steve-lewis) |
Changed in python-glanceclient: | |
importance: | Undecided → High |
milestone: | none → v0.17.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/87050
Review: https:/