diff --git a/lib/glance b/lib/glance index aa101e10da..3376400035 100644 --- a/lib/glance +++ b/lib/glance @@ -62,15 +62,8 @@ function cleanup_glance() { sudo rm -rf $GLANCE_CACHE_DIR $GLANCE_IMAGE_DIR $GLANCE_AUTH_CACHE_DIR } -# configure_glanceclient() - Set config files, create data dirs, etc -function configure_glanceclient() { - setup_develop $GLANCECLIENT_DIR -} - # configure_glance() - Set config files, create data dirs, etc function configure_glance() { - setup_develop $GLANCE_DIR - if [[ ! -d $GLANCE_CONF_DIR ]]; then sudo mkdir -p $GLANCE_CONF_DIR fi @@ -180,11 +173,13 @@ function init_glance() { # install_glanceclient() - Collect source and prepare function install_glanceclient() { git_clone $GLANCECLIENT_REPO $GLANCECLIENT_DIR $GLANCECLIENT_BRANCH + setup_develop $GLANCECLIENT_DIR } # install_glance() - Collect source and prepare function install_glance() { git_clone $GLANCE_REPO $GLANCE_DIR $GLANCE_BRANCH + setup_develop $GLANCE_DIR } # start_glance() - Start running processes, including screen diff --git a/stack.sh b/stack.sh index 7d0dd9b6f7..e2ef8f1955 100755 --- a/stack.sh +++ b/stack.sh @@ -647,10 +647,6 @@ if is_service_enabled g-api n-api; then configure_glance fi -# Do this _after_ glance is installed to override the old binary -# TODO(dtroyer): figure out when this is no longer necessary -configure_glanceclient - if is_service_enabled nova; then # First clean up old instances cleanup_nova