Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-5133

Workload-web-app deploy fails on OSD v4.12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Testing
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      `make local/deploy` fails silently (echo $? outputs 0) on OSD v4.12. The error is

                reason: CreateContainerError
                message: >
                  container create failed: time="2023-01-25T10:01:10Z" level=error
                  msg="runc create failed: unable to start container process: exec:
                  \"./workload-app\": stat ./workload-app: permission denied" 

       

      The fix might be just to chmod 755 the workload-app binary in the docker file https://github.com/integr8ly/workload-web-app/blob/master/Dockerfile#L22

      (thanks Austin for suggestion)

       

      Without the fix first update the local/deploy to fail if pods don't get into ready state so that issues like this are spotted earlier

       

      DONE

      • make local/deploy fails in case pods are not ready
      • wwa deploys on OSD v4.12 just fine
      • wwa continue to deploy on OSD v4.11 /v4.10 just fine

              Unassigned Unassigned
              trepel Tomas Repel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: