summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2013-03-13 17:16:20 -0400
committerDolph Mathews <dolph.mathews@gmail.com>2013-03-22 08:58:34 -0500
commita088e8c772197942a7801c90438ebf79bda33c61 (patch)
tree9980c7f2bccd8354ef614fc92d08154e60439958 /bin
parent9ed8be339f1a2eb2ed4f57a17cf6a37350fe03ae (diff)
downloadkeystone-a088e8c772197942a7801c90438ebf79bda33c61.tar.gz
keystone-a088e8c772197942a7801c90438ebf79bda33c61.tar.xz
keystone-a088e8c772197942a7801c90438ebf79bda33c61.zip
keystone commands don't print any version information
keystone-manage --version and keystone-all --version do not show any version information. using the commons version mechanism to set the version number Fixes bug 1158783 Change-Id: Iade685a060cad8d9b3f2b80089d52faade43aba8
Diffstat (limited to 'bin')
-rwxr-xr-xbin/keystone-all5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/keystone-all b/bin/keystone-all
index 6a4e7c95..2fdc8c7a 100755
--- a/bin/keystone-all
+++ b/bin/keystone-all
@@ -25,6 +25,7 @@ from keystone import config
from keystone.common import wsgi
from keystone.common import utils
from keystone.openstack.common import importutils
+from keystone.openstack.common import version
CONF = config.CONF
@@ -77,7 +78,9 @@ if __name__ == '__main__':
if os.path.exists(dev_conf):
config_files = [dev_conf]
- CONF(project='keystone', default_config_files=config_files)
+ CONF(project='keystone',
+ version=version.VersionInfo('keystone').version_string(),
+ default_config_files=config_files)
config.setup_logging(CONF)