forked from Controls/gitea-pages
92 lines
4.1 KiB
Markdown
92 lines
4.1 KiB
Markdown
---
|
|
title: RHEL-8
|
|
description: PSI Red Hat Enterprise Linux 8
|
|
lead: ""
|
|
date: 2020-10-06T08:48:23+00:00
|
|
lastmod: 2022-05-10T11:13:00+00:00
|
|
draft: false
|
|
images: []
|
|
toc: true
|
|
---
|
|
# Red Hat Enterprise Linux 8
|
|
|
|
## Production Ready
|
|
|
|
The central infrastructure (automatic provisioning, upstream package synchronisation and Puppet) are stable and production ready.
|
|
|
|
The configuration management is done with Puppet like for RHEL 7. RHEL7 and RHEL8 hosts can share the same hierarchy in Hiera and thus also the "same" configuration. In cases where the configuration for RHEL7 or RHEL8 differs, the idea is to have both in parallel in Hiera and Puppet shall select the right one.
|
|
|
|
However please keep in mind that there might be/are still some rough edges and certain packages might be missing (especially PSI internal ones).
|
|
If you encounter this please let us know in case of the rough edges and/or the developer of the internal PSI package!
|
|
|
|
Bugs and issues can be reported in the [Linux project in JIRA](https://jira.psi.ch/browse/PSILINUX).
|
|
|
|
## Caveats
|
|
|
|
### Missing or Replaced Packages
|
|
|
|
[List of packages removed in RHEL 8](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#removed-packages_changes-to-packages)
|
|
|
|
| RHEL 7 | RHEL 8 | remarks |
|
|
| --- | --- | --- |
|
|
| `a2ps` | recommends to use `enscript` instead | [`enscript` upstream](https://www.gnu.org/software/enscript/) [`a2ps` upstream](https://www.gnu.org/software/a2ps/) |
|
|
| `blt` | - | [`blt` upstream](http://blt.sourceforge.net/), does not work with newer Tk version ([source](https://wiki.tcl-lang.org/page/BLT)) |
|
|
| `gnome-icon-theme-legacy` | - | used for RHEL 7 Icewm |
|
|
| ... | ... | here I stopped research, please report/document further packages |
|
|
| `devtoolset*` | `gcc-toolset*` | |
|
|
| `git-cvs` | - | `cvs` itself is not supported by RHEL8, but available through EPEL. Still missing is the support for `git cvsimport`. |
|
|
|
|
### Boot Failure due to Missing RAID Drivers
|
|
|
|
If the machine does not boot after provisioning with
|
|
```
|
|
Warning: /dev/mapper/vg_root-lv_root does not exist
|
|
Warning: /dev/vg_root/lv_root does not exist
|
|
```
|
|
after a lot of
|
|
```
|
|
Warning: dracut-initqueue timeout - starting timeout scripts
|
|
```
|
|
the it could be that the RAID controller is not supported any more.
|
|
There is a [full list](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/hardware-enablement_considerations-in-adopting-rhel-8#removed-adapters_hardware-enablement) of such hardware, but e.g. for the LSI MegaRAID SAS there is a [dedicated article](https://access.redhat.com/solutions/3751841).
|
|
|
|
For the LSI MegaRAID SAS there is still a driver available in ElRepo, so it can be installed during provisioning by Puppet.
|
|
To do so add to Hiera:
|
|
```
|
|
base::pkg_group::....:
|
|
- 'kmod-megaraid_sas'
|
|
|
|
rpm_repos::default:
|
|
- 'elrepo_rhel8'
|
|
````
|
|
|
|
### AFS cache partition not created due to existing XFS signature
|
|
It can happen when upgrading an existing RHEL 7 installation that the puppet run produces
|
|
```
|
|
Error: Execution of '/usr/sbin/lvcreate -n lv_openafs --size 2G vg_root' returned 5: WARNING: xfs signature detected on /dev/vg_root/lv_openafs at offset 0. Wipe it? [y/n]: [n]
|
|
```
|
|
This needs to be fixed manually:
|
|
- run the complaining command and approve (or use `--yes`)
|
|
- run `puppet agent -t` to finalize the configuration
|
|
|
|
### Workstation Installation Takes Long and Seams to Hang
|
|
On the very first puppet run the command to install the GUI packages takes up to 10 minutes and it looks like it
|
|
is hanging. Usually it is after the installation of `/etc/sssd/sssd.conf`. Just give it a bit time.
|
|
|
|
### "yum/dnf search" Gives Permission Denied as Normal User
|
|
It works fine beside the below error message:
|
|
```
|
|
Failed to store expired repos cache: [Errno 13] Permission denied: '/var/cache/dnf/x86_64/8/expired_repos.json'
|
|
```
|
|
which is IMHO OK to not allow a normal user to do changes there.
|
|
|
|
## Documenatation
|
|
|
|
* [Installation](installation)
|
|
* [Software and Package Management](software)
|
|
* [CUDA and Nvidia Drivers](nvidia)
|
|
* [Kerberos](kerberos)
|
|
* [Desktop](desktop)
|
|
* [Vendor Documentation](vendor_documentation)
|
|
|