Bug 767342 - aeolus-cli displays generic/useless error with invalid credentials
Summary: aeolus-cli displays generic/useless error with invalid credentials
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Matt Wagner
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-13 20:38 UTC by Matt Wagner
Modified: 2014-08-17 22:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:17:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Matt Wagner 2011-12-13 20:38:08 UTC
Description of problem:
In the event that the credentials in ~/.aeolus-cli are rejected by Conductor, the error presented to the user is generic and does not even hint at the problem.

Version-Release number of selected component (if applicable):
Probably all, but tested on rubygem-aeolus-cli-0.3.0-0.20111213152831git59194c0.fc15.noarch (from master head)

How reproducible:
100%

Steps to Reproduce:
1. Set up ~/.aeolus-cli with bogus credentials
2. Run "aeolus-cli list --providers" (or any command, really)
  
Actual results:
ERROR:   => Unknown Error

Expected results:
An error referencing invalid credentials.

Comment 1 Matt Wagner 2011-12-13 22:10:55 UTC
Posted to list: https://fedorahosted.org/pipermail/aeolus-devel/2011-December/007404.html

Comment 2 Shveta 2011-12-23 15:23:42 UTC
Edited the Username in ~/.aeolus-cli to a wrong username and this is what i get:

[root@hp-bl260cg5-01 ~]# aeolus-image list --providers

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


Verified in 
rpm -qa|grep aeolus
aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch
rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch
rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch
aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch
aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch


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