Skip to content

Commit 0965158

Browse files
Merge pull request #10378 from MicrosoftDocs/main
Auto Publish – main to live - 2025-12-16 18:00 UTC
2 parents 4705806 + 62cc19b commit 0965158

7 files changed

Lines changed: 446 additions & 267 deletions

File tree

support/azure/.openpublishing.redirection.azure.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6495,6 +6495,15 @@
64956495
{
64966496
"source_path": "virtual-machines/windows/vm-stops-at-please-wait-for-group-policy-client.md",
64976497
"redirect_url": "/troubleshoot/virtual-machines/windows/please-wait-for-the-group-policy-client"
6498+
},
6499+
{
6500+
"source_path": "information-protection/troubleshoot-aip-issues.md",
6501+
"redirect_url": "/troubleshoot/microsoft-365/purview/sensitivity-labels/known-issues-ip-client"
6502+
},
6503+
{
6504+
"source_path": "information-protection/welcome-information-protection.yml",
6505+
"redirect_url": "/troubleshoot/microsoft-365/purview/sensitivity-labels/known-issues-ip-client",
6506+
"redirect_document_id": false
64986507
}
64996508
]
65006509
}

support/azure/information-protection/toc.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

support/azure/information-protection/troubleshoot-aip-issues.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

support/azure/information-protection/welcome-information-protection.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

support/azure/virtual-machines/linux/leapp-upgrade-process-rhel-7-and-8.md

Lines changed: 157 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ Upgrading your Red Hat Enterprise Linux (RHEL) system is a crucial task to ensur
2121
2222
For more information about performing a Leapp upgrade on custom, golden, or PAYG images provided by Red Hat, see the following articles:
2323

