puppet-gnocchi fails Exec[manage_gnocchi_high_policy] on latest RDO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-gnocchi |
Fix Released
|
Undecided
|
David Moreau Simard |
Bug Description
When running puppet-
===
Error: gnocchi --os-username admin --os-password a_big_secret --os-tenant-name openstack --os-auth-url http://
Error: /Stage[
Warning: /Stage[
Warning: /Stage[
===
The httpd logs show the following trace:
===
[Thu Feb 04 22:07:27.650692 2016] [:error] [pid 6007] [remote 127.0.0.1:200] mod_wsgi (pid=6007): Target WSGI script '/var/www/
[Thu Feb 04 22:07:27.650702 2016] [:error] [pid 6007] [remote 127.0.0.1:200] mod_wsgi (pid=6007): Exception occurred processing WSGI script '/var/www/
[Thu Feb 04 22:07:27.650717 2016] [:error] [pid 6007] [remote 127.0.0.1:200] Traceback (most recent call last):
[Thu Feb 04 22:07:27.650730 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/var/www/
[Thu Feb 04 22:07:27.650756 2016] [:error] [pid 6007] [remote 127.0.0.1:200] application = app.load_app(conf)
[Thu Feb 04 22:07:27.650765 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650780 2016] [:error] [pid 6007] [remote 127.0.0.1:200] global_
[Thu Feb 04 22:07:27.650787 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650799 2016] [:error] [pid 6007] [remote 127.0.0.1:200] return loadobj(APP, uri, name=name, **kw)
[Thu Feb 04 22:07:27.650807 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650823 2016] [:error] [pid 6007] [remote 127.0.0.1:200] global_
[Thu Feb 04 22:07:27.650835 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650848 2016] [:error] [pid 6007] [remote 127.0.0.1:200] global_
[Thu Feb 04 22:07:27.650855 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650866 2016] [:error] [pid 6007] [remote 127.0.0.1:200] return loader.
[Thu Feb 04 22:07:27.650873 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650884 2016] [:error] [pid 6007] [remote 127.0.0.1:200] global_
[Thu Feb 04 22:07:27.650892 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650903 2016] [:error] [pid 6007] [remote 127.0.0.1:200] APP, pipeline[-1], global_conf)
[Thu Feb 04 22:07:27.650910 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650921 2016] [:error] [pid 6007] [remote 127.0.0.1:200] object_type, name=name)
[Thu Feb 04 22:07:27.650928 2016] [:error] [pid 6007] [remote 127.0.0.1:200] File "/usr/lib/
[Thu Feb 04 22:07:27.650939 2016] [:error] [pid 6007] [remote 127.0.0.1:200] self.filename))
[Thu Feb 04 22:07:27.650953 2016] [:error] [pid 6007] [remote 127.0.0.1:200] LookupError: No section 'gnocchi' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/gnocchi/
===
The api-paste config is as follows:
===
# Use gnocchi+auth in the pipeline if you want to use keystone authentication
[pipeline:main]
pipeline = keystone_authtoken gnocchi
[composite:
use = egg:Paste#urlmap
/ = gnocchiversions
/v1 = gnocchiv1
[composite:
use = egg:Paste#urlmap
/ = gnocchiversions
/v1 = gnocchiv1+auth
[pipeline:
pipeline = keystone_authtoken gnocchiv1
[app:gnocchiver
paste.app_factory = gnocchi.
root = gnocchi.
[app:gnocchiv1]
paste.app_factory = gnocchi.
root = gnocchi.
[filter:
paste.filter_
oslo_config_project = gnocchi
[filter:cors]
paste.filter_
oslo_config_project = gnocchi
===
According the Pradeep Kilambi, the pipeline should be: gnocchi+auth
Not the current: keystone_authtoken gnocchiv1
Fix proposed to branch: master /review. openstack. org/276489
Review: https:/