Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Master daemon program.

Some classes deviates from the standard style guide since the
inheritance from parent classes requires it.

 N/A logging ganeti config ganeti constants ganeti jqueue ganeti utils N/A ganeti.rpc.node rpc N/A CLIENT_REQUEST_WORKERS 16 N/A EXIT_NOTMASTER N/A constants EXIT_NOTMASTER N/A EXIT_NODESETUP_ERROR N/A constants EXIT_NODESETUP_ERROR GanetiContext N/A object N/A N/A Context common to all ganeti threads.

  This class creates and holds common objects shared by all threads.

   N/A _instance None __init__ N/A N/A self livelock N/A None N/A N/A Constructs a new GanetiContext object.

    There should be only a GanetiContext object at any time, so this
    function raises an error if this is not the case.

     N/A N/A N/A N/A self __class__ _instance None double GanetiContext instance N/A N/A livelock None N/A N/A N/A self livelock N/A N/A N/A utils livelock LiveLock masterd N/A N/A N/A self livelock livelock N/A cfg N/A N/A self GetConfig None N/A N/A N/A logging debug Creating the job queue N/A N/A self jobqueue N/A N/A jqueue JobQueue self cfg N/A N/A N/A self __class__ _instance self N/A __setattr__ N/A N/A self name value N/A N/A N/A Setting GanetiContext attributes is forbidden after initialization.

     N/A N/A N/A N/A self __class__ _instance None Attempt to modify Ganeti Context N/A N/A N/A object __setattr__ self name value N/A GetWConfdContext N/A N/A self ec_id N/A N/A N/A N/A N/A config GetWConfdContext ec_id N/A self livelock N/A GetConfig N/A N/A self ec_id N/A N/A N/A N/A N/A config GetConfig ec_id N/A self livelock N/A GetRpc N/A N/A self cfg N/A N/A N/A N/A N/A rpc RpcRunner cfg N/A N/A N/A _ N/A None N/A AddNode N/A N/A self cfg node ec_id N/A N/A N/A Adds a node to the configuration.

     N/A N/A N/A cfg AddNode node ec_id N/A RemoveNode N/A N/A self cfg node N/A N/A N/A Removes a node from the configuration and lock manager.

     N/A N/A N/A cfg RemoveNode N/A node uuid N/A N/A