-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.20
-
None
-
Quality / Stability / Reliability
-
False
-
-
0
-
Low
-
None
-
QA
-
None
-
None
-
OCPEDGE Sprint 277
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
On two-node-toolbox there is a specialized lookup plugin that checks the hypervisor's Git config. It fails to find a certain Python class, stopping the installation
Version-Release number of selected component (if applicable):
How reproducible:
From a fresh installation of components on MacOS, it happens every time. Might be related to Python version on local ansible runner, so it's not consistent
Steps to Reproduce:
1. Follow dependency installation and configuration on two-node-toolbox READMEs
2. Provision an hypervisor or use an existing one
3. Run "make fencing-ipi"
Actual results:
TASK [git-user : Install gitconfig] ***************************************************************************************************************************
[ERROR]: Task failed: The lookup plugin 'gitconfig' failed: name 'CalledProcessError' is not defined
Task failed.
Origin: /Users/suppawar/Supriya_TNF/two-node-toolbox/deploy/openshift-clusters/roles/git-user/tasks/main.yml:19:3
17 dest: "{{configgit.path}}/attributes"
18 src: attributes
19 - name: Install gitconfig
^ column 3
<<< caused by >>>
The lookup plugin 'gitconfig' failed.
Origin: /Users/suppawar/Supriya_TNF/two-node-toolbox/deploy/openshift-clusters/roles/git-user/templates/config.j2
<<< caused by >>>
name 'CalledProcessError' is not defined
fatal: [ec2-user@3.230.246.91]: FAILED! => {
"changed": false
}
MSG:
Task failed: The lookup plugin 'gitconfig' failed: name 'CalledProcessError' is not defined
Expected results:
- No error -
Additional info: