Skip to content
Snippets Groups Projects
Commit c4611eca authored by William Frischemeier's avatar William Frischemeier
Browse files

Load ip_vs module for keepalived

If ip_vs is not loaded keepalived will enter a restart loop.  To fix that
load ip_vs module every time we start the container.

Change-Id: I6b39d8654cc6a6da7a9162e5c3efab073746b246
Closes-Bug: #1486276
parent ddec5767
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
volumes: volumes:
- "{{ node_config_directory }}/keepalived/:/opt/kolla/keepalived/:ro" - "{{ node_config_directory }}/keepalived/:/opt/kolla/keepalived/:ro"
- "/run:/run" - "/run:/run"
- "/lib/modules:/lib/modules:ro"
env: env:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
......
...@@ -10,4 +10,6 @@ source /opt/kolla/kolla-common.sh ...@@ -10,4 +10,6 @@ source /opt/kolla/kolla-common.sh
# Execute config strategy # Execute config strategy
set_configs set_configs
modprobe ip_vs
exec $CMD $ARGS exec $CMD $ARGS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment