¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
[Error] CRITICAL ceilometer [-] ImportError: No module named bson.code
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-04-30 (¸ñ) 13:05 Á¶È¸ : 3774
                                
2015-04-30 13:36:51.112 26883 CRITICAL ceilometer [-] ImportError: No module named bson.code
2015-04-30 13:36:51.112 26883 TRACE ceilometer Traceback (most recent call last):
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/bin/ceilometer-api", line 10, in <module>
2015-04-30 13:36:51.112 26883 TRACE ceilometer     sys.exit(main())
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/cmd/api.py", line 23, in main
2015-04-30 13:36:51.112 26883 TRACE ceilometer     srv = app.build_server()
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 157, in build_server
2015-04-30 13:36:51.112 26883 TRACE ceilometer     app = load_app()
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 153, in load_app
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return deploy.loadapp("config:" + cfg_file)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return loadobj(APP, uri, name=name, **kw)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return context.create()
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return self.object_type.invoke(self)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke
2015-04-30 13:36:51.112 26883 TRACE ceilometer     app = context.app_context.create()
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return self.object_type.invoke(self)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return fix_call(context.object, context.global_conf, **context.local_conf)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-04-30 13:36:51.112 26883 TRACE ceilometer     val = callable(*args, **kw)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 181, in app_factory
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return VersionSelectorApplication()
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 104, in __init__
2015-04-30 13:36:51.112 26883 TRACE ceilometer     self.v2 = setup_app(pecan_config=pc)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 68, in setup_app
2015-04-30 13:36:51.112 26883 TRACE ceilometer     storage.get_connection_from_config(cfg.CONF, 'metering'),
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 82, in get_connection_from_config
2015-04-30 13:36:51.112 26883 TRACE ceilometer     return get_connection(url, namespace)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 93, in get_connection
2015-04-30 13:36:51.112 26883 TRACE ceilometer     mgr = driver.DriverManager(namespace, engine_name)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__
2015-04-30 13:36:51.112 26883 TRACE ceilometer     verify_requirements=verify_requirements,
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
2015-04-30 13:36:51.112 26883 TRACE ceilometer     verify_requirements)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins
2015-04-30 13:36:51.112 26883 TRACE ceilometer     self._on_load_failure_callback(self, ep, err)
2015-04-30 13:36:51.112 26883 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure
2015-04-30 13:36:51.112 26883 TRACE ceilometer     raise err
2015-04-30 13:36:51.112 26883 TRACE ceilometer ImportError: No module named bson.code
2015-04-30 13:36:51.112 26883 TRACE ceilometer


# easy_install pip 

# apt-get install build-essential python-dev** python-pymongo

service ceilometer-api start

# netstat -anlp |grep 8777
tcp        0      0 0.0.0.0:8777            0.0.0.0:*               LISTEN      7756/python     
tcp        0      0 115.68.145.5:8777       115.68.145.5:37680      TIME_WAIT   -               

# tail -n1 ceilometer-api.log 
2015-04-30 13:52:55.458 7756 WARNING keystonemiddleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.