Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-6138

Pod stuck in CrashLoopBackOff status after nginx deployment on OCP

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      I have attached the deployment.yaml file generated by MTA for the nginx application. When I deployed the assets on OCP, the pod was stuck in CrashLoopBackOff.

      Original deployment.yaml file generated by MTA:

      • name: sep10-app-web
        image: ":image: "image-registry.openshift-image-registry.svc:5000/sep10-app-web:latest"
        imagePullPolicy: Always
        command: ["/bin/bash", "-c"]
        args:
      • /docker-entrypoint.sh nginx -g daemon off;
        ports:

      After updating the deployment file manually with these lines, I was able to deploy the assets.
      Updated deployment_fixed.yaml file:
      command: ["/docker-entrypoint.sh"]
      args: ["nginx", "-g", "daemon off;"]

      Version-Release number of selected component (if applicable):

      MTA 8.0.0-61

      How reproducible:

      Always

      Steps to Reproduce:

      1.
      2.
      3.

      Actual results:

       

      Expected results:

      The generated assets should get deployed successfully.

      Additional info:

              rromanni@redhat.com Ramon Roman Nissen
              rhn-support-nachandr Nandini Chandra
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: