Bug 796314 - update aeolus-image build example in cli
Summary: update aeolus-image build example in cli
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: rubygem-aeolus-cli
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
Assignee: Petr Blaho
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-22 16:58 UTC by wes hayutin
Modified: 2012-05-15 19:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 19:54:33 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0591 0 normal SHIPPED_LIVE new packages: rubygem-aeolus-cli 2012-05-15 22:31:17 UTC

Description wes hayutin 2012-02-22 16:58:02 UTC
Description of problem:

[root@qeblade31 ~]#  aeolus-image build --target ec2 --template RHEL62.tpl --help
Usage: aeolus-image build [command options]

Options:
    -e, --template FILE              path to file that contains template xml
    -z, --no-validation              Do not validation the template against the TDL XML Schema
    -T, --target TARGET1,TARGET2     provider type (ec2, rackspace, rhevm, etc)
    -E, --environment ENVIRONMENT    Limit image list to environment
    -h, --help                       Get usage information for this command

Examples:
aeolus-image build --target ec2 --template my.tmpl        # build a new image for ec2 from based on the given template
aeolus-image build --target ec2,rhevm --template my.tmpl  # build a new image for ec2 and for rhevm based on the given template



The examples should include the new required option for "environment" -E --environment

aeolus-image build --target ec2 --template my.tmpl --environement myEnv       # build a new image for ec2 from based on the given template

Comment 1 Hugh Brock 2012-02-22 17:28:41 UTC
OK, we should fix, but this is not a high-sev issue. Changing to medium.

Comment 2 Petr Blaho 2012-02-23 09:50:57 UTC
This was fixed in

commit 289470f3150a4dc3fcfe3438a17496087609f444
Author: Jason Guiditta <jguiditt>
Date:   Tue Feb 21 12:23:42 2012 -0500

    BZ #795650: "This combination of parameters is not currently supported"
    
    https://bugzilla.redhat.com/show_bug.cgi?id=795650
    
    This was a documentation error.  As part of the fix, I added help
    output on missing arguements.  This should make it clearer what is
    missing, and we can add similar handling elsewhere, should this pop
    up again.

Comment 4 Shveta 2012-03-07 05:58:29 UTC
 aeolus-image build --target ec2 --template RHEL62.tpl
Warning, Error: This combination of parameters is not currently supported
Usage: aeolus-image build [command options]

Options:
    -e, --template FILE              path to file that contains template xml
    -z, --no-validation              Do not validation the template against the TDL XML Schema
    -T, --target TARGET1,TARGET2     provider type (ec2, rackspace, rhevm, etc)
    -E, --environment ENVIRONMENT    environment to build for
    -h, --help                       Get usage information for this command

Examples:
aeolus-image build --target ec2 --template my.tmpl --environment default        # build a new image for ec2 from based on the given template for the default environment
aeolus-image build --target ec2,rhevm --template my.tmpl --environment default  # build a new image for ec2 and for rhevm based on the given template for the default environment
====================================================

rpm -qa|grep aeolus
aeolus-conductor-doc-0.8.0-41.el6.noarch
aeolus-conductor-daemons-0.8.0-41.el6.noarch
rubygem-aeolus-cli-0.3.0-13.el6.noarch
aeolus-all-0.8.0-41.el6.noarch
aeolus-conductor-0.8.0-41.el6.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-configure-2.5.0-18.el6.noarch

Comment 5 errata-xmlrpc 2012-05-15 19:54:33 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


Note You need to log in before you can comment on or make changes to this bug.