Fix for enabling use of MOS7
Support Zabbix 2.5.1 plugin on MOS7, MOS8 and MOS9 Update fuel-devops to 2.9.23 like all branches of fuel-qa Change-Id: I176c6a921dfd53ce83b860e0259ab63a850df1f5
This commit is contained in:
parent
2456d7fe6e
commit
078a76b013
@ -1,12 +0,0 @@
|
|||||||
elasticsearch<=2.4.0
|
|
||||||
git+git://github.com/openstack/fuel-devops.git@2.9.22
|
|
||||||
netaddr
|
|
||||||
oslo.i18n>=3.1.0 # the more recent python-*client (dependencies of fuel-qa) require at least this version of oslo.i18n
|
|
||||||
python-ceilometerclient
|
|
||||||
py-zabbix
|
|
||||||
PyYAML
|
|
||||||
requests
|
|
||||||
selenium
|
|
||||||
six
|
|
||||||
tox
|
|
||||||
xvfbwrapper
|
|
3
requirements/mos7-requirements.txt
Normal file
3
requirements/mos7-requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-r requirements.txt
|
||||||
|
oslo.i18n>=1.5.0,<1.6.0 # dependencies of fuel-qa require specific version of oslo.i18n
|
||||||
|
python-ceilometerclient<1.3
|
3
requirements/mos8-requirements.txt
Normal file
3
requirements/mos8-requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-r requirements.txt
|
||||||
|
oslo.i18n>=3.1.0 # the more recent python-*client (dependencies of fuel-qa) require at least this version of oslo.i18n
|
||||||
|
python-ceilometerclient>=2.4
|
3
requirements/mos9-requirements.txt
Normal file
3
requirements/mos9-requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-r requirements.txt
|
||||||
|
oslo.i18n>=3.1.0 # the more recent python-*client (dependencies of fuel-qa) require at least this version of oslo.i18n
|
||||||
|
python-ceilometerclient>=2.4
|
10
requirements/requirements.txt
Normal file
10
requirements/requirements.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
elasticsearch<=2.4.0
|
||||||
|
git+git://github.com/openstack/fuel-devops.git@2.9.23
|
||||||
|
netaddr
|
||||||
|
py-zabbix
|
||||||
|
PyYAML
|
||||||
|
requests
|
||||||
|
selenium
|
||||||
|
six
|
||||||
|
tox
|
||||||
|
xvfbwrapper
|
@ -240,7 +240,7 @@ class PluginHelper(object):
|
|||||||
|
|
||||||
def deploy_cluster(self, nodes_roles, verify_network=False,
|
def deploy_cluster(self, nodes_roles, verify_network=False,
|
||||||
update_interfaces=True, check_services=True,
|
update_interfaces=True, check_services=True,
|
||||||
timeout=settings.DEPLOYMENT_TIMEOUT):
|
timeout=getattr(settings, 'DEPLOYMENT_TIMEOUT', 7800)):
|
||||||
"""Assign roles to nodes and deploy the cluster.
|
"""Assign roles to nodes and deploy the cluster.
|
||||||
|
|
||||||
:param nodes_roles: nodes to roles mapping.
|
:param nodes_roles: nodes to roles mapping.
|
||||||
|
@ -16,6 +16,9 @@ if [ -z "${FUELQA_GITREF}" ]; then
|
|||||||
# Pick up the correct fuel-qa branch depending on the ISO version
|
# Pick up the correct fuel-qa branch depending on the ISO version
|
||||||
FUEL_VERSION=$(basename "${ISO_PATH}" | egrep -o '[0-9]+\.[0-9]+')
|
FUEL_VERSION=$(basename "${ISO_PATH}" | egrep -o '[0-9]+\.[0-9]+')
|
||||||
case "$FUEL_VERSION" in
|
case "$FUEL_VERSION" in
|
||||||
|
7.0)
|
||||||
|
FUELQA_GITREF="stable/7.0"
|
||||||
|
;;
|
||||||
8.0)
|
8.0)
|
||||||
FUELQA_GITREF="stable/8.0"
|
FUELQA_GITREF="stable/8.0"
|
||||||
;;
|
;;
|
||||||
@ -29,6 +32,8 @@ if [ -z "${FUELQA_GITREF}" ]; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
FUEL_REV=`echo $FUELQA_GITREF | sed -e 's?stable/??' -e 's/\.0.*//' -e 's/mitaka/9/'`
|
||||||
|
|
||||||
# Create the virtual environment if it doesn't exist yet
|
# Create the virtual environment if it doesn't exist yet
|
||||||
if [[ ! -f "$VENV_PATH"/bin/activate ]]; then
|
if [[ ! -f "$VENV_PATH"/bin/activate ]]; then
|
||||||
if ! which virtualenv; then
|
if ! which virtualenv; then
|
||||||
@ -69,7 +74,7 @@ if [[ "$(pip show fuelweb-test)" == "" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install the project's dependencies
|
# Install the project's dependencies
|
||||||
pip install -r"${BASE_DIR}/../../requirements.txt"
|
pip install -r"${BASE_DIR}/../../requirements/mos${FUEL_REV}-requirements.txt"
|
||||||
|
|
||||||
# List the Python packages (this can be useful for troubleshooting)
|
# List the Python packages (this can be useful for troubleshooting)
|
||||||
pip freeze
|
pip freeze
|
||||||
|
Loading…
Reference in New Issue
Block a user