In quickstart we've got a get-overcloud-nodes.py script that gets a nova client but it is not properly doing v3 authentication. This is similar to what we needed to do for Bug 1723171 (see https://review.openstack.org/#/c/512219/)
https://github.com/openstack/tripleo-quickstart/blob/master/roles/tripleo-inventory/templates/get-overcloud-nodes.py.j2#L23-L36
https://review.rdoproject.org/jenkins/job/periodic-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001-master/225/console
17:57:58 fatal: [undercloud]: FAILED! => {"changed": true, "cmd": "source /home/jenkins/stackrc; python /home/jenkins/get-overcloud-nodes.py", "delta": "0:00:00.947372", "end": "2017-10-16 17:57:58.432523", "failed": true, "rc": 1, "start": "2017-10-16 17:57:57.485151", "stderr": "Traceback (most recent call last):\n File \"/home/jenkins/get-overcloud-nodes.py\", line 39, in <module>\n for server in nova.servers.list()\n File \"/usr/lib/python2.7/site-packages/novaclient/v2/servers.py\", line 884, in list\n \"servers\")\n File \"/usr/lib/python2.7/site-packages/novaclient/base.py\", line 254, in _list\n resp, body = self.api.client.get(url)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py\", line 304, in get\n return self.request(url, 'GET', **kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/client.py\", line 77, in request\n **kwargs)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py\", line 463, in request\n resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py\", line 189, in request\n return self.session.request(url, method, **kwargs)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/session.py\", line 573, in request\n auth_headers = self.get_auth_headers(auth)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/session.py\", line 900, in get_auth_headers\n return auth.get_headers(self, **kwargs)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py\", line 90, in get_headers\n token = self.get_token(session)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py\", line 89, in get_token\n return self.get_access(session).auth_token\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py\", line 135, in get_access\n self.auth_ref = self.get_auth_ref(session)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py\", line 198, in get_auth_ref\n return self._plugin.get_auth_ref(session, **kwargs)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/identity/v2.py\", line 63, in get_auth_ref\n authenticated=False, log=False)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/session.py\", line 848, in post\n return self.request(url, 'POST', **kwargs)\n File \"/usr/lib/python2.7/site-packages/keystoneauth1/session.py\", line 737, in request\n raise exceptions.from_response(resp, method, url)\nkeystoneauth1.exceptions.http.NotFound: (https://192.168.24.2:13000/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-231ca97d-39f8-4127-acb2-45407ba277ae)", "stdout": "", "stdout_lines": [], "warnings": []
Fix proposed to branch: master /review. openstack. org/512379
Review: https:/