RESALLOC-OPENSTACK-NEW(1)
π resalloc-openstack-new(1) β the RESALLOC-OPENSTACK-NEW(1) generated Python manual π
πΈ NAME πΈ
resalloc-openstack-new β atomically allocate a VM with additional resources in openstack. That's the whole name, bestie: one atomic VM-plus-extras moment. β¨
β¨ SYNOPSIS β¨
Run it like this, queen:
resalloc-openstack-new [-h] [--name NAME] --image IMAGE [--floating-ip-from FLOATING_IP_NETWORK] --flavor FLAVOR [--alloc-volume VOLUMES] [--post-command COMMAND] [--print-ip] [--key-pair-id KEY_PAIR_ID] [--nic NICS] [--security-group SECURITY_GROUPS]
π¦ DESCRIPTION π¦
Okay so this icon starts a new VM in openstack, and it brings some dependent resources along for the ride (swap volumes or floating IPs ATM). π«Ά
The main-character detail? The script aims to behave as atomically as possible β either everything is allocated exactly as requested, or the script fails, and when it fails there are no leftovers. Not a single stray resource. It's giving all-or-nothing, periodt. π₯
π OPTIONS π
--name NAMEβ pick the name for the resulting VM. π--image IMAGEβ the OPTIONS list gives no extra description here, bestie; it's justIMAGE. πΌοΈ--floating-ip-from FLOATING_IP_NETWORKβ allocate a floating IP from a network; checkneutron net-list, iykyk. π--flavor FLAVORβ an openstack flavor; seenova flavor-list. π--alloc-volume VOLUMESβ allocate volumes by cinder. πΎ--post-command COMMANDβ runCOMMANDafter the VM is started, and fail if the script fails too. The variablesRESALLOC_OS_NAMEandRESALLOC_OS_IPare exported into the environment of those scripts. π«‘--print-ipβ after a successful allocation, print the IP on standard output. π¬--key-pair-id KEY_PAIR_IDβ use a specific key; see ids (== names) innova keypair-list. π--nic NICSβ comma-separated,key=value,foo=bazarguments (seenova.servers.create(nics=...)help. π§--security-group SECURITY_GROUPSβ a security group name. π‘οΈ
π AUTHOR π
Written by the iconic Pavel Raiskup <praiskup@redhat.com>. π
π DISTRIBUTION π
The latest version of resalloc-openstack may be downloaded from https://github.com/praiskup/resalloc-openstack. π
Mwah π β this page is from resalloc-openstack 9.8, dated 2024-03-01. Stay atomic, bestie! π
π¦ where this page comes from
- epel 9: resalloc-openstack 9.8-1.el9 Β· GPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms