Description of problem: When get the hostsubnet info of the cluster, there is no egressCIDRs related values shown in the client output. Version-Release number of selected component (if applicable): v3.11.0-0.9.0 How reproducible: always Steps to Reproduce: 1. Setup ocp cluster with multitenant or networkpolicy plugin 2. Patch any of the node with egressCIDRs # oc patch hostsubnet node1 -p '{"egressCIDRs":["10.1.1.0/24"]}' 3. Check the hostsubnet info via oc client # oc get hostsubnet Actual results: There is no egressCIDRs related info printed to client output. [root@ocp311-master ~]# oc get hostsubnet NAME HOST HOST IP SUBNET EGRESS IPS ocp311-master.bmeng.local ocp311-master.bmeng.local 10.66.140.72 10.128.0.0/25 [] ocp311-node.bmeng.local ocp311-node.bmeng.local 10.66.140.77 10.128.1.0/25 [] Expected results: Should show the egressCIDRs value like the egressIPs Additional info: Should better put the egressCIDRs value in front of the egressIPS, since the value of egressIPs may be changed dynamically.
https://github.com/openshift/origin/pull/20486
Tested on v3.11.0-0.32.0 Issue has been fixed.
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, 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/RHBA-2018:2652