ranger-tempest-plugin/tempest_setup/create_tenant.sh
jh629g e7c69f048c Initial Ranger-Tempest-Plugin Commit
First commit with zuul tests and
migration of existing Ranger-Tempest-
Plugin codebase.

Change-Id: I45d6946a397cc148ec3789af1c1ad4374a99396a
2019-07-15 21:01:36 -05:00

23 lines
956 B
Bash

#!/bin/bash
source devstack/openrc admin admin
openstack project create 'tempest_m07057'
openstack project create 'tempest_m01690'
openstack project create 'tempest_m01691'
openstack user create 'm07057' --project 'tempest_m07057' --password devstack
openstack user create 'm01690' --project 'tempest_m01690' --password devstack
openstack user create 'm01691' --project 'tempest_m01691' --password devstack
openstack role add --project 'tempest_m07057' --user m07057 admin
openstack role add --project 'tempest_m01690' --user m01690 ResellerAdmin
openstack role add --project 'tempest_m01690' --user m01690 Member
openstack role add --project 'tempest_m01691' --user m01691 ResellerAdmin
openstack role add --project 'tempest_m01691' --user m01691 Member
openstack role add --project 'tempest_m07057' --user admin admin
openstack role add --project 'tempest_m01690' --user admin admin
openstack role add --project 'tempest_m01691' --user admin admin