management_url raises EndpointNotFound for non-admin

Bug #1074784 reported by gadLinux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
High
Joe Breu

Bug Description

Hello,

something stopped working in my installation. I started to see:

un Nov 04 00:36:24 2012] [error] unable to retrieve service catalog with token
[Sun Nov 04 00:36:24 2012] [error] Traceback (most recent call last):
[Sun Nov 04 00:36:24 2012] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 132, in _extract_service_catalog
[Sun Nov 04 00:36:24 2012] [error] endpoint_type='adminURL')
[Sun Nov 04 00:36:24 2012] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line 62, in url_for
[Sun Nov 04 00:36:24 2012] [error] raise exceptions.EndpointNotFound('Endpoint not found.')
[Sun Nov 04 00:36:24 2012] [error] EndpointNotFound: Endpoint not found.
[Sun Nov 04 01:36:25 2012] [notice] child pid 11473 exit signal Segmentation fault (11)

In the apache log when logging. Server crashed. I googled it and found that some services may not be working...

So I did:

# keystone endpoint-list
Violación de segmento

This is segment fault.

dmesg shows:

[ 7803.567720] keystone[11543]: segfault at 0 ip (null) sp bfde3a2c error 4 in python2.7[8048000+212000]
[ 8007.187619] keystone[11683]: segfault at 0 ip (null) sp bfd2bc2c error 4 in python2.7[8048000+212000]

lots of times..

Keystone log is empty. Even in level DEBUG shows nothing interesting...

Revision history for this message
gadLinux (gad-aguilardelgado) wrote :

I have to say that I restarted the machine, and everything worked again... What's strange...

Revision history for this message
Dolph Mathews (dolph) wrote :

The client is attempting to find a management url, and raising an exception when the user lacks sufficient privileges to see the management URL (or an identity management url is otherwise not provided with a service catalog).

affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
status: New → Confirmed
importance: Undecided → High
Dolph Mathews (dolph)
Changed in python-keystoneclient:
assignee: nobody → Joseph W. Breu (breu)
summary: - keystone endpoint-list =>>> Segment fault
+ management_url raises EndpointNotFound for non-admin
Changed in python-keystoneclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/15410
Committed: http://github.com/openstack/python-keystoneclient/commit/5416fec7d9af847fecf6e0a16f3a4a00e9161127
Submitter: Jenkins
Branch: master

commit 5416fec7d9af847fecf6e0a16f3a4a00e9161127
Author: Joseph W. Breu <email address hidden>
Date: Mon Nov 5 10:12:49 2012 -0600

    Fix keystoneclient so swift works against Rackspace Cloud Files

    Fixes bug 1074784
    https://bugs.launchpad.net/python-keystoneclient/+bug/1074784

    RAX auth doesn't return a service catalog with an identity endpoint
    that contains an auth URL. This causes swift client to log an
    error of "Authorization Failure. Authorization Failed: Endpoint not
    found."

    Change-Id: I26174a664029617f097dc35c57ef30b34cd2fb61

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.2.0
status: Fix Committed → 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.