~ajkavanagh/+junk/useful-things

« back to all changes in this revision

Viewing changes to charm-manual-testing/manila/v3_keystone/keystone_setup.sh

  • Committer: Alex Kavanagh
  • Date: 2016-12-01 17:01:49 UTC
  • Revision ID: alex.kavanagh@canonical.com-20161201170149-ytewr1hw7z2xre8o
Added serverstack.yaml for juju & manila testing scripts

Note that the manila testing scripts are for serverstack ONLY.
There's a different github repo for manual testing of
manila.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
set -ex
 
4
 
 
5
# Create demo/testing users, tenants and flavor
 
6
openstack project create demo
 
7
openstack user create --project demo --password pass --email demo@dev.null demo
 
8
# Note that this user CAN'T delete the secret.  Only the admin user can do
 
9
# that.
 
10
openstack role create Creator
 
11
openstack role add --user demo --project demo Creator