RESALLOC-OPENSTACK-NEW(1)

πŸ“¦
version 9.8 Β· 3 versions
, in epel 9

πŸ’– 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 just IMAGE. πŸ–ΌοΈ
  • --floating-ip-from FLOATING_IP_NETWORK β€” allocate a floating IP from a network; check neutron net-list, iykyk. 🌐
  • --flavor FLAVOR β€” an openstack flavor; see nova flavor-list. πŸ“
  • --alloc-volume VOLUMES β€” allocate volumes by cinder. πŸ’Ύ
  • --post-command COMMAND β€” run COMMAND after the VM is started, and fail if the script fails too. The variables RESALLOC_OS_NAME and RESALLOC_OS_IP are 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) in nova keypair-list. πŸ”‘
  • --nic NICS β€” comma-separated, key=value,foo=baz arguments (see nova.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