← Back to team overview

openstack team mailing list archive

Re: keystone-all with argument (or where to find config files)

 

Chmouel,

That's pretty much the strategy keystone does already; the problem you're
seeing is just a completely useless error message. A bug with tagged for RC
would be helpful.

-Dolph

On Tue, Mar 27, 2012 at 10:35 AM, Chmouel Boudjnah <chmouel@xxxxxxxxxxx>wrote:

> Hello,
>
> Posting here, as I am wondering if I do something wrong or should I
> report this as a bug :
>
> http://pastie.org/private/mgjncwqlwtezvl3awucwxg
>
> Seems like if you don't specify a config file to keystone-all it will
> crash.
>
> What do you think about a strategy to find config file like this :
>
> - if --config-file= is specified use that.
> - elif  file exists ./keystone/keystone.conf use that (for dev).
> - elif file exist /etc/keystone/keystone.conf use that (for prod).
>
> Cheers,
> Chmouel.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

References