From e9640a967c24ac864ab651eaab28e27946d2487a Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 15 Jun 2020 17:25:57 +0200 Subject: [PATCH] Minimize CSIT dependencis in mininet-ovs-2.8 image We are using mininet-ovs-2.8 as our tools image, which means we are running CSIT test scripts on it. Those scripts require the Python-2 requests library. We used to install it before the Shell->Ansible transition via git-review, which was part of baseline.sh. As we no longer install it in Ansible world, neither do we install python-requests, which is what CSIT needs. This patch minimizes the install footprint introduced in 89cfbecea7439fae66fa10146879a9b58e71046e. JIRA: INTTEST-100 Change-Id: I816840f83fa39592dc3361bced835e183688231e Signed-off-by: Robert Varga --- packer/provision/mininet-ovs-2.8.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packer/provision/mininet-ovs-2.8.yaml b/packer/provision/mininet-ovs-2.8.yaml index 06dc8c011..07557adaf 100644 --- a/packer/provision/mininet-ovs-2.8.yaml +++ b/packer/provision/mininet-ovs-2.8.yaml @@ -134,14 +134,14 @@ apt: name=vlan state=present become: true + # This image is being used as a CSIT tools image and some of our + # CSIT test scripts are relying on python-2 and its request library. + # This makes sure we install them onto the image even though they + # are not required for the OVS rule of it. - name: Install CSIT dependencies apt: name: - - git-review - - python-chardet - - python-ndg-httpsclient - python-requests - - python-urllib3 state: present become: true -- 2.36.6