This patch fixes a couple of issues, that prevents marconi from running
on devstack.
Change-Id: I47060a0334ad6f90f1402b34c83bb6ad22f723d4
Closes-Bug: #1260820
| ... | ... |
@@ -35,7 +35,7 @@ source $TOP_DIR/exerciserc |
| 35 | 35 |
|
| 36 | 36 |
is_service_enabled marconi-server || exit 55 |
| 37 | 37 |
|
| 38 |
-curl http://$SERVICE_HOST:8888/v1/ 2>/dev/null | grep -q 'Auth' || die $LINENO "Marconi API not functioning!" |
|
| 38 |
+curl http://$SERVICE_HOST:8888/v1/ 2>/dev/null | grep -q 'queue_name' || die $LINENO "Marconi API not functioning!" |
|
| 39 | 39 |
|
| 40 | 40 |
set +o xtrace |
| 41 | 41 |
echo "*********************************************************************" |
| ... | ... |
@@ -148,10 +148,11 @@ function create_marconi_accounts() {
|
| 148 | 148 |
--user-id $MARCONI_USER \ |
| 149 | 149 |
--role-id $ADMIN_ROLE |
| 150 | 150 |
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then |
| 151 |
- MARCONI_SERVICE=$(get_id keystone service-create \ |
|
| 151 |
+ MARCONI_SERVICE=$(keystone service-create \ |
|
| 152 | 152 |
--name=marconi \ |
| 153 | 153 |
--type=queuing \ |
| 154 |
- --description="Marconi Service") |
|
| 154 |
+ --description="Marconi Service" \ |
|
| 155 |
+ | grep " id " | get_field 2) |
|
| 155 | 156 |
keystone endpoint-create \ |
| 156 | 157 |
--region RegionOne \ |
| 157 | 158 |
--service_id $MARCONI_SERVICE \ |