Description of problem: When a payload upload to insights, the insights-client binary doesn't return !=0 when it fails which CFME reports as a success Version-Release number of selected component (if applicable): 5.11.0.22.20190827200559_e618ece How reproducible: 100% Steps to Reproduce: 1. Register the appliance to RHSM and insights as insights-qa user 2. Initiate a platform sync 3. Check the evm.log Actual results: evm.log shows upload was a success Expected results: Upload failed Additional info: Adam Grare: data uploader is checking for != 0 => failure looks like it needs to parse stdout/stderr
Is this a logging only issue, do we provide the failed status information to the user?
No, CFME was going the upload as a success: root@dhcp-8-198-4 log]# tail -f evm.log | grep cloud.redhat.com [----] I, [2019-08-29T10:07:35.797598 #7959:2ac63e8bba58] INFO -- : MIQ(MiqTask.generic_action_with_callback) Task: [4] Queued the action: [Collect and upload inventory to cloud.redhat.com] being run for user: [admin] [----] I, [2019-08-29T10:07:35.851365 #7959:2ac63e8bba58] INFO -- : MIQ(MiqTask.generic_action_with_callback) Task: [5] Queued the action: [Collect and upload inventory to cloud.redhat.com] being run for user: [admin] [----] I, [2019-08-29T10:07:38.226550 #7885:2ac63af1c5b8] INFO -- : MIQ(Cfme::CloudServices::DataUploader.upload) Uploading /tmp/cfme_inventory-20190829-7885-w9yoc4.tar.gz to cloud.redhat.com... [----] I, [2019-08-29T10:07:41.628897 #7885:2ac63af1c5b8] INFO -- : MIQ(Cfme::CloudServices::DataUploader.upload) Uploading /tmp/cfme_inventory-20190829-7885-w9yoc4.tar.gz to cloud.redhat.com...Success - [----] I, [2019-08-29T11:26:41.949114 #1060:2ae83a8b05b8] INFO -- : MIQ(Cfme::CloudServices::DataUploader.upload) Uploading /tmp/cfme_inventory-20190829-1060-1cwaq5p.tar.gz to cloud.redhat.com... [----] I, [2019-08-29T11:26:45.746698 #1060:2ae83a8b05b8] INFO -- : MIQ(Cfme::CloudServices::DataUploader.upload) Uploading /tmp/cfme_inventory-20190829-1060-1cwaq5p.tar.gz to cloud.redhat.com...Success -