class NoHooksLU(LogicalUnit):
Known subclasses: ganeti.cmdlib.backup.LUBackupPrepare
, ganeti.cmdlib.backup.LUBackupRemove
, ganeti.cmdlib.cluster.LUClusterActivateMasterIp
, ganeti.cmdlib.cluster.LUClusterConfigQuery
, ganeti.cmdlib.cluster.LUClusterDeactivateMasterIp
, ganeti.cmdlib.cluster.LUClusterQuery
, ganeti.cmdlib.cluster.LUClusterRedistConf
, ganeti.cmdlib.cluster.LUClusterRenewCrypto
, ganeti.cmdlib.cluster.LUClusterRepairDiskSizes
, ganeti.cmdlib.cluster.verify.LUClusterVerify
, ganeti.cmdlib.cluster.verify.LUClusterVerifyConfig
, ganeti.cmdlib.cluster.verify.LUClusterVerifyDisks
, ganeti.cmdlib.group.LUGroupAssignNodes
, ganeti.cmdlib.group.LUGroupVerifyDisks
, ganeti.cmdlib.instance.LUInstanceMultiAlloc
, ganeti.cmdlib.instance_operation.LUInstanceConsole
, ganeti.cmdlib.instance_query.LUInstanceQueryData
, ganeti.cmdlib.instance_storage.LUInstanceActivateDisks
, ganeti.cmdlib.instance_storage.LUInstanceDeactivateDisks
, ganeti.cmdlib.misc.LUExtStorageDiagnose
, ganeti.cmdlib.misc.LUOobCommand
, ganeti.cmdlib.misc.LURestrictedCommand
, ganeti.cmdlib.node.LUNodeEvacuate
, ganeti.cmdlib.node.LUNodeModifyStorage
, ganeti.cmdlib.node.LUNodePowercycle
, ganeti.cmdlib.node.LUNodeQueryStorage
, ganeti.cmdlib.node.LUNodeQueryvols
, ganeti.cmdlib.node.LURepairNodeStorage
, ganeti.cmdlib.operating_system.LUOsDiagnose
, ganeti.cmdlib.query.LUQuery
, ganeti.cmdlib.query.LUQueryFields
, ganeti.cmdlib.tags.LUTagsSearch
, ganeti.cmdlib.tags.TagsLU
, ganeti.cmdlib.test.LUTestAllocator
, ganeti.cmdlib.test.LUTestDelay
, ganeti.cmdlib.test.LUTestJqueue
, ganeti.cmdlib.test.LUTestOsParams
Simple LU which runs no hooks.
This LU is intended as a parent for other LogicalUnits which will run no hooks, in order to reduce duplicate code.
Method |
|
Empty BuildHooksEnv for NoHooksLu. |
Method |
|
Empty BuildHooksNodes for NoHooksLU. |
Method |
|
Empty PreparePostHookNodes for NoHooksLU. |
Constant | HPATH |
Undocumented |
Constant | HTYPE |
Undocumented |
Inherited from LogicalUnit
:
Method | __init__ |
Constructor for LogicalUnit. |
Method |
|
Raise AssertionError if the LU holds some locks of the given level. |
Method |
|
Check syntactic validity for the opcode arguments. |
Method |
|
Check prerequisites for this LU. |
Method |
|
Declare LU locking needs for a level |
Method |
|
Execute the LU. |
Method |
|
Expand names for this LU. |
Method |
|
Notify the LU about the results of its hooks. |
Method | owned |
Return the list of locks owned by the LU at a given level. |
Method |
|
Prepare the LU to run again. |
Method | release |
Return a request to release the specified locks of the given level. |
Method |
|
Undocumented |
Constant | REQ |
Undocumented |
Instance Variable | add |
Undocumented |
Instance Variable | cfg |
Undocumented |
Instance Variable | dont |
Undocumented |
Instance Variable | dry |
the value (if any) that will be returned to the caller in dry-run mode (signalled by opcode dry_run parameter) |
Instance Variable |
|
Undocumented |
Instance Variable |
|
Undocumented |
Instance Variable |
|
Undocumented |
Instance Variable |
|
Undocumented |
Instance Variable | needed |
Undocumented |
Instance Variable | op |
Undocumented |
Instance Variable | opportunistic |
Undocumented |
Instance Variable | opportunistic |
Undocumented |
Instance Variable | proc |
Undocumented |
Instance Variable | recalculate |
Undocumented |
Instance Variable | rpc |
Undocumented |
Instance Variable | share |
Undocumented |
Instance Variable | tasklets |
Undocumented |
Instance Variable | wconfd |
Undocumented |
Instance Variable | wconfdcontext |
Undocumented |
Instance Variable | wconfdlocks |
Undocumented |
Method | _ |
Helper function to expand and lock an instance. |
Method | _ |
Helper function to declare instances' nodes for locking. |