Bug 767099

Summary: aeolus-cli usage needs an update.
Product: [Retired] CloudForms Cloud Engine Reporter: Aziza Karol <akarol>
Component: rubygem-aeolus-cliAssignee: Martyn Taylor <mtaylor>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0   
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:

Description Aziza Karol 2011-12-13 08:48:27 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
I see that the delete functionality is implemented and still (DELETE CURRENTLY NOT IMPLEMENTED) is displayed.

#[root@dell-pe1950-01 ~]# aeolus-cli  -h

Delete examples: (DELETE CURRENTLY NOT IMPLEMENTED) 
aeolus-cli delete --image $image_id               # deletes a image and all associated builds
aeolus-cli delete --build $build_id               # deletes a build and all associated targetimages
aeolus-cli delete --targetimage $target_image     # deletes a target image and all associated provider images
aeolus-cli delete --providerimage $provider_image # deletes a provider image

  
This Message should be removed.




Also,

List options:
    -i, --images                     Retrieve a list of images
    -b, --builds ID                  Retrieve the builds of an image
        --providerimages ID          Retrieve the provider images from a target image
    -g, --targets                    Retrieve the values available for the --target parameter
    -p, --providers                  Retrieve the values available for the --provider parameter
    -a, --accounts                   Retrieve the values available for the --account parameter

 
Push options:
        --targetimages ID            Retrieve the target images from a build
    -A, --account NAME               name of specific provider account to use for push


for ex: option for Retrieve the target images from a build is blank.


options must be displayed.



Additional info:
[root@dell-pe1950-01 ~]# rpm -qa | grep aeolus
rubygem-aeolus-image-0.2.0-1.el6.noarch
aeolus-conductor-doc-0.7.0-4.el6.noarch
aeolus-configure-2.4.0-3.el6.noarch
rubygem-aeolus-cli-0.2.0-3.el6.noarch
aeolus-all-0.7.0-4.el6.noarch
aeolus-conductor-0.7.0-4.el6.noarch
aeolus-conductor-daemons-0.7.0-4.el6.noarch

Comment 1 Martyn Taylor 2012-01-05 15:05:10 UTC
commit 0feaea99c7b69103bc3c53b24369f25781520faa
Author: Martyn Taylor <mtaylor>
Date:   Wed Jan 4 15:31:28 2012 +0000

    BZ#767099 Restructured Config Parser

Comment 2 Aziza Karol 2012-01-10 04:58:18 UTC
aeolus help updated.

[root@dell-pe1950-02 ~]# aeolus-image  -h
Usage: aeolus-image [list|build|push|import|delete|status] [command options]
    -h, --help                       Get usage information for this tool
Aeolus Image Commands:
    list   : Lists Aeolus Image Resources
    build  : Builds a new Image
    push   : Pushes an Image to a particular Provider Account
    import : Imports an existing image
    delete : Delete an Aeolus Image Resource
    status : Check the status of a push or build
See `aeolus-image <command> -h` for more information on each command

[root@dell-pe1950-02 ~]# aeolus-image delete  -h
Usage: aeolus-image delete [command options]

Delete options:
    -I, --image ID                   delete build image and associated objects
    -B, --build ID                   delete build and associated objects
    -m, --targetimage ID             delete target image and its provider images
    -D, --providerimage ID           delete provider image
    -h, --help                       Get usage information for this command

Delete examples:
aeolus-image delete --image $image_id               # deletes a image and all associated builds
aeolus-image delete --build $build_id               # deletes a build and all associated targetimages
aeolus-image delete --targetimage $target_image     # deletes a target image and all associated provider images
aeolus-image delete --providerimage $provider_image # deletes a provider image

[root@dell-pe1950-02 ~]# aeolus-image list -h
Usage: aeolus-image list [command options]
    -i, --images                     Retrieve a list of images
    -b, --builds ID                  Retrieve the builds of an image
    -t, --targetimages ID            Retrieve the target images from a build
    -P, --providerimages ID          Retrieve the provider images from a target image
    -g, --targets                    Retrieve the values available for the --target parameter
    -p, --providers                  Retrieve the values available for the --provider parameter
    -a, --accounts                   Retrieve the values available for the --account parameter
    -h, --help                       Get usage information for this command

Examples:
aeolus-image list --images                     # list available images
aeolus-image list --builds $image_id           # list the builds of an image
aeolus-image list --targetimages $build_id     # list the target images from a build
aeolus-image list --providerimages $target_id  # list the provider images from a target image
aeolus-image list --targets                    # list the values available for the --target parameter
aeolus-image list --providers                  # list the values available for the --provider parameter
aeolus-image list --accounts                   # list the values available for the --account parameter

[root@dell-pe1950-02 ~]# aeolus-image push -h
Usage: aeolus-image push [command options]

Options:
    -I, --image ID                   ID of the base image, can be used in build and push commands, see examples
    -B, --build ID                   push all target images for a build, to same providers as previously
    -t, --targetimages ID            Retrieve the target images from a build
    -A, --account NAME,NAME          name of specific provider account to use for push
    -h, --help                       Get usage information for this command

Examples:
aeolus-image push --account ec2-account,ec2-account2 --targetimage $target_image_id   # Push target images to each of the specified account
aeolus-image push --account ec2-account,rhevm-account --build $build_id               # Push target images attached to a particular build to each of the specified accounts
aeolus-image push --account ec2-account,rhevm-account --image $image_id               # Push target images attached to a particular image to each of the specified accounts

verified on:
[root@dell-pe1950-02 ~]# rpm -qa | grep aeolus
aeolus-configure-2.6.0-0.20120105171403gitf0043e8.el6.noarch
aeolus-conductor-doc-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-aeolus-image-0.4.0-0.20120105171419git8108b42.el6.noarch
aeolus-conductor-0.9.0-0.20120105223209git5e068fe.el6.noarch
aeolus-all-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-aeolus-cli-0.4.0-0.20120105171410git2c6b457.el6.noarch
aeolus-conductor-daemons-0.9.0-0.20120105223209git5e068fe.el6.noarch

Comment 3 wes hayutin 2012-01-12 16:17:45 UTC
bugs in verified or on_qa moving off tracker