Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-968

Jaeger Agent DaemonSet Fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • maistra-1.0.2
    • maistra-1.0.0
    • istio
    • None
    • MAISTRA 1.0.2

      When setting istio.tracing.jaeger.agentStrategy: DaemonSet the new daemonset fails to roll out with the following error:

      Error creating: pods "jaeger-agent-daemonset-" is forbidden: unable to validate against any security context constraint: [spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 5775: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 5778: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 6831: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 6832: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 14271: Host ports are not allowed to be used]
      

      Running

      oc adm policy add-scc-to-user hostnetwork -z jaeger -n istio-system

      fixes this.

              Unassigned Unassigned
              patrick.tescher Patrick Tescher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: