Skip to content

Commit ec640da

Browse files
committed
Merge remote-tracking branch 'upstream/main' into AB#7781
2 parents 8c94b92 + 3e2f54e commit ec640da

18 files changed

Lines changed: 125 additions & 35 deletions

support/azure/azure-storage/files/connectivity/files-troubleshoot-smb-connectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If users are accessing the Azure file share using identity-based authentication,
6262

6363
#### Solution for cause 3
6464

65-
Validate that share-level permissions are configured correctly. See [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions). Share-level permission assignments are supported for groups and users that have been synced from AD DS to Microsoft Entra ID using Microsoft Entra Connect Sync or Microsoft Entra Connect cloud sync. Confirm that groups and users being assigned share-level permissions aren't unsupported "cloud-only" groups.
65+
Validate that share-level permissions are configured correctly. See [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions).
6666

6767
### <a id="error53-67-87"></a>Error 53, Error 67, or Error 87 when you mount or unmount an Azure file share
6868

support/azure/azure-storage/files/security/files-troubleshoot-smb-authentication.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,14 @@ When you try to mount a file share, you might receive the following error:
4040
4141
### Cause: Share-level permissions are incorrect
4242

43-
If end users are accessing the Azure file share using Active Directory Domain Services (AD DS) or Microsoft Entra Domain Services authentication, access to the file share fails with "Access is denied" error if share-level permissions are incorrect.
43+
If end users are accessing the Azure file share using identity-based authentication, access to the file share fails with "Access is denied" error if share-level permissions are incorrect.
4444

