Bug 753917

Summary: aeolus-cli build/push lists out target image hash but does not associate which provider
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: rubygem-aeolus-cliAssignee: Martyn Taylor <mtaylor>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: pblaho, 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-05-15 19:50:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description wes hayutin 2011-11-14 20:57:03 UTC
Description of problem:


[root@qeblade31 ~]# aeolus-cli build --target ec2,mock,vsphere --template RHEL61.tpl Image: f37eab80-2f04-4713-936e-9285eba3d604
Build: ff8583b9-9eea-41e9-a48d-53c0d0dea65f
Target Image: cdd31f96-e6c3-4fbb-b50d-c1338965be43	 :Status COMPLETED
Target Image: 7592e041-95ab-444f-a5ac-965c9b6fbedc	 :Status COMPLETED
Target Image: f347a9e8-a7af-4cc3-a4ee-41e6c0ea546c	 :Status BUILDING


[root@qeblade31 ~]# aeolus-cli push --account wes-ap-northeast-1,wes-ap-southwest,wes-us-west-1,wes-eu-west-1,wes-east,vsphereAccount,mockAccount --build ff8583b9-9eea-41e9-a48d-53c0d0dea65f
Build: ff8583b9-9eea-41e9-a48d-53c0d0dea65f
Provider Image: bd46d7e2-843c-4c45-9d11-baa8d7ff160c	 Status: PUSHING
Provider Image: 922b43de-b0ae-46c7-8871-6b6bc3999bde	 Status: PUSHING
Provider Image: 48ef7911-58ea-4c22-b352-0c76444f7287	 Status: PUSHING
Provider Image: a751a82a-d9f6-468d-baab-c912aac7e678	 Status: PUSHING
Provider Image: 88fdc8da-59c2-482c-907a-0c6ee8dcaf1a	 Status: PUSHING
Provider Image: 6c275ac3-9ff7-4a29-9d5b-4eb170b83cfb	 Status: PUSHING
Provider Image: f0686068-d6c3-4f56-b468-614a649a91ec	 Status: PENDING
[root@qeblade31 ~]# 


In each case the provider account should be listed in the return.

Comment 1 wes hayutin 2011-11-14 20:57:36 UTC
[root@qeblade31 ~]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.6.0-0.20111111170238gitf4b8e77.fc15.noarch
aeolus-configure-2.3.0-0.20111111160331git9bde372.fc15.noarch
aeolus-conductor-0.6.0-0.20111111170238gitf4b8e77.fc15.noarch
aeolus-all-0.6.0-0.20111111170238gitf4b8e77.fc15.noarch
aeolus-conductor-daemons-0.6.0-0.20111111170238gitf4b8e77.fc15.noarch
rubygem-aeolus-cli-0.1.0-3.20111110160653gitbe66ffb.fc15.noarch
rubygem-aeolus-image-0.1.0-4.20111024205454git6b2b696.fc15.noarch

Comment 2 Petr Blaho 2011-12-13 17:57:01 UTC
Pushed Martyn's patches:


aeolus-image-rubygem:

commit 8a65b830b2c1146b64b7754cb95b459ec7e531eb
Author: Martyn Taylor <mtaylor>
Date:   Tue Dec 13 16:05:44 2011 +0000

    BZ#753917 Added Target to Builder

---

conductor:

commit 4438a1a4141c2c6f09316b0963e26085453b7202
Author: Martyn Taylor <mtaylor>
Date:   Tue Dec 13 16:06:40 2011 +0000

    BZ#753917 Added target to API Build Output

commit 926e1ac95ba9bb065afcd2b0db6b7e550cb7ab8e
Author: Martyn Taylor <mtaylor>
Date:   Thu Dec 8 18:32:27 2011 +0000

    BZ#753917 Updated API to return Provider/Account on Push

---

aeolus-cli:


commit b8a38fbeee828086815721d03dab18d861f77c89
Author: Martyn Taylor <mtaylor>
Date:   Tue Dec 13 16:17:59 2011 +0000

    BZ#753917 Added targets to output of build

commit 7ad615ab6ddcd3fa479fcf1da728e0c79e94078f
Author: Martyn Taylor <mtaylor>
Date:   Thu Dec 8 18:33:26 2011 +0000

    BZ#753917 Updated Push command to list Provider/Account for ProviderImages

Comment 3 Shveta 2011-12-23 16:20:02 UTC
[root@hp-bl260cg5-01 ~]# aeolus-image build --target ec2,mock --template RHEL61.tpl
Target Image         Target      Status    Image       Build                      
------------------------------------     ------------------------------------     
aebf0145-fc8c-4e41-a79f-149582b2ed13     ec2        New           720c9b1c-0800-4a70-9c27-714bd5a81f84     515886e6-4a1a-4b69-b154-20c5b98ebc21     

188740cd-f141-42b1-a15f-7a22bbaae26a     mock       COMPLETED     720c9b1c-0800-4a70-9c27-714bd5a81f84     515886e6-4a1a-4b69-b154-20c5b98ebc21     

[root@hp-bl260cg5-01 ~]# aeolus-image  push --image 720c9b1c-0800-4a70-9c27-714bd5a81f84 --account ssachdev,mock
ID    Provider  Account    Status      Image                                    
------------------------------------------------------------------------     
b9f36369-077d-4c0e-acac-e1fbbf0c329d   ec2-us-east-1  ssachdev     PUSHING     720c9b1c-0800-4a70-9c27-714bd5a81f84     

5826f1ba-ede1-4b51-8e71-88bf8656e418     mock          mock                             PUSHING     720c9b1c-0800-4a70-9c27-714bd5a81f84     

Providers are listed now.
Verified in 
rpm -qa|grep aeolus
aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch
rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch
rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch
aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch
aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch

Comment 5 errata-xmlrpc 2012-05-15 19:50:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0591.html