How ankurgautam90/openstack-init works
Project type and purpose
• This is an automation tool (a Bash script) for initializing an OpenStack environment.
• It downloads VM images, optionally converts them, uploads them to Glance, creates flavors in Nova, builds a private network in Neutron, and provisions a project/user via Keystone.
File structure
• Top level:
• .gitignore – standard ignore rules
• README.md – project overview and usage
• openstack_init.sh – the sole script driving all actions
• resume.md – unrelated to the script
• No subdirectories or complex modules; all logic is in openstack_init.sh.
README for additional insights
• Lists each step the script performs: image download, optional conversion, Glance upload, flavor creation, network/subnet creation, Keystone project/user provisioning.
• Mentions conditional branching (Ceph vs QCOW2 conversion).
• Dependencies: Debian-based OS, apt-get, qemu-img, OpenStack client CLI, and source of /etc/kolla/admin-openrc.sh.
Detailed capture of essential elements
• Clearly call out the conditional branch: Ceph vs QCOW2.
• Authentication step (sourcing admin-openrc.sh) before any API calls.