Comment 0 for bug 1987251

Revision history for this message
Lars Erik Pedersen (pedersen-larserik) wrote :

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.