Bug 870401 - [CLI] image import throws error when the command options are passed without space
Summary: [CLI] image import throws error when the command options are passed without s...
Keywords:
Status: CLOSED EOL
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: rubygem-aeolus-cli
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
Assignee: Mike Orazi
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-26 11:48 UTC by Rehana
Modified: 2020-03-27 18:04 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rehana 2012-10-26 11:48:54 UTC
Description of problem:


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


How reproducible:
100%

Steps to Reproduce:
1.from the conductor machine
2.issue the below command
3.aeolus-image import --account Cloud_R--id d59926cb-667a-4325-b4f2-2a18f98eab73 --environment rehana( note that there is no space between "accountname" and --id option)

Actual results:
The command failed with below error 
[root@hp-sl2x170zg6-02 yum.repos.d]# aeolus-image import --account Cloud_R--id d59926cb-667a-4325-b4f2-2a18f98eab73 --environment rehana
/usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/lib/aeolus_cli/command/import_command.rb:21:in `+': can't convert nil into String (TypeError)
	from /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/lib/aeolus_cli/command/import_command.rb:21:in `initialize'
	from /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/lib/aeolus_cli/command/config_parser.rb:316:in `new'
	from /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/lib/aeolus_cli/command/config_parser.rb:316:in `import'
	from /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/lib/aeolus_cli/command/config_parser.rb:45:in `send'
	from /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/lib/aeolus_cli/command/config_parser.rb:45:in `process'
	from /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.7.6/bin/aeolus-image:20
	from /usr/bin/aeolus-image:19:in `load'
	from /usr/bin/aeolus-image:19

Expected results:
Should display appropriate error message

Additional info:
rpm -qa | grep aeolus
aeolus-configure-2.8.9-1.el6cf.noarch
aeolus-conductor-0.13.21-1.el6cf.noarch
rubygem-aeolus-cli-0.7.6-1.el6cf.noarch
aeolus-conductor-doc-0.13.21-1.el6cf.noarch
aeolus-all-0.13.21-1.el6cf.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-conductor-daemons-0.13.21-1.el6cf.noarch


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