* The recommended backend for essex is the template backend.
* Fixes bug 950213
Change-Id: I2f8bc9f74cee2d783cbadcc1d4d4e674ddb905b9
| ... | ... |
@@ -73,14 +73,7 @@ keystone user-role-add --user $DEMO_USER --role $MEMBER_ROLE --tenant_id $DEMO_T |
| 73 | 73 |
keystone user-role-add --user $DEMO_USER --role $MEMBER_ROLE --tenant_id $INVIS_TENANT |
| 74 | 74 |
|
| 75 | 75 |
|
| 76 |
-# Services |
|
| 77 |
-keystone service-create --name=keystone \ |
|
| 78 |
- --type=identity \ |
|
| 79 |
- --description="Keystone Identity Service" |
|
| 80 |
- |
|
| 81 |
-keystone service-create --name=nova \ |
|
| 82 |
- --type=compute \ |
|
| 83 |
- --description="Nova Compute Service" |
|
| 76 |
+# Configure service users/roles |
|
| 84 | 77 |
NOVA_USER=$(get_id keystone user-create --name=nova \ |
| 85 | 78 |
--pass="$SERVICE_PASSWORD" \ |
| 86 | 79 |
--tenant_id $SERVICE_TENANT \ |
| ... | ... |
@@ -89,13 +82,6 @@ keystone user-role-add --tenant_id $SERVICE_TENANT \ |
| 89 | 89 |
--user $NOVA_USER \ |
| 90 | 90 |
--role $ADMIN_ROLE |
| 91 | 91 |
|
| 92 |
-keystone service-create --name=ec2 \ |
|
| 93 |
- --type=ec2 \ |
|
| 94 |
- --description="EC2 Compatibility Layer" |
|
| 95 |
- |
|
| 96 |
-keystone service-create --name=glance \ |
|
| 97 |
- --type=image \ |
|
| 98 |
- --description="Glance Image Service" |
|
| 99 | 92 |
GLANCE_USER=$(get_id keystone user-create --name=glance \ |
| 100 | 93 |
--pass="$SERVICE_PASSWORD" \ |
| 101 | 94 |
--tenant_id $SERVICE_TENANT \ |
| ... | ... |
@@ -104,16 +90,7 @@ keystone user-role-add --tenant_id $SERVICE_TENANT \ |
| 104 | 104 |
--user $GLANCE_USER \ |
| 105 | 105 |
--role $ADMIN_ROLE |
| 106 | 106 |
|
| 107 |
-if [[ "$ENABLED_SERVICES" =~ "n-vol" ]]; then |
|
| 108 |
- keystone service-create --name="nova-volume" \ |
|
| 109 |
- --type=volume \ |
|
| 110 |
- --description="Nova Volume Service" |
|
| 111 |
-fi |
|
| 112 |
- |
|
| 113 | 107 |
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then |
| 114 |
- keystone service-create --name=swift \ |
|
| 115 |
- --type="object-store" \ |
|
| 116 |
- --description="Swift Service" |
|
| 117 | 108 |
SWIFT_USER=$(get_id keystone user-create --name=swift \ |
| 118 | 109 |
--pass="$SERVICE_PASSWORD" \ |
| 119 | 110 |
--tenant_id $SERVICE_TENANT \ |
| ... | ... |
@@ -124,9 +101,6 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then |
| 124 | 124 |
fi |
| 125 | 125 |
|
| 126 | 126 |
if [[ "$ENABLED_SERVICES" =~ "quantum" ]]; then |
| 127 |
- keystone service-create --name=quantum \ |
|
| 128 |
- --type=network \ |
|
| 129 |
- --description="Quantum Service" |
|
| 130 | 127 |
QUANTUM_USER=$(get_id keystone user-create --name=quantum \ |
| 131 | 128 |
--pass="$SERVICE_PASSWORD" \ |
| 132 | 129 |
--tenant_id $SERVICE_TENANT \ |