Revision 46479775 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
754 | 754 |
for fname in (constants.SSL_CERT_FILE,): |
755 | 755 |
if not os.path.isfile(fname): |
756 | 756 |
print "config %s not there, will not run." % fname |
757 |
sys.exit(5)
|
|
757 |
sys.exit(constants.EXIT_NOTCLUSTER)
|
|
758 | 758 |
|
759 |
try: |
|
760 |
port = utils.GetNodeDaemonPort() |
|
761 |
except errors.ConfigurationError, err: |
|
762 |
print "Cluster configuration incomplete: '%s'" % str(err) |
|
763 |
sys.exit(5) |
|
759 |
port = utils.GetNodeDaemonPort() |
|
764 | 760 |
|
765 | 761 |
dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS] |
766 | 762 |
dirs.append((constants.LOG_OS_DIR, 0750)) |
Also available in: Unified diff