Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-567

KnativeServing shows Ready even if Kourier does not deploy

XMLWordPrintable

    • Serverless Sprint 184, Serverless Sprint 185

      When trying to deploy Knative Serving via OpenShift Serverless 1.7.0 on OpenShift Dedicated, Kourier never deploys because Quota prevents users from creating additional LoadBalancer resources. Despite that, the KnativeServing CR transitions to a fully Ready state even though Kourier is not deployed at all.

      This is related to SRVKS-551, but this bug is specific to us not surfacing via the KnativeServing status that Kourier failed to deploy.

      $ oc get knativeserving -n knative-serving
      NAME              VERSION   READY   REASON
      knative-serving   0.13.2    True 
      
      $ oc logs knative-openshift-689c5c58d7-kr6xp -n openshift-operators
      ...
      {"level":"info","ts":"2020-05-21T18:21:22.199Z","logger":"knative.openshift.kourier","msg":"Installing Kourier Ingress"}
      {"level":"info","ts":"2020-05-21T18:21:22.209Z","logger":"knative.openshift.kourier.mf","msg":"Creating","name":"knative-serving-ingress/kourier","type":"/v1, Kind=Service"}
      {"level":"error","ts":"2020-05-21T18:21:22.230Z","logger":"kubebuilder.controller","msg":"Reconciler error","controller":"knativeserving-controller","request":"knative-serving/knative-serving","error":"failed to apply kourier manifest: services \"kourier\" is forbidden: exceeded quota: loadbalancer-quota, requested: services.loadbalancers=1, used: services.loadbalancers=0, limited: services.loadbalancers=0","stacktrace":"github.com/openshift-knative/serverless-operator/knative-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/opt/app-root/src/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/opt/app-root/src/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/opt/app-root/src/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/opt/app-root/src/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/opt/app-root/src/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/opt/app-root/src/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      

              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              bbrownin@redhat.com Ben Browning
              Chris Suszynski Chris Suszynski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: