Commit 8594f271 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Convert ganeti-noded

Replace ssconf with utility functions.

Reviewed-by: iustinp
parent e00ea635
......@@ -40,7 +40,6 @@ from ganeti import constants
from ganeti import objects
from ganeti import errors
from ganeti import jstore
from ganeti import ssconf
from ganeti import http
from ganeti import utils
......@@ -654,9 +653,8 @@ def main():
sys.exit(5)
try:
ss = ssconf.SimpleStore()
port = ss.GetNodeDaemonPort()
pwdata = ss.GetNodeDaemonPassword()
port = utils.GetNodeDaemonPort()
pwdata = utils.GetNodeDaemonPassword()
except errors.ConfigurationError, err:
print "Cluster configuration incomplete: '%s'" % str(err)
sys.exit(5)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment