The command line I am using is: "sudo /usr/local/bin/ceilometer-api".
However, the ceilometer.ini file is missing. The version of Ceilometer I am using is "ceilometer-2013.1~g2.tar.gz". And, I only have the following configuration files: /etc/ceilometer/ceilometer.conf /etc/ceilometer/policy.json /etc/ceilometer/sources.json Thanks. On Fri, Apr 26, 2013 at 1:10 AM, Doug Hellmann <doug.hellm...@dreamhost.com>wrote: > > > > On Thu, Apr 25, 2013 at 8:37 AM, Riki Arslan <riki.ars...@cloudturk.net>wrote: > >> I thought Ceilometer did not set a dependency on any DB drivers. I have >> installed the driver Mongo using "sudo pip install pymongo". >> > > 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. > > >> >> Regarding the current problem; the traceback is as follows: >> >> Traceback (most recent call last): >> File "/usr/local/bin/ceilometer-api", line 5, in <module> >> pkg_resources.run_script('ceilometer==0.0.0', 'ceilometer-api') >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in >> run_script >> self.require(requires)[0].run_script(script_name, ns) >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in >> run_script >> execfile(script_filename, namespace, namespace) >> File >> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/EGG-INFO/scripts/ceilometer-api", >> line 38, in <module> >> service.prepare_service() >> File >> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/service.py", >> line 80, in prepare_service >> cfg.CONF(argv[1:], project='ceilometer') >> File >> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py", >> line 1024, in __call__ >> self._cli_values, leftovers = self._parse_cli_opts(args) >> 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 >> opt._add_to_cli(self._oparser, group) >> 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 >> container = self._get_argparse_container(parser, group) >> 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 >> return group._get_argparse_group(parser) >> AttributeError: 'OptGroup' object has no attribute '_get_argparse_group' >> > > That is coming from oslo.config. Can you post the ceilometer.ini file and > command line you are using to start the service? > > Doug > > >> >> Thank for the help. >> >> >> On Thu, Apr 25, 2013 at 3:27 PM, Doug Hellmann < >> doug.hellm...@dreamhost.com> wrote: >> >>> >>> >>> On Thursday, April 25, 2013, Riki Arslan wrote: >>> >>>> I have encountered other problems too. >>>> >>>> First of all, when starting the Central Agent I have had Glance >>>> endpoint 404 not found errors. As, Julien pointed out ( >>>> https://bugs.launchpad.net/ceilometer/+bug/1083104), I have removed >>>> the "v1" from the Glance URLs and it worked well. >>>> >>>> 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. >>>> >>> >>> Mako is a dependency do sqlalchemy, I think. Are you using the >>> sqlalchemy storage driver for ceilometer? >>> >>> >>>> >>>> Now, I am receiving another error within the API Server. The error is >>>> as follows: >>>> "AttributeError: 'OptGroup' object has no attribute >>>> '_get_argparse_group'" >>>> >>> >>> 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. >>> >>> Doug >>> >>> >>>> >>>> Do you think it has something to do with mod_wsgi ( >>>> http://docs.openstack.org/developer/ceilometer/install/mod_wsgi.html)? >>>> >>>> I would appreciate your help on this. >>>> >>>> Thanks. >>>> >>>> >>>> On Thu, Apr 25, 2013 at 12:27 AM, Riki Arslan < >>>> riki.ars...@cloudturk.net> wrote: >>>> >>>>> Hi Doug, >>>>> >>>>> Your email helped me. It was actually glanceclient version 0.5.1 that >>>>> was causing the conflict. After updating it, the conflict error >>>>> disappeared. >>>>> >>>>> I hope this would help someone else too. >>>>> >>>>> Thanks again. >>>>> >>>>> >>>>> On Wed, Apr 24, 2013 at 11:49 PM, Doug Hellmann < >>>>> doug.hellm...@dreamhost.com> wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Apr 24, 2013 at 9:17 AM, Riki Arslan < >>>>>> riki.ars...@cloudturk.net> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> We are trying to install "ceilometer-2013.1~g2.tar.gz" which >>>>>>> presumably has Folsom compatibility. >>>>>>> >>>>>>> The requirment is "python-keystoneclient>=0.2,<0.3" and we have >>>>>>> the version 2.3. >>>>>>> >>>>>>> But, still, setup quits with the following message: >>>>>>> >>>>>>> "error: Installed distribution python-keystoneclient 0.2.3 >>>>>>> conflicts with requirement python-keystoneclient>=0.1.2,<0.2" >>>>>>> >>>>>>> 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". >>>>>>> >>>>>> >>>>>> 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. >>>>>> >>>>>> Doug >>>>>> >>>>>> >>>>>>> >>>>>>> Your help is greatly appreciated. >>>>>>> >>>>>>> Thank you in advance. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Mailing list: https://launchpad.net/~openstack >>>>>>> Post to : openstack@lists.launchpad.net >>>>>>> Unsubscribe : https://launchpad.net/~openstack >>>>>>> More help : https://help.launchpad.net/ListHelp >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >> >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp