Bug 754956

Summary: aeolus-cli list --targetimages returns Could not find subcommand for list.
Product: [Retired] CloudForms Cloud Engine Reporter: Aziza Karol <akarol>
Component: rubygem-aeolus-cliAssignee: Petr Blaho <pblaho>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: jlaska, 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-08-30 17:13:00 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 Aziza Karol 2011-11-18 11:38:17 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
[root@hp-xw8400-01 templates]# aeolus-cli build --target ec2 --template fedora15.tpl 
Image: ac49fa95-f63e-4bf4-985d-cd22c24c08c1
Build: cfede273-ef78-483c-92f6-b027d5470ffb
Target Image: eda7ae6e-9d9b-48ef-8e17-9854893bbd1f	 :Status New


[root@hp-xw8400-01 templates]# aeolus-cli list  --targetimages cfede273-ef78-483c-92f6-b027d5470ffb
Could not find subcommand for list, run `./aeolus-cli --help` for usage instructions


Additional info:
[root@hp-xw8400-01 bin]# 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 1 wes hayutin 2011-11-21 17:30:58 UTC
*** Bug 755108 has been marked as a duplicate of this bug. ***

Comment 2 wes hayutin 2011-11-28 01:24:18 UTC
adding ce-sprint-next bugs to ce-sprint tracker for this release

Comment 3 wes hayutin 2011-12-01 14:20:51 UTC
this bug is in "POST" w/o any git info listed.. (thats bad)
Please add a comment w/ git hash and repo name where the fix was made

Comment 4 Petr Blaho 2011-12-01 14:45:47 UTC
This is now on mailing list, ACKed and pushed to master branches.


actual code - https://github.com/aeolusproject/aeolus-cli/commit/911d47ce3495ec808cb21df18aef88a80ae9762d

tests for that code - https://github.com/aeolusproject/aeolus-cli/commit/785c8bedbdafc0667c72a701fd1b9a1b058898f0

depends on this - https://github.com/aeolusproject/conductor/commit/d86537c2bac0ee4d56daf4de50f0d555cef91087 - there was a bug in conductor API that was discovered and repaired during this one

Comment 5 wes hayutin 2011-12-01 15:05:06 UTC
Thanks!!

Comment 6 Martyn Taylor 2011-12-05 10:07:26 UTC
commit 785c8bedbdafc0667c72a701fd1b9a1b058898f0
Author: Petr Blaho <pblaho>
Date:   Tue Nov 29 14:51:58 2011 +0100

    Change and refactor tests for refactored option parser use
    
    This support mzatko's patch a11b9902b9e3dbb6f13cab9c8a2cb9f6f232edfb
    
    This is tests of solution for https://bugzilla.redhat.com/show_bug.cgi?id=754956

Comment 7 Aziza Karol 2011-12-29 16:59:14 UTC
[root@dell-pe1950-01 templates]# aeolus-image build --target  mock --template fedora15.tpl 
Target Image                             Target     Status        Image                                    Build                                    
------------------------------------     ------     ---------     ------------------------------------     ------------------------------------     
39754029-4bd5-4da6-8d36-2ccd79a9d18e     mock       COMPLETED     914edac0-e61f-489d-af90-6f9ee801d46a     76d5e609-4847-435b-be3b-479ef7aeda3c     


[root@dell-pe1950-01 templates]# aeolus-image list --targetimages 76d5e609-4847-435b-be3b-479ef7aeda3c
ID                                       Status       Build                                    
------------------------------------     --------     ------------------------------------     
39754029-4bd5-4da6-8d36-2ccd79a9d18e     COMPLETE     76d5e609-4847-435b-be3b-479ef7aeda3c     

verified on:
[root@dell-pe1950-01 templates]# rpm -qa | grep aeolus
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-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch
aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch

Comment 8 wes hayutin 2012-01-03 14:30:14 UTC
These bugs are verified, removing from ce-sprint