Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M #-: Update provision deps installation #3023

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 <market_dh>`:
Debian / Ubuntu
---------------

- install Docker following the official documentation `<https://docs.docker.com/engine/install/>`
- 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 <market_dh>`
----------------------------------------------------------------------------

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 `<https://docs.docker.com/engine/install/>`_

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 <market_dh>`:
Install Docker following the official documentation for `Debian <https://docs.docker.com/engine/install/debian/>`_ or `Ubuntu <https://docs.docker.com/engine/install/ubuntu/>`_

- install Docker following the official documentation for `Debian <https://docs.docker.com/engine/install/debian/>`_ or `Ubuntu <https://docs.docker.com/engine/install/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)
Expand Down
Loading