<div dir="ltr"><div style>The command line I am using is: "sudo /usr/local/bin/ceilometer-api".</div><div style><br></div><div style>However, the ceilometer.ini file is missing. The version of Ceilometer I am using is "<span style="font-size:13px;font-family:arial,sans-serif">ceilometer-2013.1~g2.</span><span style="font-size:13px;font-family:arial,sans-serif">tar.gz". And, </span><span style="font-family:arial,sans-serif;font-size:13px">I only have the following configuration files:</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><font face="arial, sans-serif">/etc/ceilometer/ceilometer.conf</font><br></div><div style><span style="font-family:arial,sans-serif">/etc/ceilometer/</span><font face="arial, sans-serif">policy.json<br>
</font></div><div style><span style="font-family:arial,sans-serif">/etc/ceilometer/</span><font face="arial, sans-serif">sources.json</font><span style="font-family:arial,sans-serif"><br></span></div><div style><font face="arial, sans-serif"><br>
</font></div><div style><font face="arial, sans-serif">Thanks.</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 1:10 AM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Thu, Apr 25, 2013 at 8:37 AM, Riki Arslan <span dir="ltr"><<a href="mailto:riki.arslan@cloudturk.net" target="_blank">riki.arslan@cloudturk.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I thought Ceilometer did not set a dependency on any DB drivers. I have installed the driver Mongo using "sudo pip install pymongo".</div>

</blockquote><div><br></div></div><div>Ceilometer does use a database. You have to install the right driver. If you want Mongo, then it sounds like you've done the right thing. It's possible mako is also being used somewhere else, I'm not sure.</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Regarding the current problem; the traceback is as follows:</div>
<div><br></div><div><div>Traceback (most recent call last):</div><div>  File "/usr/local/bin/ceilometer-api", line 5, in <module></div><div>    pkg_resources.run_script('ceilometer==0.0.0', 'ceilometer-api')</div>


<div>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script</div><div>    self.require(requires)[0].run_script(script_name, ns)</div><div>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script</div>


<div>    execfile(script_filename, namespace, namespace)</div><div>  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/EGG-INFO/scripts/ceilometer-api", line 38, in <module></div><div>


    service.prepare_service()</div><div>  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/service.py", line 80, in prepare_service</div><div>    cfg.CONF(argv[1:], project='ceilometer')</div>


<div>  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py", line 1024, in __call__</div><div>    self._cli_values, leftovers = self._parse_cli_opts(args)</div>


<div>  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py", line 1527, in _parse_cli_opts</div><div>    opt._add_to_cli(self._oparser, group)</div><div>  File "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py", line 591, in _add_to_cli</div>


<div>    container = self._get_argparse_container(parser, group)</div><div>  File "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py", line 633, in _get_argparse_container</div>


<div>    return group._get_argparse_group(parser)</div><div><div>AttributeError: 'OptGroup' object has no attribute '_get_argparse_group'</div></div></div></div></blockquote><div><br></div></div><div>
That is coming from oslo.config. Can you post the ceilometer.ini file and command line you are using to start the service?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Doug</div></font></span><div>
<div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><br></div></div><div>Thank for the help.</div></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 3:27 PM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br><br>On Thursday, April 25, 2013, Riki Arslan  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have encountered other problems too.<br>



</div><div><br></div><div>First of all, when starting the Central Agent I have had Glance endpoint 404 not found errors. As, Julien pointed out (<a href="https://bugs.launchpad.net/ceilometer/+bug/1083104" target="_blank">https://bugs.launchpad.net/ceilometer/+bug/1083104</a>), I have removed the "v1" from the Glance URLs and it worked well.</div>




<div><br></div><div>Secondly, when starting the API Server, I have received "ImportError: No module named mako.template" error. Thus, I have installed python-mako module (sudo apt-get install python-mako), and the error disappeared.</div>



</div></blockquote><div><br></div></div><div>Mako is a dependency do sqlalchemy, I think. Are you using the sqlalchemy storage driver for ceilometer?</div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">
<div><br></div><div>Now, I am receiving another error within the API Server. The error is as follows:</div><div>"AttributeError: 'OptGroup' object has no attribute '_get_argparse_group'"</div></div>



</blockquote><div><br></div></div><div>That sounds like a problem with the config module. Was there a full traceback? If not, try adding the --debug option when starting the service. </div><span><font color="#888888"><div>


<br></div><div>Doug<span></span></div></font></span><div><div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<br></div><div>Do you think it has something to do with mod_wsgi (<a href="http://docs.openstack.org/developer/ceilometer/install/mod_wsgi.html" target="_blank">http://docs.openstack.org/developer/ceilometer/install/mod_wsgi.html</a>)?</div>




<div><br></div><div>I would appreciate your help on this.</div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 12:27 AM, Riki Arslan <span dir="ltr"><<a>riki.arslan@cloudturk.net</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Doug,<div><br></div><div>Your email helped me. It was actually glanceclient version 0.5.1 that was causing the conflict. After updating it, the conflict error disappeared.</div>




<div><br></div>
<div>I hope this would help someone else too.</div><div><br></div><div>Thanks again.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Wed, Apr 24, 2013 at 11:49 PM, Doug Hellmann <span dir="ltr"><<a>doug.hellmann@dreamhost.com</a>></span> wrote:<br>





</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, Apr 24, 2013 at 9:17 AM, Riki Arslan <span dir="ltr"><<a>riki.arslan@cloudturk.net</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi,</div><div style="font-family:arial,sans-serif;font-size:13px">






<br></div><div style="font-family:arial,sans-serif;font-size:13px">We are trying to install "ceilometer-2013.1~g2.tar.gz" which presumably has Folsom compatibility.<br>
 <br>The requirment is "python-keystoneclient>=0.2,<0.3" and we have the version 2.3.<br><br>But, still, setup quits with the following message:<br><br>"error: Installed distribution python-keystoneclient 0.2.3 conflicts with requirement python-keystoneclient>=0.1.2,<0.2"<br>







<br>The funny thing is, although pip-requires states "python-keystoneclient>=0.2,<0.3", the error message complains that it is not "python-keystoneclient>=0.1.2,<0.2".<br></div></div></blockquote>






<div><br></div></div></div><div>Something else you have installed already wants an older version of the keystone client, so the installation of ceilometer is not able to upgrade to the version we need.</div><div><br></div>






<div>Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"><br>
Your help is greatly appreciated.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thank you in advance.</div></div>
<br></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a>openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>