Unauthorized: Unknown auth strategy

Bug #1297309 reported by Armando Migliaccio
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Armando Migliaccio
python-neutronclient
Fix Released
Medium
Armando Migliaccio

Bug Description

I have seen this error occasionally in various (Nova) logs:

2014-03-25 10:42:58.182 31770 TRACE nova.api.openstack raise exceptions.Unauthorized(message=_('Unknown auth strategy'))
2014-03-25 10:42:58.182 31770 TRACE nova.api.openstack Unauthorized: Unknown auth strategy

Full stacktrace can be found with this logstash query:

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiVW5hdXRob3JpemVkOiBVbmtub3duIGF1dGggc3RyYXRlZ3lcIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiODY0MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxMzk1NzU2MzQxNTc3fQ==

As a first step, it would be nice for neutronclient to say what auth strategy it is unable to handle.

Tags: network
no longer affects: neutron
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

Changed in python-neutronclient:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
status: New → In Progress
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

I think this is a duplicate of bug 1282842.

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

Reviewed: https://review.openstack.org/82834
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=54d15e7ec0a0347aa6243cb15502508cb6f1ea29
Submitter: Jenkins
Branch: master

commit 54d15e7ec0a0347aa6243cb15502508cb6f1ea29
Author: armando-migliaccio <email address hidden>
Date: Tue Mar 25 07:19:33 2014 -0700

    Show the unknown auth stratey in neutron client

    This can help unveil some useful information
    to be used during a troubleshooting process.

    Change-Id: I23657988fe31f5c552f17d6963de89c608273b44
    Closes-bug: 1297309

Changed in python-neutronclient:
status: In Progress → Fix Committed
Tracy Jones (tjones-i)
tags: added: network
Revision history for this message
Joe Gordon (jogo) wrote :

Not seeing this in nova logs anymore, all logstash hits are for neutron in last 7 days.

Changed in nova:
status: New → Incomplete
no longer affects: nova
Revision history for this message
Matt Riedemann (mriedem) wrote :

There was a nova fix here too: https://review.openstack.org/#/c/82851/

Changed in nova:
status: New → Fix Committed
assignee: nobody → Armando Migliaccio (armando-migliaccio)
Revision history for this message
Matt Riedemann (mriedem) wrote :

The nova fix is on master (juno) and the neutronclient fix is not in a released neutronclient version yet (not in 2.3.4, the latest).

Is this worth backporting to stable/icehouse for nova? Then that could work with a newer released python-neutronclient whenever that happens?

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/90368

Changed in python-neutronclient:
importance: Undecided → Medium
no longer affects: neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/90368
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f5c3330f79a511dbfa9064482fcccfd19da3dd35
Submitter: Jenkins
Branch: stable/icehouse

commit f5c3330f79a511dbfa9064482fcccfd19da3dd35
Author: armando-migliaccio <email address hidden>
Date: Tue Mar 25 08:43:31 2014 -0700

    Pass configured auth strategy to neutronclient

    When the token is invalid Nova emits a log trace about an
    unknown auth strategy (caused by neutron client). This is a
    red herring and is only masking the fact that the token was
    unable to be validated in the first place.

    Partial-bug: 1297309

    Change-Id: Ia3801f80c7ca18674fcf46b5270aa04f6c8c9331
    (cherry picked from commit fdd689c146713d18eb901d6f3ec986cdd11d13fe)

tags: added: in-stable-icehouse
Alan Pevec (apevec)
tags: removed: in-stable-icehouse
no longer affects: nova/icehouse
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-1
status: Fix Committed → Fix Released
Kyle Mestery (mestery)
Changed in python-neutronclient:
milestone: none → 2.3.5
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 2014.2
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.