Skip to content
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

[WIP] Snapshot and clones with hotplug/unplug #11274

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ayush-patni
Copy link
Contributor

A running DVT based VM and a PVC based VM
Steps:

  1. Hotplug disk to the running VM based on PVC.
  2. Verify the disk is attached to VM
  3. Add data to disk
    a. Identify newly attached disk.
    b. Create file or do dd on new disk
  4. Reboot the VM,
  5. After reboot check if disk is still attached.
    6.Make sure newly added data on new vm disk is intact
  6. Create clones of hotplugged disks PVCs
  7. Attach clones of the hotplugged to VMs(attach pvc based VM cloned disk to DVT VM and viceversa)
  8. Write new IOs on cloned disks and make sure vm disk is intact.
  9. Unplug(Dettach) the disks from vm
  10. Verify disk is successfully detached using console or cli
  11. login into VM and confirm disk is no longer listed.

Signed-off-by: AYUSH-D-PATNI <[email protected]>
@ayush-patni ayush-patni requested a review from a team as a code owner January 30, 2025 12:13
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Jan 30, 2025
Copy link

openshift-ci bot commented Jan 30, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ayush-patni

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

AYUSH-D-PATNI added 2 commits January 30, 2025 18:01
upd
Signed-off-by: AYUSH-D-PATNI <[email protected]>
Signed-off-by: AYUSH-D-PATNI <[email protected]>
Copy link

@ocs-ci ocs-ci left a 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: apatni-cnv-clone2
Cluster Configuration:
PR Test Suite: tier1
PR Test Path: tests/functional/workloads/cnv/test_vm_hotpl_snap_clone.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master

Job state: ABORTED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress size/L PR that changes 100-499 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants