/etc/sysctl.conf values do not apply to haproxy namespace after a failover
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Sergii Golovatiuk | ||
7.0.x |
Fix Released
|
Medium
|
Denis Meltsaykin |
Bug Description
We are deploying a new environment with MOS 6.1.
The Fuel master has been upgraded with "yum upgrade" which pulled in some dependencies.
After the upgrade we ran:
"fuel release --sync-
According to a bug filed in https:/
Due to a bug in the Broadcom NIC we use in our environment we also needed to upgrade the kernel from 3.13 (trusty default) to 3.19 (vivid-
When performing HA tests on the controllers and during the install the /etc/sysctl.conf values don't get applied correctly and as a result haproxy fails to start.
I suspect this may be a change in the kernel behavior so my problem is to understand when in the boot process the haproxy namespace is created and if sysctl is ran inside the namespace or it is expected to be inherited from the global namespace.
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 8.0 |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Stanislaw Bogatkin (sbogatkin) |
Changed in fuel: | |
assignee: | Stanislaw Bogatkin (sbogatkin) → Sergii Golovatiuk (sgolovatiuk) |
tags: | added: area-library |
tags: | added: on-verification |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
I've managed to track down the problem on my own and patch the appropriate scripts. ip_nonlocal_ bind = 1 which allows haproxy to function correctly).
Please find attached the used scripts.
The required modification is to run sysctl -p /etc/sysctl.conf in the IP namespace to set the necessary values (especially the net.ipv4.
These are part of the fuel library.
I would like to request a build of the fuel-library ubuntu packages (fuel-ha-utils, fuel-misc and fuel-rabbit-fence) which take into account the corrections required for the new kernel version.