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

inject unit tests are failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • pilot
    • None

    Description

      $ go test ./pilot/pkg/kube/inject/...
      Skipping injection because "" has host networking enabled
      2019-08-01T12:20:46.338555Z	info	Invalid annotations: 1 error occurred:
      
      * injection failed. Invalid value for annotation traffic.sidecar.istio.io/includeOutboundIPRanges: bad. Error: includeIPRanges invalid: failed parsing cidr 'bad': invalid CIDR address: bad map[traffic.sidecar.istio.io/includeOutboundIPRanges:bad]
      
      2019-08-01T12:20:46.339092Z	info	Invalid annotations: 1 error occurred:
      
      * injection failed. Invalid value for annotation traffic.sidecar.istio.io/excludeOutboundIPRanges: *. Error: excludeIPRanges invalid: failed parsing cidr '*': invalid CIDR address: * map[traffic.sidecar.istio.io/excludeOutboundIPRanges:*]
      
      2019-08-01T12:20:46.339579Z	info	Invalid annotations: 1 error occurred:
      
      * injection failed. Invalid value for annotation traffic.sidecar.istio.io/includeInboundPorts: bad. Error: includeInboundPorts invalid: failed parsing port '0': failed parsing port '0': strconv.ParseUint: parsing "bad": invalid syntax map[traffic.sidecar.istio.io/includeInboundPorts:bad]
      
      2019-08-01T12:20:46.340051Z	info	Invalid annotations: 1 error occurred:
      
      * injection failed. Invalid value for annotation traffic.sidecar.istio.io/excludeInboundPorts: *. Error: excludeInboundPorts invalid: failed parsing port '0': failed parsing port '0': strconv.ParseUint: parsing "*": invalid syntax map[traffic.sidecar.istio.io/excludeInboundPorts:*]
      
      2019-08-01T12:20:46.340150Z	error	Illegal value for autoInject:wrong_policy, must be one of [disabled,enabled]. Auto injection disabled!
      2019-08-01T12:20:46.340401Z	info	AdmissionReview for Kind=/, Kind= Namespace= Name= () UID= Rfc6902PatchOperation= UserInfo={  [] map[]}
      2019-08-01T12:20:46.340647Z	info	AdmissionResponse: patch=[{"op":"remove","path":"/spec/initContainers/0"},{"op":"add","path":"/spec/initContainers/-","value":{"name":"istio-init","image":"example.com/init:latest","resources":{}}},{"op":"add","path":"/spec/containers/-","value":{"name":"istio-proxy","image":"example.com/proxy:latest","args":["--statusPort","15020"],"env":[{"name":"ISTIO_KUBE_APP_PROBERS","value":"{\"/app-health/hello/livez\":{\"path\":\"/live\",\"port\":80},\"/app-health/hello/readyz\":{\"path\":\"/ready\",\"port\":3333},\"/app-health/second/livez\":{\"port\":9000}}"}],"resources":{}}},{"op":"add","path":"/spec/volumes/-","value":{"name":"istio-envoy","emptyDir":{"medium":"Memory"}}},{"op":"add","path":"/spec/volumes/-","value":{"name":"istio-certs","secret":{"secretName":"istio.default"}}},{"op":"add","path":"/spec/imagePullSecrets","value":[{"name":"istio-image-pull-secrets"}]},{"op":"add","path":"/metadata/annotations","value":{"sidecar.istio.io/status":"{\"version\":\"unit-test-fake-version\",\"initContainers\":[\"istio-init\"],\"containers\":[\"istio-proxy\"],\"volumes\":[\"istio-envoy\",\"istio-certs\"],\"imagePullSecrets\":[\"istio-image-pull-secrets\"]}"}},{"op":"replace","path":"/spec/containers/0/readinessProbe/httpGet","value":{"path":"/app-health/hello/readyz","port":15020}},{"op":"replace","path":"/spec/containers/0/livenessProbe/httpGet","value":{"path":"/app-health/hello/livez","port":15020}},{"op":"replace","path":"/spec/containers/1/livenessProbe/httpGet","value":{"path":"/app-health/second/livez","port":15020}}]
      
      ... errors continue
      
      

      Attachments

        Activity

          People

            kconner@redhat.com Kevin Conner (Inactive)
            jsantana@redhat.com Jonh Wendell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: