Unable to authenticate image-registry storage backend using application credentials in RHOCP 4

Solution Verified - Updated -

Issue

  • Unable to use Swift backend for image-registry when using application credentials.
  • Unable to use Cinder backend when using application credentials
  • The cluster-image-registry-operator is stuck in DEGRADED state when using application credentials in RHOCP on RHOSP.
  • How to configure image-registry to authenticate Swift using application credentials?
  • The image-registry pods fail with:

    Failed to provision volume with StorageClass "standard": unable to initialize cinder client for region: regionOne, err: cloud provider is not initialized: cannot initialize cloud provider using data from the secret: You must provide a password to authenticate
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.7, 4.8
  • Red Hat OpenStack Platform (RHOSP) 16

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