Setting image name does not work in jammy

Bug #1987251 reported by Lars Erik Pedersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

In python-openstackclient 5.8.0, which currently is the default version in the jammy-repos, "openstack image set --name 'new name' <id>" simply does not work. From the glance-api logs, I see that the client sends two GET request, but the PATCH request that is supposed to change the image name, is never being sent. If I add more parameteres to the set command, i.e --min-disk along with --name; the --min-disk property is changed, but the image name remains untouched.

Running Ubuntu 22.04:
ii python3-openstackclient 5.8.0-0ubuntu1
ii python3-openstacksdk 0.61.0-0ubuntu1
ii python3-glanceclient 1:3.6.0-0ubuntu1

Also note that it works as expected if I run "glance image-update --name 'new-name' <id>".

This occurs both when running against a Wallaby and a Xena installation server side.

Debug log: https://paste.opendev.org/show/bDIftUVcptPG4U0BUcof/

description: updated
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.