admin_client.py: Assign and Remove role to user points to a different URI

Bug #1031639 reported by Rajalakshmi Ganesan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Rajalakshmi Ganesan

Bug Description

Description:

The URI's in the methods "assign_user_role" and "remove_user_role" are different from that that appear when same action is done using "Kaystone Client".

Changing this URI would result in resolving Bug #999219 and Bug #1022990

Hence 3 Test cases would PASS that are SKIPPED now.

Existing URI:
1. assign role to user on tenant:
'users/%s/roleRefs' % user_id, post_body, self.headers

2. remove role from user
'users/%s/roleRefs/%s' % (user_id, role_id)

New URI:
1. assign role to user on tenant:
'/tenants/%s/users/%s/roles/OS-KSADM/%s'
                                % (tenant_id, user_id, role_id), post_body,
                                   self.headers

2. remove role from user
('/tenants/%s/users/%s/roles/OS-KSADM/%s'
               % (tenant_id, user_id, role_id))

summary: - admin_clinet.py: Assign and Remove role to user points to a different
+ admin_client.py: Assign and Remove role to user points to a different
URI
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
assignee: nobody → Rajalakshmi Ganesan (rajalakshmi-ganesan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/10641
Committed: http://github.com/openstack/tempest/commit/8ba945eade2230c050039af3b80e1bc95ec7b29a
Submitter: Jenkins
Branch: master

commit 8ba945eade2230c050039af3b80e1bc95ec7b29a
Author: rajalakshmi-ganesan <email address hidden>
Date: Wed Aug 1 15:43:19 2012 +0530

    Fixes Bug 1031639: admin_client.py- 'Assign and Remove role to user' points to a different URI

    Change-Id: Ie8b60da44dcd9eef9daf59628a376f143d53ad9e

Changed in tempest:
status: In Progress → Fix Committed
Changed in tempest:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.