Skip to content

Commit 579ad98

Browse files
committed
add duplication of flux ext error msg
1 parent 38c6632 commit 579ad98

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

articles/aks/dapr-ext-troubleshooting.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This article details some common error messages you may encounter while installi
1919
If the extension fails to create or update without an error message, you can inspect where the creation of the extension failed by running the `az k8s-extension list` command. For example, if a wrong key is used in the configuration-settings, such as `global.ha=false` instead of `global.ha.enabled=false`:
2020

2121
```azure-cli-interactive
22-
az k8s-extension list --cluster-type managedClusters --cluster-name myAKSCluster --resource-group myResourceGroup
22+
az k8s-extension list --cluster-type managedClusters --cluster-name myCluster --resource-group myResourceGroup
2323
```
2424

2525
The below JSON is returned, and the error message is captured in the `message` property.
@@ -36,8 +36,27 @@ The below JSON is returned, and the error message is captured in the `message` p
3636
],
3737
```
3838

39-
You can also try the following steps:
39+
Another example:
4040

41+
```azurecli
42+
az k8s-extension list --cluster-type managedClusters --cluster-name myCluster --resource-group myResourceGroup
43+
```
44+
45+
```json
46+
"statuses": [
47+
{
48+
"code": "InstallationFailed",
49+
"displayStatus": null,
50+
"level": null,
51+
"message": "The extension operation failed with the following error: unable to add the configuration with configId {extension:microsoft-dapr} due to error: {error while adding the CRD configuration: error {failed to get the immutable configMap from the elevated namespace with err: configmaps 'extension-immutable-values' not found }}. (Code: ExtensionOperationFailed)",
52+
"time": null
53+
}
54+
]
55+
```
56+
57+
For these cases, possible remediation actions are to:
58+
59+
- Force delete and [reinstall the Dapr extension](./dapr.md).
4160
- [Restart your AKS or Arc for Kubernetes cluster](./start-stop-cluster.md).
4261
- Make sure you've [registered the `KubernetesConfiguration` service provider](./dapr.md#register-the-kubernetesconfiguration-service-provider).
4362
- See if you're encountering an error [installing the `microsoft.flux` extension](../azure-arc/kubernetes/troubleshooting.md#flux-v2---error-installing-the-microsoftflux-extension).
@@ -54,7 +73,6 @@ Code: ExtensionOperationFailed
5473
Message: The extension operation failed with the following error: Failed to resolve the extension version from the given values.
5574
```
5675

57-
5876
Try installing again, making sure to use a [supported version of Dapr](./dapr.md#dapr-versions).
5977

6078
## Error: Dapr version exists, but not in the mentioned region

0 commit comments

Comments
 (0)