blob: 1cceabcfd11ce50d83bf7e1fa9489fbb44ad652c [file] [log] [blame]
Petr Jediný07dfda52017-06-17 13:51:58 +02001=============
2Panko Formula
3=============
4
5Panko is a component of the OpenStack Telemetry project and is designed to
6provide a metadata indexing, event storage service which enables users to
7capture the state information of OpenStack resources at a given time. Its aim
8is to enable a scalable means of storing both short and long term data for
9use cases such as auditing and system debugging.
10
11Sample pillars
12==============
13
14Single panko service
15
16.. code-block:: yaml
17
18 panko:
19 server:
20 enabled: true
21 version: pike
22 database:
23 engine: mysql
24 host: 10.20.0.101
25 port: 3306
26 name: panko
27 user: panko
28 password: segreto
29 bind:
30 host: 10.20.0.102
31 port: 8977
32 identity:
33 engine: keystone
34 host: 10.20.0.101
35 port: 35357
36 user: panko
37 password: segreto
38 region: RegionOne
39 tenant: service
40 endpoint_type: internalURL
41 cache:
42 engine: memcached
43 members:
44 - host: 10.20.0.102
45 port: 11211
46 - host: 10.20.0.103
47 port: 11211
48 - host: 10.20.0.104
49 port: 11211
50
Mykyta Karpinc06d5e82018-07-17 17:00:51 +030051Setting event cleanup
52
53In order to allow events cleanup from one node of the cluster,
54server:role field should be set to primary and all others to
55secondary to avoid race conditions. On the example below
56expirer is set to run every day at 2:00 AM. By default
57it will be run every hour.
58
59.. code-block:: yaml
60
61 panko:
62 server:
63 role: primary
64 expirer:
65 cron:
66 minute: 0
67 hour: 2
68
69
sgarbuz49d5faa2018-05-15 13:16:33 +030070Enhanced logging with logging.conf
71----------------------------------
72
73By default logging.conf is disabled.
74
75That is possible to enable per-binary logging.conf with new variables:
76 * openstack_log_appender - set it to true to enable log_config_append for all OpenStack services;
77 * openstack_fluentd_handler_enabled - set to true to enable FluentHandler for all Openstack services.
78
79Only WatchedFileHandler and FluentHandler are available.
80
81Also it is possible to configure this with pillar:
82
83.. note:: This works only if service doesnt run under apache-wsgi
84
85.. code-block:: yaml
86
87 panko:
88 server:
89 logging:
90 log_appender: true
91 log_handlers:
92 watchedfile:
93 enabled: true
94 fluentd:
95 enabled: true
96
Petr Jediný07dfda52017-06-17 13:51:58 +020097
98More information
99================
100
101* https://wiki.openstack.org/wiki/Telemetry
102* https://docs.openstack.org/developer/panko/
103* https://github.com/openstack/panko
104* https://bugs.launchpad.net/panko
105
106
107Documentation and Bugs
108======================
109
110To learn how to install and update salt-formulas, consult the documentation
111available online at:
112
113 http://salt-formulas.readthedocs.io/
114
115In the unfortunate event that bugs are discovered, they should be reported to
116the appropriate issue tracker. Use GitHub issue tracker for specific salt
117formula:
118
119 https://github.com/salt-formulas/salt-formula-panko/issues
120
121For feature requests, bug reports or blueprints affecting entire ecosystem,
122use Launchpad salt-formulas project:
123
124 https://launchpad.net/salt-formulas
125
126Developers wishing to work on the salt-formulas projects should always base
127their work on master branch and submit pull request against specific formula.
128
129You should also subscribe to mailing list (salt-formulas@freelists.org):
130
131 https://www.freelists.org/list/salt-formulas
132
133Any questions or feedback is always welcome so feel free to join our IRC
134channel:
135
136 #salt-formulas @ irc.freenode.net