Keystone v3 support broken (all clients)

Bug #1555093 reported by Marc Koderer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Marc Koderer

Bug Description

Any action on the neutron client get the following output:

2016-03-09 13:35:34.525 ERROR oslo_messaging.rpc.dispatcher [req-8a3d9fb3-c9ed-419f-85b5-c32dd47efdf2 a54325fc81084979a8ac2e789edcfdfc ee2ef39834204253b12a306ab308bdce] Exception during message handling: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher incoming.message))
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/share/manager.py", line 145, in wrapped
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher return f(self, *args, **kwargs)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/utils.py", line 617, in wrapper
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher return func(self, *args, **kwargs)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/share/manager.py", line 2096, in delete_share_server
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher self.driver.deallocate_network(context, share_server['id'])
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/share/driver.py", line 590, in deallocate_network
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher self.network_api.deallocate_network(context, share_server_id)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/network/neutron/neutron_network_plugin.py", line 125, in deallocate_network
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher self._delete_port(context, port)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/network/neutron/neutron_network_plugin.py", line 150, in _delete_port
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher self.neutron_api.delete_port(port['id'])
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher File "/git/manila/manila/network/neutron/api.py", line 177, in delete_port
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher message=e.message)
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher NetworkException: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
2016-03-09 13:35:34.525 TRACE oslo_messaging.rpc.dispatcher

Marc Koderer (m-koderer)
Changed in manila:
assignee: nobody → Marc Koderer (m-koderer)
milestone: none → mitaka-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
status: New → In Progress
Marc Koderer (m-koderer)
summary: - Keystone v3 support broken (neutron client)
+ Keystone v3 support broken (all clients)
Revision history for this message
Marc Koderer (m-koderer) wrote :

To reproduce set following in localrc:
IDENTITY_API_VERSION=3
ENABLE_IDENTITY_V2=False

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

Reviewed: https://review.openstack.org/290511
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=7fc492ea79ab0dbbc3d50bf477ae2a1586281dda
Submitter: Jenkins
Branch: master

commit 7fc492ea79ab0dbbc3d50bf477ae2a1586281dda
Author: Marc Koderer <email address hidden>
Date: Wed Mar 9 14:51:58 2016 +0100

    Fix keystone v3 issues for all clients

    This fix basically ports nova fix https://review.openstack.org/#/c/136931/
    plus additional bug fixing to Manila. It creates a common class to get
    used for all clients (neutron, nova, cinder).

    Idea is to create an auth session and pass this to the client object
    instead of let the client do that. The auth session will be created by
    a config group which means the configuration for the clients needed to be
    heavily reworked. Patch is also backward compatible with old options but
    flag them as deprecated.

    DocImpact

    Change-Id: Ic211a11308a3295409467efd88bff413482ee58d
    Closes-bug: #1555093

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

This issue was fixed in the openstack/manila 2.0.0 release.

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.