Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3548

[Platform CI] Fix stuck `jx upgrade platform`

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration

      Description

      When running the platform-ci job, the exposecontroller pod is stuck with:

      Events:
        Type     Reason            Age                    From               Message
        ----     ------            ----                   ----               -------
        Normal   Scheduled         4m30s                  default-scheduler  Successfully assigned platform/expose-c966d to gke-jx-prod-pool-2-a6313578-pokd
        Normal   Pulling           3m48s (x3 over 4m29s)  kubelet            Pulling image "gcr.io/jenkinsxio/exposecontroller:2.3.111"
        Warning  Failed            3m48s (x3 over 4m29s)  kubelet            Failed to pull image "gcr.io/jenkinsxio/exposecontroller:2.3.111": rpc error: code = Unknown desc = Error response from daemon: Get https://gcr.io/v2/jenkinsxio/exposecontroller/manifests/2.3.111: denied: Project jenkinsxio has been deleted.
        Warning  Failed            3m48s (x3 over 4m29s)  kubelet            Error: ErrImagePull
        Warning  DNSConfigForming  3m37s (x8 over 4m29s)  kubelet            Search Line limits were exceeded, some search paths have been omitted, the applied search line is: platform.svc.cluster.local svc.cluster.local cluster.local all known uplink
        Normal   BackOff           3m37s (x4 over 4m28s)  kubelet            Back-off pulling image "gcr.io/jenkinsxio/exposecontroller:2.3.111"
        Warning  Failed            3m37s (x4 over 4m28s)  kubelet            Error: ImagePullBackOff
      

      Due to the image registry change from gcr to ghcr.
      Probably need to update a chart or cronjob somehow, but not trivial.

      First step: let's stop calling jx upgrade platform from the pipeline and rely on the existing deployments (OK as long as we don't need to change anything in https://github.com/nuxeo/platform-ci/tree/bcd312e4522935f2d54f8d9715f56d434a438fab/jenkins-x-platform).
      Next step: offer an alternative to jx upgrade platform to install the chartmuseum and nexus, see NXBT-3559.

        Attachments

        1. screenshot-1.png
          182 kB
          Antoine Taillefer

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: