Use FQDN to check master node status
authorThomas Thrainer <thomasth@google.com>
Tue, 13 Aug 2013 07:50:42 +0000 (09:50 +0200)
committerThomas Thrainer <thomasth@google.com>
Tue, 13 Aug 2013 09:04:11 +0000 (11:04 +0200)
commitecff332f0af01dc49a72175eab4b290bf275a753
tree62541aab5fc4f1f16c3c19a95e13e21ccd515424
parent0c0722252226210e5f9a630915d8d6801dfc509d
Use FQDN to check master node status

The master node name in SS conf is stored as FQDN, so also use the FQDN
on each node to check if it is the master node.

This fixes issue 551.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
src/Ganeti/Daemon.hs