-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Feature Automation] RHSTOR-4624 ODF used capacity trend #10520
base: master
Are you sure you want to change the base?
[New Feature Automation] RHSTOR-4624 ODF used capacity trend #10520
Conversation
…y trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automationodf capacity trend automation Signed-off-by: nagendra202 <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: nagendra202 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…ilover" Signed-off-by: nagendra202 <[email protected]>
Signed-off-by: nagendra202 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: nagreddy-s17-bzv
Cluster Configuration:
PR Test Suite: tier2
PR Test Path: tests/functional/ui/test_odf_storage_consumption_trend.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master
ocs_ci/ocs/cluster.py
Outdated
Convert the storage values from bytes to gibibytes | ||
|
||
Returns: | ||
[total_used_in_gibibytes, total_capacity_in_gibibytes]: (list) ex: Used capacity and Available capacity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is preferred to return a tuple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
This will fetch information from DataFoundation>>Storage>>Block and File page>>Consumption trend card | ||
|
||
Returns: | ||
[get_est_days_from_element, get_avg_from_element]: (list) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is preferred to return a tuple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
ocs_ci/ocs/ui/validation_ui.py
Outdated
Further it looks for the Consumption trend card | ||
|
||
Returns: | ||
list_of_days_and_avg: (list) ex: [Estimated days, Average] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is preferred to return a tuple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Signed-off-by: nagendra202 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed review comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unknown PR validation on existing cluster
Cluster Name: nagreddy-s19
Cluster Configuration:
PR Test Suite: tier2
PR Test Path: tests/
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master
Job state: ABORTED.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unknown PR validation on existing cluster
Cluster Name: nagreddy-s19
Cluster Configuration:
PR Test Suite: tier2
PR Test Path: tests/functional/ui/test_odf_storage_consumption_trend.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master
Job state: ABORTED.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: nagreddy-s17-bzv
Cluster Configuration:
PR Test Suite: tier2
PR Test Path: tests/functional/ui/test_odf_storage_consumption_trend.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master
Job UNSTABLE (some or all tests failed).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: nagreddy-s20
Cluster Configuration:
PR Test Suite: tier2
PR Test Path: tests/functional/ui/test_odf_storage_consumption_trend.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master
Automated below two test cases.
steps:
1. Login to the ODF dashboard and check the widget for “Consumption trend” is displayed or not.
3. Verify the text information on the widget
steps:
1. Get the value of storage utilised, total storage, age of the cluster
and calculate Average of storage consumption and 'Estimated days until full'.
2. Compare the above calculated value with the ‘Estimated days until full’ in the widget (UI)