Why rhevm-log-collector fails with "ERROR: Failed to collect logs from: 10.x.x.x; [Errno 2] No such file or directory"?
Issue
- I did minimal installation of RHEL and installed RHEV-M after that. Running rhevm-log-collector after that failed to collect sosreports from hypervisors with below error.
# rhevm-log-collector --hosts=10.x.x.x
INFO: Gathering oVirt Engine information...
INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost...
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip):
About to collect information from 1 hypervisors. Continue? (Y/n): Y
INFO: Gathering information from selected hypervisors...
INFO: collecting information from 10.x.x.x
ERROR: Failed to collect logs from: 10.x.x.x; [Errno 2] No such file or directory
INFO: finished collecting information from 10.x.x.x
Creating compressed archive...
INFO: Log files have been collected and placed in /tmp/sosreport-LogCollector-20131004084112.tar.xz.
The MD5 for this file is f93e0dbb4b95c10c69d61c5714267144 and its size is 5.3M
Environment
- Red Hat Enterprise Virtualization v3.2
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.
