Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8347

Service Mesh install script can fail due to time out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • DO328 - Early Access
    • DO328
    • 2
    • ROLE
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)
      Workaround: By the time you get back the prompt, you should be able to deploy control plane manually. Either do so from the OpenShift web console, or deploy the /home/student/DO328/solutions/install-mesh/ossm-install.yml and /home/student/DO328/solutions/install-mesh/ossm-smmr.yml (name default, project istio-system).

      Description: When executing lab install-mesh solve, we deploy all operators by using YAML manifests and wait until all operators are installed in the Service Mesh project.

      Despite the status of all operators in the istio-system project is Succeeded, deploying control plane may fail because the operator is not yet ready to serve the OSSM APIs.

      When this happens, the Deploying Control Plane step fails (and all subsequent steps too). In the logs (/var/tmp/labs), you can see Control plane deployment timed out.

      The actual error is:

      Error from server (InternalError): error when creating "/home/student/DO328/solutions/install-mesh/ossm-install.yml": Internal error occurred: failed calling webhook "smcp.mutation.maistra.io": Post "https://maistra-admission-controller.openshift-operators.svc:443/mutate-smcp?timeout=10s": dial tcp 10.10.0.44:11999: connect: connection refused

      To work around the issue, we have added a sleep timer in the solve function, and multiple tries. However, the proper fix would be to find a way to wait until the operators are fully ready to serve the APIs.

       

      Possibly unrelated KCS: https://access.redhat.com/solutions/5313251

        1. Screenshot from 2022-01-27 13-22-43.png
          78 kB
          Luis Perez Besa
        2. Screenshot from 2022-01-27 13-23-18.png
          90 kB
          Luis Perez Besa
        3. Screenshot from 2022-01-27 13-41-06.png
          81 kB
          Luis Perez Besa

              gls-curriculum-ocp-adv@redhat.com PTL - AppDev Team
              mczernek@redhat.com Marek Czernek (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: