Skip to content

Commit 05c6ad8

Browse files
Wei WengWei Weng
authored andcommitted
work synchronized tsg
Signed-off-by: Wei Weng <[email protected]>
1 parent 2c72c54 commit 05c6ad8

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementworksynchronized-false.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
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.
4+
ms.date: 12/09/2024
55
ms.reviewer: zhangryan, chiragpa, shasb, ericlucier, arfallas, sachidesai, v-weizhu
66
ms.service: azure-kubernetes-fleet-manager
77
ms.custom: sap:Other issue or questions related to Fleet manager
88
---
9-
# Resource propagation failure: ClusterResourcePlacementWorkSynchronized is false
9+
# Resource propagation failure: ClusterResourcePlacementWorkSynchronized / ResourcePlacementWorkSynchronized is false
1010

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.
1212

1313
## Symptoms
1414

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`.
1616

1717
> [!NOTE]
1818
> 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:
2424
- The controller encounters an error while trying to generate the corresponding work object.
2525
- The enveloped object isn't well formatted.
2626

27-
## Case study
27+
## Case study: ClusterResourcePlacement
2828

2929
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.
3030

@@ -136,5 +136,8 @@ In this situation, here are several potential solutions:
136136

137137
In other situations, you might opt to wait for the work to finish propagating.
138138

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+
139142
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
140143

0 commit comments

Comments
 (0)