diff --git a/.zuul.yaml b/.zuul.yaml index 3e55de76..64e3cd09 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -53,10 +53,10 @@ tls-proxy: false devstack_plugins: barbican: https://opendev.org/openstack/barbican - stx-config: https://git.starlingx.io/stx-config - stx-fault: https://git.starlingx.io/stx-fault - stx-ha: https://git.starlingx.io/stx-ha - stx-integ: https://git.starlingx.io/stx-integ - stx-metal: https://git.starlingx.io/stx-metal - stx-nfv: https://git.starlingx.io/stx-nfv - stx-update: https://git.starlingx.io/stx-update + config: https://opendev.org/starlingx/config + fault: https://opendev.org/starlingx/fault + ha: https://opendev.org/starlingx/ha + integ: https://opendev.org/starlingx/integ + metal: https://opendev.org/starlingx/metal + nfv: https://opendev.org/starlingx/nfv + update: https://opendev.org/starlingx/update diff --git a/README.rst b/README.rst index c53f9e34..90032864 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -====== -stx-ha -====== +==== + ha +==== StarlingX Service Management diff --git a/devstack/build.sh b/devstack/build.sh index 5fbd84d4..e742cf93 100755 --- a/devstack/build.sh +++ b/devstack/build.sh @@ -29,7 +29,7 @@ function is_service_enabled { } # Get the build functions -source $PLUGIN_DIR/devstack/lib/stx-ha +source $PLUGIN_DIR/devstack/lib/ha # Call builds build_sm_common diff --git a/devstack/files/debs/stx-ha b/devstack/files/debs/ha similarity index 100% rename from devstack/files/debs/stx-ha rename to devstack/files/debs/ha diff --git a/devstack/lib/stx-ha b/devstack/lib/ha similarity index 99% rename from devstack/lib/stx-ha rename to devstack/lib/ha index 7c22dd6c..0b8dd7c4 100644 --- a/devstack/lib/stx-ha +++ b/devstack/lib/ha @@ -1,7 +1,7 @@ #!/bin/bash # -# lib/stx-config -# Functions to control the configuration and operation of stx-ha +# lib/ha +# Functions to control the configuration and operation of ha # ``plugin.sh`` calls the following entry points: # diff --git a/devstack/plugin.sh b/devstack/plugin.sh index b09836e5..7123c0fe 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -6,7 +6,7 @@ echo_summary "stx-ha devstack plugin.sh called: $1/$2" # check for service enabled -if is_service_enabled stx-ha; then +if is_service_enabled ha; then if [[ "$1" == "stack" && "$2" == "install" ]]; then # Perform installation of source echo_summary "Install stx-ha" diff --git a/devstack/settings b/devstack/settings index 680fbb37..3f9c1950 100644 --- a/devstack/settings +++ b/devstack/settings @@ -12,16 +12,16 @@ # Defaults # -------- -STX_HA_NAME=stx-ha +STX_HA_NAME=ha ######### Plugin Specific ########## enable_service $STX_HA_NAME # This must not use any variables to work properly in the devstack playbook -define_plugin stx-ha +define_plugin ha # This works for Zuul jobs using OpenStack's DevStack roles -plugin_requires stx-ha stx-metal -plugin_requires stx-ha stx-config +plugin_requires ha metal +plugin_requires ha config # Initial source of lib script -source $DEST/stx-ha/devstack/lib/stx-ha +source $DEST/ha/devstack/lib/ha diff --git a/tox.ini b/tox.ini index a1c8139f..81ba64c3 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ minversion = 2.3 skipsdist = True [testenv] -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt} {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1