Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1762343

Summary: Description is empty when oc explain networks.spec.externalIP
Product: OpenShift Container Platform Reporter: Weibin Liang <weliang>
Component: NetworkingAssignee: Aniket Bhat <anbhat>
Networking sub component: openshift-sdn QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: cdc
Version: 4.3.0Flags: weliang: needinfo-
Target Milestone: ---   
Target Release: 4.3.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: 2020-01-23 11:07:48 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 Weibin Liang 2019-10-16 14:56:46 UTC
Description of problem:
Comparing v4.2, description is empty when oc explain networks.spec.externalIP in v4.3

Version-Release number of selected component (if applicable):
4.3.0-0.ci-2019-10-14-104454

How reproducible:
Always

Steps to Reproduce:
#### v4.3
[root@dhcp-41-193 FILE]# oc get clusterversion
NAME      VERSION                        AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.0-0.ci-2019-10-14-104454   True        False         53m     Cluster version is 4.3.0-0.ci-2019-10-14-104454
[root@dhcp-41-193 FILE]# oc explain networks.spec.externalIP
KIND:     Network
VERSION:  config.openshift.io/v1

DESCRIPTION:
     <empty>
[root@dhcp-41-193 FILE]# 


##### v4.2
[root@dhcp-41-193 AWS]# oc explain networks.spec.externalIP
KIND:     Network
VERSION:  config.openshift.io/v1

RESOURCE: externalIP <Object>

DESCRIPTION:
     externalIP defines configuration for controllers that affect
     Service.ExternalIP

FIELDS:
   autoAssignCIDRs	<[]string>
     autoAssignCIDRs is a list of CIDRs from which to automatically assign
     Service.ExternalIP. These are assigned when the service is of type
     LoadBalancer. In general, this is only useful for bare-metal clusters. In
     Openshift 3.x, this was misleadingly called "IngressIPs". Automatically
     assigned External IPs are not affected by any ExternalIPPolicy rules.
     Currently, only one entry may be provided.

   policy	<Object>
     policy is a set of restrictions applied to the ExternalIP field. If nil,
     any value is allowed for an ExternalIP. If the empty/zero policy is
     supplied, then ExternalIP is not allowed to be set.

[root@dhcp-41-193 AWS]# 
[root@dhcp-41-193 AWS]# oc get clusterversions
NAME      VERSION                        AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.2.0-0.ci-2019-08-07-101246   True        False         18m     Cluster version is 4.2.0-0.ci-2019-08-07-101246
[root@dhcp-41-193 AWS]#
Actual results:


Expected results:
Should show detail inform as v4.2 does

Additional info:

Comment 1 Aniket Bhat 2019-11-26 16:55:04 UTC
@Weibin, can you check the output of `oc explain` again on a latest 4.3 build? This should be fixed now.

Comment 2 Weibin Liang 2019-11-26 18:08:10 UTC
[root@dhcp-41-193 ~]# oc explain networks.spec.externalIP
KIND:     Network
VERSION:  config.openshift.io/v1

RESOURCE: externalIP <Object>

DESCRIPTION:
     externalIP defines configuration for controllers that affect
     Service.ExternalIP. If nil, then ExternalIP is not allowed to be set.

FIELDS:
   autoAssignCIDRs	<[]string>
     autoAssignCIDRs is a list of CIDRs from which to automatically assign
     Service.ExternalIP. These are assigned when the service is of type
     LoadBalancer. In general, this is only useful for bare-metal clusters. In
     Openshift 3.x, this was misleadingly called "IngressIPs". Automatically
     assigned External IPs are not affected by any ExternalIPPolicy rules.
     Currently, only one entry may be provided.

   policy	<Object>
     policy is a set of restrictions applied to the ExternalIP field. If nil or
     empty, then ExternalIP is not allowed to be set.

[root@dhcp-41-193 ~]# oc get clusterversions
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.0-0.nightly-2019-11-25-022933   True        False         3h46m   Cluster version is 4.3.0-0.nightly-2019-11-25-022933
[root@dhcp-41-193 ~]#

Comment 4 errata-xmlrpc 2020-01-23 11:07:48 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, 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-2020:0062