Bug 2193266
Summary: | Openshift Virtualization does not validate cluster network is single-stack IPv6 and fails with cryptic error | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Sean Haselden <shaselde> |
Component: | Installation | Assignee: | Dharmit Shah <dshah> |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.12.2 | CC: | kmajcher, phoracek, stirabos, vivek.bheeman |
Target Milestone: | --- | ||
Target Release: | 4.14.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | hco-bundle-registry-container-v4.14.0.rhel9-1744 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-08 14:05:31 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
Sean Haselden
2023-05-04 23:26:45 UTC
it worked in 4.10 as there was no explicit check on single vs dual stack. Since this fix "https://github.com/kubevirt/ssp-operator/commit/b9ad74a8c52f22993e62de937c6e0deae38fbc4a" , there has been a hardcoded configuration for IPv4 which is causing the failure Spec: v1.ServiceSpec{ InternalTrafficPolicy: &policyCluster, IPFamilies: []v1.IPFamily{v1.IPv4Protocol}, IPFamilyPolicy: &familyPolicy, Ports: []v1.ServicePort{ { Name: metrics.MetricsPortName, Port: 443, Protocol: v1.ProtocolTCP, TargetPort: intstr.FromString(metrics.MetricsPortName), }, }, Selector: map[string]string{ metrics.PrometheusLabelKey: metrics.PrometheusLabelValue, "name": OperatorName, }, SessionAffinity: v1.ServiceAffinityNone, Type: v1.ServiceTypeClusterIP, }, Petr, do you know if CNV should support single stack IPV6? If not, we need to generate new alert, if yes it will be completely different discussion. Hey. We do not support single-stack IPv6. The feature is tracked in https://issues.redhat.com/browse/CNV-14598 and not pinned to any release. The decision is to improve on error raised, so it's not as cryptic as of now. Tested with: OCP-4.14.0-0.nightly-2023-09-20-033502 CNV-v4.14.0.rhel9-2040 Installing CNV operator on the single stack IPv6 OCP cluster, throws the critical alert - "SingleStackIPv6Unsupported KubeVirt Hyperconverged is not supported on a single stack IPv6 cluster" With this observation moving this bug to VERIFIED 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 (Important: OpenShift Virtualization 4.14.0 Images security and bug fix 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-2023:6817 |