Skip to content

Commit c38f071

Browse files
committed
Streamlined and validated the installation instructions.
* Tested on Alma 9.x, Centos 9 Stream and RHEL 9.x * Removed notes about bugs that were fixed quite some time ago * Removed EL8 notes * Added details on how to use the nightly builds as there hasn't been a release for some time. * Added author (gocallag)
1 parent 2f19ab7 commit c38f071

File tree

2 files changed

+16
-85
lines changed

2 files changed

+16
-85
lines changed

data/authors.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,3 +2851,8 @@ jasperb:
28512851
name: Jasper Berton
28522852
email: jasper.berton@team.blue
28532853
gravatar: 134267a37e4981c3c0a94dcaddc88357
2854+
2855+
gocallag:
2856+
name: Geoff O'Callaghan
2857+
email: geoffocallaghan@gmail.com
2858+
gravatar: 5c7bb690a7f4520b632e70fac7bb9396

source/download/install_on_rhel.md

Lines changed: 11 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -2,106 +2,32 @@
22
title: Installing on RHEL
33
authors:
44
- sandrobonazzola
5+
- gocallag
56
page_classes: download
67
---
78

8-
# Installing on RHEL or derivatives
9-
## Installing on RHEL 8.6 or derivatives
9+
# Installing on RHEL 9.x or derivatives
1010

11-
In order to install oVirt 4.5 on RHEL 8.6 or derivatives you'll need to provide CentOS Stream required configuration.
12-
The following bash code is needed before starting to install oVirt 4.5 on top of RHEL 8.6
11+
## For RHEL 9.x
1312

14-
Specific to RHEL only:
15-
```bash
16-
subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms
17-
subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms
18-
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
19-
20-
rpm -i --justdb --nodeps --force "https://vault.centos.org/centos/8-stream/BaseOS/$(rpm --eval '%_arch')/os/Packages/centos-stream-release-8.6-1.el8.noarch.rpm"
21-
```
22-
23-
Specific to Rocky Linux only:
24-
```bash
25-
# On Rocky there's an issue with centos-release-nfv package from extras
26-
dnf install -y dnf-plugins-core
27-
dnf config-manager --set-disabled extras
28-
```
29-
30-
Common to RHEL 8.6 and derivatives:
31-
32-
```bash
33-
cat >/etc/yum.repos.d/CentOS-Stream-Extras.repo <<'EOF'
34-
[cs8-extras]
35-
name=CentOS Stream $releasever - Extras
36-
baseurl=https://vault.centos.org/$contentdir/8-stream/extras/$basearch/os/
37-
gpgcheck=1
38-
enabled=1
39-
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
40-
EOF
41-
42-
cat >/etc/yum.repos.d/CentOS-Stream-Extras-common.repo <<'EOF'
43-
[cs8-extras-common]
44-
name=CentOS Stream $releasever - Extras common packages
45-
baseurl=https://vault.centos.org/$contentdir/8-stream/extras/$basearch/extras-common/
46-
gpgcheck=1
47-
enabled=1
48-
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Extras
49-
EOF
50-
51-
52-
echo "8-stream" > /etc/yum/vars/stream
13+
The following repositories need to be enabled for RHEL 9.x only.
5314

54-
dnf distro-sync --nobest
55-
```
56-
57-
58-
## Installing on RHEL 9.0 or derivatives
59-
60-
Specific to RHEL only:
6115
```bash
6216
subscription-manager repos --enable rhel-9-for-x86_64-baseos-rpms
6317
subscription-manager repos --enable rhel-9-for-x86_64-appstream-rpms
6418
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
6519
subscription-manager repos --enable rhel-9-for-x86_64-resilientstorage-rpms
66-
67-
rpm -i --justdb --nodeps --force "http://mirror.stream.centos.org/9-stream/BaseOS/$(rpm --eval '%_arch')/os/Packages/centos-stream-release-9.0-26.el9.noarch.rpm"
6820
```
6921

70-
> **NOTE**
71-
> If installation fails on `centos-stream-release-9.0-26.el9.noarch.rpm` please check the content of the repository for a newer version of that package.
22+
## For RHEL 9.x and RHEL 9.x derivatives
7223

73-
Common to RHEL 9.0 and derivatives:
24+
Once a minimal RHEL 9.x (or derivative) system has been built, you can install the pre-production master snapshots (oVirt Release 4.5.6 + Engine 4.5.7)
7425

7526
```bash
76-
cat >/etc/yum.repos.d/CentOS-Stream-Extras-common.repo <<'EOF'
77-
[c9s-extras-common]
78-
name=CentOS Stream $releasever - Extras packages
79-
metalink=https://mirrors.centos.org/metalink?repo=centos-extras-sig-extras-common-$stream&arch=$basearch&protocol=https,http
80-
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Extras
81-
gpgcheck=1
82-
repo_gpgcheck=0
83-
metadata_expire=6h
84-
countme=1
85-
enabled=1
86-
EOF
87-
88-
echo "9-stream" > /etc/yum/vars/stream
89-
90-
dnf distro-sync --nobest
27+
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-9
28+
dnf install -y ovirt-release-master
9129
```
9230

93-
Due to [Bug 2091581](https://bugzilla.redhat.com/show_bug.cgi?id=2091581), while installing the virtualization host
94-
you will be missing `nmstate-plugin-ovsdb` or `python3-libnmstate` unless you install them from
95-
CentOS build [nmstate-2.0.0-2.el9](https://kojihub.stream.centos.org/koji/buildinfo?buildID=17369).
96-
While installing it you need to ensure openvswitch2.15 will be installed instead of any later version.
97-
98-
Here's how to do that:
99-
100-
```bash
101-
dnf install -y centos-release-ovirt45
102-
dnf install -y ovirt-openvswitch
103-
dnf install -y \
104-
https://kojihub.stream.centos.org/kojifiles/packages/nmstate/2.0.0/2.el9/noarch/nmstate-plugin-ovsdb-2.0.0-2.el9.noarch.rpm \
105-
https://kojihub.stream.centos.org/kojifiles/packages/nmstate/2.0.0/2.el9/noarch/python3-libnmstate-2.0.0-2.el9.noarch.rpm
106-
107-
```
31+
At this point you can choose to install the :
32+
* Minimal Host + Self-Hosted Engine, `dnf install -y ovirt-hosted-engine-setup`
33+
* A minimal host, `dnf install -y ovirt-host`

0 commit comments

Comments
 (0)