Repository navigation
Commit e2a2682
Feature/cstackex 265: Netapp ONTAP iscsi provisioning using lun serial number instead of logical unit number and enabling VM migration within/across cluster (#114)
### Description
This PR...
Netapp ONTAP iscsi provisioning using lun serial number instead of logical unit number and enabling VM migration within/across cluster .
<!-- For new features, provide link to FS, dev ML discussion etc. -->
<!-- In case of bug fix, the expected and actual behaviours, steps to
reproduce. -->
<!-- When "Fixes: #<id>" is specified, the issue/PR will automatically
be closed when this PR gets merged -->
<!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
<!-- Fixes: # -->
<!---
*******************************************************************************
-->
<!--- NOTE: AUTOMATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE
DOCUMENTATION. -->
<!--- PLEASE PUT AN 'X' in only **ONE** box -->
<!---
*******************************************************************************
-->
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] Build/CI
- [ ] Test (unit or integration test code)
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [ ] Major
- [ ] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
### Screenshots (if appropriate):
### How Has This Been Tested?
All provisioning workflows has been tested.
<img width="1235" height="146" alt="image"
src="https://github.com/user-attachments/assets/4141e46b-e97f-4ba2-8d9a-d3986ce5cea5"
/>
<img width="1231" height="110" alt="image"
src="https://github.com/user-attachments/assets/3a1054ea-8752-46e7-a8fa-ff95c5d1967d"
/>
<img width="1234" height="228" alt="image"
src="https://github.com/user-attachments/assets/d307fa8d-2495-4847-b1ac-45e5508cb7bd"
/>
virsh domblklist i-2-73-VM
Target Source
------------------------------------------------------------------
vda /dev/disk/by-id/wwn-0x600a098078304d2d383f2f6b45734c63
vdb /dev/disk/by-id/wwn-0x600a098078304d2d383f2f6b45734c64
hdc -
hdd -
ls -la /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Oct 14 15:56
scsi-3600a098078304d2d383f2f6b45734c63 -> ../../sdc
lrwxrwxrwx 1 root root 10 Oct 14 15:56
scsi-3600a098078304d2d383f2f6b45734c63-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Oct 14 15:56
scsi-3600a098078304d2d383f2f6b45734c63-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Oct 14 15:56
scsi-3600a098078304d2d383f2f6b45734c64 -> ../../sdd
lrwxrwxrwx 1 root root 9 Oct 14 15:56
wwn-0x600a098078304d2d383f2f6b45734c63 -> ../../sdc
lrwxrwxrwx 1 root root 10 Oct 14 15:56
wwn-0x600a098078304d2d383f2f6b45734c63-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Oct 14 15:56
wwn-0x600a098078304d2d383f2f6b45734c63-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Oct 14 15:56
wwn-0x600a098078304d2d383f2f6b45734c64 -> ../../sdd
<!-- Please describe in detail how you tested your changes. -->
<!-- Include details of your testing environment, and the tests you ran
to -->
#### How did you try to break this feature and the system with this
change?
<!-- see how your change affects other areas of the code, etc. -->
<!-- Please read the
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
document -->
---------
Co-authored-by: Srivastava, Piyush <Piyush.Srivastava@netapp.com>1 parent c037cd9 commit e2a2682
6 files changed
Lines changed: 764 additions & 481 deletions
File tree
- plugins
- hypervisors/kvm/src
- main/java/com/cloud/hypervisor/kvm/storage
- test/java/com/cloud/hypervisor/kvm/storage
- storage/volume/ontap/src
- main/java/org/apache/cloudstack/storage
- driver
- service
- utils
- test/java/org/apache/cloudstack/storage/driver
0 commit comments