From ed874fca76e1f94a05faf51e491f25775e1c32f6 Mon Sep 17 00:00:00 2001 From: Jan Orel Date: Fri, 16 Aug 2024 12:48:04 +0200 Subject: [PATCH] M #-: Update provision deps installation --- .../frontend_installation/install.rst | 42 +++++++------------ 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/source/installation_and_configuration/frontend_installation/install.rst b/source/installation_and_configuration/frontend_installation/install.rst index 33cacb048..e4e15ad15 100644 --- a/source/installation_and_configuration/frontend_installation/install.rst +++ b/source/installation_and_configuration/frontend_installation/install.rst @@ -96,59 +96,45 @@ There are also packages with debugging symbols for some platforms, e.g. ``openen There are a few differences in package names among distributions. Those with varying package names contain mostly integration libraries and since they are for general use on installation Hosts, their names are left to follow the distribution conventions. Above, you can find the AlmaLinux/RHEL specific packages prefixed with "*rpm:*" and Debian/Ubuntu specific packages prefixed with "*deb:*". -AlmaLinux / RHEL --------------------------- Install all OpenNebula Front-end components by executing the following commands under a privileged user: +AlmaLinux / RHEL +-------------------------- + .. prompt:: bash # auto # yum -y install opennebula opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision -**Optional** - -1. Install dependencies for OpenNebula Edge Clusters provisioning: - -.. note:: - - Ansible and Terraform can be also installed from packages if their versions are **Ansible 2.9.x** and **Terraform 0.14.x**. - -.. prompt:: bash # auto - - # yum -y install python3-pip - # pip3 install 'cryptography<3.4' - # pip3 install 'ansible>=2.8.0,<2.10.0' - # pip3 install 'Jinja2>=2.10.0' - # curl 'https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip' | zcat >/usr/bin/terraform - # chmod 0755 /usr/bin/terraform Debian / Ubuntu --------------- -Install all OpenNebula Front-end components by executing the following commands under a privileged user: - .. prompt:: bash # auto # apt-get update # apt-get -y install opennebula opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision -**Optional** -1. Install dependencies for OpenNebula Edge Clusters provisioning: +Optional: Install dependencies for OpenNebula Edge Clusters provisioning +------------------------------------------------------------------------ -.. note:: +There are 2 main dependencies which needs to be installed on the FE for running provisioning. - Ansible and Terraform can be also installed from packages if their versions are **Ansible 2.9.x** and **Terraform 0.14.x**. +1. **Terraform** -- is needed to provision resources on public cloud providers, download the binary as follows .. prompt:: bash # auto - # apt-get -y install python3-pip - # pip3 install 'cryptography<3.4' - # pip3 install 'ansible>=2.8.0,<2.10.0' - # pip3 install 'Jinja2>=2.10.0' # curl 'https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip' | zcat >/usr/bin/terraform # chmod 0755 /usr/bin/terraform + +2. **Ansible** -- is used to configure the provisioned resources (cloud or on-premise). Ansible system package is installed +as a dependency of the opennebula-provision package. However for HCI provisioning including Ceph, the system-installed +ansible version may not be sufficient as it requires ansible-core 2.15+. It is advised to use latest Ubuntu for the FE if +Ceph HCI provision is needed or install ansible 2.15+ on the system and make it default for oneadmin user. + + Step 3. Enabling MySQL/MariaDB (Optional) ================================================================================