Ask Your Question
0

Juno Controller reboot result nova compute state down

asked 2015-05-27 07:28:49 -0600

Uzi gravatar image

Hi All

i am checking behavior of the controller/compute system behavior after reboots

Ubuntu 14.04 / Juno / 2014.2.2

after rebooting controller it takes long time (hours) for the nova compute service to change state to UP

i managed to fix the problem by changing the Linux TCP keepalive parameters

https://bugs.launchpad.net/fuel/+bug/... answer #18

originally was

# cat /proc/sys/net/ipv4/tcp_keepalive_time
  7200
# cat /proc/sys/net/ipv4/tcp_keepalive_intvl
  75
# cat /proc/sys/net/ipv4/tcp_keepalive_probes
  9

change it to

# echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time
# echo 16 > /proc/sys/net/ipv4/tcp_keepalive_intvl
# echo 6 > /proc/sys/net/ipv4/tcp_keepalive_probes

this solve the problem , after controller reboot the nova compute is up

my question : is there openstack parameters that do the same effect ?

i am not so happy to change OS default parameters

thanks in advance

Uzi

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-11 07:35:26 -0600

Uzi gravatar image

updated 2015-06-11 07:36:13 -0600

seem sysctl -w command not persistent after reboot

 #sysctl  -w net.ipv4.tcp_keepalive_intvl=1  net.ipv4.tcp_keepalive_time=5  net.ipv4.tcp_keepalive_probes=5

i had to edit the file /etc/sysctl.conf and add there the lines in

net.ipv4.tcp_keepalive_intvl=1
net.ipv4.tcp_keepalive_time=5
net.ipv4.tcp_keepalive_probes=5
edit flag offensive delete link more
0

answered 2015-05-27 15:09:29 -0600

jdexter gravatar image

updated 2015-05-29 11:16:29 -0600

update 5/29/2015

All of the automated installers take care of this issue. The Red Hat Bugzilla explains this. > https://bugzilla.redhat.com/show_bug.cgi?id=1167414

/end update

No the proper way to handle these is by sysctl settings.

The settings from system look as such.

net.ipv4.tcp_keepalive_intvl=1
net.ipv4.tcp_keepalive_time=5
net.ipv4.tcp_keepalive_probes=5
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-05-27 07:28:49 -0600

Seen: 328 times

Last updated: Jun 11 '15