Pin ara version to 0.16.4 02/68002/5
authorNikos Mimigiannis <nmimi@intracom-telecom.com>
Wed, 5 Jun 2019 09:31:18 +0000 (12:31 +0300)
committerFatih Degirmenci <fdegir@gmail.com>
Wed, 12 Jun 2019 09:24:08 +0000 (11:24 +0200)
The ara module just released an update
which changes how the module can be imported.
As a result, the xci-deploy script immediately
fails when trying to setup the virtualenv.
This patch sets ara to its previous
version (ara==0.16.4).

Change-Id: Ic54d18dc877857389e8b36bbf2e8bf4b70bc2812
Signed-off-by: Nikos Mimigiannis <nmimi@intracom-telecom.com>
xci/files/xci-lib.sh
xci/installer/osa/playbooks/configure-opnfvhost.yml

index 75e957f..ef7697f 100644 (file)
@@ -189,7 +189,7 @@ function install_ansible() {
 
     # We are inside the virtualenv now so we should be good to use pip and python from it.
     pip -q install --upgrade pip==9.0.3 # We need a version which supports the '-c' parameter
-    pip -q install --upgrade -c $uc -c $osa_uc ara virtualenv pip setuptools shade ansible==$XCI_ANSIBLE_PIP_VERSION ansible-lint==3.4.21
+    pip -q install --upgrade -c $uc -c $osa_uc ara==0.16.4 virtualenv pip setuptools shade ansible==$XCI_ANSIBLE_PIP_VERSION ansible-lint==3.4.21
 
     ara_location=$(python -c "import os,ara; print(os.path.dirname(ara.__file__))")
     export ANSIBLE_CALLBACK_PLUGINS="/etc/ansible/roles/plugins/callback:${ara_location}/plugins/callbacks"
index 4fc966a..07ad683 100644 (file)
     - name: Install ARA callback plugin in OSA virtualenv
       pip:
         name: ara
+        version: 0.16.4
         state: present
         extra_args: '-c https://raw.githubusercontent.com/openstack/requirements/{{ requirements_git_install_branch }}/upper-constraints.txt'
         executable: '/opt/ansible-runtime/bin/pip'