[master] Deployment with ansible 2.9 Fails outside of CI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
yatin |
Bug Description
Deployment with ansible 2.9 fails when /usr/local/bin is not added in secure_path in /etc/sudoers.
But when tried deployment in a local vm deployment failed as follows:-
Image prepare failed: [Errno 2] No such file or directory: 'ansible-
concurrent.
"""
Traceback (most recent call last):
File "/usr/lib64/
r = call_item.
File "/usr/lib64/
return [fn(*args) for args in chunk]
File "/usr/lib64/
return [fn(*args) for args in chunk]
File "/usr/lib/
return uploader.
File "/usr/lib/
container_
File "/usr/lib/
).run(None)
File "/usr/lib/
log_
File "/usr/lib/
env=
File "/usr/lib64/
restore_
File "/usr/lib64/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'ansible-
This happening because ansible rpm stopped creating /usr/bin/
In CI when trying with ansible 2.9[1] didn't faced the issue because nodepool images adds /usr/local/bin in secure_path[2] and tripleo-ansible creates ansible-playbook-3 under /usr/local/bin/[4].
I think in master which is python3 only all such occurances of versioned binaries can be dropped. Until all such occurrences are cleared we can add /usr/bin/
[1] https:/
[2] https:/
[3] https:/
[4] https:/
Changed in tripleo: | |
milestone: | none → ussuri-rc1 |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → yatin (yatinkarel) |
Fix proposed to branch: master /review. opendev. org/720694
Review: https:/