blob: f1b324db9822b6cfe1930f6e65611af30675de82 [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
Oleksandr Shyshko3f852062018-09-10 14:20:22 +030097Enable x509 and ssl communication between Panko and Galera cluster.
98---------------------
99By default communication between Panko and Galera is unsecure.
100
101panko:
102 server:
103 database:
104 x509:
105 enabled: True
106
107You able to set custom certificates in pillar:
108
109panko:
110 server:
111 database:
112 x509:
113 cacert: (certificate content)
114 cert: (certificate content)
115 key: (certificate content)
116
117You can read more about it here:
118 https://docs.openstack.org/security-guide/databases/database-access-control.html
Petr Jediný07dfda52017-06-17 13:51:58 +0200119
120More information
121================
122
123* https://wiki.openstack.org/wiki/Telemetry
124* https://docs.openstack.org/developer/panko/
125* https://github.com/openstack/panko
126* https://bugs.launchpad.net/panko
127
128
129Documentation and Bugs
130======================
131
132To learn how to install and update salt-formulas, consult the documentation
133available online at:
134
135 http://salt-formulas.readthedocs.io/
136
137In the unfortunate event that bugs are discovered, they should be reported to
138the appropriate issue tracker. Use GitHub issue tracker for specific salt
139formula:
140
141 https://github.com/salt-formulas/salt-formula-panko/issues
142
143For feature requests, bug reports or blueprints affecting entire ecosystem,
144use Launchpad salt-formulas project:
145
146 https://launchpad.net/salt-formulas
147
148Developers wishing to work on the salt-formulas projects should always base
149their work on master branch and submit pull request against specific formula.
150
151You should also subscribe to mailing list (salt-formulas@freelists.org):
152
153 https://www.freelists.org/list/salt-formulas
154
155Any questions or feedback is always welcome so feel free to join our IRC
156channel:
157
158 #salt-formulas @ irc.freenode.net