Browse code

Merge "Remove calls to service-create in devstack for now."

Jenkins authored on 2012/03/10 20:13:39
Showing 1 changed files
... ...
@@ -71,14 +71,7 @@ keystone user-role-add --user $DEMO_USER --role $MEMBER_ROLE --tenant_id $DEMO_T
71 71
 keystone user-role-add --user $DEMO_USER --role $MEMBER_ROLE --tenant_id $INVIS_TENANT
72 72
 
73 73
 
74
-# Services
75
-keystone service-create --name=keystone \
76
-                        --type=identity \
77
-                        --description="Keystone Identity Service"
78
-
79
-keystone service-create --name=nova \
80
-                        --type=compute \
81
-                        --description="Nova Compute Service"
74
+# Configure service users/roles
82 75
 NOVA_USER=$(get_id keystone user-create --name=nova \
83 76
                                         --pass="$SERVICE_PASSWORD" \
84 77
                                         --tenant_id $SERVICE_TENANT \
... ...
@@ -87,13 +80,6 @@ keystone user-role-add --tenant_id $SERVICE_TENANT \
87 87
                        --user $NOVA_USER \
88 88
                        --role $ADMIN_ROLE
89 89
 
90
-keystone service-create --name=ec2 \
91
-                        --type=ec2 \
92
-                        --description="EC2 Compatibility Layer"
93
-
94
-keystone service-create --name=glance \
95
-                        --type=image \
96
-                        --description="Glance Image Service"
97 90
 GLANCE_USER=$(get_id keystone user-create --name=glance \
98 91
                                           --pass="$SERVICE_PASSWORD" \
99 92
                                           --tenant_id $SERVICE_TENANT \
... ...
@@ -102,16 +88,7 @@ keystone user-role-add --tenant_id $SERVICE_TENANT \
102 102
                        --user $GLANCE_USER \
103 103
                        --role $ADMIN_ROLE
104 104
 
105
-if [[ "$ENABLED_SERVICES" =~ "n-vol" ]]; then
106
-    keystone service-create --name="nova-volume" \
107
-                            --type=volume \
108
-                            --description="Nova Volume Service"
109
-fi
110
-
111 105
 if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
112
-    keystone service-create --name=swift \
113
-                            --type="object-store" \
114
-                            --description="Swift Service"
115 106
     SWIFT_USER=$(get_id keystone user-create --name=swift \
116 107
                                              --pass="$SERVICE_PASSWORD" \
117 108
                                              --tenant_id $SERVICE_TENANT \
... ...
@@ -122,9 +99,6 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
122 122
 fi
123 123
 
124 124
 if [[ "$ENABLED_SERVICES" =~ "quantum" ]]; then
125
-    keystone service-create --name=quantum \
126
-                            --type=network \
127
-                            --description="Quantum Service"
128 125
     QUANTUM_USER=$(get_id keystone user-create --name=quantum \
129 126
                                                --pass="$SERVICE_PASSWORD" \
130 127
                                                --tenant_id $SERVICE_TENANT \