Well, I installed gnocchi 2.2.1 and gnocchiclient 2.8.2 and I created config with this command - oslo-config-generator --config-file=/usr/local/etc/gnocchi/gnocchi-config-generator.conf --output- file=/etc/gnocchi/gnocchi.conf Version without comments is here - https://pastebin.com/0RQr9qtT Full version - https://pastebin.com/RaFhZC4k
and I have api-paste.ini with this two lines - [pipeline:main]pipeline = gnocchi+auth If try to start gnocchi-api it throws the exception - gnocchi-api2017-05-15 10:40:42.554 30522 INFO gnocchi.rest.app [-] WSGI config used: /etc/gnocchi/api-paste.ini2017-05- 15 10:40:42.556 30522 CRITICAL gnocchi [-] LookupError: No section 'gnocchi+auth' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/gnocchi/api-paste.ini2017-05-15 10:40:42.556 30522 ERROR gnocchi Traceback (most recent call last):2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/bin/gnocchi-api", line 34, in <module>2017-05-15 10:40:42.556 30522 ERROR gnocchi server = wss.make_server('', args.port, build_wsgi_app())2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/gnocchi/rest/app.py", line 137, in build_wsgi_app2017-05-15 10:40:42.556 30522 ERROR gnocchi return load_app(service.prepare_service())2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/gnocchi/rest/app.py", line 111, in load_app2017-05-15 10:40:42.556 30522 ERROR gnocchi global_conf={'configkey': configkey})2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp2017-05-15 10:40:42.556 30522 ERROR gnocchi return loadobj(APP, uri, name=name, **kw)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj2017-05-15 10:40:42.556 30522 ERROR gnocchi global_conf=global_conf)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext2017-05-15 10:40:42.556 30522 ERROR gnocchi global_conf=global_conf)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig2017-05-15 10:40:42.556 30522 ERROR gnocchi return loader.get_context(object_type, name, global_conf)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context2017-05-15 10:40:42.556 30522 ERROR gnocchi global_additions=global_additions)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context2017-05-15 10:40:42.556 30522 ERROR gnocchi APP, pipeline[-1], global_conf)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in get_context2017-05-15 10:40:42.556 30522 ERROR gnocchi object_type, name=name)2017-05-15 10:40:42.556 30522 ERROR gnocchi File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 587, in find_config_section2017- 05-15 10:40:42.556 30522 ERROR gnocchi self.filename))2017-05-15 10:40:42.556 30522 ERROR gnocchi LookupError: No section 'gnocchi+auth' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/gnocchi/api-paste.ini2017-05-15 10:40:42.556 30522 ERROR gnocchi It seems to me that I should add more settings to both config files, but the problem is that I cannot find information on that. On Fri, 2017-05-12 at 22:33 +0000, gordon chung wrote: > On 12/05/17 10:32 AM, mate...@mailbox.org wrote: > > Gordon do you mean that gnocchiclient should be lesser then 3.0.0 version ? > > The documentation isn't clear so I've > > stacked. Where should I ask help here or at dev mailing list ? > > > > Thanks again for your time. > > either ML should give you replies. we are also available on IRC (mostly > euro timezone) > > but yes, if you are using gnocchi 3.0 or earlier, you should use > gnocchiclient that is earlier than 3.0.0 > > cheers, >
_______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators