From 19439b5dafd011fd42d071913d995fcc4f9e9199 Mon Sep 17 00:00:00 2001 From: Jan Orel Date: Fri, 16 Aug 2024 16:33:29 +0200 Subject: [PATCH] M #-: Update provision deps installation --- .../frontend_installation/install.rst | 60 ++++++++----------- 1 file changed, 26 insertions(+), 34 deletions(-) diff --git a/source/installation_and_configuration/frontend_installation/install.rst b/source/installation_and_configuration/frontend_installation/install.rst index 8df24e1e7a..32a24a4c73 100644 --- a/source/installation_and_configuration/frontend_installation/install.rst +++ b/source/installation_and_configuration/frontend_installation/install.rst @@ -130,72 +130,64 @@ Install all OpenNebula Front-end components by executing the following commands # yum -y install opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision -.. _install_docker_deps_rh: - -**Optional** - -1. Install dependencies for :ref:`Docker Hub Marketplace `: +Debian / Ubuntu +--------------- -- install Docker following the official documentation `` -- add user ``oneadmin`` into group ``docker``: +Install all OpenNebula Front-end components by executing the following commands under a privileged user: .. prompt:: bash # auto - # usermod -a -G docker oneadmin + # apt-get update + # apt-get -y install opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision -2. Install dependencies for OpenNebula Edge Clusters provisioning: -.. note:: +Optional: Install dependencies for :ref:`Docker Hub Marketplace ` +---------------------------------------------------------------------------- - 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 +.. _install_docker_deps_rh: - # 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 +AlmaLinux / CentOS7 / RHEL +^^^^^^^^^^^^^^^^^^^^^^^^^^ -Debian / Ubuntu ---------------- +Install Docker following the official documentation ``_ -Install all OpenNebula Front-end components by executing the following commands under a privileged user: +- add user ``oneadmin`` into group ``docker``: .. prompt:: bash # auto - # apt-get update - # apt-get -y install opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision + # usermod -a -G docker oneadmin .. _install_docker_deps_deb: -**Optional** +Debian / Ubuntu +^^^^^^^^^^^^^^^ -1. Install dependencies for :ref:`Docker Hub Marketplace `: +Install Docker following the official documentation for `Debian `_ or `Ubuntu `_ -- install Docker following the official documentation for `Debian `_ or `Ubuntu `_ - add user ``oneadmin`` into group ``docker``: .. prompt:: bash # auto # usermod -a -G docker oneadmin -2. 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. + .. _ruby_runtime: Step 4. Install Ruby Dependencies System-wide (Optional)