diff --git a/config/nodepool/scripts/prepare_node.sh b/config/nodepool/scripts/prepare_node.sh index 2ae05b25..c21875ec 100755 --- a/config/nodepool/scripts/prepare_node.sh +++ b/config/nodepool/scripts/prepare_node.sh @@ -35,7 +35,7 @@ APT_PACKAGES+=" gettext" # Glance-client is required for diskimage-integration jobs PIP_PACKAGES="python-glanceclient" # Requirements for Sahara -PIP_PACKAGES+=" mysql-python" +PIP_PACKAGES+=" mysql-python pymysql" # Requirements for dib-jobs PIP_PACKAGES+=" python-openstackclient" PIP_PACKAGES+=" pip==8.1.1 tox" diff --git a/slave-scripts/gate-sahara.sh b/slave-scripts/gate-sahara.sh index 4828490b..e5ea0e42 100755 --- a/slave-scripts/gate-sahara.sh +++ b/slave-scripts/gate-sahara.sh @@ -47,7 +47,6 @@ case $(echo $JOB_NAME | awk -F '-' '{ print $NF }') in python3) sudo apt install python3-pip python3-dev -y sudo pip3 $pip_cmd - sudo pip3 install pymysql ;; *) sudo pip $pip_cmd