RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Bogdan Dobrelya d37c74d638 Fix postrotate to notify holders of rotated logs
Lsof +L1 locates unlinked and open files and does not work for
logrotate, neither with copyteuncate not w/o that option.

Instead, find *.X (X - number) files held and notify the processes
owning those to make an apropriate actions and reopen new log files to
stop writing to the rotated files.

The actions to be taken by such processes are:

* For httpd processes, use USR1 to gracefully reload
* For neutron-server, restart the container as it cannot process
  HUP signal well (LP bug #1276694, LP bug #1780139).
* For nova-compute, restart the container as it cannot process
  HUP signal well (LP bug #1276694, LP bug #1715374).
* For other processes, use HUP to reload

This also fixes the filter to match logfiles ending with *err,
like rabbitmq startup errors log.

Closes-Bug: #1780139
Closes-Bug: #1785659
Closes-Bug: #1715374

Change-Id: I5110426aa26e5fce7ebb4d80d8a2082cbf80519c
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-09-29 01:15:59 +00:00
doc Follow the new PTI for document build 2018-02-28 14:42:12 +08:00
files Add support for libvirt VNC TLS with option of a dedicated CA 2018-02-14 10:23:26 +00:00
lib Adding support for VF LAG in SR-IOV for Mellanox interfaces 2018-08-19 05:50:05 +00:00
manifests Merge "Introduce alternative to get ip_addresses and server_names" 2018-09-20 01:23:25 +00:00
releasenotes Merge "Create interface to create mysql resources via hieradata" 2018-09-18 17:09:54 +00:00
spec Merge "Create interface to create mysql resources via hieradata" 2018-09-18 17:09:54 +00:00
templates Fix postrotate to notify holders of rotated logs 2018-09-29 01:15:59 +00:00
zuul.d Merge "add scenario003 tests when designate changes" 2018-08-25 11:25:34 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-17 14:45:35 -06:00
.gitreview Update .gitreview file for project rename 2015-06-12 23:12:30 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Load puppet-openstack_spec_helper locally during tests 2018-02-12 10:53:40 +08:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Pull in redis for unit tests 2018-07-30 11:02:17 -06:00
README.md Add release note link in README 2018-06-27 22:47:34 +08:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07:00
metadata.json Prepare 9.3.0 (Rocky RC1) 2018-08-23 22:08:00 -04:00
setup.cfg Fixes license to explicitly be Apache 2.0 2017-10-09 11:06:29 -04:00
setup.py chmod +x setup.py 2017-10-06 12:28:56 -07:00
tox.ini fix tox python3 overrides 2018-06-08 14:23:33 +08:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing