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
At first, wadm deploys 3 instances to node 1 and 3 instances to node 3. This satisfies the requirements eastcoast and westcoast but it also satisfies the requirement realcloud. Even though all the requirements are satisfied, the deployment is not successful because the total number of components deployed is 6 and not 12. Therefore Wadm continues the reconciliation process.
After this, in order to try and satisfy the number of instances it deploys 6 instances on either node 2 or node 4. This then satisfies the total number of instances but does not satisfy the weighting for realcloud as it is 100% and not 50%.
This cycle continues as wadm attempts to satisfy all conditions for deployment, resulting in a reconciliation loop with no exit.
TLDR
A spreadscaler config may have a set of requirements which cannot fully be satisfied so the deployment status remains as "Reconciling".
The text was updated successfully, but these errors were encountered:
jamesstocktonj1
changed the title
[BUG] Infinite reconciling loop when overlapping rules exist
[BUG] Infinite reconciliation loop when overlapping rules exist
Sep 28, 2024
Description
Consider a scenario with 4 wasmcloud instances with the following labels:
And the following spreadscale properties for a component:
Problem
At first, wadm deploys 3 instances to
node 1
and 3 instances tonode 3
. This satisfies the requirementseastcoast
andwestcoast
but it also satisfies the requirementrealcloud
. Even though all the requirements are satisfied, the deployment is not successful because the total number of components deployed is 6 and not 12. Therefore Wadm continues the reconciliation process.After this, in order to try and satisfy the number of instances it deploys 6 instances on either
node 2
ornode 4
. This then satisfies the total number of instances but does not satisfy the weighting forrealcloud
as it is 100% and not 50%.This cycle continues as wadm attempts to satisfy all conditions for deployment, resulting in a reconciliation loop with no exit.
TLDR
A spreadscaler config may have a set of requirements which cannot fully be satisfied so the deployment status remains as "Reconciling".
The text was updated successfully, but these errors were encountered: