From e498d81a8fac8887106de17ce7874a1876aa09d4 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Thu, 31 May 2018 23:03:23 -0400 Subject: [PATCH] Check --- pvcd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pvcd.py b/pvcd.py index dd607fe6..2ee616e2 100755 --- a/pvcd.py +++ b/pvcd.py @@ -51,6 +51,7 @@ atexit.register(cleanup) # Check if our node exists in Zookeeper, and create it if not mynodestring = '/nodes/%s' % myhostname if not zk.exists('%s' + mynodestring): + print("derp") zk.create('%s' % mynodestring, 'hypervisor'.encode('ascii')) zk.create('%s/state' % mynodestring, 'stop'.encode('ascii')) zk.create('%s/cpucount' % mynodestring, '0'.encode('ascii'))