tp-libvirt icon indicating copy to clipboard operation
tp-libvirt copied to clipboard

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

Open balamuruhans opened this issue 6 years ago • 2 comments

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,

  • tp-libvirt to avoid guest xml changes currently being done for NFS migration.
  • avocado-vt to avoid some migration pre-setups that are not required for SAN migration by this changes it is expected to run migration testcases seamlessly on NFS or in SAN based on the configuration params.

balamuruhans avatar Jun 06 '18 09:06 balamuruhans

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.

dzhengfy avatar Jun 07 '18 12:06 dzhengfy

@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

balamuruhans avatar Jun 08 '18 06:06 balamuruhans