Revision b31176b0

b/lib/constants.py
139 139
SOCKET_DIR = RUN_GANETI_DIR + "/socket"
140 140
SECURE_DIR_MODE = 0700
141 141
SECURE_FILE_MODE = 0600
142
SOCKET_DIR_MODE = 0750
143 142
CRYPTO_KEYS_DIR = RUN_GANETI_DIR + "/crypto"
144
CRYPTO_KEYS_DIR_MODE = SECURE_DIR_MODE
145 143
IMPORT_EXPORT_DIR = RUN_GANETI_DIR + "/import-export"
146
IMPORT_EXPORT_DIR_MODE = 0755
147 144
ADOPTABLE_BLOCKDEV_ROOT = "/dev/disk/"
148
# keep RUN_GANETI_DIR first here, to make sure all get created when the node
149
# daemon is started (this takes care of RUN_DIR being tmpfs)
150
SUB_RUN_DIRS = [
151
  RUN_GANETI_DIR,
152
  BDEV_CACHE_DIR,
153
  DISK_LINKS_DIR,
154
  ]
155 145
LOCK_DIR = _autoconf.LOCALSTATEDIR + "/lock"
156 146
SSCONF_LOCK_FILE = LOCK_DIR + "/ganeti-ssconf.lock"
157 147
# User-id pool lock directory
......
235 225

  
236 226
FIRST_DRBD_PORT = 11000
237 227
LAST_DRBD_PORT = 14999
238
MASTER_SCRIPT = "ganeti-master"
239 228

  
240 229
LOG_DIR = _autoconf.LOCALSTATEDIR + "/log/ganeti/"
241 230
DAEMONS_LOGFILES = {
......
1527 1516
JOB_QUEUE_ARCHIVE_DIR = QUEUE_DIR + "/archive"
1528 1517
JOB_QUEUE_DRAIN_FILE = QUEUE_DIR + "/drain"
1529 1518
JOB_QUEUE_SIZE_HARD_LIMIT = 5000
1530
JOB_QUEUE_DIRS = [QUEUE_DIR, JOB_QUEUE_ARCHIVE_DIR]
1531
JOB_QUEUE_DIRS_MODE = SECURE_DIR_MODE
1532 1519

  
1533 1520
JOB_ID_TEMPLATE = r"\d+"
1534 1521
JOB_FILE_RE = re.compile(r"^job-(%s)$" % JOB_ID_TEMPLATE)
......
1603 1590

  
1604 1591
# Execution log types
1605 1592
ELOG_MESSAGE = "message"
1606
ELOG_PROGRESS = "progress"
1607 1593
ELOG_REMOTE_IMPORT = "remote-import"
1608 1594
ELOG_JQUEUE_TEST = "jqueue-test"
1609 1595

  

Also available in: Unified diff