Module instance_set_params
source code
Logical unit setting parameters of a single instance.
Imports:
copy,
logging,
os,
compat,
constants,
errors,
ht,
hypervisor,
locking,
iallocator,
netutils,
objects,
utils,
rpc,
LogicalUnit,
INSTANCE_DOWN,
INSTANCE_NOT_RUNNING,
CheckNodeOnline,
CheckParamsNotGlobal,
IsExclusiveStorageEnabledNode,
CheckHVParams,
CheckOSParams,
GetUpdatedParams,
CheckInstanceState,
ExpandNodeUuidAndName,
IsValidDiskAccessModeCombination,
AnnotateDiskParams,
CheckIAllocatorOrNode,
CalculateFileStorageDir,
CheckDiskExtProvider,
CheckNodesFreeDiskPerVG,
CheckRADOSFreeSpace,
CheckSpindlesExclusiveStorage,
ComputeDiskSizePerVG,
ComputeDisksInfo,
CreateDisks,
CreateSingleBlockDev,
GenerateDiskTemplate,
IsExclusiveStorageEnabledNodeUuid,
ShutdownInstanceDisks,
WaitForSync,
WipeOrCleanupDisks,
AssembleInstanceDisks,
BuildInstanceHookEnvByObject,
NICToTuple,
CheckNodeNotDrained,
CopyLockList,
ReleaseLocks,
CheckNodeVmCapable,
CheckTargetNodeIPolicy,
GetInstanceInfoText,
RemoveDisks,
CheckNodeFreeMemory,
UpdateMetadata,
CheckForConflictingIp,
PrepareContainerMods,
ComputeInstanceCommunicationNIC,
ApplyContainerMods,
ComputeIPolicyInstanceSpecViolation,
CheckNodesPhysicalCPUs,
ganeti