Useless error when keystone-all fails to locate config

Bug #966643 reported by Chmouel Boudjnah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Chmouel Boudjnah

Bug Description

launching keystone-all without argument gets me this error :

stack@devstack:~$ keystone-all
Traceback (most recent call last):
  File "/usr/local/bin/keystone-all", line 7, in <module>
    execfile(__file__)
  File "/opt/stack/keystone/bin/keystone-all", line 63, in <module>
    options = deploy.appconfig('config:%s' % CONF.config_file[0])
IndexError: list index out of range

Same error from the keystone source directory (where there is a etc/keystone.conf) but works if we have a /etc/keystone/keystone.conf

Changed in keystone:
assignee: nobody → Chmouel Boudjnah (chmouel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5885

Changed in keystone:
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Low
summary: - Running keystone-all without argument will error out
+ Useless error when keystone-all fails to locate config
Joseph Heck (heckj)
tags: removed: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/5885
Committed: http://github.com/openstack/keystone/commit/34e9a9771eb68ff9d98ae1b43a562eabc26849b6
Submitter: Jenkins
Branch: master

commit 34e9a9771eb68ff9d98ae1b43a562eabc26849b6
Author: Chmouel Boudjnah <email address hidden>
Date: Tue Mar 27 22:55:39 2012 +0100

    Fix looking for config files.

    - Fixes bug 966643.

    Change-Id: I1e2a4d7e1765e4742bd501c4d381d94b6b7585e6

Changed in keystone:
status: In Progress → Fix Committed
Joseph Heck (heckj)
Changed in keystone:
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.