osixia / docker-keepalived

Keepalived container image 🐳🌴
MIT License
403 stars 146 forks source link

Important use CPU, loop process IPVS #1

Closed cedvan closed 8 years ago

cedvan commented 8 years ago

hi,

I use keepalived container in VM ubuntu 14.04, He important use CPU, because a process to inititialize IPVS start loop.

15/2/2016 03:00:46Initializing ipvs 2.6
15/2/2016 03:00:46Keepalived_healthcheckers[15852]: Initializing ipvs 2.6

15/2/2016 03:00:46IPVS: Can't initialize ipvs: Protocol not available
15/2/2016 03:00:46Keepalived_healthcheckers[15852]: IPVS: Can't initialize ipvs: Protocol not available

15/2/2016 03:00:46Healthcheck child process(15852) died: Respawning
15/2/2016 03:00:46Keepalived[9]: Healthcheck child process(15852) died: Respawning

15/2/2016 03:00:46Starting Healthcheck child process, pid=15854
15/2/2016 03:00:46Keepalived[9]: Starting Healthcheck child process, pid=15854

15/2/2016 03:00:46Initializing ipvs 2.6
15/2/2016 03:00:46Keepalived_healthcheckers[15854]: Initializing ipvs 2.6
15/2/2016 03:00:46IPVS: Can't initialize ipvs: Protocol not available
15/2/2016 03:00:46Keepalived_healthcheckers[15854]: IPVS: Can't initialize ipvs: Protocol not available

An idea to resolve it please ?

NB: Virtual IP works well

osixia commented 8 years ago

Hi, did you enable ip_vs module on your docker host ?

cedvan commented 8 years ago

Hi,

I provisioned my virtual machine with ipvsadm package . Problem solved.

Thank you!