Bug 2032128 - Observability - dashboard name contains `/` would cause error when generating dashboard cm
Summary: Observability - dashboard name contains `/` would cause error when generating...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Core Services / Observability
Version: rhacm-2.4.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: rhacm-2.4.3
Assignee: Chunlin Yang
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-14 06:11 UTC by cqu
Modified: 2022-04-20 23:48 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 23:47:28 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.4.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 18480 0 None None None 2021-12-14 08:21:46 UTC
Red Hat Product Errata RHSA-2022:1476 0 None None None 2022-04-20 23:48:48 UTC

Description cqu 2021-12-14 06:11:33 UTC
Description of the problem:
Observability - dashboard name contains `/` would cause error when generating dashboard cm

Release version: 2.4.x

Steps to reproduce:
1. Create customized dashboard by scripts here - https://github.com/open-cluster-management/multicluster-observability-operator/tree/main/tools
2. If dashboard name contains `/` when generating dashboard configmap
3. There's error generated
```
(base) cqu-mac:tools cqu$ ./generate-dashboard-configmap-yaml.sh "kubernetes/nodememory"
./generate-dashboard-configmap-yaml.sh: line 107: [: -ne: unary operator expected
./generate-dashboard-configmap-yaml.sh: line 123: ./kubernetes/nodememory.yaml: No such file or directory
Save dashboard <kubernetes/nodememory> to ./kubernetes/nodememory.yaml
```

Comment 1 cqu 2022-04-06 04:53:20 UTC
Verified by 2.4.3 RC1, issue is fixed. Thanks.

Comment 7 errata-xmlrpc 2022-04-20 23:47:28 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 Advanced Cluster Management 2.4.3 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:1476


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