From 217d5810b14cc6f433d2a1d17ef98bb96ee90461 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 11 Jun 2018 03:04:53 -0400 Subject: [PATCH] Correct creation value --- pvcd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvcd.py b/pvcd.py index 80646d16..09b549df 100755 --- a/pvcd.py +++ b/pvcd.py @@ -134,7 +134,7 @@ else: zk.create('/nodes/{}'.format(myhostname), 'hypervisor'.encode('ascii')) # Basic state information zk.create('/nodes/{}/daemonstate'.format(myhostname), 'stop'.encode('ascii')) - zk.create('/nodes/{}/domainstate'.format(myhostname), 'stop'.encode('ascii')) + zk.create('/nodes/{}/domainstate'.format(myhostname), 'ready'.encode('ascii')) zk.create('/nodes/{}/cpucount'.format(myhostname), '0'.encode('ascii')) zk.create('/nodes/{}/memfree'.format(myhostname), '0'.encode('ascii')) zk.create('/nodes/{}/memused'.format(myhostname), '0'.encode('ascii'))