From 216cb2248cece524802c3d5d2be07d86291e1d9b Mon Sep 17 00:00:00 2001 From: Drew Thorstensen Date: Thu, 6 Apr 2017 16:56:17 -0400 Subject: [PATCH] Remove INSTALL_PYPOWERVM This function is no longer required now that pypowervm is in the global-requirements.txt. Change-Id: I177daf3de95fe20875ed0f48a580fbe6810cd4b7 --- devstack/local.conf.aio | 3 --- devstack/local.conf.compute | 3 --- devstack/plugin.sh | 6 ------ devstack/powervm-functions.sh | 17 ----------------- devstack/settings | 1 - 5 files changed, 30 deletions(-) diff --git a/devstack/local.conf.aio b/devstack/local.conf.aio index c9441f3e..804fd0fc 100644 --- a/devstack/local.conf.aio +++ b/devstack/local.conf.aio @@ -30,9 +30,6 @@ TENANT_VLAN_RANGE=1000:1999 DISK_DRIVER=localdisk VOL_GRP_NAME=devstackvg -# Set to True to install the latest pypowervm from source -INSTALL_PYPOWERVM=False - # Enable services (pvm-q-agt and pvm-ceilometer-acompute started by their plugins) enable_service n-novnc neutron q-svc disable_service n-net diff --git a/devstack/local.conf.compute b/devstack/local.conf.compute index 8e2de4c8..fadf8000 100644 --- a/devstack/local.conf.compute +++ b/devstack/local.conf.compute @@ -34,9 +34,6 @@ TENANT_VLAN_RANGE=1000:1999 DISK_DRIVER=localdisk VOL_GRP_NAME=devstackvg -# Set to True to install the latest pypowervm from source -INSTALL_PYPOWERVM=False - NOVA_VNC_ENABLED=True NOVNCPROXY_BASE_URL="http://$SERVICE_HOST:6080/vnc_auto.html" VNCSERVER_LISTEN=$HOST_IP diff --git a/devstack/plugin.sh b/devstack/plugin.sh index ea49d77c..5a74e76a 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -69,11 +69,6 @@ function configure_nova_powervm { # install_nova_powervm() - Install nova_powervm and necessary dependencies function install_nova_powervm { - if [[ "$INSTALL_PYPOWERVM" == "True" ]]; then - echo_summary "Installing pypowervm" - install_pypowervm - fi - # Install the nova-powervm package setup_develop $NOVA_POWERVM_DIR } @@ -138,7 +133,6 @@ if is_service_enabled nova-powervm; then # clean.sh first calls unstack.sh echo_summary "Cleaning up nova-powervm and associated data" cleanup_nova_powervm - cleanup_pypowervm fi fi diff --git a/devstack/powervm-functions.sh b/devstack/powervm-functions.sh index fae9678a..2901ecae 100644 --- a/devstack/powervm-functions.sh +++ b/devstack/powervm-functions.sh @@ -3,26 +3,9 @@ # devstack/powervm-functions.sh # Functions to control the installation and configuration of the PowerVM compute services -GITREPO["pypowervm"]=${PYPOWERVM_REPO:-https://github.com/powervm/pypowervm} -GITBRANCH["pypowervm"]=${PYPOWERVM_BRANCH:-develop} -GITDIR["pypowervm"]=$DEST/pypowervm - # TODO (adreznec) Uncomment when public NovaLink PPA available # NOVALINK_PPA=${NOVALINK_PPA:-TBD} -function install_pypowervm { - # Install the latest pypowervm from git - echo_summary "Installing pypowervm" - git_clone_by_name "pypowervm" - setup_dev_lib "pypowervm" - echo_summary "Pypowervm install complete" -} - -function cleanup_pypowervm { - echo_summary "Cleaning pypowervm" - rm -rf ${GITDIR["pypowervm"]} -} - function check_novalink_install { echo_summary "Checking NovaLink installation" if ! ( is_package_installed pvm-novalink ); then diff --git a/devstack/settings b/devstack/settings index 2e18656d..9230dbfc 100644 --- a/devstack/settings +++ b/devstack/settings @@ -6,7 +6,6 @@ enable_service nova-powervm # NovaLink install/upgrade settings INSTALL_NOVALINK=$(trueorfalse False INSTALL_NOVALINK) -INSTALL_PYPOWERVM=$(trueorfalse False INSTALL_PYPOWERVM) PVM_ADMIN_GROUP=${PVM_ADMIN_GROUP:-pvm_admin} # Nova settings