bootstrap.py failing with keystone authentication error

Bug #1777589 reported by venkata anil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-browbeat
Fix Released
Undecided
venkata anil

Bug Description

"./bootstrap.py -d tripleo" in undercloud node(deployed with tripleo quickstart) failing with below trace

Traceback (most recent call last):
  File "./bootstrap.py", line 61, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./bootstrap.py", line 58, in main
    installer_types[cliargs.installer]().bootstrap(working_dir, cliargs)
  File "/home/stack/browbeat/ansible/bootstrap/tripleo.py", line 93, in bootstrap
    servers = [server for server in conn.compute.servers()]
  File "/usr/lib/python2.7/site-packages/openstack/resource.py", line 899, in list
    params=query_params.copy())
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 312, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/openstack/_adapter.py", line 145, in request
    **kwargs)
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 138, in submit_function
    return self.submit_task(task)
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 127, in submit_task
    return self.run_task(task=task)
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 159, in run_task
    return self._run_task(task)
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 179, in _run_task
    return task.wait()
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 81, in wait
    self._traceback)
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 89, in run
    self.done(self.main())
  File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 61, in main
    return self._main(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 193, in request
    return self.session.request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 649, in request
    auth_headers = self.get_auth_headers(auth)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1003, in get_auth_headers
    return auth.get_headers(self, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py", line 95, in get_headers
    token = self.get_token(session)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 88, in get_token
    return self.get_access(session).auth_token
  File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access
    self.auth_ref = self.get_auth_ref(session)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref
    return self._plugin.get_auth_ref(session, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v2.py", line 63, in get_auth_ref
    authenticated=False, log=False)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 948, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 833, in request
    raise exceptions.from_response(resp, method, url)
keystoneauth1.exceptions.http.NotFound: (http://192.168.24.1:5000/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-c0c230e8-b23b-47f2-b482-8dceac3816ff)

Changed in openstack-browbeat:
assignee: nobody → venkata anil (anil-venkata)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to browbeat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/576427

Changed in openstack-browbeat:
status: New → In Progress
Revision history for this message
venkata anil (anil-venkata) wrote :

Below warning message is seen in keystone log

2018-06-19 07:22:29.375 2533 INFO keystone.common.wsgi [req-8eedd85c-2f6c-472c-a451-690ff797c1eb - - - - -] POST http://192.168.24.1:5000/v3/auth/tokens
2018-06-19 07:22:29.377 2533 WARNING keystone.common.wsgi [req-8eedd85c-2f6c-472c-a451-690ff797c1eb - - - - -] Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.: ValidationError: Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to browbeat (master)

Reviewed: https://review.openstack.org/576427
Committed: https://git.openstack.org/cgit/openstack/browbeat/commit/?id=fdb793275bef50c80ae2761c9cc141ef436d3480
Submitter: Zuul
Branch: master

commit fdb793275bef50c80ae2761c9cc141ef436d3480
Author: venkata anil <email address hidden>
Date: Tue Jun 19 08:41:00 2018 +0000

    Add user and project domain name to keystone auth

    Browbeat installation in undercloud node (where both overcloud and
    undercloud deployed with tripleo quickstart) using
    "./bootstrap.py tripleo" command failing with keystone authentication
    errors. Errors in Keystone log shows it is expecting user and project
    domain as parameters. After passing these paramters, bootstrap.py is
    succesful.

    Closes-bug: #1777589
    Change-Id: If04ae6180f98273503a40d2a4e1a932e610ee458

Changed in openstack-browbeat:
status: In Progress → Fix Released
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.