| Summary: | update aeolus-image build example in cli | ||
|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | wes hayutin <whayutin> |
| Component: | rubygem-aeolus-cli | Assignee: | Petr Blaho <pblaho> |
| Status: | CLOSED ERRATA | QA Contact: | wes hayutin <whayutin> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | hbrock, 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:54:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
OK, we should fix, but this is not a high-sev issue. Changing to medium. 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.
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
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 |
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