Package ganeti :: Package jqueue :: Module post_hooks_exec
[hide private]
[frames] | no frames]

Module post_hooks_exec

source code

Module implementing the execution of opcode post hooks in a separate process

This process receives the job_id from the master process and runs global post hooks for the last opcode whose execution started before the job process disappeared.

Functions [hide private]
int
_GetMasterInfo()
Retrieve the job id from the master process
source code
 
main() source code

Imports: contextlib, logging, os, sys, constants, hooksmaster, pathutils, utils, JobQueue, transport, masterd, livelock


Function Details [hide private]

_GetMasterInfo()

source code 

Retrieve the job id from the master process

This also closes standard input/output

Returns: int