Bug 2026223
Summary: | Internal error occurred: failed calling webhook "ptpconfigvalidationwebhook.openshift.io" | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | elevin |
Component: | Networking | Assignee: | Sebastian Scheinkman <sscheink> |
Networking sub component: | ptp | QA Contact: | elevin |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | grajaiya, huirwang, keyoung, obochan, sscheink, ykashtan |
Version: | 4.10 | Keywords: | Regression |
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-12 04:39:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
elevin
2021-11-24 06:56:52 UTC
logs from the ptp-operator: 2021-11-24T11:41:09.450Z INFO ptpconfig-resource validate create {"name": "test-grandmaster"} 2021/11/24 11:41:09 http: panic serving 10.128.0.2:49742: runtime error: invalid memory address or nil pointer dereference goroutine 300336 [running]: net/http.(*conn).serve.func1() /usr/lib/golang/src/net/http/server.go:1801 +0xb9 panic({0x14a8b80, 0x2563350}) /usr/lib/golang/src/runtime/panic.go:1047 +0x266 github.com/openshift/ptp-operator/api/v1.(*ptp4lConf).populatePtp4lConf(0xc000b545e8, 0x0, 0xc000b97b20) /go/src/github.com/openshift/ptp-operator/api/v1/ptpconfig_webhook.go:48 +0x36 github.com/openshift/ptp-operator/api/v1.(*PtpConfig).validate(0xc000930600) /go/src/github.com/openshift/ptp-operator/api/v1/ptpconfig_webhook.go:94 +0xdf github.com/openshift/ptp-operator/api/v1.(*PtpConfig).ValidateCreate(0xc00056b080) /go/src/github.com/openshift/ptp-operator/api/v1/ptpconfig_webhook.go:130 +0xbe github.com/openshift/ptp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(_, {_, _}, {{{0xc0009edc80, 0x24}, {{0xc000930310, 0x10}, {0xc000930308, 0x2}, {0xc000930320, ...}}, ...}}) /go/src/github.com/openshift/ptp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/validator.go:71 +0x239 github.com/openshift/ptp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(_, {_, _}, {{{0xc0009edc80, 0x24}, {{0xc000930310, 0x10}, {0xc000930308, 0x2}, {0xc000930320, ...}}, ...}}) /go/src/github.com/openshift/ptp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/webhook.go:146 +0xa2 github.com/openshift/ptp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0000f94d0, {0x7f89518e8208, 0xc0009789b0}, 0xc0008d9400) /go/src/github.com/openshift/ptp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/http.go:99 +0xef0 github.com/openshift/ptp-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1({0x7f89518e8208, 0xc0009789b0}, 0xc0009789b0) /go/src/github.com/openshift/ptp-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:40 +0xd4 net/http.HandlerFunc.ServeHTTP(0x185df00, {0x7f89518e8208, 0xc0009789b0}, 0x7f898054f108) /usr/lib/golang/src/net/http/server.go:2046 +0x2f github.com/openshift/ptp-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1({0x185df00, 0xc0006101c0}, 0xc0008d9400) /go/src/github.com/openshift/ptp-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:101 +0x92 net/http.HandlerFunc.ServeHTTP(0xc000696e80, {0x185df00, 0xc0006101c0}, 0xc000211000) /usr/lib/golang/src/net/http/server.go:2046 +0x2f github.com/openshift/ptp-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2({0x185df00, 0xc0006101c0}, 0xc0008d9400) /go/src/github.com/openshift/ptp-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:76 +0xa2 net/http.HandlerFunc.ServeHTTP(0x1435440, {0x185df00, 0xc0006101c0}, 0xc0006101c0) /usr/lib/golang/src/net/http/server.go:2046 +0x2f net/http.(*ServeMux).ServeHTTP(0xc0006248ed, {0x185df00, 0xc0006101c0}, 0xc0008d9400) /usr/lib/golang/src/net/http/server.go:2424 +0x149 net/http.serverHandler.ServeHTTP({0x18525b0}, {0x185df00, 0xc0006101c0}, 0xc0008d9400) /usr/lib/golang/src/net/http/server.go:2878 +0x43b net/http.(*conn).serve(0xc00034e960, {0x1879b98, 0xc000691500}) /usr/lib/golang/src/net/http/server.go:1929 +0xb08 created by net/http.(*Server).Serve /usr/lib/golang/src/net/http/server.go:3033 +0x4e8 2021-11-24T11:41:16.336Z INFO controllers.PtpOperatorConfig Reconciling PtpOperatorConfig {"Request.Namespace": "openshift-ptp", "Request.Name": "default"} issue was verified by evgeny levin 6:55:20 • [SLOW TEST:263.225 seconds] 16:55:20 [ptp] 16:55:20 /remote-source/app/vendor/github.com/openshift/ptp-operator/test/conformance/ptp/ptp.go:35 16:55:20 PTP e2e tests 16:55:20 /remote-source/app/vendor/github.com/openshift/ptp-operator/test/conformance/ptp/ptp.go:106 16:55:20 PTP Interfaces discovery 16:55:20 /remote-source/app/vendor/github.com/openshift/ptp-operator/test/conformance/ptp/ptp.go:154 16:55:20 The interfaces support ptp can be discovered correctly 16:55:20 /remote-source/app/vendor/github.com/openshift/ptp-operator/test/conformance/ptp/ptp.go:188 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056 |