Bug 772285 - conductor needs to reflect a failed push in the webui.
Summary: conductor needs to reflect a failed push in the webui.
Keywords:
Status: CLOSED DUPLICATE of bug 781482
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Tomas Sedovic
QA Contact: wes hayutin
URL: https://qeblade31.rhq.lab.eng.bos.red...
Whiteboard:
Depends On:
Blocks: ce-sprint
TreeView+ depends on / blocked
 
Reported: 2012-01-06 17:07 UTC by wes hayutin
Modified: 2012-01-26 12:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-24 17:27:14 UTC
Embargoed:


Attachments (Terms of Use)
ss (255.77 KB, image/png)
2012-01-06 17:07 UTC, wes hayutin
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.