Nova and Neutron client factories can return incorrect clients on second call

Bug #1543269 reported by Adam Harwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
Invalid
High
Unassigned

Bug Description

Example of the nova client cacheing and ignoring any passed args:

https://github.com/openstack/octavia/blob/240931610f9ddf97b5b141436273eda75fb4ddb2/octavia/common/clients.py#L39

If the first call to this class is a public client and the next is for an admin client, both will be public clients, causing the admin operations to fail (or the opposite).

Discussion can be found here: https://review.openstack.org/#/c/271476/8/octavia/tests/unit/common/test_clients.py

Tags: auto-abandon
description: updated
tags: added: lbaas
Revision history for this message
Martin Hickey (martin-hickey) wrote :

Hi Adam.

I can see from the description that this is a bug found during code review of the https://review.openstack.org/#/c/271476/ patch. Do you intend to work on the fix?

Thanks,
Martin

Revision history for this message
Adam Harwell (adam-harwell) wrote :

We're still discussing the way we want to go about fixing this -- it may or may not end up being assigned to me.

Changed in octavia:
importance: Undecided → High
tags: removed: lbaas
tags: added: target-mitaka
tags: removed: target-mitaka
tags: added: osic
tags: removed: osic
Revision history for this message
Gregory Thiemonge (gthiemonge) wrote : auto-abandon-script

Abandoned after re-enabling the Octavia launchpad.

Changed in octavia:
status: New → Invalid
tags: added: auto-abandon
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.