Closed amorenoz closed 2 years ago
cc @SalDaniele
@amorenoz could you send me this sos report tar that is generating this error? I can't seem to recreate it with any of my k8 / compute node reports, I assume it is something with the controller
I think any sos report generates it
Note, the extraction works, It's only that the "write error" looks fishy
Hmm. Yeah it must be that first tar to determine the directory name.
When I run the script with tar -verbose and remove the redirect to /dev/null, I only see errors for files not found. Is there some additional debugging measure I might be missing?
./ovs-offline collect-sos-ovn /var/tmp/sosreport-ovn-control-plane-2021-09-29-axfnkgr.tar.xz
Extracting OVN data from sos report...
tar: sosreport-ovn-control-plane-2021-09-29-axfnkgr/var/lib/openvswitch/ovn/ovnnb_db.db: Not found in archive
tar: sosreport-ovn-control-plane-2021-09-29-axfnkgr/var/lib/openvswitch/ovn/ovnsb_db.db: Not found in archive
tar: Exiting with failure status due to previous errors
tar: sosreport-ovn-control-plane-2021-09-29-axfnkgr/usr/local/etc/openvswitch/ovnnb_db.db: Not found in archive
tar: sosreport-ovn-control-plane-2021-09-29-axfnkgr/usr/local/etc/openvswitch/ovnsb_db.db: Not found in archive
tar: Exiting with failure status due to previous errors
sosreport-ovn-control-plane-2021-09-29-axfnkgr/etc/openvswitch/ovnnb_db.db
sosreport-ovn-control-plane-2021-09-29-axfnkgr/etc/openvswitch/ovnsb_db.db
Offline OVS Debugging: OVN data collected and stored in /tmp/ovs-offline
*******************************************************************
[root@fedora bin]# ./ovs-offline collect-sos-ovs /home/sdaniele/Downloads/sosreport_openstack.tar.xz
Extracting OVS data from sos report...
sosreport-hareshcomputesriovoffload-0-haresh-2021-09-24-shrdjlw/sos_commands/rpm/
sosreport-hareshcomputesriovoffload-0-haresh-2021-09-24-shrdjlw/sos_commands/rpm/package-data
sosreport-hareshcomputesriovoffload-0-haresh-2021-09-24-shrdjlw/sos_commands/openvswitch/
[...]
tar: sosreport-hareshcomputesriovoffload-0-haresh-2021-09-24-shrdjlw/var/lib/openvswitch/conf.db: Not found in archive
tar: Exiting with failure status due to previous errors
sosreport-hareshcomputesriovoffload-0-haresh-2021-09-24-shrdjlw/etc/openvswitch/conf.db
Offline OVS Debugging: OVS data collected and stored in /tmp/ovs-offline
*******************************************************************
I believe this can be closed now, unless you are still seeing this issue with the new changes? I am not on my end.
It seems to work but we need to see where that error comes from and fix it. Note: also happens on collect-sos-ovs