-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
When using insights-client --compressor with bz2 and xz on a registered system, it fails to upload data with error: Reason: 415: Unsupported Media Type
However it works for --compressor=gz
Steps to reproduce
1- Insights-client --register
2- insights-client --compressor=bz2
[root@kvm-02-guest01 integration-tests]# insights-client --compressor=bz2
Starting to collect Insights data for kvm-02-guest01.rhts.eng.brq.redhat.com
Writing RHSM facts to /etc/rhsm/facts/insights-client.facts ...
Uploading Insights data.
Upload archive failed with status code 415
Upload attempt 1 of 1 failed! Reason: 415: Unsupported Media Type
All attempts to upload have failed!
Please see /var/log/insights-client/insights-client.log for additional information
Upload failed.
3- works for gz
[root@kvm-02-guest01 integration-tests]# insights-client --compressor=gz
Starting to collect Insights data for kvm-02-guest01.rhts.eng.brq.redhat.com
Writing RHSM facts to /etc/rhsm/facts/insights-client.facts ...
Uploading Insights data.
Successfully uploaded report from kvm-02-guest01.rhts.eng.brq.redhat.com to account 6089719.
View details about this system on console.redhat.com:
https://console.redhat.com/insights/inventory/1713e3d2-507b-4c7b-b7f0-094704aec664
Additional info: should --compressor be used only to generate archive and not upload in same step? Could not find any related usage information in man pages and usage guide