Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2338350

Summary: [RFE][10k osd] Allow registry credentials to define multiple container registries
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Paul Cuzner <pcuzner>
Component: CephadmAssignee: Shweta Bhosale <shbhosal>
Status: CLOSED ERRATA QA Contact: Sayalee <saraut>
Severity: low Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.0CC: cephqe-warriors, jansingh, rpollack, saraut, shbhosal
Target Milestone: ---Keywords: FutureFeature
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-20.1.0-16 Doc Type: Enhancement
Doc Text:
.Multiple container registries can now be defined in registry credentials Previously, only a single container registry credential could be configured. However, users may have different registries for different service containers. With this enhancement, registry credentials can now define multiple container registries. To store multiple registry credentials, use the following command: ---- cephadm -v registry-login --registry-json registry.json cat registry.json { "registry_credentials": [ { "url": "registry1", "username": "user1", "password": "xxx" }, { "url": "registry2", "username": "user2", "password": "xxx" } ] } ----
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 06:53:27 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:
Bug Depends On:    
Bug Blocks: 2388233    

Description Paul Cuzner 2025-01-15 21:44:50 UTC
Description of problem:
The registry.json file currently supports credentials for a single registry. This can be a problem if images are needed from staging or 3rd party registries. This RFE requests that registry.json is extended to support multiple registries, and podman auth updated to use the relevant credentials for a given registry. 

Version-Release number of selected component (if applicable):
Ceph 19.x

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

From this
{
  "url": "cp.icr.io/cp",
  "username": "wee",
  "password": "wah"
}


to this
{
  "cp.icr.io": {
    "username": "foo",
    "password": "bar"
  },
  "stg.stg.icr.io": {
    "username": "wee",
    "password": "wah"
  }
}

Comment 10 errata-xmlrpc 2026-01-29 06:53:27 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: Red Hat Ceph Storage 9.0 Security and Enhancement 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-2026:1536