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

route-controller creates v1/Event in "default" namespace, with incomplete "involvedObject"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 1.12.0
    • 1.10.0
    • None
    • Serverless Sprint 191

      After creating an ordinary ksvc in a namespace "foobar", I have noticed there are v1/Events in the "default" namespace like these:

      apiVersion: v1
      count: 1
      eventTime: null
      firstTimestamp: "2020-10-23T17:31:33Z"
      involvedObject:
        apiVersion: serving.knative.dev/v1
        kind: Route
      kind: Event
      lastTimestamp: "2020-10-23T17:31:33Z"
      message: 'Failed to update finalizers for "helloworld-go": Operation cannot be fulfilled
        on routes.serving.knative.dev "helloworld-go": the object has been modified; please
        apply your changes to the latest version and try again'
      metadata:
        creationTimestamp: "2020-10-23T17:31:33Z"
        managedFields:
        - apiVersion: v1
          fieldsType: FieldsV1
          fieldsV1:
            f:count: {}
            f:firstTimestamp: {}
            f:involvedObject:
              f:apiVersion: {}
              f:kind: {}
            f:lastTimestamp: {}
            f:message: {}
            f:reason: {}
            f:source:
              f:component: {}
            f:type: {}
          manager: controller
          operation: Update
          time: "2020-10-23T17:31:33Z"
        name: .1640af5fb8ddf48d
        namespace: default
        resourceVersion: "2416310"
        selfLink: /api/v1/namespaces/default/events/.1640af5fb8ddf48d
        uid: c5de7834-dbdc-49a3-a51e-7ef8e3d11abf
      reason: FinalizerUpdateFailed
      reportingComponent: ""
      reportingInstance: ""
      source:
        component: route-controller
      type: Warning
      

      Note, the event has an incomplete involvedObject , and is not in the namespace of the original serving.knative.dev/v1 Route, but in the "default" namespace.

      (seen with Serverless 1.10.0, on OCP 4.6.0-0.nightly-2020-10-03-051134 )

              markusthoemmes Markus Thömmes (Inactive)
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: