X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Ffull_install_osm.sh;h=f19b2992a6bf406e77040eca7a38d902d5ad3c43;hb=e63d60268c9ae3f07851d48eb3f8c9cd96ce23ad;hp=0fcd10bc18eba8152250c6a14e711a5f62ba37e8;hpb=6dc17050539cddb69457e8b32d1fc567b1d997fb;p=osm%2Fdevops.git diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 0fcd10bc..f19b2992 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -838,6 +838,7 @@ function install_kube() { sudo apt-get update echo "Installing Kubernetes Packages ..." sudo apt-get install -y kubelet=1.15.0-00 kubeadm=1.15.0-00 kubectl=1.15.0-00 + sudo apt-mark hold kubelet kubeadm kubectl } #initializes kubernetes control plane @@ -1423,7 +1424,7 @@ function install_to_openstack() { fi # Install Pip for Python3 - $WORKDIR_SUDO apt install -y python3-pip + $WORKDIR_SUDO apt install -y python3-pip python3-venv $WORKDIR_SUDO -H LC_ALL=C python3 -m pip install -U pip # Create a venv to avoid conflicts with the host installation @@ -1431,9 +1432,9 @@ function install_to_openstack() { source $OPENSTACK_PYTHON_VENV/bin/activate - # Install Ansible, OpenStack client and SDK + # Install Ansible, OpenStack client and SDK, latest openstack version supported is Train python -m pip install -U wheel - python -m pip install -U python-openstackclient "openstacksdk>=0.12.0,<1" "ansible>=2.10,<2.11" + python -m pip install -U "python-openstackclient<=4.0.2" "openstacksdk>=0.12.0,<=0.36.2" "ansible>=2.10,<2.11" # Install the Openstack cloud module (ansible>=2.10) ansible-galaxy collection install openstack.cloud @@ -1932,5 +1933,3 @@ export OSM_USE_LOCAL_DEVOPS=true wget -q -O- https://osm-download.etsi.org/ftp/osm-9.0-nine/README2.txt &> /dev/null track end echo -e "\nDONE" - -