Fix
====
http://fosshelp.blogspot.in/2014/05/how-to-install-latest-mongodb-in-ubuntu.html
Error
=====
cd ; ceilometer-api -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf & echo $! >/opt/stack/status/stack/ceilometer-api.pid; fg || echo "ceilometer-api failed to start" | tee "/opt/stack/status/stack/ceilometer-api.failure"
saju@ubuntu:~/openstack/devstack$ cd ; ceilometer-api -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf & echo $! >/opt/stack/status/stack/ceilometer-api.pid; fg || echo "ceilometer-api failed to start" | tee "/opt/stack/status/stack/ceilometer-api.failure"
[1] 21590
ceilometer-api -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf
2014-05-15 21:09:57.653 21590 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-05-15 21:09:57.719 21590 WARNING keystoneclient.middleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
2014-05-15 21:09:57.719 21590 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
2014-05-15 21:09:57.719 21590 INFO keystoneclient.middleware.auth_token [-] Using /var/cache/ceilometer as cache directory for signing certificate
2014-05-15 21:09:57.757 21590 WARNING keystoneclient.middleware.auth_token [-] signing_dir mode is 0755 instead of 0700
2014-05-15 21:09:57.760 21590 DEBUG ceilometer.storage [-] looking for 'mongodb' driver in 'ceilometer.storage' get_engine /opt/stack/ceilometer/ceilometer/storage/__init__.py:72
2014-05-15 21:10:02.553 21590 INFO ceilometer.storage.impl_mongodb [-] Connecting to MongoDB on [('localhost', 27017)]
2014-05-15 21:10:03.200 21590 CRITICAL ceilometer [-] Need at least MongoDB 2.2
2014-05-15 21:10:03.200 21590 TRACE ceilometer Traceback (most recent call last):
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/usr/local/bin/ceilometer-api", line 10, in
2014-05-15 21:10:03.200 21590 TRACE ceilometer sys.exit(start())
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/api/app.py", line 113, in start
2014-05-15 21:10:03.200 21590 TRACE ceilometer root = VersionSelectorApplication()
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/api/app.py", line 101, in __init__
2014-05-15 21:10:03.200 21590 TRACE ceilometer self.v2 = setup_app(pecan_config=pc)
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/api/app.py", line 60, in setup_app
2014-05-15 21:10:03.200 21590 TRACE ceilometer storage_engine.get_connection(cfg.CONF),
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 77, in get_connection
2014-05-15 21:10:03.200 21590 TRACE ceilometer return Connection(conf)
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 350, in __init__
2014-05-15 21:10:03.200 21590 TRACE ceilometer raise storage.StorageBadVersion("Need at least MongoDB 2.2")
2014-05-15 21:10:03.200 21590 TRACE ceilometer StorageBadVersion: Need at least MongoDB 2.2
2014-05-15 21:10:03.200 21590 TRACE ceilometer
ceilometer-api failed to start
====
http://fosshelp.blogspot.in/2014/05/how-to-install-latest-mongodb-in-ubuntu.html
Error
=====
cd ; ceilometer-api -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf & echo $! >/opt/stack/status/stack/ceilometer-api.pid; fg || echo "ceilometer-api failed to start" | tee "/opt/stack/status/stack/ceilometer-api.failure"
saju@ubuntu:~/openstack/devstack$ cd ; ceilometer-api -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf & echo $! >/opt/stack/status/stack/ceilometer-api.pid; fg || echo "ceilometer-api failed to start" | tee "/opt/stack/status/stack/ceilometer-api.failure"
[1] 21590
ceilometer-api -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf
2014-05-15 21:09:57.653 21590 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-05-15 21:09:57.719 21590 WARNING keystoneclient.middleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
2014-05-15 21:09:57.719 21590 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
2014-05-15 21:09:57.719 21590 INFO keystoneclient.middleware.auth_token [-] Using /var/cache/ceilometer as cache directory for signing certificate
2014-05-15 21:09:57.757 21590 WARNING keystoneclient.middleware.auth_token [-] signing_dir mode is 0755 instead of 0700
2014-05-15 21:09:57.760 21590 DEBUG ceilometer.storage [-] looking for 'mongodb' driver in 'ceilometer.storage' get_engine /opt/stack/ceilometer/ceilometer/storage/__init__.py:72
2014-05-15 21:10:02.553 21590 INFO ceilometer.storage.impl_mongodb [-] Connecting to MongoDB on [('localhost', 27017)]
2014-05-15 21:10:03.200 21590 CRITICAL ceilometer [-] Need at least MongoDB 2.2
2014-05-15 21:10:03.200 21590 TRACE ceilometer Traceback (most recent call last):
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/usr/local/bin/ceilometer-api", line 10, in
2014-05-15 21:10:03.200 21590 TRACE ceilometer sys.exit(start())
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/api/app.py", line 113, in start
2014-05-15 21:10:03.200 21590 TRACE ceilometer root = VersionSelectorApplication()
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/api/app.py", line 101, in __init__
2014-05-15 21:10:03.200 21590 TRACE ceilometer self.v2 = setup_app(pecan_config=pc)
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/api/app.py", line 60, in setup_app
2014-05-15 21:10:03.200 21590 TRACE ceilometer storage_engine.get_connection(cfg.CONF),
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 77, in get_connection
2014-05-15 21:10:03.200 21590 TRACE ceilometer return Connection(conf)
2014-05-15 21:10:03.200 21590 TRACE ceilometer File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 350, in __init__
2014-05-15 21:10:03.200 21590 TRACE ceilometer raise storage.StorageBadVersion("Need at least MongoDB 2.2")
2014-05-15 21:10:03.200 21590 TRACE ceilometer StorageBadVersion: Need at least MongoDB 2.2
2014-05-15 21:10:03.200 21590 TRACE ceilometer
ceilometer-api failed to start
No comments:
Post a Comment