TypeError in openstack server event list

Bug #2138489 reported by Johannes Beisiegel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

The server event list command crashes with a TypeError because the client passes the changes_since keyword to a Proxy method that does not accept it. This is a regression introduced in python-openstackclient 6.3.0 when the code was refactored.

First broken: 6.3.0 Current: 8.3.0 Last working: 6.2.1 SDK version: 4.8.0

In version 6.2.1, the client called the SDK manager directly: compute_client.instance_action.list(server_id, **kwargs)

In 6.3.0 and later, it was changed to call the Proxy method: compute_client.server_actions(server_id, **kwargs)

The openstacksdk Proxy method signature is currently: def server_actions(self, server):

It is missing **query or **kwargs to handle the dictionary being passed by the CLI.

Example command: openstack server event list --changes-since 2026-01-15 <uuid>

Error Traceback: File "openstackclient/compute/v2/server_event.py", line 212, in take_action data = compute_client.server_actions(server_id, **kwargs) TypeError: Proxy.server_actions() got an unexpected keyword argument 'changes_since'

description: updated
Revision history for this message
Johannes Beisiegel (jonnybe) wrote :
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.