Bug 797157 - Aeolus CLI does not gracefully handle errors in the config
Summary: Aeolus CLI does not gracefully handle errors in the config
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
medium
Target Milestone: rc
Assignee: Martyn Taylor
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 12:18 UTC by Martyn Taylor
Modified: 2012-06-04 11:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-04 11:30:16 UTC


Attachments (Terms of Use)

Description Martyn Taylor 2012-02-24 12:18:15 UTC
Description of problem:

CLI does not check for errors in the config instead it waits untill it trys to connect to conductor via the config URL then spits out an exception trace to the command line.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Martyn Taylor 2012-03-06 14:57:51 UTC
commit 7071db969bd69b8fae0cd71fad45ddf80621f7aa
Author: Martyn Taylor <mtaylor>
Date:   Fri Feb 24 12:21:12 2012 +0000

    BZ#797157 Validate aeolus config

Comment 2 Mike Orazi 2012-04-17 20:21:26 UTC
Product branch:

commit 10c55a532b875066ad3340bc3b97026277bef069
Author: Martyn Taylor <mtaylor>
Date:   Fri Feb 24 12:21:12 2012 +0000

   BZ#797157 Validate aeolus config

Comment 3 Hugh Brock 2012-05-07 18:11:25 UTC
Looks like this fix made the product, moving to on_qa

Comment 4 Dave Johnson 2012-05-09 13:53:24 UTC
Looks good in release candidate, moving to verified

rubygem-aeolus-cli-0.3.1-1.el6.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch


# changed to bad password
[root@ibm-x3650-01 ~]# aeolus-image list --images

ERROR:  Unauthorized => Invalid Credentials, please check ~/.aeolus-cli

# changed to bad url
[root@ibm-x3650-01 ~]# vim .aeolus-cli 
[root@ibm-x3650-01 ~]# aeolus-image list --images

ERROR:  Name Or Service Not Found => Please check your ~/.aeolus-cli

Comment 5 James Laska 2012-06-04 11:30:16 UTC
(In reply to comment #4)
> Looks good in release candidate, moving to verified
> 
> rubygem-aeolus-cli-0.3.1-1.el6.noarch

/mnt/redhat/rel-eng/CloudForms/1.0/rc1/el6-ce/x86_64/rubygem-aeolus-cli-0.3.1-1.el6.noarch.rpm

> rubygem-aeolus-image-0.3.0-12.el6.noarch

/mnt/redhat/rel-eng/CloudForms/1.0/rc1/el6-ce/x86_64/rubygem-aeolus-image-0.3.0-12.el6.noarch.rpm

Moved to CLOSED ERRATA.  This issue was fixed and verified in CloudForms-1.0.0


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