Skip to content

Commit e49af1a

Browse files
xorelrsmontero
authored andcommitted
M #-: Update provision deps installation (#3023)
(cherry picked from commit 275d45a)
1 parent d57c71c commit e49af1a

1 file changed

Lines changed: 26 additions & 34 deletions

File tree

  • source/installation_and_configuration/frontend_installation

source/installation_and_configuration/frontend_installation/install.rst

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -130,72 +130,64 @@ Install all OpenNebula Front-end components by executing the following commands
130130

131131
# yum -y install opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision
132132

133-
.. _install_docker_deps_rh:
134-
135-
**Optional**
136-
137-
1. Install dependencies for :ref:`Docker Hub Marketplace <market_dh>`:
133+
Debian / Ubuntu
134+
---------------
138135

139-
- install Docker following the official documentation `<https://docs.docker.com/engine/install/>`
140-
- add user ``oneadmin`` into group ``docker``:
136+
Install all OpenNebula Front-end components by executing the following commands under a privileged user:
141137

142138
.. prompt:: bash # auto
143139

144-
# usermod -a -G docker oneadmin
140+
# apt-get update
141+
# apt-get -y install opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision
145142

146-
2. Install dependencies for OpenNebula Edge Clusters provisioning:
147143

148-
.. note::
144+
Optional: Install dependencies for :ref:`Docker Hub Marketplace <market_dh>`
145+
----------------------------------------------------------------------------
149146

150-
Ansible and Terraform can be also installed from packages if their versions are **Ansible 2.9.x** and **Terraform 0.14.x**.
151-
152-
.. prompt:: bash # auto
147+
.. _install_docker_deps_rh:
153148

154-
# yum -y install python3-pip
155-
# pip3 install 'cryptography<3.4'
156-
# pip3 install 'ansible>=2.8.0,<2.10.0'
157-
# pip3 install 'Jinja2>=2.10.0'
158-
# curl 'https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip' | zcat >/usr/bin/terraform
159-
# chmod 0755 /usr/bin/terraform
149+
AlmaLinux / CentOS7 / RHEL
150+
^^^^^^^^^^^^^^^^^^^^^^^^^^
160151

161-
Debian / Ubuntu
162-
---------------
152+
Install Docker following the official documentation `<https://docs.docker.com/engine/install/>`_
163153

164-
Install all OpenNebula Front-end components by executing the following commands under a privileged user:
154+
- add user ``oneadmin`` into group ``docker``:
165155

166156
.. prompt:: bash # auto
167157

168-
# apt-get update
169-
# apt-get -y install opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow opennebula-provision
158+
# usermod -a -G docker oneadmin
170159

171160
.. _install_docker_deps_deb:
172161

173-
**Optional**
162+
Debian / Ubuntu
163+
^^^^^^^^^^^^^^^
174164

175-
1. Install dependencies for :ref:`Docker Hub Marketplace <market_dh>`:
165+
Install Docker following the official documentation for `Debian <https://docs.docker.com/engine/install/debian/>`_ or `Ubuntu <https://docs.docker.com/engine/install/ubuntu/>`_
176166

177-
- install Docker following the official documentation for `Debian <https://docs.docker.com/engine/install/debian/>`_ or `Ubuntu <https://docs.docker.com/engine/install/ubuntu/>`_
178167
- add user ``oneadmin`` into group ``docker``:
179168

180169
.. prompt:: bash # auto
181170

182171
# usermod -a -G docker oneadmin
183172

184-
2. Install dependencies for OpenNebula Edge Clusters provisioning:
173+
Optional: Install dependencies for OpenNebula Edge Clusters provisioning
174+
------------------------------------------------------------------------
185175

186-
.. note::
176+
There are 2 main dependencies which needs to be installed on the FE for running provisioning.
187177

188-
Ansible and Terraform can be also installed from packages if their versions are **Ansible 2.9.x** and **Terraform 0.14.x**.
178+
1. **Terraform** -- is needed to provision resources on public cloud providers, download the binary as follows
189179

190180
.. prompt:: bash # auto
191181

192-
# apt-get -y install python3-pip
193-
# pip3 install 'cryptography<3.4'
194-
# pip3 install 'ansible>=2.8.0,<2.10.0'
195-
# pip3 install 'Jinja2>=2.10.0'
196182
# curl 'https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip' | zcat >/usr/bin/terraform
197183
# chmod 0755 /usr/bin/terraform
198184

185+
186+
2. **Ansible** -- is used to configure the provisioned resources (cloud or on-premise). Ansible system package is installed
187+
as a dependency of the opennebula-provision package. However for HCI provisioning including Ceph, the system-installed
188+
ansible version may not be sufficient as it requires ansible-core 2.15+. It is advised to use latest Ubuntu for the FE if
189+
Ceph HCI provision is needed or install ansible 2.15+ on the system and make it default for oneadmin user.
190+
199191
.. _ruby_runtime:
200192

201193
Step 4. Install Ruby Dependencies System-wide (Optional)

0 commit comments

Comments
 (0)