Master TLS job failed while deploying overcloud with Could not find versioned identity endpoints when attempting to authenticate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Cédric Jeanneret |
Bug Description
Master TLS job aka FS039 is failing at overcloud deploy with following error at step 4
2020-02-02 10:33:25 | TASK [tripleo_
2020-02-02 10:33:25 | Sunday 02 February 2020 10:33:23 +0000 (0:00:00.291) 0:37:00.727 *******
2020-02-02 10:33:25 | fatal: [undercloud]: FAILED! => {
2020-02-02 10:33:25 | "changed": false,
2020-02-02 10:33:25 | "rc": 1
2020-02-02 10:33:25 | }
2020-02-02 10:33:25 |
2020-02-02 10:33:25 | MSG:
2020-02-02 10:33:25 |
2020-02-02 10:33:25 | MODULE FAILURE
2020-02-02 10:33:25 | See stdout/stderr for the exact error
2020-02-02 10:33:25 |
2020-02-02 10:33:25 |
2020-02-02 10:33:25 | MODULE_STDERR:
2020-02-02 10:33:25 |
2020-02-02 10:33:25 | No handlers could be found for logger "keystoneauth.
2020-02-02 10:33:25 | Traceback (most recent call last):
2020-02-02 10:33:25 | File "<stdin>", line 114, in <module>
2020-02-02 10:33:25 | File "<stdin>", line 106, in _ansiballz_main
2020-02-02 10:33:25 | File "<stdin>", line 49, in invoke_module
2020-02-02 10:33:25 | File "/tmp/ansible_
2020-02-02 10:33:25 | File "/tmp/ansible_
2020-02-02 10:33:25 | File "/usr/lib/
2020-02-02 10:33:25 | return self.list_
2020-02-02 10:33:25 | File "/usr/lib/
2020-02-02 10:33:25 | data = self._identity_
2020-02-02 10:33:25 | File "/usr/lib/
2020-02-02 10:33:25 | 'identity', min_version=2, max_version=
2020-02-02 10:33:25 | File "/usr/lib/
2020-02-02 10:33:25 | if adapter.
2020-02-02 10:33:25 | File "/usr/lib/
2020-02-02 10:33:25 | return self.session.
2020-02-02 10:33:25 | File "/usr/lib/
2020-02-02 10:33:29 | return auth.get_
2020-02-02 10:33:29 |
2020-02-02 10:33:29 | File "/usr/lib/
2020-02-02 10:33:29 | allow_version_
2020-02-02 10:33:29 | File "/usr/lib/
2020-02-02 10:33:29 | service_catalog = self.get_
2020-02-02 10:33:29 | File "/usr/lib/
2020-02-02 10:33:29 | self.auth_ref = self.get_
2020-02-02 10:33:29 | File "/usr/lib/
2020-02-02 10:33:29 | self._plugin = self._do_
2020-02-02 10:33:29 | File "/usr/lib/
2020-02-02 10:33:29 | 'auth_url is correct. %s' % e)
2020-02-02 10:33:29 | keystoneauth1.
2020-02-02 10:33:29 |
This happens because the undercloud does not have the overcloud ip in its /etc/hosts and the freeIPA does not have a record for it. so the public endpoint in the undercloud will not have the domain name of the overcloud
/etc/hosts entry is generally added during post overcloud deploy.sh script. It needs to be fixed.
Changed in tripleo: | |
assignee: | nobody → Cédric Jeanneret (cjeanner) |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Currently testing a patch that injects the hosts at the beginning of the deploy - it's a modification of the tht/common/ deploy- steps.j2