rally does not work with keystone v3

Bug #1582777 reported by Valeriy Ponomaryov
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Critical
Sergey Skripnick

Bug Description

keystone v3 support was broken after merge of [1].

Manila CI jobs use Keystone v3 and they started failing [2] on PS8 of [1] where default domain value was removed.

[1] https://review.openstack.org/#/c/296022/

[2] http://logs.openstack.org/22/296022/8/check/gate-rally-dsvm-manila-multibackend/4ff81e5/logs/devstack-gate-post_test_hook.txt.gz#_2016-04-20_02_21_07_470

description: updated
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Also, looks like all other rally jobs use Keystone v2 in rally-config.

Changed in rally:
status: New → Triaged
importance: Undecided → Critical
Changed in rally:
assignee: nobody → Sergey Skripnick (eyerediskin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

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

Changed in rally:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to rally (master)

Reviewed: https://review.openstack.org/318583
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=ab04b6b9a044c1f105792ba9d237eb5262c90660
Submitter: Jenkins
Branch: master

commit ab04b6b9a044c1f105792ba9d237eb5262c90660
Author: Sergey Skripnick <email address hidden>
Date: Thu May 19 13:27:38 2016 +0200

    Fix creating deployment fron env

    Environment variables OS_PROJECT_DOMAIN_NAME and OS_USER_DOMAIN_NAME
    were ignored.

    Change-Id: Id70964f2cdc3b3da4b4dc4f3f7bf6b2d8ba9fca1
    Related-Bug: #1582777

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (master)

Change abandoned by Sergey Skripnick (<email address hidden>) on branch: master
Review: https://review.openstack.org/318642

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :
Changed in rally:
status: In Progress → Fix Committed
Revision history for this message
LIU Yulong (dragon889) wrote :

Still cannot work:
http://paste.openstack.org/show/520560/
tasks will alway raise a 401 Unauthorized error.

Revision history for this message
LIU Yulong (dragon889) wrote :
Revision history for this message
Andriy Kurilin (andreykurilin) wrote :

@LIU Yulong:

I think you have problem due too this line from log:
> 2016-06-20 15:25:35.274 13635 WARNING rally.plugins.openstack.wrappers.keystone [-] Unable to set member role to created user.

1593231 and 1593229 do not relate to rally framework, they relate to several scenarios which were implemented only for keystone v2

Revision history for this message
LIU Yulong (dragon889) wrote :

@Andrey Kurilin (andreykurilin),
thank you very much for your reply. You are right, my OpenStack env has a default role named 'user', but rally try to create a test user with the 'member' role.
Accoding to the rally code:
https://github.com/openstack/rally/blob/master/rally/plugins/openstack/wrappers/keystone.py#L203
the 'member' role is hard coding. It's better to have a config option for a deployment's default user role. Maybe we could add a new LP bug for this scenario.
My solution for that Unauthorized error is adding a new 'member' role to my env.

Revision history for this message
Andriy Kurilin (andreykurilin) wrote :

@LIU Yulong (dragon889):
yeah, let's create a separate report for your issue. Btw, do you want to help us and propose a fix to upstream?)

Revision history for this message
LIU Yulong (dragon889) wrote :

@Andrey Kurilin (andreykurilin), I've reported a new bug and will do the following work.
https://bugs.launchpad.net/rally/+bug/1595081

Revision history for this message
Andriy Kurilin (andreykurilin) wrote :

Fix was released with 0.5.0 Rally version

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