Commit Graph

5 Commits

Author SHA1 Message Date
Cédric Jeanneret 6d405cc9ad Do not load ip_vs module from the container
The module must be loaded from the host directly in order
to avoid any SELinux issues.

There are examples in kolla-ansible and tripleo-heat-templates:
- https://review.openstack.org/#/c/605624/
- https://review.openstack.org/#/c/605450/

Change-Id: I90a5dcb64cf9e446d9e90347c12d5558c47a7f62
Related-Bug: 1794550
2018-11-07 16:34:24 +01:00
Bertrand Lallau c71e8ba8ff Remove all Heka related remaining stuff
Heka has been removed and replaced by fluentd.
Refer to https://review.openstack.org/#/c/437874/

Change-Id: I989e5d71b5ba4d036dd45c02b3923c5bf27a04ed
2017-05-29 01:42:20 +00:00
Éric Lemoine 500dc73c87 Do not create /dev/log symlink if it already exists
This changes the keepalived extend_start.sh script not to recreate
the /dev/log symlink if it already exists.

This change is related to a comment from SamYaple in
https://review.openstack.org/#/c/288432/.

TrivialFix

Change-Id: I9ca2b4d0b36c961ab3e1e18e2011dd10b47c33e3
2016-03-09 10:41:08 +01:00
Éric Lemoine 3fca4ccbaf Make Heka collect HAProxy and Keepalived logs
Partially implements: blueprint heka
Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4
2016-02-19 20:32:10 +00:00
Sam Yaple cb4e875ae1 Common start.sh
The majority of the start.sh code is identical. This removes that
duplicate code while still maintaining the ability to call code in a
specific container.

The start.sh is moved into /usr/local/bin/kolla_start in the container

The extend_start.sh script is called by the kolla_start script at the
location /usr/local/bin/kolla_extend_start . It always exists because
we create a noop kolla_extend_start in the base directory. We override
it with extend_start.sh in a specific image should we need to.

Of note, the neutron-agents container is exempt from this new
structure due to it being a fat container.

Additionally, we fix the inconsistent permissions throughout. 644 for
repo files and the scripts are set to 755 via a Docker RUN command to
ensure someones local perm change won't break upstream containers.

Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad
Closes-Bug: #1501295
2015-10-06 03:30:26 +00:00