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

[OCM UI][OSD Wizard V2] User allowed to proceed to next steps from "Billing model" step although no quota/ existing quota consumed for OSD with Infrastructure type as "Red Hat cloud account"

XMLWordPrintable

    • True
    • Hide

      Needs advice from UXD on field state (see comment below).

      Show
      Needs advice from UXD on field state (see comment below).
    • False
    • OCM UI Core Sprint 248, OCM Core Sprint 249, OCM Core Sprint 250, OCM Core Sprint 251, OCM Core Sprint 252, OCM Core Sprint 253

      Description of problem:

      For a user that doesn't have any quota or enough quota to create an OSD cluster with Infrastructure type as "Red Hat cloud account" , will allow the OSD wizard to proceed to next wizard steps from billing model. In Cluster settings > Cloud provider step shown an indication that there is no enough quota but it doesn't restrict there and user allowed to proceed to next step till machine pool step. This is not right behavior from usability perspective.

      See the recordings QuotaUsabilityIssues.mp4

      How reproducible:

       Always

      Steps to reproduce:

      Pre-conditions:
      1. Create inline quotas for ** OSD cluster for the test user

      Name       QuotaID                          Allowed        Consumed         
      MW00530    compute.node|cpu|byoc|osd          16      0
      MCT3326    cluster|general-purpose|single|rhinfra|osd|any    1     1

      Quota cost response as below

      $ ocm get /api/accounts_mgmt/v1/organizations/1eU7aV6UsNntnnCN4u0PX452kh8/quota_cost
      
      {
        "items": [
          {
            "allowed": 1,
            "consumed": 0,
            "href": "/api/accounts_mgmt/v1/organizations/1eU7aV6UsNntnnCN4u0PX452kh8/quota_cost",
            "kind": "QuotaCost",
            "organization_id": "1eU7aV6UsNntnnCN4u0PX452kh8",
            "quota_id": "cluster|byoc|osd",
            "version": "76158a0e-a623-4d87-8937-978d8cf04d05"
          },
          {
            "allowed": 16,
            "consumed": 0,
            "href": "/api/accounts_mgmt/v1/organizations/1eU7aV6UsNntnnCN4u0PX452kh8/quota_cost",
            "kind": "QuotaCost",
            "organization_id": "1eU7aV6UsNntnnCN4u0PX452kh8",
            "quota_id": "compute.node|cpu|byoc|osd",
            "version": "76158a0e-a623-4d87-8937-978d8cf04d05"
          },
          {
            "allowed": 1,
            "consumed": 1,
            "href": "/api/accounts_mgmt/v1/organizations/1eU7aV6UsNntnnCN4u0PX452kh8/quota_cost",
            "kind": "QuotaCost",
            "organization_id": "1eU7aV6UsNntnnCN4u0PX452kh8",
            "quota_id": "cluster|general-purpose|single|rhinfra|osd|any",
            "version": "76158a0e-a623-4d87-8937-978d8cf04d05"
          }
        ],
        "kind": "QuotaCostList",
        "page": 1,
        "size": 3,
        "total": 3
      }
       

      i.e.  quota on standard OSD cluster(with Red Hat cloud account) is already consumed.
      quota to create CCS OSD cluster is available.

      Steps

      1. Launch OCM UI staging.
      2. Open OSD wizard.
      3. Choose Infrastructure type as "Red Hat cloud account" from billing model.
      4. Click "Next" button.
      5. Click the "AWS" card from cloud provider card and view the tool tip text.
      6. Click "Next" button.

      Actual results:

      At step 3&4, User allowed to move to next step although quota for standard OSD cluster with  Infrastructure type as "Red Hat cloud account" has consumed. The reason could be , The radio button (i.e. "Red Hat cloud account") is selected by default and disabled. But no validation checks added from UI when user clicks to "Next" button.
      At Step 5, The tool tip text has shown properly that there is no quota available for this but allowed to proceed to "Next" step wrongly.

      Expected results:
      User should restrict from going to next step when there is no quota available for standard OSD cluster with Infrastructure type as "Red Hat cloud account".

      To accomplish the above behavior , Suggested UI changes are,

      • The radio button i.e. "Red Hat cloud account" under infrastructure type should be disabled and unchecked by default.
      • While user try to click the radio button, it should show the tool tip on quota unavailability.

       

            emalka@redhat.com Eliran Malka
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: