Bug 2117447 - [ACM 2.6] ManagedClusterImageRegistry CR is wrong in pure MCE env
Summary: [ACM 2.6] ManagedClusterImageRegistry CR is wrong in pure MCE env
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: multicluster engine for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: mce-2.1
Assignee: Le Yang
QA Contact: Hui Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-11 02:54 UTC by Song Lai
Modified: 2022-09-06 14:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-06 14:39:02 UTC
Target Upstream Version:
Embargoed:
cbynum: multicluster-engine-2.1+
cbynum: multicluster-engine-2.1.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 25027 0 None None None 2022-08-11 03:15:58 UTC

Description Song Lai 2022-08-11 02:54:33 UTC
Description of the problem:
https://github.com/stolostron/backplane-operator/commit/1c972e3a4fbb2692a0b3629ed3b59891220e90f9

```
% cat <<EOF | oc create -f -
apiVersion: imageregistry.open-cluster-management.io/v1alpha1
kind: ManagedClusterImageRegistry
metadata:
  name: song-image-registry
  namespace: default
spec:
  placementRef:
    group: cluster.open-cluster-management.io
    name: song-placement
    resource: placements
  pullSecret:
    name: song-pull-secret
  registries:
    - mirror: quay.io:443/acm-d
      source: registry.redhat.io/rhacm2
    - mirror: quay.io:443/acm-d
      source: registry.redhat.io/multicluster-engine
EOF
The ManagedClusterImageRegistry "song-image-registry" is invalid: spec.registry: Required value
```

Release version:
2.6

Operator snapshot version:
2.0.1-DOWNANDBACK-2022-06-20-19-01-04

OCP version:
4.10.24


Browser Info:
Firefox


Steps to reproduce:
1.

Actual results:
can not support multiple registries

Expected results:
can support multiple registries

Additional info:

Comment 1 Song Lai 2022-08-11 06:50:12 UTC
doc issue, downgrade the severity.

Comment 5 errata-xmlrpc 2022-09-06 14:39:02 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: Multicluster Engine for Kubernetes 2.1 security updates and bug fixes), 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-2022:6345


Note You need to log in before you can comment on or make changes to this bug.