Remove 'python-jenkins' package to avoid grains load errors
The package 'python-jenkins' enables the module
_grains/jenkins_plugins.py to connect to non-existing Jenkins
Change-Id: Ieb03bf3d077be233f89af25419bb5fa567c34f04
Related-Bug:#PROD-17822
diff --git a/tcp_tests/templates/shared-salt.yaml b/tcp_tests/templates/shared-salt.yaml
index 22acb9a..f884028 100644
--- a/tcp_tests/templates/shared-salt.yaml
+++ b/tcp_tests/templates/shared-salt.yaml
@@ -503,6 +503,12 @@
{# Prepare salt services and nodes settings #}
+- description: "*Workaround* for https://mirantis.jira.com/browse/PROD-17822"
+ cmd: apt-get remove -y python-jenkins
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 1, delay: 5}
+ skip_fail: true
+
- description: Run 'linux' formula on cfg01
cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@salt:master' state.sls linux;
node_name: {{ HOSTNAME_CFG01 }}