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
{{ message }}
Repository navigation
False rollout happening when LTPA is enabled caused by the last rotation label #886
In the Liberty application controller, GetSecretLastRotationLabel can fail due to a race between the Deployment and Secret when updating last rotation labels/annotations together.
In this case, the Deployment is updated with an annotation marking the last rotation time of the LTPA Secret. It is possible in a quick succession of events that the Secret's label update has not had enough time to update the informer cache. On the next call to client.Get() the Secret's labels are seen as empty, which causes a false rollout for the Deployment which is recreated by omitting the last rotation field. Eventually, the Secret's label information is updated to the informer cache, which properly rolls out the correct Deployment.
A fix might be to add a fallback query the API server instead of relying on the informer cache in case the Secret's labels are determined to be empty.
Discussed with Kirby. The additional reconcile is unnecessary and we should fix that. The LTPA secret must be rotated by the user to trigger this. Given this doesn't impact the availability of the app (one or more instance would still be available during the rolling update) and the it self-corrects (in the next reconcile), we decided to fix in next/future release (after 1.6.3).
Activity
leochr commentedon Oct 5, 2026
Discussed with Kirby. The additional reconcile is unnecessary and we should fix that. The LTPA secret must be rotated by the user to trigger this. Given this doesn't impact the availability of the app (one or more instance would still be available during the rolling update) and the it self-corrects (in the next reconcile), we decided to fix in next/future release (after 1.6.3).