Commit Graph

5 Commits

Author SHA1 Message Date
Jonathan Rosser 5080c42f0a Reduce verbosity level when debug is true
Keystone is experiencing memecached timeouts during tempest tests in
CI, and the memcached log is in excess of 20Mbytes. There will be a lot
of write pressure on this log during tempest tests and this patch reduces
the debug log level in an attempt to increase test reliability.

Change-Id: I7db0eb361fc6f09ce64690be2018bf8ed8204e0c
2020-06-16 21:53:33 +01:00
Dmitriy Rabotyagov 141db60ee6 Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald.

Change-Id: I9ee285aeae85ccf6827a652dcd4ff06958141615
2019-07-22 16:40:36 +03:00
Jean-Philippe Evrard e7ffc8c09f Fix CVE-2018-1000115 for other distros
We must restrict memcached to TCP.
Done for redhat but not SUSE/ubuntu

Change-Id: Ib4520b15fa660b77212dfc91bdb0f27590d30128
2018-03-28 14:07:33 +00:00
Kevin Carter 88c6712439 Lower verbosity on memcached server
This change lowers the default log level for memcached. currently with the
setting at -vv we're noticing a large spike in logs generated which could
fill up block devices on high traffic systems.

Change-Id: I3378f4cce3a082060f4b202034b48975040a79fe
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-09-13 21:38:34 -05:00
Matt Thompson f0185d9d88 Updated role using the Multi-Distro framework
This commit updates the memcached_server role to work on Trusty,
Xenial, and CentOS 7.

NOTES:

1. This role no longer creates the memcache user since both Ubuntu and
   CentOS already install a suitable user
2. We have temporarily disabled testing of the log file since CentOS and
   Xenial do not log to file
3. On Ubuntu we drop ulimits into /etc/defaults/memcached, we need to
   figure out how to do the equivalent on CentOS
4. We update tasks/memcached_config.yml to use the correct memcached
   user in limits.conf, however neither these limits or the ones in
   templates/memcached.debian.j2 actually seem to be taking effect.
   More work in an additional review will need to be done to clean this
   all up.

Implements: blueprint multi-platform-host

Change-Id: I4c32f3d60939615c5d0c6fb202e96aacb35ab9b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-26 16:52:54 +01:00