This repository contains the needed code and documentation to perform an OpenNebula deployment and configuration as a Hosted Cloud on Scaleway resources. It extends the one-deploy-validation repository, which is added as a git submodule.
-
Install
hatch
pip install hatch
-
Initialize the dependent
one-deploy-validation
andone-deploy
submodulesgit submodule update --init --remote --merge
-
Install the
opennebula.deploy
collection 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/*.yml |
KVM Host IPs | ansible_host |
inventory/*.yml |
VXLAN PHYDEV | vn.vxlan.template.PHYDEV |
inventory/*.yml |
pubridge PHYDEV | vn.pubridge.template.PHYDEV |
inventory/*.yml |
VMs Public IP Range | vn.pubridge.template.AR.IP , vn.pubridge.template.AR.SIZE |
inventory/*.yml |
GUI password of oneadmin |
one_pass |
inventory/*.yml |
{Cloud Provider's params} | {Name of variable} | {Affected files} |
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.