Bug 1232313

Summary: 'openstack baremetal list' doesn't show proper error message when stackrc credentials are not loaded
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: python-ironicclientAssignee: Brad P. Crochet <brad>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0 (Kilo)CC: apevec, brad, calfonso, jslagle, lhh, mburns, rhel-osp-director-maint
Target Milestone: gaKeywords: Triaged, UserExperience
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ironicclient-0.5.1-7.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:53:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Cornea 2015-06-16 13:14:41 UTC
Description of problem:
openstack baremetal list doesn't show proper error message when stackrc credentials are not loaded.

Version-Release number of selected component (if applicable):
python-rdomanager-oscplugin-0.0.7-2.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Run 'openstack baremetal list' without sourcing stackrc file
2.
3.

Actual results:
[stack@instack ~]$ openstack baremetal list
ERROR: openstack __init__() takes exactly 2 arguments (1 given)

Expected results:
I'd expect to see an authorization failed message.

Additional info:

Comment 4 Brad P. Crochet 2015-06-18 22:09:00 UTC
PR available: https://github.com/rdo-management/python-ironicclient/pull/2

Comment 7 errata-xmlrpc 2015-08-05 13:53:50 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.

https://access.redhat.com/errata/RHEA-2015:1549