Bug 870401 - [CLI] image import throws error when the command options are passed without space
[CLI] image import throws error when the command options are passed without s...
Status: NEW
Product: CloudForms Cloud Engine
Classification: Red Hat
Component: rubygem-aeolus-cli (Show other bugs)
1.1.0
Unspecified Unspecified
unspecified Severity low
: rc
: ---
Assigned To: Mike Orazi
Rehana
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-26 07:48 EDT by Rehana
Modified: 2012-11-19 10:58 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rehana 2012-10-26 07:48:54 EDT
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.