Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-4200

[GCP OSD wizard]Service Account JSON validation always shows incorrect "requires osd-ccs-admin" error for client_email format issues

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      Environment: Stage and Prod

      Url: https://console.dev.redhat.com/openshift/create/osd

      Browser: All

      OS: All

      Priority: Major

      Reproduction steps:

      1. Navigate to https://console.dev.redhat.com/openshift/create/osd 
      2. Select subscription type either Annual or ondemand.
      3. Select Infrastructure type as Customer cloud subscription (CCS)
      4. Go to next step
      5. Select  Google Cloud Platform as the cloud provider
      6. Select authentication as service account.
      7. Locate the "Service account JSON" file upload field
      8. Upload (or paste) a valid JSON structure where client_email has the correct service account name (osd-ccs-admin) but an incorrect domain format, for example:"client_email": "osd-ccs-admin@wrong-domain.com",
      9. Observe the validation error message displayed

       

      Current Result:

      The error message shows: "The provided JSON does not meet the requirements: The field 'client_email' requires a service account name of 'osd-ccs-admin'."

      This is misleading because the service account name IS osd-ccs-admin.

      The actual problem is the domain format — @wrong-domain.com does not match the required pattern @<project>.iam.gserviceaccount.com.

      The user is told to fix the service account name, but the name is already correct, causing confusion.

      Expected Result:

      The error message should show:

      "The provided JSON does not meet the requirements: The field 'client_email' is not in the required format."

      This correctly tells the user that while the service account name is fine, the email domain format does not match the required pattern (osd-ccs-admin@<project>.iam.gserviceaccount.com).

              Unassigned Unassigned
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: