| 29 | 30 |
old mode 100644 |
| 30 | 31 |
new mode 100755 |
| ... | ... |
@@ -70,7 +70,6 @@ GLANCE_REGISTRY_PORT_INT=${GLANCE_REGISTRY_PORT_INT:-19191}
|
| 70 | 70 |
# Tell Tempest this project is present |
| 71 | 71 |
TEMPEST_SERVICES+=,glance |
| 72 | 72 |
|
| 73 |
- |
|
| 74 | 73 |
# Functions |
| 75 | 74 |
# --------- |
| 76 | 75 |
|
| ... | ... |
@@ -308,6 +307,10 @@ function install_glance {
|
| 308 | 308 |
|
| 309 | 309 |
git_clone $GLANCE_REPO $GLANCE_DIR $GLANCE_BRANCH |
| 310 | 310 |
setup_develop $GLANCE_DIR |
| 311 |
+ if is_service_enabled g-graffiti; then |
|
| 312 |
+ ${TOP_DIR}/pkg/elasticsearch.sh download
|
|
| 313 |
+ ${TOP_DIR}/pkg/elasticsearch.sh install
|
|
| 314 |
+ fi |
|
| 311 | 315 |
} |
| 312 | 316 |
|
| 313 | 317 |
# start_glance() - Start running processes, including screen |
| ... | ... |
@@ -321,6 +324,9 @@ function start_glance {
|
| 321 | 321 |
run_process g-reg "$GLANCE_BIN_DIR/glance-registry --config-file=$GLANCE_CONF_DIR/glance-registry.conf" |
| 322 | 322 |
run_process g-api "$GLANCE_BIN_DIR/glance-api --config-file=$GLANCE_CONF_DIR/glance-api.conf" |
| 323 | 323 |
|
| 324 |
+ if is_service_enabled g-graffiti; then |
|
| 325 |
+ ${TOP_DIR}/pkg/elasticsearch.sh start
|
|
| 326 |
+ fi |
|
| 324 | 327 |
echo "Waiting for g-api ($GLANCE_HOSTPORT) to start..." |
| 325 | 328 |
if ! wait_for_service $SERVICE_TIMEOUT $GLANCE_SERVICE_PROTOCOL://$GLANCE_HOSTPORT; then |
| 326 | 329 |
die $LINENO "g-api did not start" |
| ... | ... |
@@ -334,7 +340,6 @@ function stop_glance {
|
| 334 | 334 |
stop_process g-reg |
| 335 | 335 |
} |
| 336 | 336 |
|
| 337 |
- |
|
| 338 | 337 |
# Restore xtrace |
| 339 | 338 |
$XTRACE |
| 340 | 339 |
|