Bug 753886

Summary: aeolus-cli list --images should populate columns
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: rubygem-aeolus-cliAssignee: Matt Wagner <matt.wagner>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, morazi, mtaylor
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:49:59 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 18:49:51 UTC
Description of problem:

[root@qeblade30 ~]# aeolus-cli list --images
ID     Name     OS     OS Version     Arch     Description     
--     ----     --     ----------     ----     -----------     

[root@qeblade30 ~]# aeolus-cli build --target ec2 --template RHEL61.tpl 
Image: e8f8f314-71f6-4fb2-92e2-17fb6c24b6f2
Build: 0df5379e-1946-4964-9b90-2e42757eddba
Target Image: 3612e40b-744e-4788-8ed9-05aaafff343e	 :Status New
[root@qeblade30 ~]# aeolus-cli build --target ec2 --template RHEL61.tpl ^C
[root@qeblade30 ~]# aeolus-cli push --targetimage 3612e40b-744e-4788-8ed9-05aaafff343e --account wes-us-east-1,wes-us-west-1
Target Image: 3612e40b-744e-4788-8ed9-05aaafff343e
Provider Image: 4ab37cc2-3585-4b14-91cf-7ddc9c86c4c0	 Status: New
Provider Image: 0706f87a-9726-4454-875f-1bf135982e0a	 Status: New
[root@qeblade30 ~]# aeolus-cli list --images
ID                                       Name     OS     OS Version     Arch     Description     
------------------------------------     ----     --     ----------     ----     -----------     
e8f8f314-71f6-4fb2-92e2-17fb6c24b6f2                                                             

[root@qeblade30 ~]# hostname
qeblade30.rhq.lab.eng.bos.redhat.com
[root@qeblade30 ~]# ./getTemplateStatus.py -i 0706f87a-9726-4454-875f-1bf135982e0a
/usr/lib/python2.6/site-packages/oauth2/__init__.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
COMPLETED
[root@qeblade30 ~]# ./getTemplateStatus.py -i 4ab37cc2-3585-4b14-91cf-7ddc9c86c4c0
/usr/lib/python2.6/site-packages/oauth2/__init__.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
COMPLETED
[root@qeblade30 ~]# aeolus-cli list --images
ID                                       Name     OS     OS Version     Arch     Description     
------------------------------------     ----     --     ----------     ----     -----------     
e8f8f314-71f6-4fb2-92e2-17fb6c24b6f2                                                             

[root@qeblade30 ~]#

Comment 1 wes hayutin 2011-11-14 18:50:12 UTC
[root@qeblade30 ~]# rpm -qa | grep aeolus
rubygem-arel-2.0.10-0.aeolus.el6.noarch
aeolus-conductor-doc-0.6.0-0.20111111170238gitf4b8e77.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-aeolus-cli-0.1.0-3.20111110160653gitbe66ffb.el6.noarch
rubygem-aeolus-image-0.1.0-4.20111024205454git6b2b696.el6.noarch
aeolus-conductor-daemons-0.6.0-0.20111111170238gitf4b8e77.el6.noarch
aeolus-configure-2.3.0-0.20111111160331git9bde372.el6.noarch
aeolus-conductor-0.6.0-0.20111111170238gitf4b8e77.el6.noarch
aeolus-all-0.6.0-0.20111111170238gitf4b8e77.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch
[root@qeblade30 ~]#

Comment 2 Matt Wagner 2011-11-16 20:34:17 UTC
I believe this is already fixed, but the rubygem-aeolus-image RPM we're carrying in our testing repo is way-old.

$ aeolus-cli list --images
ID                                       Name        OS         OS Version     Arch       Description     
------------------------------------     -------     ------     ----------     ------     -----------     
eaa2ef24-68ac-4b37-b48b-735e7d2374d6     f15jeos     Fedora     15             x86_64     Fedora 15       
927bf032-8908-4023-bd14-d98f05dbd9f5     f15jeos     Fedora     15             x86_64     Fedora 15       
0dd0494c-dff8-4662-a2c5-49a7c671c328     f15jeos     Fedora     15             x86_64     Fedora 15 


I'm just waiting on eggs to push to the repo then I'll kick this over to QE for verification.

Comment 3 Matt Wagner 2011-11-16 21:21:56 UTC
The latest RPM is in the testing repo now, so this should be good to go!

Comment 4 Aziza Karol 2011-11-18 06:03:23 UTC
[root@hp-xw8400-01 ~]# aeolus-cli list --images
ID                                       Name               OS         OS Version     Arch       Description        
------------------------------------     --------------     ------     ----------     ------     --------------     
de50ce15-9033-425a-99ed-9fc79121f83d     RHEL_westest01     RHEL-6     1              x86_64     RHEL61 x86_64      
659a1773-3e67-4e65-9834-78e932c017db     Fedora 15          Fedora     15             x86_64     desc               

verified on:
[root@hp-xw8400-01 ~]# rpm -qa | grep aeolus
aeolus-conductor-0.6.0-3.fc15.noarch
rubygem-aeolus-cli-0.1.0-4.fc15.noarch
aeolus-conductor-daemons-0.6.0-3.fc15.noarch
rubygem-aeolus-image-0.1.0-6.fc15.noarch
aeolus-conductor-doc-0.6.0-3.fc15.noarch
aeolus-configure-2.3.0-1.fc15.noarch
aeolus-all-0.6.0-3.fc15.noarch

Comment 5 wes hayutin 2011-11-28 01:16:25 UTC
removing bugs from ce-sprint from the tracker.. you can find these bugs by querying the "qa whiteboard" for ce-sprint-60

Comment 7 errata-xmlrpc 2012-05-15 19:49:59 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