microversion sould be set per api call not per service

Bug #2097373 reported by sean mooney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Triaged
Medium
Unassigned

Bug Description

Today when watcher creates a service client ie nova,https://github.com/openstack/watcher/blob/d56e8ee65a0c84dfc1228ce3d254a7531e9c750b/watcher/common/clients.py#L117-L131 it is
configuring one microverion to be used in the client. instance.

this client is reused for all calls to that service and there is no support for using different API microversoin per call.

this entirlay defates the purpose of how microversion are intended to work.

they exist to opt into specific behavior on each API call.

there is no single value that can be set for any given release to get the desired behaviour for
all rest calls so this is a design bug.

the min micorversion (or default version) is not something that should be configurable by an operator when deploying OpenStack it should be documented and configured in code.

Tags: api client
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.