blob: eefc83e476be6b083af325b42ff4a00e05e71595 [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
Dzmitry Stremkouski1c748e82018-10-25 16:48:44 +020022 enable_proxy_headers_parsing: True
Petr Jediný07dfda52017-06-17 13:51:58 +020023 database:
24 engine: mysql
25 host: 10.20.0.101
26 port: 3306
27 name: panko
28 user: panko
29 password: segreto
30 bind:
31 host: 10.20.0.102
32 port: 8977
33 identity:
34 engine: keystone
35 host: 10.20.0.101
36 port: 35357
37 user: panko
38 password: segreto
39 region: RegionOne
40 tenant: service
41 endpoint_type: internalURL
42 cache:
43 engine: memcached
44 members:
45 - host: 10.20.0.102
46 port: 11211
47 - host: 10.20.0.103
48 port: 11211
49 - host: 10.20.0.104
50 port: 11211
51
Mykyta Karpinc06d5e82018-07-17 17:00:51 +030052Setting event cleanup
53
54In order to allow events cleanup from one node of the cluster,
55server:role field should be set to primary and all others to
56secondary to avoid race conditions. On the example below
57expirer is set to run every day at 2:00 AM. By default
58it will be run every hour.
59
60.. code-block:: yaml
61
62 panko:
63 server:
64 role: primary
65 expirer:
66 cron:
67 minute: 0
68 hour: 2
69
70
sgarbuz49d5faa2018-05-15 13:16:33 +030071Enhanced logging with logging.conf
72----------------------------------
73
74By default logging.conf is disabled.
75
76That is possible to enable per-binary logging.conf with new variables:
77 * openstack_log_appender - set it to true to enable log_config_append for all OpenStack services;
78 * openstack_fluentd_handler_enabled - set to true to enable FluentHandler for all Openstack services.
79
80Only WatchedFileHandler and FluentHandler are available.
81
82Also it is possible to configure this with pillar:
83
84.. note:: This works only if service doesnt run under apache-wsgi
85
86.. code-block:: yaml
87
88 panko:
89 server:
90 logging:
91 log_appender: true
92 log_handlers:
93 watchedfile:
94 enabled: true
95 fluentd:
96 enabled: true
97
Oleksandr Shyshko3f852062018-09-10 14:20:22 +030098Enable x509 and ssl communication between Panko and Galera cluster.
99---------------------
100By default communication between Panko and Galera is unsecure.
101
102panko:
103 server:
104 database:
105 x509:
106 enabled: True
107
108You able to set custom certificates in pillar:
109
110panko:
111 server:
112 database:
113 x509:
114 cacert: (certificate content)
115 cert: (certificate content)
116 key: (certificate content)
117
118You can read more about it here:
119 https://docs.openstack.org/security-guide/databases/database-access-control.html
Petr Jediný07dfda52017-06-17 13:51:58 +0200120
Oleksandr Bryndziidcb7d7b2018-10-04 12:19:42 +0300121Panko server with memcached caching and security strategy:
122--------------------
123.. code-block:: yaml
124
125 panko:
126 server:
127 enabled: true
128 ...
129 cache:
130 engine: memcached
131 members:
132 - host: 127.0.0.1
133 port: 11211
134 - host: 127.0.0.1
135 port: 11211
136 security:
137 enabled: true
138 strategy: ENCRYPT
139 secret_key: secret
Petr Jediný07dfda52017-06-17 13:51:58 +0200140More information
141================
142
143* https://wiki.openstack.org/wiki/Telemetry
144* https://docs.openstack.org/developer/panko/
145* https://github.com/openstack/panko
146* https://bugs.launchpad.net/panko
147
148
149Documentation and Bugs
150======================
151
152To learn how to install and update salt-formulas, consult the documentation
153available online at:
154
155 http://salt-formulas.readthedocs.io/
156
157In the unfortunate event that bugs are discovered, they should be reported to
158the appropriate issue tracker. Use GitHub issue tracker for specific salt
159formula:
160
161 https://github.com/salt-formulas/salt-formula-panko/issues
162
163For feature requests, bug reports or blueprints affecting entire ecosystem,
164use Launchpad salt-formulas project:
165
166 https://launchpad.net/salt-formulas
167
168Developers wishing to work on the salt-formulas projects should always base
169their work on master branch and submit pull request against specific formula.
170
171You should also subscribe to mailing list (salt-formulas@freelists.org):
172
173 https://www.freelists.org/list/salt-formulas
174
175Any questions or feedback is always welcome so feel free to join our IRC
176channel:
177
178 #salt-formulas @ irc.freenode.net