[Bug 2075972] Re: server unshelve to specific host does not work as proxy layer missing the arg

Felipe Alencastro 2075972 at bugs.launchpad.net
Wed Oct 22 15:51:16 UTC 2025


** Also affects: python-openstacksdk (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  server unshelve to specific host does not work as proxy layer missing
  the arg

Status in openstacksdk:
  Fix Released
Status in python-openstacksdk package in Ubuntu:
  New

Bug description:
  openstack server unshelve --host <target> <vm>

  
  Proxy.unshelve_server() got an unexpected keyword argument 'host'
  Traceback (most recent call last):
    File "/opt/stack/data/venv/lib/python3.10/site-packages/cliff/app.py", line 431, in run_subcommand
      result = cmd.run(parsed_args)
    File "/opt/stack/data/venv/lib/python3.10/site-packages/osc_lib/command/command.py", line 38, in run
      return super(Command, self).run(parsed_args)
    File "/opt/stack/data/venv/lib/python3.10/site-packages/cliff/command.py", line 177, in run
      return_code = self.take_action(parsed_args) or 0
    File "/opt/stack/python-openstackclient/openstackclient/compute/v2/server.py", line 5231, in take_action
      compute_client.unshelve_server(server_obj.id, **kwargs)
  TypeError: Proxy.unshelve_server() got an unexpected keyword argument 'host'
  clean_up UnshelveServer: Proxy.unshelve_server() got an unexpected keyword argument 'host'
  END return value: 1

  
  https://github.com/openstack/openstacksdk/blob/febcdd13b8121917477daca04ea35254ef9b0c0a/openstack/compute/v2/_proxy.py#L1186

  https://github.com/openstack/openstacksdk/blob/febcdd13b8121917477daca04ea35254ef9b0c0a/openstack/compute/v2/server.py#L817

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstacksdk/+bug/2075972/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list