Bug 1926943
Summary: | vsphere-problem-detector: Alerts in CI jobs | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jan Safranek <jsafrane> | |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> | |
Storage sub component: | Operators | QA Contact: | Qin Ping <piqin> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | high | CC: | adeshpan, agudi, aos-bugs, pmagotra, ssadhale, ssonigra | |
Version: | 4.7 | |||
Target Milestone: | --- | |||
Target Release: | 4.8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2092811 2092814 (view as bug list) | Environment: | ||
Last Closed: | 2021-07-27 22:43:10 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2092811, 2092814 |
Description
Jan Safranek
2021-02-09 17:51:12 UTC
Submitted https://github.com/openshift/vsphere-problem-detector/pull/31 to disable the datastore checks. To fix this issue properly, we need to shorten the volume names even more in Kubernetes, https://github.com/kubernetes/kubernetes/blob/93d288e2a47fa6d497b50d37c8b3a04e91da4228/pkg/volume/vsphere_volume/vsphere_volume_util.go#L100 Now it's cut at 90 characters, but it does not count with characters escaped by systemd. Shortening it to ~63 characters would be better. The following 63 character string is escaped to 90 characters (mind the invisible "\n"). $ systemd-escape "ci-op-cvx98rqr-dynamic-pvc-00000000-0000-0000-0000-000000000000" | wc -c 91 The final solution in this BZ was to shorten the volume name to 63 characters, even before such shortening is in Kubernetes. This fixes CI and, when released to customers, we can gather data from customer clusters if 63 is the right value. The ci job: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_vsphere-problem-detector/28/pull-ci-openshift-vsphere-problem-detector-master-e2e-vsphere/1359532360546127872 has the same length cluster id and the failed test case passed. 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.8.2 bug fix and 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-2021:2438 |