OpenShift Aggregated Logging installation task fails due to permission denied on /tmp
Issue
Aggregated Logging installation playbook fails when apply node labels:
TASK [openshift_logging_fluentd : Execute the fluentd temporary labeling script]
The full traceback is:
File "/tmp/ansible_4CtEhK/ansible_modlib.zip/ansible/module_utils/basic.py", line 2762, in run_command
cmd = subprocess.Popen(args, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
failed: [master1] (item=10.193.188.91) => {
"changed": false,
"cmd": "/tmp/fluentd_label.temp.sh 10.193.188.91",
"fluentd_host": "10.193.188.91",
"invocation": {
"module_args": {
"_raw_params": "/tmp/fluentd_label.temp.sh 10.193.188.91",
"_uses_shell": false,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "[Errno 13] Permission denied",
"rc": 13
}
Environment
- Red Hat OpenShift Container Platform
- 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
