Fails to set the image name attribute when localtions.metatdata is an empty dict
Bug #1943492 reported by
Adam Dyess
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
glance running 2:18.0.1-0ubuntu1 (bionic-stein)
stack-trace: https:/
When setting the name attribute from the openstack CLI encounters a stack trace.
$ openstack image set --name 'my-custom-name' 'c61f99fc-
HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.
Tracked it down to here:
https:/
I believe if the same patch is applied as on
https:/
this could be a potential work-around, but i'm not familiar with this code
To post a comment you must log in.
Looks to me this method was re-architected here: /github. com/openstack/ glance/ commit/ cb45edf5c81f7d0 9c9ef0b88d40d56 b4750beb10# diff-a3da48c891 6a4132e7104e204 f7fd486476af70d 0c87ba46b05acb9 9061cf201
https:/
Then this bug fixed LP#1838332 addresses a similar issue, with the re-architecture -- but not this issue. /opendev. org/openstack/ glance/ commit/ a027cc453a93c4e 64ad81d208b9a6f e755fe8c02
Commit for LP#1838332: https:/