Bug 1987255

Summary: Azure stack hub does not support zones, azure-cloud-provider crashes horribly on startup
Product: OpenShift Container Platform Reporter: dmoiseev
Component: Cloud ComputeAssignee: dmoiseev
Cloud Compute sub component: Cloud Controller Manager QA Contact: sunzhaohua <zhsun>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.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: 2021-10-18 17:43:21 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 dmoiseev 2021-07-29 10:47:18 UTC
Azure StackHub does not support availability zones.
Upstream issue: https://github.com/kubernetes-sigs/cloud-provider-azure/issues/715

Comment 2 sunzhaohua 2021-08-04 02:02:25 UTC
Once we have an Azure stack hub cluster, we will verify this.

Comment 3 sunzhaohua 2021-08-31 06:40:17 UTC
verified
clusterversion: 4.9.0-0.nightly-2021-08-30-192239

azure-cloud-provider works well

$ oc get po -n openshift-cloud-controller-manager
NAME                                              READY   STATUS    RESTARTS        AGE
azure-cloud-controller-manager-5887d46b6d-8gk6g   1/1     Running   4 (3h56m ago)   4h56m
azure-cloud-node-manager-6z99q                    1/1     Running   3               4h37m
azure-cloud-node-manager-8t42g                    1/1     Running   3               4h37m
azure-cloud-node-manager-cgbm9                    1/1     Running   0               4h56m
azure-cloud-node-manager-jgncx                    1/1     Running   3               4h37m
azure-cloud-node-manager-kf8mb                    1/1     Running   0               4h56m
azure-cloud-node-manager-wlbnk                    1/1     Running   0               4h56m

$ oc logs -f azure-cloud-controller-manager-5887d46b6d-8gk6g -n openshift-cloud-controller-manager
I0831 02:35:32.654697       1 azure_diskclient.go:67] Azure DisksClient using API version: 2019-03-01
I0831 02:35:32.658199       1 round_trippers.go:454] GET https://api-int.qe.ppe.upi.azurestack.devcluster.openshift.com:6443/api/v1/namespaces/kube-system/serviceaccounts/azure-cloud-provider 200 OK in 3 milliseconds
I0831 02:35:32.659391       1 azure.go:917] Setting up informers for Azure cloud provider
W0831 02:35:32.659437       1 controllermanager.go:312] "cloud-node" is disabled
I0831 02:35:32.659447       1 controllermanager.go:316] Starting "cloud-node-lifecycle"
I0831 02:35:32.662098       1 round_trippers.go:454] GET https://api-int.qe.ppe.upi.azurestack.devcluster.openshift.com:6443/api/v1/namespaces/kube-system/serviceaccounts/node-controller 200 OK in 2 milliseconds
I0831 02:35:32.663110       1 node_lifecycle_controller.go:76] Sending events to api server
I0831 02:35:32.663163       1 controllermanager.go:326] Started "cloud-node-lifecycle"
I0831 02:35:32.663176       1 controllermanager.go:316] Starting "service"

Comment 6 errata-xmlrpc 2021-10-18 17:43:21 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.9.0 bug fix and security 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-2021:3759