Bug 2063697

Summary: Observability - MCOCR reports object-storage secret without AWS access_key in STS enabled env
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: cqu
Component: Core Services / ObservabilityAssignee: Chunlin Yang <chuyang>
Status: CLOSED ERRATA QA Contact: Xiang Yin <xiyin>
Severity: high Docs Contact:
Priority: high    
Version: rhacm-2.5CC: cqu, jwakely, smeduri
Target Milestone: ---Flags: bot-tracker-sync: rhacm-2.5+
Target Release: rhacm-2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-09 02:09:30 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:

Description cqu 2022-03-14 07:35:33 UTC
Description of the problem: In STS enabled env, followed the instruction - https://raw.githubusercontent.com/rh-mobb/documentation/25e373904a83846de7da4ad7a99dc2b487229163/docs/acm/observability/rosa/README.md
to create thanos-object storage - without AWS access key, but MCO CR reports error about it.
```
  - lastTransitionTime: "2022-03-14T03:32:21Z"
    message: no s3 access_key in config file
    reason: ObjectStorageConfInvalid
    status: "False"
    type: Failed
```

Release version: 2.5

Operator snapshot version:

OCP version: ROSA 4.9 - STS enabled

Browser Info:

Steps to reproduce:
1. Setup one STS enabled ROSA cluster, and deploy ACM 2.5
2. followed above instruction to create S3 bucket, policy and role
3. followed above instruction to create one thanos object secret without access key
4. deploy MCO CR, the status still in running due to `no s3 access_key in config file`
5. But the metrics data are forward to the bucket.

Actual results:

Expected results:

Additional info:

Comment 1 cqu 2022-04-25 07:22:07 UTC
Verified by 2.5.0-DOWNSTREAM-2022-04-20-06-50-05, issue is fixed.

Comment 4 errata-xmlrpc 2022-06-09 02:09:30 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

Comment 5 jems 2022-12-28 05:46:20 UTC Comment hidden (spam)
Comment 6 Thelma Carlisle 2022-12-28 06:16:40 UTC Comment hidden (spam)
Comment 7 jems 2023-01-02 06:13:16 UTC Comment hidden (spam)
Comment 8 nazi.farhadi3171 2023-01-10 06:36:38 UTC Comment hidden (spam)
Comment 9 jems6385 2023-02-01 09:16:26 UTC Comment hidden (spam)
Comment 10 david554 2023-02-21 09:52:24 UTC Comment hidden (spam)
Comment 11 Gilbert 2023-05-02 09:41:19 UTC Comment hidden (spam)
Comment 12 SteinS 2023-05-10 09:07:31 UTC Comment hidden (spam)
Comment 13 Chocobar 2023-05-25 11:17:11 UTC Comment hidden (spam)
Comment 14 Leonard346 2023-05-25 12:03:41 UTC Comment hidden (spam)
Comment 15 Freya Douglas 2023-09-20 07:27:14 UTC Comment hidden (spam)
Comment 16 Lillian826Pena 2025-05-09 08:22:57 UTC Comment hidden (spam)
Comment 17 Joyce922Gaut 2026-02-05 08:30:45 UTC Comment hidden (spam)