Bug 2032677

Summary: Cluster-ingress-router does not support Azure Stack
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: NetworkingAssignee: Miciah Dashiel Butler Masters <mmasters>
Networking sub component: router QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: mmasters
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: To configure DNS on Azure using IPI, the ingress operator requires an ARM endpoint. This endpoint is well known for public Azure and Government Azure, but it must be provided through configuration for Azure Stack Hub. Consequence: The ingress operator failed to configure a wildcard DNS record for ingress on Azure Stack Hub IPI, which prevented ingress from working. Fix: The ingress operator was changed to check the cluster infrastructure config object for the ARM endpoint provided by the installer. Result: The ingress operator now uses the configured ARM endpoint to configure DNS on Azure Stack Hub IPI so ingress works properly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 13:20:29 UTC Type: ---
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: 2032566    
Bug Blocks:    

Comment 5 Hongan Li 2022-05-12 03:25:50 UTC
verified with 4.9.0-0.nightly-2022-05-11-100812 and passed.

$ oc get co/ingress
NAME      VERSION                             AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
ingress   4.9.0-0.nightly-2022-05-11-100812   True        False         False      58m     

$ oc get infrastructures.config.openshift.io cluster -oyaml

status:
  apiServerInternalURI: https://api-int.hongli-ash.installer.redhat.wwtatc.com:6443
  apiServerURL: https://api.hongli-ash.installer.redhat.wwtatc.com:6443
  controlPlaneTopology: HighlyAvailable
  etcdDiscoveryDomain: ""
  infrastructureName: hongli-ash-tkfgg
  infrastructureTopology: HighlyAvailable
  platform: Azure
  platformStatus:
    azure:
      armEndpoint: https://management.mtcazs.wwtatc.com
      cloudName: AzureStackCloud
      networkResourceGroupName: hongli-ash-tkfgg-rg
      resourceGroupName: hongli-ash-tkfgg-rg
    type: Azure

Comment 7 errata-xmlrpc 2022-05-18 13:20:29 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 (OpenShift Container Platform 4.9.33 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/RHBA-2022:2206