-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
Description of problem:
When you are installing to a target cluster which has an existing RHTAP installation you will receive an error even if you target a different namespace. Though it should be expected that different RHDH instances are separated by namespaces, including RHTAP, it should be still possible to install the RHDH with AI Software Template support alongside a RHTAP installation.
Workaround
Prerequisites (if any, like setup, operators/versions):
Found using the following:
- OpenShift 4.16
- RHTAP 1.4 installed
- RHDH 1.4 installed with ai-rhdh-installer using default setup
Steps to Reproduce
- Install RHTAP with rhtap-cli
- Install RHDH with ai-rhdh-installer
- Should give the error on helm install
Actual results:
Give an error that ClusterRoleBinding "rhdh-kubernetes-plugin" already exists and has the wrong annotations.
Expected results:
Should install without errors.
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Investigation into possible fix should be found and implemented, it could be possible to use a different cluster role that does not conflict with RHTAP.
Definition of Done:
Should install RHDH with ai-rhdh-installer alongside RHTAP versions.
Build Details:
Additional info (Such as Logs, Screenshots, etc):
Release "ai-rhdh" does not exist. Installing it now. Error: Unable to continue with install: ClusterRoleBinding "rhdh-kubernetes-plugin" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "ai-rhdh": current value is "rhtap-infrastructure"; annotation validation error: key "meta.helm.sh/release-namespace" must equal "ai-rhdh": current value is "rhtap"