[Bug 1987251] Re: Setting image name does not work in jammy

Lars Erik Pedersen 1987251 at bugs.launchpad.net
Mon Aug 22 08:04:01 UTC 2022


** Description changed:

  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/

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1987251

Title:
  Setting image name does not work in jammy

Status in python-openstackclient package in Ubuntu:
  New

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1987251/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list