OpenShift 4 Azure image-registry operator degraded with "resourceGroupName constraint" error during upgrade

Solution Verified - Updated -

Issue

  • During OpenShift 4 Azure cluster upgrade the image-registry operator degraded due to resourceGroupName constraint.
$ oc get clusterversion
NAME     VERSION  AVAILABLE  PROGRESSING  SINCE  STATUS
version           True       True         4h54m  Working towards 4.9.35: 581 of 738 done (78% complete), waiting on image-registry

$ oc get co image-registry -oyaml
...
status:
  conditions:
  - lastTransitionTime: '2022-04-12T13:17:14Z'
    message: 'Progressing: Unable to apply resources: unable to sync storage configuration:
      failed to get keys for the storage account clustertest: storage.AccountsClient#ListKeys:
      Invalid input: autorest/validation: validation failed: parameter=resourceGroupName
      constraint=MinLength value="" details: value length must be greater than or
      equal to 1'
    reason: Error
    status: 'True'
    type: Progressing

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content