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
Copy file name to clipboardExpand all lines: support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementworksynchronized-false.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: ClusterResourcePlacementWorkSynchronized failure when using ClusterResourcePlacement API object in Azure Kubernetes Fleet Manager
3
-
description: Helps you resolve the ClusterResourcePlacementWorkSynchronized failure when you propagate resources using the ClusterResourcePlacement API object in Azure Kubernetes Fleet Manager.
4
-
ms.date: 08/05/2024
2
+
title: ClusterResourcePlacementWorkSynchronized / ResourcePlacementWorkSynchronized failure when using placement APIs in Azure Kubernetes Fleet Manager
3
+
description: Helps you resolve the ClusterResourcePlacementWorkSynchronized or ResourcePlacementWorkSynchronized failure when you propagate resources using the ClusterResourcePlacement or ResourcePlacement API object in Azure Kubernetes Fleet Manager.
ms.custom: sap:Other issue or questions related to Fleet manager
8
8
---
9
-
# Resource propagation failure: ClusterResourcePlacementWorkSynchronized is false
9
+
# Resource propagation failure: ClusterResourcePlacementWorkSynchronized / ResourcePlacementWorkSynchronized is false
10
10
11
-
This article describes how to troubleshoot `ClusterResourcePlacementWorkSynchronized` issues when you propagate resources using the `ClusterResourcePlacement` API object in Azure Kubernetes Fleet Manager.
11
+
This article describes how to troubleshoot `ClusterResourcePlacementWorkSynchronized`(for ClusterResourcePlacement) or `ResourcePlacementWorkSynchronized` (for ResourcePlacement) issues when you propagate resources using placement APIs in Azure Kubernetes Fleet Manager.
12
12
13
13
## Symptoms
14
14
15
-
When using the `ClusterResourcePlacement` API object in Azure Kubernetes Fleet Manager to propagate resources, if the `ClusterResourcePlacement` is updated, the associated work objects aren't synchronized with the changes, and the `ClusterResourcePlacementWorkSynchronized` condition status shows as `False`.
15
+
When using the `ClusterResourcePlacement`or `ResourcePlacement`API object in Azure Kubernetes Fleet Manager to propagate resources, if the placement has been recently updated, the associated work objects aren't synchronized with the latest selected resources, and the `ClusterResourcePlacementWorkSynchronized` (for ClusterResourcePlacement) or `ResourcePlacementWorkSynchronized` (for ResourcePlacement) condition status shows as `False`.
16
16
17
17
> [!NOTE]
18
18
> To get more information about why the work object synchronization fails, you can check the [work generator controller](https://github.com/Azure/fleet/blob/main/pkg/controllers/workgenerator/controller.go) logs.
@@ -24,7 +24,7 @@ This issue might occur for one of the following reasons:
24
24
- The controller encounters an error while trying to generate the corresponding work object.
25
25
- The enveloped object isn't well formatted.
26
26
27
-
## Case study
27
+
## Case study: ClusterResourcePlacement
28
28
29
29
In the following example, the `ClusterResourcePlacement` is trying to propagate a resource to a selected cluster, but the work object isn't updated to reflect the latest changes because the selected cluster has been terminated.
30
30
@@ -136,5 +136,8 @@ In this situation, here are several potential solutions:
136
136
137
137
In other situations, you might opt to wait for the work to finish propagating.
138
138
139
+
## General Notes
140
+
For ResourcePlacement the investigation is identical — inspect `.status.placementStatuses[*].conditions` for `WorkSynchronized` and check the associated Work in the `fleet-member-{clusterName}` namespace.
141
+
139
142
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments