Bug 1888861

Summary: need to pass dual-stack service CIDRs to kube-apiserver in dual-stack cluster
Product: OpenShift Container Platform Reporter: Dan Winship <danw>
Component: kube-apiserverAssignee: Dan Winship <danw>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, mfojtik, xxia
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1888862 (view as bug list) Environment:
Last Closed: 2021-02-24 15:26:23 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: 1888862    

Description Dan Winship 2020-10-16 00:53:00 UTC
Description of problem:
We had not yet updated cluster-kube-apiserver-operator to pass both service CIDRs to kube-apiserver when the cluster was dual-stack

Steps to Reproduce:
1. Deploy dual-stack cluster
2. Try to create a service with `ipFamily: IPv6`

Actual results:
error

Expected results:
an IPv6 service

Comment 2 Dan Winship 2020-10-26 16:55:57 UTC
I can verify this:

# oc rsh -n openshift-kube-apiserver kube-apiserver-master-0
sh-4.4# jq . < /etc/kubernetes/static-pod-resources/configmaps/config/config.yaml | grep servicesSubnet
  "servicesSubnet": "172.30.0.0/16,fd02::/112",

Comment 5 errata-xmlrpc 2021-02-24 15:26:23 UTC
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.7.0 security, bug fix, and enhancement 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-2020:5633