You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for RHEL 7 remediate
* Refactor to remove ansible.builtin.meta: end_host directives
* changing dnf to package to work across both rhel 7 and 8+
* fix some shell command change statuses
* Add additional playbook to resolve remote login with root issue
* Update the checks for leapp_report_missing
* Fixing issues with network scripts when no scripts defined
* Add logic to prevent issues with undefined mount points
* Avoiding an unnecessary reboot
* Refactor remediate tasks that have undefined prerequisites
* Removing unnecessary sudo commands
* Updating fail conditions for better error handling
* rewrite tar command to use archive
* Rewrite openssl_config remediation to follow support guidance
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ These are the roles included in the collection. Follow the links below to see th
16
16
-[`common`](./roles/common/) - used for local logging, mutex locking, and common vars
17
17
-[`parse_leapp_report`](./roles/parse_leapp_report/) - reads pre-upgrade results and checks for inhibitors
18
18
-[`upgrade`](./roles/upgrade/) - executes the Leapp OS upgrade
19
-
-[`remediate`](./roles/remediate/) - assists in the remediation of a system (RHEL 8 only)
19
+
-[`remediate`](./roles/remediate/) - assists in the remediation of a system (RHEL 7->8 and 8->9 only)
20
20
21
21
## Supported RHEL versions
22
22
@@ -30,6 +30,13 @@ The collection may be used for the RHEL upgrade paths and minor versions support
30
30
31
31
The roles in this collection have been successfully used in a number of different environments including on-prem bare metal servers and VMs pulling RHEL packages from Red Hat CDN repos, Satellite content views, or mirrored repos internal to disconnected networks. Upgrading RHEL on Amazon EC2 instances pulling from bring-your-own-subscription CDN repos or pay-as-you-go RHUI repos have also been tested. Upgrading RHEL on other public clouds should be possible as well after setting the documented role variables as required.
32
32
33
+
> [!IMPORTANT]
34
+
> Targeting RHEL 6 nodes requires an Ansible-core version <= 2.12
35
+
>
36
+
> Targeting RHEL 7 nodes requires an Ansible-core version <= 2.16
37
+
>
38
+
> See [this knowledgebase article](https://access.redhat.com/articles/6977724) for details
39
+
33
40
## Not in scope
34
41
35
42
Third-party products and packages are not upgraded by the `upgrade` role. To achieve a complete end-to-end server upgrade, you may need to implement custom automation beyond the scope of this collection to perform tasks required for the upgrade or removal/reinstall of any impacted third-party tools and agents, for example [Veritas Cluster](https://www.veritas.com/support/en_US/doc/infoscale_wp_upgradewithRedHat), [SAP HANA](https://access.redhat.com/solutions/5154031), etc. Likewise, the role does not upgrade packages installed from non-RHEL repositories such as [Red Hat Software Collections](https://access.redhat.com/support/policy/updates/rhscl), [EPEL](https://docs.fedoraproject.org/en-US/epel/), [RPM Fusion](https://rpmfusion.org/), etc.
Copy file name to clipboardExpand all lines: roles/remediate/README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Remediations
2
2
3
-
**IMPORTANT:** This role is only supported for RHEL 8 systems.
3
+
**IMPORTANT:** This role is only supported for RHEL 7 and 8 systems. Not all remediations are applicable to both, and are noted in the remediation playbooks list below.
4
4
5
5
The `remediation` role is to assist in the remediation of a system. This role contains multiple playbooks that can be used to remediate a system for a specific inhibitors that are found during the pre-upgrade analysis.
6
6
@@ -31,12 +31,16 @@ The list of available remediation playbooks with their corresponding inhibitors
31
31
- `leapp_corrupted_grubenv_file`
32
32
- **Solves:** Detected a corrupted grubenv file.
33
33
- `leapp_custom_network_scripts_detected`
34
+
- RHEL 8 Only
34
35
- **Solves:** custom network-scripts detected. RHEL 9 does not support the legacy network-scripts package that was deprecated in RHEL 8.
35
36
- `leapp_deprecated_sshd_directive`
37
+
- RHEL 8 Only
36
38
- **Solves:** A deprecated directive in the sshd configuration.
37
-
- `leapp_firewalld_allowzonedrifting`:
39
+
- `leapp_firewalld_allowzonedrifting`
40
+
- RHEL 8 Only
38
41
- **Solves:** Firewalld Configuration AllowZoneDrifting Is Unsupported.
39
42
- `leapp_firewalld_unsupported_tftp_client`
43
+
- RHEL 8 Only
40
44
- **Solves:** Firewalld Service tftp-client Is Unsupported.
41
45
- `leapp_loaded_removed_kernel_drivers`
42
46
- **Solves:** Leapp detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.
@@ -55,18 +59,27 @@ The list of available remediation playbooks with their corresponding inhibitors
55
59
- `leapp_non_persistent_partitions`
56
60
- **Solves:** Detected partitions mounted in a non-persistent fashion, preventing a successful in-place upgrade.
57
61
- `leapp_non_standard_openssl_config`
62
+
- RHEL 8 Only
58
63
- **Solves:** Non-standard configuration of openssl.cnf.
59
64
- `leapp_old_postgresql_data`
60
65
- **Solves:** Old PostgreSQL data found in `/var/lib/pgsql/data`.
66
+
- `leapp_pam_tally2`
67
+
- RHEL 7 Only
68
+
- **Solves:** The pam_tally2 pam module(s) no longer available
61
69
- `leapp_partitions_with_noexec`
62
70
- **Solves:** Detected partitions mounted with the `noexec` option, preventing a successful in-place upgrade.
63
71
- `leapp_relative_symlinks`
64
72
- **Solves:** Upgrade requires links in root directory to be relative
73
+
- `leapp_remote_using_root`
74
+
- RHEL 7 Only
75
+
- **Solves:** Possible problems with remote login using root account
65
76
- `leapp_rpms_with_rsa_sha1_detected`
77
+
- RHEL 8 Only
66
78
- **Solves:** Detected RPMs with RSA/SHA1 signature.
67
79
- `leapp_unavailable_kde`
68
80
- **Solves:** The installed KDE environment is unavailable on RHEL 8.
69
81
- `leapp_vdo_check_needed`
82
+
- RHEL 8 Only
70
83
- **Solves:** Cannot perform the VDO check of block devices.
71
84
72
85
## Example playbook
@@ -75,7 +88,7 @@ See [`remediate.yml`](../../playbooks/remediate.yml).
0 commit comments