Bug 782097

Summary: Aeolus::Image::Factory::Builder.find_active_build doesn't respect target
Product: [Retired] CloudForms Cloud Engine Reporter: Jan Provaznik <jprovazn>
Component: rubygem-aeolus-imageAssignee: Jan Provaznik <jprovazn>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, deltacloud-maint, slinaber, 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: 2012-08-30 17:12:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
image show page
none
build_status none

Description Jan Provaznik 2012-01-16 14:13:59 UTC
When checking if an image is being built in factory for specified target type (for example 'ec2'), current builds are not filtered by this target type.

Comment 1 wes hayutin 2012-01-16 15:24:00 UTC
more detail about the bug would be helpful here..
Thanks!

Comment 2 Jan Provaznik 2012-01-17 12:30:10 UTC
Created attachment 555748 [details]
image show page

Comment 3 Jan Provaznik 2012-01-17 12:47:22 UTC
If there are multiple provider types and image building for one of the provider types takes more time, all builds on the image show page will be marked as "pending" (including the ones which are already built).

For most provders image build process is quick/immediate, so it could occur only for provider types where building takes more time (probably rhevm).

(On the screenshot above are used mock and ec2 providers, but I updated imagefactory's mock builder for this test to use 60s delay - it will not work for you on these 2 provider types)

Comment 4 Jan Provaznik 2012-01-17 14:41:23 UTC
patch is on the list: https://fedorahosted.org/pipermail/aeolus-devel/2012-January/008133.html

Comment 5 Jan Provaznik 2012-01-18 15:25:27 UTC
pushed, commit 0d31a376173163a0b7d2a16ca2b035e2714510e7

Comment 6 Steve Linabery 2012-01-18 21:10:03 UTC
rubygem-aeolus-image-0.3.0-3.el6.src.rpm
62d8e10c1391e4cf4da52dbc61aae04cfa72ae34

Comment 7 Shveta 2012-02-07 17:25:02 UTC
Created attachment 560017 [details]
build_status

Comment 8 Shveta 2012-02-07 17:26:10 UTC
Individual different build status are shown .

Verified in
rpm -qa|grep aeolus
aeolus-conductor-daemons-0.8.0-21.el6.noarch
aeolus-configure-2.5.0-12.el6.noarch
aeolus-conductor-doc-0.8.0-21.el6.noarch
rubygem-aeolus-image-0.3.0-7.el6.noarch
rubygem-aeolus-cli-0.3.0-8.el6.noarch
aeolus-conductor-0.8.0-21.el6.noarch
aeolus-all-0.8.0-21.el6.noarch