Bug 2062022 - cluster.open-cluster-management.io/backup-cluster of velero schedules should populate the corresponding hub clusterID
Summary: cluster.open-cluster-management.io/backup-cluster of velero schedules should ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: DR4Hub
Version: rhacm-2.5
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: rhacm-2.5
Assignee: Sahar Ebrahimi
QA Contact: Thuy Nguyen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-08 22:42 UTC by Thuy Nguyen
Modified: 2022-06-09 02:09 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-09 02:09:24 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.5+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 20541 0 None None None 2022-03-09 01:58:14 UTC
Red Hat Product Errata RHSA-2022:4956 0 None None None 2022-06-09 02:09:33 UTC

Description Thuy Nguyen 2022-03-08 22:42:32 UTC
Description of problem: cluster.open-cluster-management.io/backup-cluster of velero schedules should populate the corresponding hub clusterID


Version-Release number of selected component (if applicable):
- ACM 2.5.0-DOWNSTREAM-2022-03-03-03-15-27 (Final S3)
- MCE 2.0.0-DOWNANDBACK-2022-03-04-19-35-38


How reproducible:


Steps to Reproduce:
1. ACM/MCH/MCE is running
2. RH OADP installed ok with valid DPA/backupstorage created
3. Create backupschedule

Actual results:
cluster.open-cluster-management.io/backup-cluster of velero schedules populate the metadata.uid of clusterversion object

Expected results:
cluster.open-cluster-management.io/backup-cluster of velero schedules should populate the spec.clusterID of clusterversion object

Additional info:

oc get bsch -n openshift-adp
NAME           PHASE     MESSAGE
schedule-acm   Enabled   Velero schedules are enabled


oc get schedules.velero -n openshift-adp
NAME                               AGE
acm-credentials-cluster-schedule   6m41s
acm-credentials-hive-schedule      6m41s
acm-credentials-schedule           6m41s
acm-managed-clusters-schedule      6m41s
acm-resources-generic-schedule     6m41s
acm-resources-schedule             6m41s


oc get schedules.velero -n openshift-adp acm-managed-clusters-schedule -oyaml | grep labels: -A5
  labels:
    cluster.open-cluster-management.io/backup-cluster: a49530db-dc0b-41a4-b12b-5a2dac4835cc
    cluster.open-cluster-management.io/backup-schedule-name: schedule-acm
    cluster.open-cluster-management.io/backup-schedule-type: managedClusters
  name: acm-managed-clusters-schedule
  namespace: openshift-adp


oc get clusterversion version -oyaml
apiVersion: config.openshift.io/v1
kind: ClusterVersion
metadata:
  creationTimestamp: "2022-01-10T15:54:03Z"
  generation: 3
  name: version
  resourceVersion: "172287955"
  uid: a49530db-dc0b-41a4-b12b-5a2dac4835cc
spec:
  channel: stable-4.9
  clusterID: a8c8e296-d991-4649-9fda-d2730ba2348f
  desiredUpdate:
    image: quay.io/openshift-release-dev/ocp-release@sha256:b9ede044950f73730f00415a6fe8eb1b5afac34def872292fd0f9392c9b483f1
    version: 4.9.18
status:
...

Comment 1 bot-tracker-sync 2022-03-15 15:39:12 UTC
G2Bsync 1068018894 comment 
 thuyn-581 Tue, 15 Mar 2022 13:57:19 UTC 
 G2Bsync -
Validated on ACM 2.5.0-DOWNSTREAM-2022-03-14-13-03-46.

Comment 4 errata-xmlrpc 2022-06-09 02:09:24 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 (Important: Red Hat Advanced Cluster Management 2.5 security updates, images, 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:4956


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