Skip to content

Commit 02ba15f

Browse files
authored
Merge pull request #8326 from MicrosoftDocs/main
Auto push to live 2025-02-26 02:00:02
2 parents d40a3fd + f3221e7 commit 02ba15f

7 files changed

Lines changed: 38 additions & 119 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6295,6 +6295,10 @@
62956295
{
62966296
"source_path": "azure-kubernetes/error-codes/vhdfilenotfound.md",
62976297
"redirect_url": "/troubleshoot/azure/azure-kubernetes/error-codes/vmextensionerror-vhdfilenotfound"
6298+
},
6299+
{
6300+
"source_path": "virtual-machines/linux/linux-vm-no-boot-hyper-v-driver-issues.md",
6301+
"redirect_url": "/troubleshoot/azure/virtual-machines/linux/troubleshoot-lis-driver-issues-on-linux-vms"
62986302
}
62996303
]
63006304
}

support/azure/virtual-machines/linux/linux-virtual-machine-cannot-start-fstab-errors.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ description: Explains why Linux VM can't start and how to solve the problem.
44
services: virtual-machines
55
documentationcenter: ''
66
author: saimsh-msft
7+
ms.author: saimsh
78
manager: dcscontentpm
9+
ms.reviewer: divargas
810
tags: ''
911
ms.custom: sap:My VM is not booting, linux-related-content
1012
ms.service: azure-virtual-machines
@@ -13,8 +15,7 @@ ms.topic: troubleshooting
1315
ms.workload: infrastructure-services
1416
ms.tgt_pltfrm: vm-linux
1517
ms.devlang: azurecli
16-
ms.date: 02/19/2025
17-
ms.author: saimsh
18+
ms.date: 02/26/2025
1819
---
1920

2021
# Troubleshoot Linux VM boot issues due to fstab errors
@@ -112,13 +113,17 @@ Azure Linux Auto Repair (ALAR) scripts are part of the VM repair extension descr
112113
The ALAR scripts use the repair extension `repair-button` to fix fstab issues by specifying `--button-command fstab`. This parameter triggers the automated recovery. Implement the following steps to automate fstab errors via the offline ALAR approach:
113114

114115
```azurecli-interactive
115-
az vm repair repair-button --button-command fstab --verbose rgtest --name vmtest
116+
az extension add -n vm-repair
117+
az extension update -n vm-repair
118+
az vm repair repair-button --button-command 'fstab' --verbose $RGNAME --name $VMNAME
116119
```
117120

118121
> [!NOTE]
119-
> - Replace the resource group name `rgtest` and VM name `vmtest` accordingly.
120-
> - The repair VM script, in conjunction with the ALAR script, will temporarily create a resource group, a repair VM, and a copy of the affected VM's OS disk. It backs up the original **/etc/fstab** file and modifies it by removing or commenting out data file system entries that aren't required to boot the system.
121-
> - After the OS starts successfully, review and edit the **/etc/fstab** file to fix any errors that might have prevented a proper reboot. Finally, the `repair-button` script will automatically delete the resource group containing the repair VM.
122+
> Replace the resource group name `$RGTEST` and VM name `$VMNAME` accordingly.
123+
124+
* The repair VM script, in conjunction with the ALAR script, will temporarily create a resource group, a repair VM, and a copy of the affected VM's OS disk. It backs up the original `/etc/fstab` file and modifies it by removing or commenting out data file system entries that aren't required to boot the system.
125+
* After the OS starts successfully, review and edit the `/etc/fstab` file to fix any errors that might have prevented a proper reboot.
126+
* Finally, the `repair-button` script will automatically delete the resource group containing the repair VM.
122127

123128
#### Use the manual method
124129