24-
- [Upgrading from RHEL 7 to RHEL 8](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/upgrading_from_rhel_7_to_rhel_8/index)
24+
- [Upgrading from RHEL 7 to RHEL 8](https://docs.redhat.com/documentation/red_hat_enterprise_linux/8/html-single/upgrading_from_rhel_7_to_rhel_8/index)
2525

26-
- [Upgrading from RHEL 8 to RHEL 9](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/upgrading_from_rhel_8_to_rhel_9/index)
26+
- [Upgrading from RHEL 8 to RHEL 9](https://docs.redhat.com/documentation/red_hat_enterprise_linux/9/html/upgrading_from_rhel_8_to_rhel_9/index)
27+
28+
- [Upgrading from RHEL 9 to RHEL 10](https://docs.redhat.com/documentation/red_hat_enterprise_linux/10/html/upgrading_from_rhel_9_to_rhel_10/index)
2729

2830
## Prerequisites
2931

@@ -141,6 +143,56 @@ You can perform an in-place upgrade from RHEL 8 to the following RHEL 9 minor ve
141143

142144
8. RHEL 9 no longer supports the legacy network-scripts package, which was deprecated in RHEL 8. Before upgrading, migrate your custom network scripts and create a NetworkManager dispatcher script to run your existing custom scripts. For more information, see [Migrating custom network scripts to NetworkManager dispatcher scripts](https://access.redhat.com/solutions/6900331).
143145

146+
### [RHEL 9.7 to RHEL 10.1](#tab/rhel9-rhel10)
147+
148+
You can perform an in-place upgrade from RHEL 9 to the following RHEL 10 minor versions.
149+
150+
| Source OS version| Target version |
151+
|------------------|--------------------|
152+
| RHEL 9.7 | RHEL 10.1 |
153+
154+
> [!NOTE]
155+
> For more information, see [Supported in-place upgrade paths for Red Hat Enterprise Linux](https://access.redhat.com/articles/4263361).
156+
157+
158+
> [!NOTE]
159+
> If you locked the VM to a minor release, remove the version lock. For more information, see [Switch a RHEL 9.x VM back to non-EUS](/azure/virtual-machines/workloads/redhat/redhat-rhui#switch-a-rhel-server-to-non-eus-repositories).
160+
161+
162+
163+
1. If you restricted packages to a specific version using the `dnf-command(versionlock)` command, remove the restriction:
164+
165+
```bash
166+
sudo dnf versionlock clear
167+
```
168+
169+
2. To ensure your system is ready for the upgrade, enable required RHUI repositories and install required RHUI packages:
170+
171+
```bash
172+
sudo dnf config-manager --set-enabled rhui-microsoft-azure-rhel9
173+
sudo dnf -y install rhui-azure-rhel9 leapp-rhui-azure
174+
```
175+
3. Install the Leapp utility:
176+
177+
```bash
178+
sudo dnf install leapp-upgrade
179+
```
180+
4. Update all packages to the latest RHEL 8 version:
181+
182+
```bash
183+
sudo dnf update
184+
```
185+
5. Reboot the VM:
186+
187+
```bash
188+
sudo reboot
189+
```
190+
6. To prevent upgrade failures, temporarily disable your antivirus software.
191+
192+
7. Before running the `leapp preupgrade` command, disable any configuration management systems with a client-server architecture (such as Puppet, Salt, or Chef) or an agentless architecture (such as Ansible).
193+
194+
8. If the system has been previously upgraded from RHEL 8 to RHEL 9, ensure that all required post-upgrade steps have been completed. For more information, see Performing post-upgrade tasks in the Upgrading from RHEL 8 to RHEL 9 guide[Performing post-upgrade](https://docs.redhat.com/documentation/red_hat_enterprise_linux/9/html-single/upgrading_from_rhel_8_to_rhel_9/index#performing-post-upgrade-tasks-on-the-rhel-9-system_upgrading-from-rhel-8-to-rhel-9)
195+
144196
---
145197

146198
## Leapp pre-upgrade process
@@ -166,7 +218,21 @@ Run the following `leapp preupgrade` command:
166218
sudo leapp preupgrade --target <target_os_version> --no-rhsm
167219
```
168220
169-
Replace `<target_os_version>` with the target OS version, for example, `9.4` or `9.5`.
221+
Replace `<target_os_version>` with the target OS version, for example, `9.4` or `9.6` .
222+
223+
### [RHEL 9.7 to RHEL 10.1](#tab/rhel9-rhel10)
224+
225+
> [!NOTE]
226+
> If you use the sudo command, you must use the `-r unconfined_r -t unconfined_t` options when entering each leapp command.
227+
228+
Run the following `leapp preupgrade` command:
229+
230+
```bash
231+
sudo leapp preupgrade --target <target_os_version> --no-rhsm
232+
```
233+
234+
Replace `<target_os_version>` with the target OS version, for example, `10.1`.
235+
170236
171237
---
172238
@@ -229,6 +295,33 @@ Continue the Leapp upgrade process after the Leapp pre-upgrade report shows no e
229295
sudo reboot
230296
```
231297

298+
### [RHEL 9.7 to RHEL 10.1](#tab/rhel9-rhel10)
299+
300+
301+
1. Run the following `leapp upgrade` command:
302+
303+
```bash
304+
sudo leapp upgrade --target <target_os_version> --no-rhsm
305+
```
306+
307+
> [!NOTE]
308+
> - Replace `<target_os_version>` with the target OS version, for example, `10.1`.
309+
> - If you want to perform an automatic reboot, which is needed during the upgrade process, add the `--reboot` option to the `leapp upgrade` command.
310+
311+
2. If the `--reboot` option wasn't included in the previous command, monitor the Serial Console. Once the upgrade process shows that a reboot is required to continue the process as follows, manually reboot the VM:
312+
313+
314+
```output
315+
====> * add_upgrade_boot_entry
316+
Add new boot entry for Leapp provided initramfs.
317+
A reboot is required to continue. Please reboot your system.
318+
```
319+
320+
```bash
321+
sudo reboot
322+
```
323+
324+
232325
---
233326
234327
Once the upgrade is finished, check if the system is in the desired state.
@@ -277,6 +370,26 @@ This section outlines the recommended verification steps after completing an in-
277370
sudo dnf repolist
278371
```
279372
373+
### [RHEL 9.7 to RHEL 10.1](#tab/rhel9-rhel10)
374+
375+
1. Verify that the current OS version belongs to RHEL 9:
376+
377+
```bash
378+
sudo cat /etc/redhat-release
379+
```
380+
381+
2. Check the kernel version:
382+
383+
```bash
384+
uname -r
385+
```
386+
387+
3. Verify the new repositories:
388+
389+
```bash
390+
sudo dnf repolist
391+
```
392+
280393
---
281394
282395
## Post-upgrade tasks
@@ -401,8 +514,49 @@ Once the VM is successfully upgraded, perform the following tasks:
401514
> [!IMPORTANT]
402515
> Removing this data might limit Microsoft and Red Hat Support's ability to investigate and troubleshoot post-upgrade problems.
403516
517+
518+
### [RHEL 9.7 to RHEL 10.1](#tab/rhel9-rhel10)
519+
520+
521+
1. Delete all remaining Leapp packages, including the *`snactor`* package, from the exclude list in the */etc/dnf/dnf.conf* configuration file. These Leapp packages are installed during the in-place upgrade.
522+
523+
```bash
524+
sudo dnf config-manager --save --setopt exclude=''
525+
```
526+
527+
2. Remove all remaining RHEL 8 packages, including any remaining Leapp packages.
528+
529+
1. Locate remaining RHEL 8 packages.
530+
531+
```bash
532+
sudo rpm -qa | grep -e '\.el[789]' | grep -vE '^(gpg-pubkey|libmodulemd|katello-ca-consumer)' | sort
533+
```
534+
535+
2. Remove remaining RHEL 8 packages from your RHEL 9 VM:
536+
537+
```bash
538+
sudo dnf remove $(rpm -qa | grep \.el[789] | grep -vE 'gpg-pubkey|libmodulemd|katello-ca-consumer')
539+
```
540+
541+
3. Remove remaining Leapp dependency packages:
542+
543+
```bash
544+
sudo dnf remove leapp-deps-el10 leapp-repository-deps-el10
545+
```
546+
547+
4. (Optional) Remove all remaining upgrade-related data from the system:
548+
549+
```bash
550+
sudo rm -rf /var/log/leapp /root/tmp_leapp_py3 /var/lib/leapp
551+
```
552+
553+
> [!IMPORTANT]
554+
> Removing this data might limit Microsoft and Red Hat Support's ability to investigate and troubleshoot post-upgrade problems.
555+
556+
404557
---
405558

406559
[!INCLUDE [Third-party disclaimer](../../../includes/third-party-disclaimer.md)]
407560

408561
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
562+

0 commit comments

Comments
 (0)