This repository contains the needed code and documentation to perform an OpenNebula deployment and configuration as a Hosted Cloud on adi resources. It extends the one-deploy-validation repository, which is added as a git submodule.
-
Install
hatchpip install hatch
-
Initialize the dependent
one-deploy-validationandone-deploysubmodulesgit submodule update --init --remote --merge
-
Install the
opennebula.deploycollection with dependencies using the submodule's tooling:make submodule-requirements
A detailed guide to provision the required reference infrastructure is published in {ADD LINK TO THE GUIDE HERE}. Follow the provisioning steps and extract the requiremed parameters needed to proceed with the OpenNebula deployment.
Update the inventory values to match the provisioned infrastructure.
| Description | Variable Names | Files/Location |
|---|---|---|
| Frontend Host IP | ansible_host |
inventory/adi.yml |
| KVM Host IP | ansible_host |
inventory/adi.yml |
| VXLAN BRIDGE | vn.vxlan.template.BRIDGE |
inventory/adi.yml |
| Internal BRIDGE | vn.internal.template.BRIDGE |
inventory/adi.yml |
| VMs Public IP | vn.vxlan.template.IP |
inventory/adi.yml |
| VMs Public Network | vn.vxlan.template.NETWORK_ADDRESS |
inventory/adi.yml |
| VMs Public Network Mask | vn.vxlan.template.NETWORK_MASK |
inventory/adi.yml |
| VMs Public Network Gateway | vn.vxlan.template.GATEWAY |
inventory/adi.yml |
GUI password of oneadmin |
one_pass |
inventory/adi.yml |
| NFS device | adi_nfs_device |
inventory/adi.yml |
| NFS frontend host | adi_nfs_frontend_host |
inventory/adi.yml |
| NFS server | adi_nfs_server |
inventory/adi.yml |
Use the provided Makefile commands to automate deployment and testing:
-
Review the inventory, playbooks and roles directories, following Ansible design guidelines.
-
Deploy OpenNebula:
make deployment
-
Configure the deployment for the specifics of the Cloud Provider:
make specifics
-
Test the deployment:
make validation
For more information about the submodule's tooling, refer to its README.md and for detailed documentation on the deployment automation refer to the one-deploy repo.