Skip to content

Failed version check running on a v1.12.5 cluster. #1991

@wu105

Description

@wu105

Describe the bug
Failed version check running on a v1.12.5 cluster.

Expected behavior
Should pass the check.

To Reproduce
See below.

Knative release version
See below.

Additional context
Deploy on k8s cluster running v1.12.5+2.1.1.el7 on RH linux, using the following commands:
kubectl apply --selector knative.dev/crd-install=true
--filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
--filename https://github.com/knative/serving/releases/download/v0.9.0/monitoring.yaml

kubectl apply
--filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
--filename https://github.com/knative/serving/releases/download/v0.9.0/monitoring.yaml

All pods are running except the two webhook pods, the one in the knative-eventing namespace is reported here, (the one in the one in the knative-serving namespace should also be fixed).
The pod/container won't get ready, and k8s is reporting the container state as the following, seems to thinking the cluster version is "" instead of "v1.12.5":

2019/10/02 02:37:15 Registering 0 informer factories
2019/10/02 02:37:15 Registering 0 informers
{"level":"info","ts":"2019-10-02T02:37:15.218Z","caller":"logging/config.go:102","msg":"Successfully created the logger.","knative.dev/jsonconfig":"{\n  \"level\": \"info\",\n  \"development\": false,\n  \"outputPaths\": [\"stdout\"],\n  \"errorOutputPaths\": [\"stderr\"],\n  \"encoding\": \"json\",\n  \"encoderConfig\": {\n    \"timeKey\": \"ts\",\n    \"levelKey\": \"level\",\n    \"nameKey\": \"logger\",\n    \"callerKey\": \"caller\",\n    \"messageKey\": \"msg\",\n    \"stacktraceKey\": \"stacktrace\",\n    \"lineEnding\": \"\",\n    \"levelEncoder\": \"\",\n    \"timeEncoder\": \"iso8601\",\n    \"durationEncoder\": \"\",\n    \"callerEncoder\": \"\"\n  }\n}\n"}
{"level":"info","ts":"2019-10-02T02:37:15.218Z","caller":"logging/config.go:103","msg":"Logging level set to info"}
{"level":"dpanic","ts":"2019-10-02T02:37:15.219Z","logger":"eventing-webhook","caller":"zap/sugar.go:210","msg":"Ignored key without a value.","commit":"a1a0981","knative.dev/controller":"eventing-webhook","ignored":"kubernetes version \"\" is not compatible, need at least \"v1.11.0\"","stacktrace":"main.main\n\t/home/prow/go/src/knative.dev/eventing/cmd/webhook/main.go:97\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}
{"level":"fatal","ts":"2019-10-02T02:37:15.219Z","logger":"eventing-webhook","caller":"webhook/main.go:97","msg":"Version check failed","commit":"a1a0981","knative.dev/controller":"eventing-webhook","stacktrace":"main.main\n\t/home/prow/go/src/knative.dev/eventing/cmd/webhook/main.go:97\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}
 startedAt:2019-10-02T02:37:15Z finishedAt:2019-10-02T02:37:15Z  exitCode:1 reason:Error]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions