Upgrade AS installer get stuck on waiting for completion of hook batch/Job/gatekeeper-update-crds-hook

During Fabric Upgrade of 22.10.10 , Fabric Installer can get stuck on waiting for healthy state of gatekeeper app for more than an hour.

Description:

  1. Upgrade path where the issue is observed
    1. 22.4.x (excluding 22.4.11). ---> 22.10.10
  2. During the Fabric Upgrade of 22.10.10 , the Fabric Installer can get stuck waiting for the healthy state of the gatekeeper app for more than an hour and the state will be like below.
  1. When user go to gatekeeper app , the state of gatekeeper will be
    1. waiting for completion of hook batch/Job/gatekeeper-update-crds-hook


Resolution:

To solve the problem, the user should perform the below steps.

  1. In Argocd manually sync the gatekeeper app, By first terminating the application and then syncing.
    1. For terminating , the user should click on the syncing Status icon as shown below -
  1. Click on Terminate
  2. Manually sync the argocd gatekeeper app, Clicking on the sync option as shown below -
  1. Select Prune and Synchronize the App , like below snippet
  1. Wait for the argocd app to come in healthy and Synced state.
  2. Re-execute fabric upgrade on server0.