Missing Documentation for Running Tasks as a User that is not an Admin

Bug #1751326 reported by Luke Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
Luke Short

Bug Description

In Rally 0.10.0, tasks can now be run using a non-privileged OpenStack user that does not have an "admin" role. However, there is no documentation on how to use this. A new sample deployment file can be created at https://github.com/openstack/rally/blob/master/samples/deployments/ to show Rally users how to properly use this.

For example, this should work (omit the "admin" section and only use the "users" section in the deployment configuration):

{
    "type": "ExistingCloud",
    "creds": {
        "openstack": {
            "auth_url": "http://example.net:5000/v3/",
            "region_name": "RegionOne",
            "endpoint_type": "public",
            "users": [
                 {
                    "username": "admin",
                    "password": "myadminpass",
                    "user_domain_name": "admin",
                    "project_name": "admin",
                    "project_domain_name": "admin"
                }
            ]
            "https_insecure": false,
            "https_cacert": ""
        }
    }
}

Luke Short (ekultails)
Changed in rally:
assignee: nobody → Luke Short (ekultails)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally-openstack (master)

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

Changed in rally:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally-openstack (master)

Reviewed: https://review.openstack.org/611219
Committed: https://git.openstack.org/cgit/openstack/rally-openstack/commit/?id=55d7c4dcdadeb9cbe7bcbf8a1e1f41743a438405
Submitter: Zuul
Branch: master

commit 55d7c4dcdadeb9cbe7bcbf8a1e1f41743a438405
Author: Luke Short <email address hidden>
Date: Tue Oct 16 22:57:49 2018 -0400

    Add an example configuration that does not use an admin user.

    Rally added support for running
    tests as non-admin users in the
    0.10.0 release.

    Change-Id: I96d125190f2419673c1417a372822fd9a773db72
    Closes-Bug: 1751326

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

This issue was fixed in the openstack/rally-openstack 1.4.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.