support/azure/virtual-machines/linux/suse-public-cloud-connectivity-registration-issues.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Troubleshoot connectivity and registration for SUSE SLES VMs
33
description: Troubleshoot scenarios in which an Azure VM that has a SUSE Linux Enterprise Server image can't connect to the SUSE Subscription Management Tool (SMT) repository.
4-
ms.date: 02/04/2025
4+
ms.date: 02/26/2025
55
author: rnirek
66
ms.author: hokamath
77
ms.reviewer: adelgadohell, mahuss, esanchezvela, scotro, v-weizhu, divargas
@@ -221,29 +221,15 @@ If instances aren't regularly updated, they can become incompatible with our upd
221221
```bash
222222
sudo zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-azure regionServiceClientConfigAzure python3-azuremetadata SUSEConnect python3-cssselect python3-toml python3-lxml python3-M2Crypto python3-zypp-plugin libsuseconnect suseconnect-ruby-bindings docker libcontainers-common
223223
```
224-
225-
> [!IMPORTANT]
226-
> The latest `cloud-regionsrv-client-10.3.11-150300.13.19.1` introduces new dependencies (`libcontainers-common` and `docker`). This causes dependency errors. When [cloud instance repos fail because of outdated packages](https://www.suse.com/support/kb/doc/?id=000021552), the latest packages are installed:
227-
>```ouput
228-
>cloud-regionsrv-client 10.3.11-150300.13.19.1
229-
>cloud-regionsrv-client-plugin-azure 2.0.0-150300.13.19.1
230-
>```
231-
232-
4. If there are dependency errors from the latest package, `cloud-regionsrv-client-10.3.11-150300.13.19.1`, you must downgrade `cloud-regionsrv-client` and `cloud-regionsrv-client-plugin-azure`. Otherwise, skip this step.
233-
234-
```bash
235-
sudo zypper --no-refresh --no-remote --non-interactive install --old-package cloud-regionsrv-client-10.3.7-150300.13.14.1.noarch.rpm
236-
sudo zypper --no-refresh --no-remote --non-interactive install --old-package cloud-regionsrv-client-plugin-azure-2.0.0-150300.13.14.1.noarch.rpm
237-
```
238-
5. Run the following commands:
224+
4. Run the following commands:
239225

240226
```bash
241227
sudo find /root/packages/ -type f -name "*.rpm" -exec cp {} /root/packages/rpms/ \;
242228
sudo cd /root/packages
243229
sudo tar -czvf suse-public-registration.tgz rpms
244230
```
245231

246-
6. Transfer `suse-public-registration.tgz` to the broken instance:
232+
5. Transfer `suse-public-registration.tgz` to the broken instance:
247233

248234
```bash
249235
sudo scp /root/packages/suse-public-registration.tgz user@targetip:/tmp
@@ -252,7 +238,7 @@ If instances aren't regularly updated, they can become incompatible with our upd
252238
> [!NOTE]
253239
> Replace `user` and `targetip` as appropriate.
254240

255-
7. Sign in to the broken instance to extract and install the packages:
241+
6. Sign in to the broken instance to extract and install the packages:
256242

257243
```bash
258244
sudo cd tmp
@@ -261,11 +247,12 @@ If instances aren't regularly updated, they can become incompatible with our upd
261247
sudo zypper --no-refresh --no-remote --non-interactive install --force *.rpm
262248
```
263249

264-
8. Register the VM again:
250+
7. Register the VM again:
265251

266252
```bash
267253
sudo registercloudguest --force-new
268254
```
255+
For more information, see [Cloud instance repos fail due to outdated packages](https://www.suse.com/support/kb/doc/?id=000021552).
269256

270257
## Scenario 3: General registration issues
271258

support/azure/virtual-machines/linux/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@
124124
items:
125125
- name: Can't restart after applying kernel changes
126126
href: kernel-related-boot-issues.md
127-
- name: Linux VMs fail to boot due to Hyper-V driver issues
128-
href: linux-vm-no-boot-hyper-v-driver-issues.md
127+
- name: Troubleshoot LIS driver issues on Linux VMs
128+
href: troubleshoot-lis-driver-issues-on-linux-vms.md
129129

130130
- name: OS upgrades
131131
items:

support/azure/virtual-machines/linux/linux-vm-no-boot-hyper-v-driver-issues.md renamed to support/azure/virtual-machines/linux/troubleshoot-lis-driver-issues-on-linux-vms.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Linux VMs fail to boot due to Hyper-V driver issues
3-
description: Provides solutions to Azure Linux VM boot failures that occur because Hyper-V drivers are missing or disabled.
2+
title: Troubleshoot LIS/Hyper-V Driver Issues on Linux Virtual Machines
3+
description: Provides solutions to Azure Linux VM issues that occur because Hyper-V drivers are missing or disabled.
44
ms.date: 02/26/2025
55
ms.reviewer: divargas, msaenzbo, v-weizhu
66
ms.custom: sap:My VM is not booting, linux-related-content
77
---
8-
# Azure Linux virtual machines fail to boot due to Hyper-V driver issues
8+
# Troubleshoot LIS/Hyper-V driver issues on Linux virtual machines
99

1010
**Applies to:** :heavy_check_mark: Linux VMs
1111

12-
When you run a Linux Virtual Machine (VM) on Azure, the Hyper-V drivers, also known as Linux Integration Services (LIS) drivers, are crucial for proper VM operations. These drivers allow the VM to communicate with the underlying Azure hypervisor. If these drivers are missing or not properly loaded, the VM might fail to boot. This article provides solutions to boot failures due to Hyper-V driver issues in Azure Linux VMs.
12+
When you run a Linux Virtual Machine (VM) on Azure, the Hyper-V drivers, also known as Linux Integration Services (LIS) drivers, are crucial for proper VM operations. These drivers allow the VM to communicate with the underlying Azure hypervisor. If these drivers are missing or not properly loaded, the VM might fail to boot. This article provides solutions to LIS/Hyper-V driver issues in Azure Linux VMs.
1313

1414
## Prerequisites
1515

@@ -94,7 +94,7 @@ dracut:/#
9494

9595
## Cause
9696

97-
Here are some reasons for VM boot failures:
97+
If LIS/Hyper-V drivers are missing or not correctly loaded, the VM might not start because of the following reasons:
9898

9999
- Missing disk and network drivers
100100

@@ -199,7 +199,9 @@ Here are some reasons for VM boot failures:
199199

200200
4. Rebuild the initial RAM disk image for your affected kernel by following the steps in [Regenerate missing initramfs manually](kernel-related-boot-issues.md#missing-initramfs-manual).
201201

202-
## Verify the network driver is functional after a fresh boot or reboot
202+
## FAQ
203+
204+
### If I'm experiencing some issues, such as connectivity, how can I make sure that the network driver, hv_netvsc, is working as expected after a fresh start or restart of the system?
203205

204206
To confirm that the Hyper-V network driver (`hv_netvsc`) is active and functional, check the system logs and look for the following entry:
205207

support/dynamics-365/supply-chain/procurement/purchase-order-line-deletion-restriction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Purchase Order Line Deletion Restriction
33
description: Provides a workaround for the restriction on deleting purchase order lines under certain conditions in Dynamics 365 Supply Chain Management.
44
ms.reviewer: shubhamshr
55
ms.date: 02/25/2025
6-
ms.custom: sap:Purchase order procurement and sourcing\Issues with purchase orderss
6+
ms.custom: sap:Purchase order procurement and sourcing\Issues with purchase orders
77
---
88
# Can't delete a purchase order line after it's confirmed
99

Lines changed: 6 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: LDS service startup fails
33
description: Introduce the solution for LDS Service startup failure after you manually change msDS-Behavior-Version attribute.
4-
ms.date: 01/15/2025
4+
ms.date: 02/26/2025
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
@@ -10,16 +10,14 @@ ms.custom:
1010
- sap:active directory\ldap configuration and interoperability
1111
- pcy:WinComm Directory Services
1212
---
13-
# LDS service startup fails after you manually change msDS-Behavior-Version in Windows Server 2019 and 2016
13+
# LDS service startup fails after you manually change msDS-Behavior-Version in Windows Server
1414

15-
This article provides a solution to an error that LDS service startup fails after you manually change msDS-Behavior-Version.
15+
This article provides a solution to an error that the LDS service startup fails after you manually change the **msDS-Behavior-Version** attribute.
1616

17-
_Applies to:_   Windows Server 2019, Windows Server 2016
17+
_Applies to:_   All supported versions of Windows Server and Windows Client
1818
_Original KB number:_   4550446
1919

20-
## Symptom
21-
22-
In ADSI Edit, you change the **msDS-Behavior-Version** attribute of the Partitions container to **7** in order to raise the Active Directory (AD) Lightweight Directory Services (LDS) instance functional level to WIN2016.
20+
In ADSI Edit, you change the **msDS-Behavior-Version** attribute of the **Partitions** container to **7** in order to raise the Active Directory (AD) Lightweight Directory Services (LDS) instance functional level to **WIN2016**.
2321

2422
:::image type="content" source="media/lds-service-startup-fails/attribute-editor.png" alt-text="Change the msDS-Behavior-Version attribute to 7.":::
2523

@@ -51,81 +49,4 @@ Additionally, you receive the following error message:
5149
5250
:::image type="content" source="media/lds-service-startup-fails/error-message.png" alt-text="Error 0xc0000025 Windows could not start the L D S service on Local Computer.":::
5351

54-
## Cause
55-
56-
Manually setting the **msDS-Behavior-Version** attribute value to **7** on LDS instances is not supported.
57-
58-
## Resolution
59-
60-
If the LDS instance contains only one server, you must restore the server from a backup to resolve the issue.
61-
62-
If there are multiple replica servers in that instance (for example, LDSServer1 and LDSServer2), and if one server has not yet been restarted, follow these steps:
63-
64-
1. If the LDS server on which the service that does not start (for example, LDSServer1) holds the LDS Roles (for example, Schema and Domain Naming FSMO), seize the roles by running ntdsutil:
65-
66-
> C:\Windows\system32> **ntdsutil**
67-
ntdsutil: **roles**
68-
fsmo maintenance: **connections**
69-
server connections: **connect to server LDSServer2:50000( 50000 is the port number in that example)**
70-
Binding to LDSServer2:50000 ...
71-
Connected to LDSServer2:50000 using credentials of locally logged on user.
72-
server connections: **q**
73-
fsmo maintenance: **seize schema master**
74-
75-
:::image type="content" source="media/lds-service-startup-fails/role-seizure-confirmation-dialog.png" alt-text="A role seizure confirmation dialog displays.":::
76-
77-
2. Connect to the configuration partition of the server that still runs the LDS instance (for example, LDSServer2), and then roll back the functionality level version by reverting the **msDS-Behavior-Version** attribute value.
78-
79-
3. Run a metadata cleanup of the LDS server (LDSServer1) by using **dsmgmt**:
80-
81-
> C:\Windows\system32> **dsmgmt**
82-
dsmgmt: **metadata cleanup**
83-
metadata cleanup: **connections**
84-
server connections: **connect to server LDSServer2:50000 ( 50000 is the port number in that example)**
85-
Binding to LDSServer2:50000 ...
86-
Connected to LDSServer2:50000 using credentials of locally logged on user.
87-
server connections: **q**
88-
metadata cleanup: **select operation target**
89-
select operation target: **list naming contexts**
90-
Found 3 Naming Context(s)
91-
0 - CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
92-
1 - CN=Schema,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
93-
2 - DC=LDS,DC=COM
94-
select operation target: **select naming context2 ( 2 stands for the domain naming context )**
95-
No current site
96-
No current domain
97-
No current server
98-
Naming Context - DC=LDS,DC=COM
99-
select operation target: **list sites**
100-
Found 4 site(s)
101-
0 - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
102-
1 - CN=Site1,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
103-
2 - CN=Site2,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
104-
3 - CN=Site3,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
105-
select operation target: **select site3 (where 3 is the number of the site in which the server is located,** **matching output from previous step)**
106-
Site - CN=Site3,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
107-
No current domain
108-
No current server
109-
Naming Context - DC=LDS,DC=COM
110-
select operation target: **list servers in Site**
111-
Found 1 server(s)
112-
0 - CN=LDSServer1,CN=Servers,CN=Site3,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
113-
select operation target: **select Server0 (where 0 is the number of the server you wish to remove, matching output from previous step)**
114-
Site - CN=Site3,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
115-
No current domain
116-
Server - CN=LDSServer1,CN=Servers,CN=Site3,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
117-
DSA object - CN=NTDS Settings,CN=LDSServer1,CN=Servers,CN=Site3,CN=Sites,CN=Configuration,CN={6B7FEBF4-017B-4366-A8B8-3E5467888DEF}
118-
DNS host name - LDSServer1.CONTOSO.COM
119-
Naming Context - DC=LDS,DC=COM
120-
select operation target: **q**
121-
metadata cleanup: **remove selected server**
122-
123-
:::image type="content" source="media/lds-service-startup-fails/server-remove-confirmation-dialog.png" alt-text="Select Yes to remove the server object in the Server Remove Confirmation Dialog box.":::
124-
125-
4. Log on to LDSServer1, and uninstall the instance:
126-
127-
:::image type="content" source="media/lds-service-startup-fails/uninstall-program.png" alt-text="Select the instance that you want to uninstall in Programs and features window.":::
128-
129-
:::image type="content" source="media/lds-service-startup-fails/select-skip-all.png" alt-text="Select Skip All in the Active Directory Lightweight Directory Services Removal Wizard.":::
130-
131-
5. Run the Active Directory Lightweight Directory Services Setup (C:\Windows\ADAM\adaminstall.exe) on LDSServer1 to install a replica of the existing instance from LDSServer2.
52+
For Windows servers with monthly updates before the February 2025 update rollup installed, manually setting the **msDS-Behavior-Version** attribute value of LDS instances to **7** isn't supported. To resolve the issue, install the February 2025 update rollup or a later version.

0 commit comments

Comments
 (0)