Description of problem: 1] ovirt-log-collector --no-hypervisors doesn't generate database dump and have to generate again for the db separately. ~~~~~~ # ovirt-log-collector --no-hypervisors --local-tmp=/root/LC This command will collect system configuration and diagnostic information from this system. The generated archive may contain data considered sensitive and its content should be reviewed by the originating organization before being passed to any third party. No changes will be made to system configuration. INFO: Gathering oVirt Engine information... INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... ERROR: Could not collect PostgreSQL information: 'PostgresData' object has no attribute 'sos_version'. <<========= INFO: Skipping hypervisor collection... INFO: Creating compressed archive... INFO: Log files have been collected and placed in /tmp/sosreport-LogCollector-20220714204308.tar.xz The sha256 for this file is cbe81068fa65f9cfab605f70057525890b4c362f7ce21590ed5904667ea48670 and its size is 108.4M ~~~~~~ Version-Release number of selected component (if applicable): RHV 4.4 SP1 How reproducible: Always Steps to Reproduce: 1. Run ovirt-log-collector --no-hypervisors 2. Try to extract it 3. No db dump file in dir: [root@vm62 sosreport-LogCollector-20220714205446]# cd log-collector-data/ [root@vm62 log-collector-data]# ll total 0 [root@vm62 log-collector-data]# pwd /tmp/sosreport-LogCollector-20220714205446/log-collector-data Actual results: database dump not generated. Expected results: database dump to be generated. Additional info:
This is not a Virt bug. Not sure whether it should go to Infra or Integration, please choose appropriately.
Can you please check the version of ovirt-log-collector you have on a system?
The issue should not exist after ovirt-log-collector-4.4.5, so ovirt-log-collector-4.4.6 or the latest ovirt-log-collector-4.4.7 should not have this issue. (Which is basically a duplicate of BZ#2081684).
bdolezal could you pls take a look?
(In reply to Lev Veyde from comment #4) > The issue should not exist after ovirt-log-collector-4.4.5, so > ovirt-log-collector-4.4.6 or the latest ovirt-log-collector-4.4.7 should not > have this issue. (Which is basically a duplicate of BZ#2081684). Sorry for the late reply, it was ovirt-log-collector-4.4.5-1.el8ev.noarch when I reported the issue but now it can create dump with ovirt-log-collector-4.4.6 version. I think we can mark duplicate of 2081684 and close.
*** This bug has been marked as a duplicate of bug 2081684 ***