-
Notifications
You must be signed in to change notification settings - Fork 80
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
Adding volume info validations #4379
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AmarnatReddy 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 |
Signed-off-by: Amarnath K <[email protected]>
e133b0f
to
08498d7
Compare
@AmarnatReddy Are we updating any existing polarion testcase? or adding a new one for all volume management scenarios? |
We need a new test to cover volume info command. |
@AmarnatReddy We have an existing TC which covers volume info without data write. If possible can we extend the same TC? |
fs_util.create_fs(client1, volume_name) | ||
log.info("Step 1: Verify Volume Info Details Without Any Data") | ||
out, rc = client1.exec_command( | ||
sudo=True, cmd=f"ceph fs volume info {volume_name} --human_readable -f json" |
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.
Can we make use of the function def get_fs_info_dump() or def collect_fs_volume_info_for_validation() which collects the data required along with get_fs_info_dump()
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.
TC without data write: tests/cephfs/cephfs_vol_management/cephfs_vol_mgmt_test_volume.py
Description
Adding volume info validations
Scenarios for Volume Info Validation with Data Write:
Logs:
With erasure: http://magna002.ceph.redhat.com/cephci-jenkins/cephci-run-G5H6NB/
without erasure : http://magna002.ceph.redhat.com/cephci-jenkins/cephci-run-TWL5CW/
Please include Automation development guidelines. Source of Test case - New Feature/Regression Test/Close loop of customer BZs
click to expand checklist