Cron Trigger failed to get openstack service authenticaton

Bug #1607788 reported by Bhaskar Duvvuri
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
Shaik Apsar

Bug Description

Cron Authentication is failing for openstack components irrespective of role type (admin/demo).
Looks like this is an effect of change https://review.openstack.org/#/c/330469/5/mistral/utils/openstack/keystone.py

2016-07-29 09:12:00.102 WARNING mistral.actions.openstack.base [-] Traceback (most recent call last):
File "/opt/stack/mistral/mistral/actions/openstack/base.py", line 79, in run
method = self._get_client_method(self._get_client())
File "/opt/stack/mistral/mistral/actions/openstack/actions.py", line 98, in _get_client
glance_endpoint = keystone_utils.get_endpoint_for_project('glance')
File "/opt/stack/mistral/mistral/utils/openstack/keystone.py", line 85, in get_endpoint_for_project
response = client().tokens.get_token_data(token, include_catalog=True)
File "/opt/stack/mistral/mistral/utils/openstack/keystone.py", line 33, in client
auth_url=auth_url
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py", line 231, in init
self.authenticate()
File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 578, in authenticate
resp = self.get_raw_token_from_identity_service(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py", line 317, in get_raw_token_from_identity_service
_('Authorization failed: %s') % e)
AuthorizationFailure: Authorization failed: Cannot authenticate without an auth_url

Changed in mistral:
assignee: nobody → Bhaskar Duvvuri (bhaskar-duvvuri)
Shaik Apsar (sa709c)
Changed in mistral:
assignee: Bhaskar Duvvuri (bhaskar-duvvuri) → Shaik Apsar (sa709c)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

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

Changed in mistral:
status: New → In Progress
Changed in mistral:
milestone: none → newton-3
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/361069
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=9a60c02b776a35306491a7c14d0ffa5a8a3cafb4
Submitter: Jenkins
Branch: master

commit 9a60c02b776a35306491a7c14d0ffa5a8a3cafb4
Author: Shaik Apsar <email address hidden>
Date: Fri Aug 26 06:19:35 2016 -0400

    Fix for 'Cannot authenticate without an auth_url'

    Only Mistral Cron execution failing to get endpoint
    for the OpenStack Services.

    Change-Id: I985a8d21fe48b488eb7e452d31b016e8239a5752
    Closes-Bug: 1607788

Changed in mistral:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 3.0.0.0b3

This issue was fixed in the openstack/mistral 3.0.0.0b3 development milestone.

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.