Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-2834

[OCM-UI] OSD CCS GCP cluster creation fails with a  400 error related mandatory encryption key name even though user hasn't enabled any encryption

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Infrastructure
    • 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:

      1. Launch OCM staging 
      2. Create OSD CCS GCP cluster.
      3. Provide required values in each section (Do not provide any encryption settings and use default settings)
      4. Move to the "Review and create" section.
      5. 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.

            rh-ee-dcooper Dylan Cooper
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: