Correct creation value
This commit is contained in:
parent
a1e8494777
commit
217d5810b1
2
pvcd.py
2
pvcd.py
|
@ -134,7 +134,7 @@ else:
|
||||||
zk.create('/nodes/{}'.format(myhostname), 'hypervisor'.encode('ascii'))
|
zk.create('/nodes/{}'.format(myhostname), 'hypervisor'.encode('ascii'))
|
||||||
# Basic state information
|
# Basic state information
|
||||||
zk.create('/nodes/{}/daemonstate'.format(myhostname), 'stop'.encode('ascii'))
|
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/{}/cpucount'.format(myhostname), '0'.encode('ascii'))
|
||||||
zk.create('/nodes/{}/memfree'.format(myhostname), '0'.encode('ascii'))
|
zk.create('/nodes/{}/memfree'.format(myhostname), '0'.encode('ascii'))
|
||||||
zk.create('/nodes/{}/memused'.format(myhostname), '0'.encode('ascii'))
|
zk.create('/nodes/{}/memused'.format(myhostname), '0'.encode('ascii'))
|
||||||
|
|
Loading…
Reference in New Issue