Bug 795650 - Error in building image : "This combination of parameters is not currently supported"
Summary: Error in building image : "This combination of parameters is not currently su...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: rubygem-aeolus-cli
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Jason Guiditta
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-21 07:08 UTC by Shveta
Modified: 2012-08-30 17:16 UTC (History)
5 users (show)

Fixed In Version: v0.3.0-10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:16:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Shveta 2012-02-21 07:08:58 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. aeolus-image build --target ec2 --template fedora15.tpl 
Error: This combination of parameters is not currently supported

2. Anything changed ? Nothing found in logs..
3.
  
Actual results:


Expected results:


Additional info:

rpm -qa|grep aeolus
aeolus-conductor-doc-0.8.0-31.el6.noarch
aeolus-conductor-daemons-0.8.0-31.el6.noarch
aeolus-configure-2.5.0-14.el6.noarch
rubygem-aeolus-cli-0.3.0-9.el6.noarch
aeolus-all-0.8.0-31.el6.noarch
aeolus-conductor-0.8.0-31.el6.noarch
rubygem-aeolus-image-0.3.0-8.el6.noarch

Comment 1 Jason Guiditta 2012-02-21 16:03:11 UTC
so, this is after discussing this with mtaylor and sseago, this is a documentation bug due to a recent change Scott made in cli invocation for build.  You can see from --help that there is a new param needed.  I'll work up a patch to add this to man page and possibly spit out help one bad params combo.

aeolus-image build --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

Comment 2 Jason Guiditta 2012-02-21 18:02:47 UTC
Patch sent to list

Comment 3 Jason Guiditta 2012-02-22 19:01:15 UTC
Pushed to master:

commit 1396551649bb791b93f5fc0d6afc2887076bd683
Author: Jason Guiditta <jguiditt>
Date:   Wed Feb 22 12:57:39 2012 -0500

    BZ #795650: Fix related man page
    
    https://bugzilla.redhat.com/show_bug.cgi?id=795650
    
    While this is not technically the BZ, list also now takes similar
    arguments, so rolling in a manpage update as well.

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-02-23 07:53:47 UTC
aeolus-image build --target ec2 --template fedora15.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    Limit image list to environment
    -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


===============================================================

verified in
rpm -qa|grep aeolus
aeolus-conductor-0.8.0-35.el6.noarch
rubygem-aeolus-cli-0.3.0-10.el6.noarch
aeolus-conductor-doc-0.8.0-35.el6.noarch
rubygem-aeolus-image-0.3.0-9.el6.noarch
aeolus-all-0.8.0-35.el6.noarch
aeolus-conductor-daemons-0.8.0-35.el6.noarch
aeolus-configure-2.5.0-15.el6.noarch


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