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,
retry,
serializer,
LogicalUnit,
CheckNodeOnline,
CheckParamsNotGlobal,
IsExclusiveStorageEnabledNode,
CheckHVParams,
CheckOSParams,
ExpandNodeUuidAndName,
IsValidDiskAccessModeCombination,
CheckDiskTemplateEnabled,
CheckIAllocatorOrNode,
CheckOSImage,
IsInstanceRunning,
DetermineImageSize,
CalculateFileStorageDir,
CheckNodesFreeDiskPerVG,
CheckRADOSFreeSpace,
CheckSpindlesExclusiveStorage,
ComputeDiskSizePerVG,
CreateDisks,
GenerateDiskTemplate,
CommitDisks,
StartInstanceDisks,
WaitForSync,
ComputeDisks,
TemporaryDisk,
ImageDisks,
WipeDisks,
CheckNodeNotDrained,
CopyLockList,
ReleaseLocks,
CheckNodeVmCapable,
RemoveDisks,
CheckNodeFreeMemory,
UpdateMetadata,
CheckForConflictingIp,
ComputeInstanceCommunicationNIC,
ComputeIPolicyInstanceSpecViolation,
CheckHostnameSane,
CheckOpportunisticLocking,
ComputeFullBeParams,
ComputeNics,
GetClusterDomainSecret,
CheckInstanceExistence,
CreateInstanceAllocRequest,
BuildInstanceHookEnv,
NICListToTuple,
CheckNicsBridgesExist,
CheckCompressionTool,
ganeti