-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
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, OCMUI Core Sprint 254, OCMUI Core Sprint 263, OCMUI Core Sprint 264
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
- Launch OCM UI staging.
- Open OSD wizard.
- Choose Infrastructure type as "Red Hat cloud account" from billing model.
- Click "Next" button.
- Click the "AWS" card from cloud provider card and view the tool tip text.
- 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.
- relates to
-
OCMUI-943 [OSD Wizard] Non-CCS: "Single zone" or "Multizone" radio button should be disabled with tooltip show no quota rather than let users goto next step
-
- To Do
-