4545
> [!NOTE]
4646
> This error might be caused by issues other than incorrect share-level permissions. For information on other possible causes and solutions, see [Troubleshoot Azure Files connectivity and access issues](../connectivity/files-troubleshoot-smb-connectivity.md#error5).
4747
4848
### Solution
4949

50-
Validate that permissions are configured correctly:
51-
52-
- **Active Directory Domain Services (AD DS)** see [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions).
53-
54-
Share-level permission assignments are supported for groups and users that are synced from AD DS to Microsoft Entra ID using Microsoft Entra Connect Sync or Microsoft Entra Connect cloud sync. Confirm that groups and users being assigned share-level permissions aren't unsupported "cloud-only" groups.
55-
56-
- **Microsoft Entra Domain Services** see [Assign share-level permissions](/azure/storage/files/storage-files-identity-auth-active-directory-domain-service-enable?tabs=azure-portal#assign-share-level-permissions).
50+
Validate that permissions are configured correctly. See [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions).
5751

5852
<a name='error-aaddstenantnotfound-in-enabling-azure-ad-ds-authentication-for-azure-files-unable-to-locate-active-tenants-with-tenant-id-aad-tenant-id'></a>
5953

support/azure/virtual-machines/linux/apt-common-issues-in-ubuntu.md

Lines changed: 71 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.collection: linux
1010
ms.topic: troubleshooting-problem-resolution
1111
ms.workload: infrastructure-services
1212
ms.tgt_pltfrm: vm-linux
13-
ms.custom: linux-related-content
13+
ms.custom: linux-related-content, VM Admin - Linux (Guest OS)
1414
ms.date: 06/07/2024
1515
#customer intent: As an Azure Linux virtual machine (VM) administrator, I want troubleshoot issues in the APT tools so that I can successfully install or update applications on my VMs.
1616
---
@@ -20,9 +20,6 @@ ms.date: 06/07/2024
2020

2121
This article discusses and provides solutions to common issues that you might encounter when you use the `apt` command-line tool to install or update applications on Microsoft Azure virtual machines (VMs).
2222

23-
> [!CAUTION]
24-
> Standard support for Canonical Ubuntu 18.04 LTS is no longer available. If you're affected, see [Canonical Ubuntu 18.04 LTS is out of standard support on May 31, 2023](upgrade-canonical-ubuntu-18dot04-lts.md) to review your options.
25-
2623
## Overview
2724

2825
The `apt` (Advanced Package Tool) command on Ubuntu is a powerful tool that's used for package management. It enables you to install, remove, update, and manage software packages on the Ubuntu system. You can use `apt` to search for available packages, install specific versions of packages, and handle dependencies efficiently. It simplifies the process of software management by providing a command-line interface to interact with the APT libraries.
@@ -115,7 +112,7 @@ An Azure firewall or virtual appliance might be acting as a protective barrier b
115112

116113
#### Solution 3: Make sure that the Ubuntu address is allowed
117114

118-
Make sure that `azure.archive.ubuntu.com` and any other repository URLs are fully accessible. To do this, take the following actions:
115+
Make sure that `azure.archive.ubuntu.com` and any other repository URLs are fully accessible. To do this step, take the following actions:
119116

120117
1. Verify that the destination URLs are allowed in firewall policies.
121118

@@ -149,13 +146,13 @@ Acquire::https::Proxy "http://[username]:[password]@ [proxy-web-or-IP-address]:[
149146

150147
Additionally, for Ubuntu and other Unix-like operating systems, you can set up a proxy for HTTP and HTTPS traffic by using environment variables. The relevant environment variables are `http_proxy` and `https_proxy`. To verify whether a proxy is configured, run the following command.
151148

152-
> [!IMPORTANT]
153-
> If no proxy server exists between the Ubuntu VM and the Ubuntu repository addresses, search for and remove any proxy configuration settings that are in the */etc/apt/apt.conf* file.
154-
155149
```bash
156150
env | grep -i proxy
157151
```
158152

153+
> [!IMPORTANT]
154+
> If no proxy server exists between the Ubuntu VM and the Ubuntu repository addresses, search for and remove any proxy configuration settings that are in the */etc/apt/apt.conf* file.
155+
159156
</details>
160157

161158
## Scenario 2: "apt update" command fails and returns "Failed to fetch \<url> 470 status code 470"
@@ -317,11 +314,11 @@ E: Sub-process /usr/bin/dpkg returned an error code (1)
317314

318315
### Cause: A syntax error exists in /etc/default/grub
319316

320-
A syntax error in the */etc/default/grub* configuration file exists. The post-installation script for the *linux-image-5.4.0-1051-azure* package is probably encountering this error while it tries to parse the configuration.
317+
A syntax error in the */etc/default/grub* configuration file exists. The post-installation script for the *linux-image-5.4.0-1051-azure* package likely encounters this error when it tries to parse the configuration.
321318

322319
#### Solution: Fix the syntax error in /etc/default/grub
323320

324-
Look for any syntax errors in the */etc/default/grub* file, particularly around the line that the post-installation script is probably encountering. Fix any syntax errors that you find. The syntax for this file is crucial for the correct functioning of the GRand Unified Bootloader (GRUB).
321+
Look for any syntax errors in the */etc/default/grub* file, particularly around the line that the post-installation script is probably encountering. Fix any syntax errors that you find. The syntax for this file is crucial for the correct functioning of the Grand Unified Bootloader (GRUB).
325322

326323
In the following example, the missing closing quotation mark in the `GRUB_CMDLINE_LINUX` line causes a syntax error in the GRUB configuration file:
327324

@@ -391,10 +388,71 @@ If any application automatically edits the *sources.list* file or adds a reposit
391388

392389
#### Solution: Remove or comment out armhf information from sources.list
393390

394-
Remove or comment out the lines that reference the ARM processor architecture in the */etc/apt/sources.list* file or */etc/apt/sources.list.d/\*.list*.
391+
Remove or comment out the lines that reference the ARM processor architecture in the `/etc/apt/sources.list` file or `/etc/apt/sources.list.d/*.list`.
395392

396393
</details>
397394

398-
[!INCLUDE [Third-party contact disclaimer](../../../includes/third-party-contact-disclaimer.md)]
395+
## Scenario 7: "Unknown apt-key errors when executing apt update"
396+
397+
<details>
398+
<summary>Scenario 7 details</summary>
399+
400+
When you run the `apt update` command, the system tries to fetch package information from multiple sources. However, you receive an error message that mentions `Unknown error executing apt-key`, as shown in the following output:
401+
402+
```bash
399403
400-
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
404+
(base)
405+
$ sudo apt update
406+
Hit:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
407+
Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
408+
Hit:3 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
409+
Hit:4 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
410+
Err:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
411+
Unknown error executing apt-key
412+
Err:2 http://azure.archive.ubuntu.com/ubuntujammy-updatesInRelease
413+
Unknown error executing apt-key
414+
Err: 3 http://azure.archive.ubuntu.com/ubuntujammy-backports InRelease
415+
Unknown error executing apt-key
416+
5yr: 4 http://azure.archive.ubuntu.com/ubuntujammy-security InRelease
417+
'Unknown error executing apt-key
418+
Reading package lists... Done Building dependency tree... Done Reading state information... Done
419+
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
420+
w: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure.archive.ubuntu.com/ubuntu jammy InRelease: Unknown error executing apt-key
421+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease: Unknown error executing apt-key
422+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease: Unknown error executing apt-key
423+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure. archive.ubuntu.com/ubuntu jammy-security InRelease: Unknown error executing apt-key
424+
```
425+
426+
### Cause
427+
428+
Permission issues affect the keys under `/etc/apt/trusted.gpg.d`. These issues appear if you run apt together with debug flags:
429+
430+
```bash
431+
$ sudo apt update -oDebug::Acquire::gpgv=1
432+
...
433+
...
434+
http://azure.archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-archive-2018.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
435+
http://azure.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/microsoft-release.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
436+
http://azure.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-archive-2012.gpg.are ignored as the file is not readable by user '_ apt' executing apt-key.
437+
...
438+
...
439+
```
440+
441+
#### Solution
442+
443+
Correct the permissions to be **644** for the key files under `/etc/apt/trusted.gpg.d`. Additionally, check the default umask for your installation.
444+
445+
1. Correct the permission for the keyring files:
446+
447+
```bash
448+
$ sudo chown 644 /etc/apt/trusted.gpg.d/*.gpg
449+
```
450+
451+
2. Check the default umask set by running the following code:
452+
453+
```bash
454+
$ sudo umask
455+
```
456+
457+
The default umask for most distros is usually set under `/etc/login.defs`. It's set to **0022**. In some cases, the umask is set to **0777**. This setting causes null permissions for created files.
458+
</details>

support/azure/virtual-machines/linux/linux-upgrade-sles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ Not ready to read within timeout.
282282
Skipping repository 'SLE-Module-HPC12-Updates' because of the above error.
283283
Error retrieving metadata for 'SLE-Module-Legacy12-Pool' :
284284
Not ready to read within timeout.
285-
Skipping repository 'SLE-Module-Legacy12-Pool' because of the above err Error retrieving metadata for 'SLE-Module-Legacy12-Updates' :
285+
Skipping repository 'SLE-Module-Legacy12-Pool' because of the above Error retrieving metadata for 'SLE-Module-Legacy12-Updates' :
286286
Not ready to read within timeout.
287287
Skipping repository 'SLE-Module-Legacy12-Updates' because of the above Error retrieving metadata for 'SLE-Module-Public-Cloud12-Pool' :
288288
Not ready to read within timeout.
289-
Skipping repository 'SLE-Module-Public-Cloud12-Pool' because of the abo Error retrieving metadata for 'SLE-Module-Public-Cloud12-Updates' :
289+
Skipping repository 'SLE-Module-Public-Cloud12-Pool' because of the above Error retrieving metadata for 'SLE-Module-Public-Cloud12-Updates' :
290290
Not ready to read within timeout.
291291
Skipping repository 'SLE-Module-Public-Cloud12-Updates' because of the
292292
````
@@ -550,7 +550,7 @@ You can also find this output in the `/var/log/messages` or `/var/log/distro-mig
550550

551551
### Cause
552552

553-
Midway through 2023, SUSE changed the GPG signing key for the SUSE Linux Enterprise 15 products, and products that are based on them (such asSUSE Enterprise Storage, SUSE Manager, and SUSE CaaSP) to the RSA 4096 bit key, as specified in SUSE article [SUSE Signing Keys](https://www.suse.com/support/security/keys).
553+
Midway through 2023, SUSE changed the GPG signing key for the SUSE Linux Enterprise 15 products, and products that are based on them (such as SUSE Enterprise Storage, SUSE Manager, and SUSE CaaSP) to the RSA 4096 bit key, as specified in SUSE article [SUSE Signing Keys](https://www.suse.com/support/security/keys).
554554

555555
### Resolution
556556

support/azure/virtual-machines/windows/activation-watermark-appears.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ms.topic: troubleshooting-problem-resolution
1616

1717
This document discusses how to resolve the continued presence of a Windows activation watermark on Microsoft Azure virtual machines.
1818

19+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
20+
1921
## Prerequisites
2022

2123
- [Azure CLI](/cli/azure/install-azure-cli-windows)

support/azure/virtual-machines/windows/custom-routes-enable-kms-activation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ ms.author: jarrettr
2121

2222
This article describes how to resolve the KMS activation problem that you might experience when you enable forced tunneling in site-to-site VPN connection or ExpressRoute scenarios.
2323

24+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
25+
2426
## Symptom
2527

2628
You enable [forced tunneling](/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm) on Azure virtual network subnets to direct all Internet-bound traffic back to your on-premises network. In this scenario, the Azure virtual machines (VMs) that run Windows fail to activate Windows.

support/azure/virtual-machines/windows/troubleshoot-activation-problems.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ ms.custom: sap:Cannot activate my Windows VM
2121

2222
This article helps you troubleshoot an activation issue that occurs when you create a Microsoft Azure Windows virtual machine (VM).
2323

24+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
25+
2426
## Understanding Azure KMS endpoints for Windows product activation of Azure VMs
2527

2628
Azure uses different endpoints for Key Management Services (KMS) activation depending on the cloud region in which the VM resides. When using this troubleshooting guide, use the appropriate KMS endpoint that applies to your region.

support/azure/virtual-machines/windows/windows-activation-duplicate-client-machine-id.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ We generally recommend using Azure Key Management Services (KMS) servers to acti
1515
> [!NOTE]
1616
> This article applies only when you use a self-hosted KMS server for activation. It doesn't apply when you use Azure KMS for activation.
1717
18+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
19+
1820
## Symptoms
1921

2022
When you use a self-hosted KMS server for activation and try to activate more than one Windows Server VM, the activation fails after the evaluation period, and your self-hosted KMS server reports the following error in the **Duplicate Client Machine ID Report**:

support/azure/virtual-machines/windows/windows-activation-stopped-working.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ms.custom: sap:Cannot activate my Windows VM
1313

1414
This article discusses important changes that were made to Key Management Services (KMS) IP addresses that cause problems for Microsoft Windows virtual machine (VM) activation in Windows Azure. These changes affect Azure Global cloud users who configured custom routes or firewall rules to allow KMS IP addresses and who were previously able to activate Windows VMs successfully.
1515

16+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
17+
1618
## Overview
1719

1820
#### Who's affected

support/azure/virtual-machines/windows/windows-virtual-machine-activation-faq.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
ms.reviewer: cwhitley, jusilver, scotro, v-naqviadil, v-leedennis, v-weizhu
1515
ms.custom: sap:Cannot activate my Windows VM
1616
appliesto: Windows VMs
17-
17+
1818
title: Azure Windows virtual machine activation FAQ
1919
summary: This article answers frequently asked questions (FAQ) about activating a Microsoft Windows virtual machine (VM) in Azure.
2020
sections:
@@ -46,4 +46,5 @@ additionalContent: |
4646
- [Troubleshoot Windows virtual machine activation problems in Azure](./troubleshoot-activation-problems.md)
4747
- [Advanced troubleshooting - Microsoft Windows activation error codes](../../../windows-server/deployment/troubleshoot-activation-error-codes.md)
4848
49+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
4950
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)