Incorrect service auth URL in Octavia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Carlos Goncalves |
Bug Description
Creating a TERMINATED_HTTPS loadbalancer listener is failing with 'Could not retrieve certificate: ['<HATEOAS>'] (HTTP 400) (Request-ID: req-<uuid>)' where <HATEOAS> is the secret URL and <uuid> is the uuid of the request.
The issue with creating a TERMINATED_HTTPS listener is that the auth_url in the [service_auth] section of octavia.conf is being configured by tripleo to use KeystonePublic as the endpoint and not KeystoneV3Public. Hand-editing octavia.conf and adding "/v3" to the auth_url, restarting the service, and running through the 'steps to reproduce' results in a successful loadbalancer listener creation.
2019-03-27 19:34:03.042 1 DEBUG octavia.
2019-03-27 19:34:03.747 1 DEBUG barbicanclient.
2019-03-27 19:34:03.809 1 DEBUG barbicanclient.
2019-03-27 19:34:04.106 1 DEBUG wsme.api [req-3d3432a4-
In an attempt to get a more meaningful error message, file /usr/lib/
2019-03-28 04:44:31.080 1 ERROR root [req-286cec81-
2019-03-28 04:44:31.080 1 ERROR root Traceback (most recent call last):
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root response = self._api.
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return super(_HTTPClient, self).get(*args, **kwargs).json()
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return self.request(url, 'GET', **kwargs)
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root resp = super(_HTTPClient, self).request(
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return self.session.
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root auth_headers = self.get_
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return auth.get_
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root token = self.get_
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return self.get_
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root self.auth_ref = self.get_
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return self._plugin.
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root authenticated=
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root return self.request(url, 'POST', **kwargs)
2019-03-28 04:44:31.080 1 ERROR root File "/usr/lib/
2019-03-28 04:44:31.080 1 ERROR root raise exceptions.
2019-03-28 04:44:31.080 1 ERROR root NotFound: (http://
2019-03-28 04:44:31.080 1 ERROR root
2019-03-28 04:44:31.152 1 DEBUG barbicanclient.
2019-03-28 04:44:31.162 1 DEBUG wsme.api [req-286cec81-
Original report: https:/
Changed in tripleo: | |
importance: | Undecided → Medium |
milestone: | none → train-1 |
Fix proposed to branch: master /review. openstack. org/652603
Review: https:/