Bug 815328 - "-I, --image and -B, --build" options for aeolus-image delete require validation
Summary: "-I, --image and -B, --build" options for aeolus-image delete require validation
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
low
Target Milestone: rc
Assignee: Maros Zatko
QA Contact: Rehana
URL:
Whiteboard:
: 815337 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-23 11:37 UTC by Aziza Karol
Modified: 2012-12-04 15:04 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
User can now use -i and -b as alternatives to -I and -B.
Clone Of:
Environment:
Last Closed: 2012-12-04 15:04:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:1516 0 normal SHIPPED_LIVE CloudForms Cloud Engine 1.1 update 2012-12-04 19:51:45 UTC

Description Aziza Karol 2012-04-23 11:37:53 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
#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


#aeolus-image delete  -i c087e30e-1431-4922-8a6d-6a9740593751
Image: c087e30e-1431-4922-8a6d-6a9740593751 Deleted Successfully

N.B. The following provider content must be manually removed

Provider          ID               
-------------     ------------     
ec2-us-east-1     ami-b4568ddd    


#aeolus-image delete -b 2fd6b97e-c85e-4544-8484-7aa1c08fbfb3
Build: 2fd6b97e-c85e-4544-8484-7aa1c08fbfb3 Deleted Successfully

N.B. The following provider content must be manually removed

Provider          ID               
-------------     ------------     
ec2-us-east-1     ami-b4568ddd     



Actual results:
delete works with -i,-b options.the actual options are -I and -B.

Expected results:
validation required for -I and -B option

Additional info:
 rpm -qa | grep aeolus
aeolus-conductor-doc-0.8.12-1.el6_2.noarch
aeolus-conductor-0.8.12-1.el6_2.noarch
aeolus-conductor-daemons-0.8.12-1.el6_2.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-all-0.8.12-1.el6_2.noarch
aeolus-configure-2.5.3-1.el6.noarch
rubygem-aeolus-cli-0.3.1-1.el6.noarch

Comment 2 Dave Johnson 2012-05-09 12:28:19 UTC
fairly certain this is a feature of the ruby opts parser

Comment 3 Maros Zatko 2012-05-09 12:58:07 UTC
*** Bug 815337 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2012-12-04 15:04:53 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-1516.html


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