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

Bug #2075972 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstacksdk
New
Undecided
Unassigned

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 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.