Keystone v3 support broken (devstack plugin)

Bug #1553082 reported by Marc Koderer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Critical
Marc Koderer

Bug Description

During devstack setup the following error occurs:

2016-03-04 08:53:40.826 | ++ /opt/stack/manila/devstack/plugin.sh:is_driver_enabled:L276: share_driver=manila.share.drivers.lvm.LVMShareDriver
2016-03-04 08:53:40.826 | ++ /opt/stack/manila/devstack/plugin.sh:is_driver_enabled:L278: '[' manila.share.drivers.lvm.LVMShareDriver == manila.share.drivers.lxd.LXDDriver ']'
2016-03-04 08:53:40.826 | ++ /opt/stack/manila/devstack/plugin.sh:is_driver_enabled:L282: return 1
2016-03-04 08:53:40.827 | ++ /opt/stack/manila/devstack/plugin.sh:create_default_share_type:L448: manila type-create default False
2016-03-04 08:53:49.895 | ERROR: Unauthorized

Error in manila-api service:
2016-03-04 08:53:49.887 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2016-03-04 08:53:49.893 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
2016-03-04 08:53:49.894 WARNING keystonemiddleware.auth_token [-] Authorization failed for token

Steps to reproduce:

in localrc:
IDENTITY_API_VERSION=3
ENABLE_IDENTITY_V2=False

Revision history for this message
Marc Koderer (m-koderer) wrote :

Seems to be releated to the devstack plugin. Can be solved with the following parametes in manila.conf:

[keystone_authtoken]
auth_uri = http://192.168.33.20:5000
project_domain_id = default
project_name = service
user_domain_id = default
password =
username = nova
auth_type = password
signing_dir = /var/cache/manila
admin_password =
admin_user = manila
admin_tenant_name = service
auth_url = http://192.168.33.20:35357

Changed in manila:
assignee: nobody → Marc Koderer (m-koderer)
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

It will require fix of novaclient and cinderclient usage in Generic driver.

Marc Koderer (m-koderer)
tags: added: bugsmash-mitaka
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/289281

Changed in manila:
status: New → In Progress
Revision history for this message
Marc Koderer (m-koderer) wrote : Re: Keystone v3 support broken

@Valeriy: I would say we have to use the same fix as in nova:
https://bugs.launchpad.net/nova/+bug/1424462

Marc Koderer (m-koderer)
summary: - Keystone v3 support broken
+ Keystone v3 support broken (devstack plugin)
Changed in manila:
milestone: none → mitaka-rc1
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit fd449f1b34db95c1bcc2d204aeb6e5604dce927c
Author: Marc Koderer <email address hidden>
Date: Mon Mar 7 12:29:49 2016 +0100

    Fix manila devstack plugin for keystone v3 usage

    A devstack run with a keystone v3 only setup (ENABLE_IDENTITY_V2=False)
    fails currently.

    Partial-bug: #1553082
    Change-Id: Ie8885d2c2f4d82d9894f4ca233153184125c20f2

Revision history for this message
Ben Swartzlander (bswartz) wrote :

Why is this only partially fixed? What's left to be done?

Revision history for this message
Marc Koderer (m-koderer) wrote :

Nothing I will close it.

Changed in manila:
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.