<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello Geeks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have installed three node openstack Juno. I was configuring ceilometer using mongodb as back end.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I found my ceilometer-api is not starting and throwing some module error.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root@Control:/var/log/ceilometer# tail -50 ceilometer-api.log<o:p></o:p></p>
<p class="MsoNormal">2014-11-15 12:02:02.124 23900 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins<o:p></o:p></p>
<p class="MsoNormal">2014-11-15 12:02:02.124 23900 TRACE ceilometer self._on_load_failure_callback(self, ep, err)<o:p></o:p></p>
<p class="MsoNormal">2014-11-15 12:02:02.124 23900 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure<o:p></o:p></p>
<p class="MsoNormal">2014-11-15 12:02:02.124 23900 TRACE ceilometer raise err<o:p></o:p></p>
<p class="MsoNormal">2014-11-15 12:02:02.124 23900 TRACE ceilometer ImportError: No module named bson.code<o:p></o:p></p>
<p class="MsoNormal">2014-11-15 12:02:02.124 23900 TRACE ceilometer<o:p></o:p></p>
<p class="MsoNormal"><b>2014-11-16 22:22:30.649 17570 CRITICAL ceilometer [-] ImportError: No module named bson.code<o:p></o:p></b></p>
<p class="MsoNormal"><b>2014-11</b>-16 22:22:30.649 17570 TRACE ceilometer Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/bin/ceilometer-api", line 10, in <module><o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer sys.exit(main())<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/cmd/api.py", line 23, in main<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer srv = app.build_server()<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 157, in build_server<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer app = load_app()<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 153, in load_app<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return deploy.loadapp("config:" + cfg_file)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return loadobj(APP, uri, name=name, **kw)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return context.create()<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return self.object_type.invoke(self)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer app = context.app_context.create()<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return self.object_type.invoke(self)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return fix_call(context.object, context.global_conf, **context.local_conf)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer val = callable(*args, **kw)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 181, in app_factory<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return VersionSelectorApplication()<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 104, in __init__<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer self.v2 = setup_app(pecan_config=pc)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 68, in setup_app<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer storage.get_connection_from_config(cfg.CONF, 'metering'),<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 82, in get_connection_from_config<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer return get_connection(url, namespace)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 93, in get_connection<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer mgr = driver.DriverManager(namespace, engine_name)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer verify_requirements=verify_requirements,<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer verify_requirements)<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins<o:p></o:p></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer self._on_load_failure_callback(self, ep, err)<o:p></o:p></p>
<p class="MsoNormal"><b>2014-11-16 22:22:30.649 17570 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure<o:p></o:p></b></p>
<p class="MsoNormal"><b>2014-11-16 22:22:30.649 17570 TRACE ceilometer raise err<o:p></o:p></b></p>
<p class="MsoNormal"><b>2014-11-16 22:22:30.649 17570 TRACE ceilometer ImportError: No module named bson.code<o:p></o:p></b></p>
<p class="MsoNormal">2014-11-16 22:22:30.649 17570 TRACE ceilometer<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looking for some help.. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Malleshi CN<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by
you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of
internal compliance with Accenture policy. <br>
______________________________________________________________________________________<br>
<br>
www.accenture.com<br>
</font>
</body>
</html>