Bug 688924

Summary: push requests not sent to factory connector for ec2
Product: [Retired] CloudForms Cloud Engine Reporter: Jason Guiditta <jguiditt>
Component: aeolus-conductorAssignee: Jason Guiditta <jguiditt>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: deltacloud-maint, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 684278    

Description Jason Guiditta 2011-03-18 14:32:45 UTC
Description of problem: 

It seems that the web service call out to the connector never gets issued properly from the push_job.  I have already started debugging this, and I believe the problem is related to the credentials xml not getting encoded right, which causes the request to not be issued.

How reproducible:

Try to build for ec2, push will fail to happen, provider image will show a 'name :' in the ui.

Comment 1 Jason Guiditta 2011-03-22 17:23:53 UTC
commit ee366e9f2872aa3bb47a7d3e04eb1b4cf6930a10
Author: Jason Guiditta <jguiditt>
Date:   Fri Mar 18 22:41:28 2011 -0400

    BZ 688924 - Get ec2 image pushes working.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=688924
    
    To try this out, you will need a successful build of a base image sitting in your
    conductor setup.  In the UI, this will likely be a bullet under builds with a 'completed'
    and the a second line beneathe it with nothing.  Spin up the rails console for your
    env, likely prod (src/script/console) and find the ec2 Image.  Assuming an id of 5:
    i=Image.find(5)
    i.provider_images.each{|k| k.destroy}
    i=Image.find(5)
    i.status="anything"
    i.save
    i.status="complete"
    i.save
    
    This should kick off another attempt at a push.

Comment 2 Jason Guiditta 2011-03-24 14:14:48 UTC
this has been pushed to next

Comment 3 wes hayutin 2011-06-14 15:39:35 UTC
moving to on_qa for review

Comment 4 Shveta 2011-07-07 12:51:18 UTC
Able to build and push image for ec2..


[root@snowstorm ~]# aeolus-image build --target ec2 --template template2.tpl 

Target Image: f2cd599c-d23d-48ab-9c3d-fca1a81b3205
Image: 0a0b8498-c96d-4df7-ae96-220530292bf0
Build: d2b3d726-1e02-4c89-80fb-b63c7ff85def
Status: COMPLETED
Percent Complete: 100

[root@snowstorm ~]# aeolus-image push --provider ec2-us-east-1 --id 0a0b8498-c96d-4df7-ae96-220530292bf0

Provider Image: 77373509-400a-4ed3-b835-799648c61343
Image: 0a0b8498-c96d-4df7-ae96-220530292bf0
Build: d2b3d726-1e02-4c89-80fb-b63c7ff85def
Status: New
Percent Complete: 0


Got an instamce running for ec2.

Comment 5 wes hayutin 2011-08-01 20:00:02 UTC
release pending...

Comment 6 wes hayutin 2011-08-01 20:00:25 UTC
release pending.. 2

Comment 7 wes hayutin 2011-08-01 20:00:30 UTC
release pending...

Comment 9 wes hayutin 2011-12-08 13:58:50 UTC
perm close

Comment 10 wes hayutin 2011-12-08 14:01:22 UTC
closing out old bugs