Make manila-tempest-plugin installation optional
manila-tempest-plugin can be installed with its devstack plugin; Installing it via manila's plugin is unnecessary. So, deprecate its installation in the DevStack plugin. This change is being backported to the stable branches to allow Zuulv3 style jobs to eventually be supported on these branches. Without this change, installation of manila will fail on Zuulv3 jobs with the error: 'The /opt/stack/manila-tempest-plugin project was not found; if this is a gate job, add the project to the $PROJECTS variable in the job definition.' die 563 'Cloning not allowed in this configuration' If manila-tempest-plugin is added to $PROJECTS as suggested, we'll end up double cloning this project, once via its devstack plugin and once in manila's own devstack plugin. Change-Id: I21c08069ff82b3bfb52ef7ac960183ddc866c2ee (cherry picked from commit8d03a2a46e
) (cherry picked from commitd39d930274
) (cherry picked from commit195276bfaa
) Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
parent
fc8abc68cb
commit
58499f378d
|
@ -41,6 +41,8 @@ echo "MANILA_BACKEND2_CONFIG_GROUP_NAME=paris" >> $localconf
|
||||||
echo "MANILA_SHARE_BACKEND1_NAME=LONDON" >> $localconf
|
echo "MANILA_SHARE_BACKEND1_NAME=LONDON" >> $localconf
|
||||||
echo "MANILA_SHARE_BACKEND2_NAME=PARIS" >> $localconf
|
echo "MANILA_SHARE_BACKEND2_NAME=PARIS" >> $localconf
|
||||||
|
|
||||||
|
echo "MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=${MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE:=True}" >> $localconf
|
||||||
|
|
||||||
# === Handle script arguments ===
|
# === Handle script arguments ===
|
||||||
# First argument is expected to be a boolean-like value for DHSS.
|
# First argument is expected to be a boolean-like value for DHSS.
|
||||||
DHSS=$1
|
DHSS=$1
|
||||||
|
|
|
@ -1168,8 +1168,17 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
||||||
fi
|
fi
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
echo_summary "Fetching and installing manila-tempest-plugin system-wide"
|
|
||||||
install_manila_tempest_plugin
|
if [ $(trueorfalse False MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE) == True ]; then
|
||||||
|
echo_summary "Fetching and installing manila-tempest-plugin system-wide"
|
||||||
|
install_manila_tempest_plugin
|
||||||
|
export DEPRECATED_TEXT="$DEPRECATED_TEXT\nInstalling
|
||||||
|
manila-tempest-plugin can be done with the help of its own DevStack
|
||||||
|
plugin by adding: \n\n\t'enable_plugin manila-tempest-plugin
|
||||||
|
https://opendev.org/openstack/manila-tempest-plugin'.\n\nManila's
|
||||||
|
DevStack plugin will stop installing it automatically."
|
||||||
|
fi
|
||||||
|
|
||||||
echo_summary "Update Tempest config"
|
echo_summary "Update Tempest config"
|
||||||
update_tempest
|
update_tempest
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -202,6 +202,11 @@ MANILA_DATA_COPY_CHECK_HASH=${MANILA_DATA_COPY_CHECK_HASH:=True}
|
||||||
# Manila IPv6 Setup flag
|
# Manila IPv6 Setup flag
|
||||||
MANILA_SETUP_IPV6=${MANILA_SETUP_IPV6:=False}
|
MANILA_SETUP_IPV6=${MANILA_SETUP_IPV6:=False}
|
||||||
|
|
||||||
|
# Install manila-tempest-plugin system-wide
|
||||||
|
# This operation has been deprecated. manila-tempest-plugin has a devstack
|
||||||
|
# plugin that must be preferred over this approach.
|
||||||
|
MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=${MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE:=True}
|
||||||
|
|
||||||
# Enable manila services
|
# Enable manila services
|
||||||
# ----------------------
|
# ----------------------
|
||||||
# We have to add Manila to enabled services for screen_it to work
|
# We have to add Manila to enabled services for screen_it to work
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
||||||
export DEVSTACK_GATE_GRENADE=pullup
|
export DEVSTACK_GATE_GRENADE=pullup
|
||||||
|
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
# Basic services needed for grenade manila job using dummy driver
|
# Basic services needed for grenade manila job using dummy driver
|
||||||
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit
|
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
export PROJECTS="openstack/manila-image-elements $PROJECTS"
|
export PROJECTS="openstack/manila-image-elements $PROJECTS"
|
||||||
|
|
||||||
export ENABLED_SERVICES=tempest
|
export ENABLED_SERVICES=tempest
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -52,6 +53,8 @@
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
# defines mode of a share driver. Boolean-like.
|
# defines mode of a share driver. Boolean-like.
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
export PROJECTS="openstack/manila-image-elements $PROJECTS"
|
export PROJECTS="openstack/manila-image-elements $PROJECTS"
|
||||||
|
|
||||||
export ENABLED_SERVICES=tempest
|
export ENABLED_SERVICES=tempest
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
||||||
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
||||||
|
|
||||||
|
@ -58,6 +60,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Configure devstack to run manila installation without handling of share servers
|
# Configure devstack to run manila installation without handling of share servers
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
||||||
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
||||||
|
|
||||||
|
@ -58,6 +60,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Configure devstack to run manila installation without handling of share servers
|
# Configure devstack to run manila installation without handling of share servers
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
||||||
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
||||||
|
|
||||||
|
@ -58,6 +60,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Configure devstack to run manila installation without handling of share servers
|
# Configure devstack to run manila installation without handling of share servers
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
|
||||||
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
enable_plugin devstack-plugin-glusterfs https://opendev.org/x/devstack-plugin-glusterfs
|
||||||
|
|
||||||
|
@ -57,6 +59,7 @@
|
||||||
|
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Configure devstack to run manila installation without handling of share servers
|
# Configure devstack to run manila installation without handling of share servers
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
# Enable devstack-plugin-hdfs plugin, to install and configure HDFS.
|
# Enable devstack-plugin-hdfs plugin, to install and configure HDFS.
|
||||||
enable_plugin devstack-plugin-hdfs https://opendev.org/x/devstack-plugin-hdfs
|
enable_plugin devstack-plugin-hdfs https://opendev.org/x/devstack-plugin-hdfs
|
||||||
|
|
||||||
|
@ -51,6 +53,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Configure devstack to run manila installation without handling of share servers
|
# Configure devstack to run manila installation without handling of share servers
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -51,6 +52,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -51,6 +52,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -51,6 +52,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
SKIP_EPEL_INSTALL=True
|
SKIP_EPEL_INSTALL=True
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
||||||
|
|
||||||
# Enable CephFS as the backend for Manila.
|
# Enable CephFS as the backend for Manila.
|
||||||
|
@ -76,6 +76,7 @@
|
||||||
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
|
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
|
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
|
||||||
export OVERRIDE_ENABLED_SERVICES
|
export OVERRIDE_ENABLED_SERVICES
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
SKIP_EPEL_INSTALL=True
|
SKIP_EPEL_INSTALL=True
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
||||||
|
|
||||||
# Enable CephFS as the backend for Manila.
|
# Enable CephFS as the backend for Manila.
|
||||||
|
@ -76,6 +76,7 @@
|
||||||
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
|
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
|
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
|
||||||
export OVERRIDE_ENABLED_SERVICES
|
export OVERRIDE_ENABLED_SERVICES
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -63,6 +64,7 @@
|
||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
# 'dhss' - acronym for 'Driver Handles Share Servers',
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
SKIP_EPEL_INSTALL=True
|
SKIP_EPEL_INSTALL=True
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
enable_plugin neutron-dynamic-routing https://opendev.org/openstack/neutron-dynamic-routing
|
enable_plugin neutron-dynamic-routing https://opendev.org/openstack/neutron-dynamic-routing
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
@ -56,6 +57,7 @@
|
||||||
|
|
||||||
export MANILA_SETUP_IPV6=True
|
export MANILA_SETUP_IPV6=True
|
||||||
export RUN_MANILA_IPV6_TESTS=True
|
export RUN_MANILA_IPV6_TESTS=True
|
||||||
|
export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
|
||||||
|
|
||||||
# Basic services needed for minimal job
|
# Basic services needed for minimal job
|
||||||
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
|
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
disable_service s-proxy
|
disable_service s-proxy
|
||||||
|
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
||||||
|
|
||||||
# Enable CephFS as the backend for Manila.
|
# Enable CephFS as the backend for Manila.
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
disable_service s-proxy
|
disable_service s-proxy
|
||||||
|
|
||||||
enable_plugin manila https://opendev.org/openstack/manila
|
enable_plugin manila https://opendev.org/openstack/manila
|
||||||
|
enable_plugin manila-tempest-plugin https://opendev.org/openstack/manila-tempest-plugin
|
||||||
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph
|
||||||
|
|
||||||
# Enable CephFS as the backend for Manila.
|
# Enable CephFS as the backend for Manila.
|
||||||
|
|
Loading…
Reference in New Issue