Bug 772285

Summary: conductor needs to reflect a failed push in the webui.
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Tomas Sedovic <tsedovic>
Status: CLOSED DUPLICATE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, deltacloud-maint, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://qeblade31.rhq.lab.eng.bos.redhat.com/conductor/images/e3ef3b39-065c-44e1-98c6-efb4f8378c7e?build=83b4d7fb-e9f5-4c37-a00a-0d5828624b42
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-24 17:27:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 744194    
Attachments:
Description Flags
ss none

Description wes hayutin 2012-01-06 17:07:22 UTC
Description of problem:

1. build a template
2. ensure a push will fail.. maybe via firewall change .etc..
3. in the webui go to env->images push upload

You can see the push/upload fail in the imagefactory logs.. but the conductor webui will not refresh or show status of the failure.  When the user does refresh the browser the only indication that the build failed.. is that the upload button is redisplayed.. BAD

see screenshots and log


factory log

12-01-06 11:54:48,301 DEBUG imgfac.BuildJob.BuildJob pid(18629) Message: Builder (b29bb585-a4a5-44f8-94ea-dfffe47dc4b6) changed percent complete from 0 to 0
2012-01-06 11:54:48,303 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(18629) Message: Image file /var/lib/imagefactory/images/vmware-image-3260e73e-7767-4a03-90b5-4de03e0d34b5.vmdk already present - skipping warehouse download
2012-01-06 11:54:48,766 DEBUG paste.httpserver.ThreadPool pid(18629) Message: Added task (0 tasks queued)
2012-01-06 11:54:50,552 ERROR suds.xsd.sxbasic pid(18629) Message: Import:0x7fe3a44be510, imported schema (urn:reflect) at (https://10.16.120.224/sdk/reflect-messagetypes.xsd), failed
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/suds/xsd/sxbasic.py", line 560, in download
    d = reader.open(url)
  File "/usr/lib/python2.6/site-packages/suds/reader.py", line 79, in open
    d = self.download(url)
  File "/usr/lib/python2.6/site-packages/suds/reader.py", line 95, in download
    fp = self.options.transport.open(Request(url))
  File "/usr/lib/python2.6/site-packages/suds/transport/https.py", line 60, in open
    return  HttpTransport.open(self, request)
  File "/usr/lib/python2.6/site-packages/suds/transport/http.py", line 64, in open
    raise TransportError(str(e), e.code, e.fp)
TransportError: HTTP Error 404: Not Found
2012-01-06 11:54:50,553 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(18629) Message: Exception caught in ImageFactory
2012-01-06 11:54:50,554 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(18629) Message: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 245, in push_image_upload
    credentials)


[root@qeblade31 ~]# rpm -qa | grep aeolus
aeolus-configure-2.6.0-0.20120105171403gitf0043e8.el6.noarch
aeolus-conductor-doc-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-aeolus-cli-0.4.0-0.20120105171410git2c6b457.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
aeolus-conductor-daemons-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
aeolus-conductor-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-aeolus-image-0.4.0-0.20120105171419git8108b42.el6.noarch
aeolus-all-0.9.0-0.20120105223209git5e068fe.el6.noarch

Comment 1 wes hayutin 2012-01-06 17:07:44 UTC
Created attachment 551205 [details]
ss

Comment 2 Angus Thomas 2012-01-24 17:27:14 UTC

*** This bug has been marked as a duplicate of bug 781482 ***