-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
False
-
None
-
HAC Infra OCM - Sprint 230
Description of problem:
During creation of an OSD GCP CCS cluster, the user hasn't enabled any encryption settings and used the default settings but the cluster creation throws an error as below.
CLUSTERS-MGMT-400: Attribute 'gcp_encryption_key.key_name' is mandatory
Operation ID: 751efb4a-2f6b-44e1-aa1a-7cfe7692bda1
This looks wrong as the user doesn't use any encryption keys especially Use custom KMS keys options. This behavior happens only with GCP and works fine in AWS.
How reproducible:
Always
Steps to Reproduce:
- Launch OCM staging
- Create OSD CCS GCP cluster.
- Provide required values in each section (Do not provide any encryption settings and use default settings)
- Move to the "Review and create" section.
- Click on the "Create cluster" and see the behavior.
Actual results:
OSD CCS GCP cluster creation fails with below error although the user hasn't selected any custom encryption or values during cluster creation.
CLUSTERS-MGMT-400: Attribute 'gcp_encryption_key.key_name' is mandatory
Operation ID: 751efb4a-2f6b-44e1-aa1a-7cfe7692bda1
Expected results:
Users should be able to create the OSD CCS GCP cluster without an issue in this case.
No encryption related error should show to the user as the user opted default settings in the encryption part.
Additional info:
Screen capture has been added.