Created attachment 1242216 [details]
Description of problem: During a RHV Self Hosted + CFME + OCP API deployment, the foreman task Actions::Fusor::Deployment::OpenShift::Deploy reported the error "ansible-RHEV returned a non-zero return code". A failure occurred during the ansible task [launch_vms : Wait for image uploads to complete].
Summary of the output below:
FAILED - RETRYING: TASK: launch_vms : Wait for image uploads to complete (274 retries left).
Traceback (most recent call last):
File "/etc/qci/scripts/upload_image", line 159, in <module>
File "/etc/qci/scripts/upload_image", line 32, in main
if '409' not in ' '.join(e.args):
TypeError: sequence item 0: expected string, int found
QCI Media Version: QCI-1.1-RHEL-7-20170116.t.0
How reproducible: Unknown but encountered on a few of the automation runs
Steps to Reproduce:
1. Install QCI from ISO
2. Start RHV Self Hosted deployment
Actual results: Deployment fails during
Expected results: OpenShift image upload and deployment succeeds
This error occurred when parsing the error returned by the ovirt sdk, so there is likely another underlying issue, but I put in a fix that should at least let it raise the correct error.