Script ganeti_noded
[hide private]
[frames] | no frames]

Script ganeti_noded

Ganeti node daemon

Classes [hide private]
  MlockallRequestExecutor
Custom Request Executor class that ensures NodeHttpServer children are locked in ram.
  NodeHttpServer
The server implementation.
Functions [hide private]
 
_PrepareQueueLock()
Try to prepare the queue lock.
 
_RequireJobQueueLock(fn)
Decorator for job queue manipulating functions.
 
_DecodeImportExportIO(ieio, ieioargs)
Decodes import/export I/O information.
 
CheckNoded(_, args)
Initial checks whether to run or exit with a failure.
 
ExecNoded(options, _)
Main node daemon function, executed with the PID file held.
 
main()
Main function for the node daemon.
Variables [hide private]
  queue_lock = None

Imports: os, sys, logging, signal, OptionParser, backend, constants, objects, errors, jstore, daemon, http, utils, storage, serializer, netutils, ganeti


Function Details [hide private]

_PrepareQueueLock()

 

Try to prepare the queue lock.

Returns:
None for success, otherwise an exception object