Bug 1439898

Summary: Auth token information missing from requests with no args Edit
Product: Red Hat OpenStack Reporter: Brent Eagles <beagles>
Component: openstack-neutron-lbaasAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Alexander Stafeyev <astafeye>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: amuller, apevec, beagles, ihrachys, lhh, lpeer, majopela, nyechiel, oblaut, slinaber
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-lbaas-10.0.0-8.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1542065 (view as bug list) Environment:
Last Closed: 2017-05-17 20:18:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1378993, 1542065    

Description Brent Eagles 2017-04-06 19:25:07 UTC
Copied from u/s launchpad https://bugs.launchpad.net/octavia/+bug/1680575

 
The fix for https://bugs.launchpad.net/neutron/+bug/1531640 nested the code for adding authentication token to the request headers in such a way that it would not get added if there were no args to the request. This caused GET and DELETE requests to fail when keystone authentication is configured, manifesting in a range of problems such as the inability to delete load balancers and for creation to never complete.

Comment 4 Alexander Stafeyev 2017-05-10 04:52:35 UTC
Hi Brent, 
What are the reproduction steps pls ? 

tnx

Comment 5 Nir Magnezi 2017-05-13 21:00:54 UTC
(In reply to Alexander Stafeyev from comment #4)
> Hi Brent, 
> What are the reproduction steps pls ? 
> 
> tnx

@Alex,

Verification here could ba a successful creation and deletion of a loadbalancer in Octavia.

Without Brent's fix, Octavia would not be able to properly use Keystone authentication.

Comment 6 Alexander Stafeyev 2017-05-14 05:55:36 UTC
https://review.openstack.org/#/c/264382/ - Merged
+
I created LB successfully.

Comment 7 Assaf Muller 2017-05-17 17:00:13 UTC
Reported and fixed on internal builds without an external release, marking doctext as not necessary.

Comment 8 errata-xmlrpc 2017-05-17 20:18:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1245