deployment fails if nodes unable to send logs to fuel master using rsyslog with tcp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Sustaining | ||
Mitaka |
Invalid
|
High
|
Vlad Naboichenko |
Bug Description
Fuel 9 deployment. 378 nodes.
Deployment failed, after fail i was unable to login on slave nodes via ssh until restart rsyslog
/etc/rsyslog.
*.* @@(o)172.
Strace ssh process
[pid 30381] read(4, "TZif2\
[pid 30381] lseek(4, -62, SEEK_CUR) = 56
[pid 30381] read(4, "TZif2\
[pid 30381] close(4) = 0
[pid 30381] munmap(
[pid 30381] socket(PF_LOCAL, SOCK_DGRAM|
[pid 30381] connect(4, {sa_family=
[pid 30381] sendto(4, "<38>Sep 17 19:25:21 sshd[30381]:"..., 98, MSG_NOSIGNAL, NULL, 0
It stuck on trying to send log in /dev/log, after restart rsyslog - i was abble to login on node. Puppet apply failed because of the same reason.
Rsyslog configured to use both tcp and udp, in logging.pp hardcoded to send logs via tcp to fuel-master. It would be usefull to choose desired transport protocol to prevent such situations in future.
no longer affects: | fuel/newton |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Maksim Malchuk (mmalchuk) |
Changed in fuel: | |
assignee: | Maksim Malchuk (mmalchuk) → Fuel Sustaining (fuel-sustaining-team) |
Switching to UDP should help, but from my point of view it is just a workaround, not a fix.