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

Error on "Action Required" modal - AWS CLI tab should display error reason returned from the API

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None

      If the call to "post /api/clusters_mgmt/v1/clusters/<cluster_id>/sts_commands" fails, the details returned with the error shall also be displayed in the error (along with the current message).  The details will commonly contain additional information that can help the user resolve the issue.

      Example error returned:

      {"kind":"Error","id":"400","href":"/api/clusters_mgmt/v1/errors/400","code":"CLUSTERS-MGMT-400","reason":"Failed to find the OCM role arn for the aws account id '<aws id>' : <nil>","operation_id":"f355da5b-b179-4c57-bc6a-cef5b06de063"}

       

      Acceptance Criteria:

      • If `error.reason` display in error alert (either inline or under collapsed 'More details...' section, check with UX.

            Unassigned Unassigned
            kdoberst Kim Doberstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: