Description of problem: while running ovirt-log-collector tool . its failed on connecting to the PostgreSQL and exit on error ERROR: Could not collect PostgreSQL information: [Errno 2] No such file or directory: '/var/tmp/logcollector-_hrqeh5j/working/log-collector-data/sosreport-rhev-red-01-2020-07-06-nhaduce.tar.xz.sha256' -> '/var/tmp/logcollector-_hrqeh5j/working/log-collector-data/postgresql-sosreport-rhev-red-01-2020-07-06-nhaduce.tar.xz.sha256' Version-Release number of selected component (if applicable): vdsm-4.40.22-1.el8ev.x86_64 rhv-release-4.4.1-10-001.noarch How reproducible: from the engine run the > ovirt-log-collector Steps to Reproduce: 1. from the engine run the > ovirt-log-collector Actual results: INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... ERROR: Could not collect PostgreSQL information: [Errno 2] No such file or directory: '/var/tmp/logcollector-_hrqeh5j/working/log-collector-data/sosreport-rhev-red-01-2020-07-06-nhaduce.tar.xz.sha256' -> '/var/tmp/logcollector-_hrqeh5j/working/log-collector-data/postgresql-sosreport-rhev-red-01-2020-07-06-nhaduce.tar.xz.sha256' Expected results: without any errors such as above Additional info: 1. tested on rhev 4.3 which working without any errors , seems like its related to the new DB 2. while running the ovirt-log-collector with the --local-tmp flag in order to redirect the results to another folder other then /tmp its still write the results to /tmp example : ovirt-log-collector --no-hypervisors --local-tmp=/tzahi_mount_test/log_collector_bug/LOGCOLLECT1/ --log-file=/tzahi_mount_test/log_collector_bug/LOGCOLLECT2/collect.log INFO: Skipping hypervisor collection... INFO: Creating compressed archive... ERROR: tar: /tmp/sosreport-LogCollector-20200706041628.tar: Cannot write: No space left on device ERROR: tar: Error is not recoverable: exiting now 2.0G 2.0G 24K 100% /tmp
Start investigating.
Moving back to modified since ovirt-log-collector-4.4.2-2 was not included in 4.4.1 compose
doesn't matter if it's in a compose or not if FixedInVersion clearly specifies the package. Fix is available there and QE can either verify with that or wait until a compose exists
*** Bug 1862169 has been marked as a duplicate of this bug. ***
As a workaround, you can still collect data from the engine by running sos-report.
Verified on: ovirt-engine-4.4.2.3-0.6.el8ev.noarch ovirt-log-collector-4.4.3-1.el8ev.noarch Steps: 1. # fallocate -l $((`df | grep /tmp | awk '{print $4}'` - 100))K /tmp/fake.file 2. # ovirt-log-collector --local-tmp=/root/local_tmp Results: No PostgreSQL and tmp files created on dir specified on --local-tmp (no issue with lack on space on /tmp)
This bugzilla is included in oVirt 4.4.2 release, published on September 17th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.