Module instance_create
source code
Logical unit for creating a single instance.
Imports:
OpenSSL,
logging,
os,
compat,
constants,
errors,
hypervisor,
locking,
iallocator,
masterd,
netutils,
objects,
pathutils,
utils,
serializer,
LogicalUnit,
CheckNodeOnline,
CheckParamsNotGlobal,
IsExclusiveStorageEnabledNode,
CheckHVParams,
CheckOSParams,
ExpandNodeUuidAndName,
IsValidDiskAccessModeCombination,
CheckDiskTemplateEnabled,
CheckIAllocatorOrNode,
CheckOSImage,
RunWithHelperVM,
CalculateFileStorageDir,
CheckNodesFreeDiskPerVG,
CheckRADOSFreeSpace,
CheckSpindlesExclusiveStorage,
ComputeDiskSizePerVG,
CreateDisks,
GenerateDiskTemplate,
CommitDisks,
WaitForSync,
ComputeDisks,
ImageDisks,
WipeDisks,
CheckNodeNotDrained,
CopyLockList,
ReleaseLocks,
CheckNodeVmCapable,
RemoveDisks,
CheckNodeFreeMemory,
UpdateMetadata,
CheckForConflictingIp,
ComputeInstanceCommunicationNIC,
ComputeIPolicyInstanceSpecViolation,
CheckHostnameSane,
CheckOpportunisticLocking,
ComputeFullBeParams,
ComputeNics,
GetClusterDomainSecret,
CheckInstanceExistence,
CreateInstanceAllocRequest,
BuildInstanceHookEnv,
NICListToTuple,
CheckNicsBridgesExist,
CheckCompressionTool,
ganeti