Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-1104

Backstage pod stuck in Init:CrashLoopBackOff for Helm chart 0.1.36

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 0.2.1
    • milestone1, 0.1.36
    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: 
      The Backstage pod is stuck in Init:CrashLoopBackOff when deploying Helm chart 0.1.36. ** 

      oc get pods -n backstage-system 
      NAME                                            READY   STATUS             RESTARTS      AGE
      backstage-backstage-9d989c858-zjwgl             0/1     CrashLoopBackOff   3 (47s ago)   19m
      backstage-controller-manager-689c4c75c6-sb7hv   2/2     Running            0             19m
      backstage-psql-backstage-0                      1/1     Running            0             19m
       

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy using Helm chart 0.1.36 on an OCP cluster.

      2. Observe the backstage instance in backstage-systems namespace.

      Actual results:  Pod fails to start

      Expected results: Pod should start normally.

      Additional information:

      In the logs for the dynamic plugins container:

      oc logs backstage-backstage-9d989c858-zjwgl -n backstage-system -c install-dynamic-plugins 
      
      ======= Installing dynamic plugin ./dynamic-plugins/dist/roadiehq-scaffolder-backend-argocd-dynamic
          ==> Grabbing package archive through `npm pack`
          ==> Removing previous plugin directory /dynamic-plugins-root/roadiehq-scaffolder-backend-argocd-dynamic-1.1.23
          ==> Extracting package archive /dynamic-plugins-root/roadiehq-scaffolder-backend-argocd-dynamic-1.1.23.tgz
          ==> Removing package archive /dynamic-plugins-root/roadiehq-scaffolder-backend-argocd-dynamic-1.1.23.tgz
          ==> Merging plugin-specific configuration
      Traceback (most recent call last):
        File "/opt/app-root/src/install-dynamic-plugins.py", line 304, in <module>
          main()
        File "/opt/app-root/src/install-dynamic-plugins.py", line 298, in main
          merge(config, globalConfig)
        File "/opt/app-root/src/install-dynamic-plugins.py", line 66, in merge
          merge(value, node, key + '.')
        File "/opt/app-root/src/install-dynamic-plugins.py", line 70, in merge
          raise InstallException(f"Config key '{ prefix + key }' defined differently for 2 dynamic plugins")
      __main__.InstallException: Config key 'argocd.appLocatorMethods' defined differently for 2 dynamic plugins
      

       

              masayag@redhat.com Moti Asayag
              yfirst Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: