Module instance_operation
source code
Logical units dealing with instance operations (start/stop/...).
Those operations have in common that they affect the operating system
in a running instance directly.
|
_IsInstanceUserDown(cluster,
instance,
instance_info) |
source code
|
|
dict
|
|
Imports:
logging,
constants,
errors,
hypervisor,
locking,
objects,
utils,
LogicalUnit,
NoHooksLU,
INSTANCE_ONLINE,
INSTANCE_DOWN,
CheckHVParams,
CheckInstanceState,
CheckNodeOnline,
GetUpdatedParams,
CheckOSParams,
CheckOSImage,
ShareAll,
StartInstanceDisks,
ShutdownInstanceDisks,
ImageDisks,
BuildInstanceHookEnvByObject,
CheckInstanceBridgesExist,
CheckNodeFreeMemory,
UpdateMetadata,
hv_base
GetInstanceConsole(cluster,
instance,
primary_node,
node_group)
| source code
|
Returns console information for an instance.
- Parameters:
- Returns: dict
|