From 4a29aa4bec08e41e9555d6850530e062b287aaa5 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 24 Sep 2018 01:46:57 -0400 Subject: [PATCH] Create as secondary by default --- router-daemon/pvcrd/Daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router-daemon/pvcrd/Daemon.py b/router-daemon/pvcrd/Daemon.py index b6b93bec..64de599f 100644 --- a/router-daemon/pvcrd/Daemon.py +++ b/router-daemon/pvcrd/Daemon.py @@ -183,7 +183,7 @@ else: transaction.create('/routers/{}'.format(myhostname), 'hypervisor'.encode('ascii')) # Basic state information transaction.create('/routers/{}/daemonstate'.format(myhostname), 'stop'.encode('ascii')) - transaction.create('/routers/{}/networkstate'.format(myhostname), 'ready'.encode('ascii')) + transaction.create('/routers/{}/networkstate'.format(myhostname), 'secondary'.encode('ascii')) transaction.create('/routers/{}/staticdata'.format(myhostname), ' '.join(staticdata).encode('ascii')) # Keepalives and fencing information transaction.create('/routers/{}/keepalive'.format(myhostname), str(keepalive_time).encode('ascii'))