Commit Graph

9 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 5f76a510ac Deprecate os-panko role
Since upstream Panko project has retired, we deprecating role for it.

Since we might want to get some patches in for stable branches, we're
deprecating role instead of retiring it.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/799802
Change-Id: I35e008bcc9b35373dc6db2672ee1cabb328e7f9b
2021-07-07 15:44:31 +03:00
Dmitriy Rabotyagov a396d45942 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to replace policy.json to
policy.yaml and remove deprecated policy.json.

config_template has been choosen instead of the copy, since it can
properly handle content that has been lookuped.

We make a separate task not to restart service when it's not needed.

[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Ib434e98cd4df42ea77bcb985eafe2e56b1ac6fe9
2021-04-06 12:21:54 +00:00
Guilherme Steinmüller 67fcd7723f Refactor memcached_servers
This patch aims to add a prefix for memcached_server
on each role to give the ability for deployers to
override the location of memcached cluster. I.e users
wants to create a single memcached cluster with k8s
for each service.

We also add pymemcache based on [1]

[1] https://review.opendev.org/711429

Change-Id: Ifc89958375ec860e9c75e84aadd420401336e2f6
2020-03-16 14:52:37 +00:00
Dmitriy Rabotyagov 2cb6ab1815 Start using uWSGI role
Move service to use uWSGI role instead of iternal task for uwsgi
deployment. This aims to ease the maintenance of uWSGI and speedup
metal deployments as the same uwsgi environment will be used
across all services.

Change-Id: Ied62269392fa8d7b0ddfe6e29f52c34ddbbbce20
2019-09-06 00:45:45 +03:00
Dmitriy Rabotyagov 50f1a48c6c Migrate panko to use uWSGI
This patch moves panko-api from usage of apache with mod_wsgi
to uWSGI, which means unification across another roles and
reduced maintenance costs

During migration period tasks that ensures apache won't listen
on panko_service_port are present, but they are supposed to be removed
after train release.

Change-Id: Ic61c60e2db45ac5e51bb3a43d7928648d9ae5d19
2019-08-02 16:28:12 +03:00
Dmitriy Rabotyagov caeb205aeb Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald. We also disable uwsgi logging, since it dublicates
requests that are logged by service itself.

Change-Id: I83b54a175b15932036755c2673993990492592e8
2019-07-17 19:17:17 +03:00
Christian Zunker 5a6add8c88 Add panko-expirer cron job
Automatically delete events when TTL for events
is greater than zero.

Change-Id: Ifecec755edc4d9b1eb202abceb7fecd5aaf87fe7
2018-12-24 09:37:41 +01:00
Christian Zunker 0ba4ae55c2 Update keystone config for panko
insecure parameter was missing
Added www_authenticate_uri as already present in other projects.

Change-Id: Ia03b921e1fc10fdaaa45124ead10a0012f3ff708
2018-12-21 13:26:16 +01:00
gokhan.isik 0afd4d81e4 Openstack Ansible panko service role created 2018-01-05 14:59:49 +03:00