autotest / tp-libvirt

Test Provider for Libvirt and related virtualization backends
Other
33 stars 170 forks source link

[Migration] Enable SAN based guest to adopt migration test cases to leverage #1635

Open balamuruhans opened 6 years ago

balamuruhans commented 6 years ago

Currently all the migration scenarios are using NFS shared storage to configure and perform migration, but ideally guest would be based on disk from LUN storage shared across mutiple host. Working on it to bring up the guest with LUN through Avocado-VT and sent a recent PR - https://github.com/avocado-framework/avocado-vt/pull/1593.

Planned to make use of the existing testcases to make use of this guest to perform migration and we need few more code changes in,

dzhengfy commented 6 years ago

This is a good point. But as it is new case, I suggest the new python module be used, and both migrate_vm.py and virsh_migrate.py should be excluded at least, because they already have too many lines.

balamuruhans commented 6 years ago

@dzhengfy I am trying to make most of the changes from framework, so that both migrate_vm.py and virsh_migrate.py would work as is based on the param storage_type = "nfs" for NFS migration and storage_type = "lun" for SAN migration