[Openstack] keystone-all with argument (or where to find config files)

2012-03-27 Thread Chmouel Boudjnah
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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

2012-03-27 Thread Dolph Mathews
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 chmo...@chmouel.comwrote:

 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp