[Pacemaker] getnameinfo() vs uname()

Vladislav Bogdanov bubble at hoster-ok.com
Wed Aug 29 08:22:52 CEST 2012


Hi,

It looks like pacemaker (current master) does not always work nicely on
top of corosync2 if one doesn't have /etc/hosts with all cluster nodes
in it, where short form of name goes before the long one (so
gethostbyaddr() and getnameinfo() return the short one). I tried to run
test cluster with stub /etc/hosts but fully functional name server, and
I see that pacemaker includes long nodenames (fqdn) into nodelist, while
expecting them to be equal to what uname() returns for the local node.
After I created needed entries in /etc/hosts everything began to work.


More information about the Pacemaker mailing list