Summary: The current Version 3.2.1 and 3.2.0 (provided by Oracle) lacks the ability to unregister VMs, power them down, disconnect Storage Domain and pause the script for Storage Admin activities (Dell EMC Powerstore) to perform "planned failover" from LUN perspective. At this time storage will make the primary LUN read-only and the clean_engine will not work.
COMPONENT NAME: roles/disaster-recovery
STEPS TO REPRODUCE: Use any Storage array that supports FC or ISCSI, put the primary site in read-only mode and then run ansible-playbook --ask-vault-pass dr-cleanup.yml --tags "clean_engine"
---
- name: oVirt Failover
hosts: localhost
connection: local
vars:
dr_target_host: secondary
dr_source_map: primary
vars_files:
- vars/disaster_recovery_vars.yml
- vars/password.yml
roles:
- disaster_recovery
collections:
- ovirt.ovirt
##### EXPECTED RESULTS
The fail_over should unregister VMs, shutdown VM, disconnect storage domain, pause for storage activities with "Planned Failover" (dell emc). Once the storage activities are complete, hit return on paused fail_over playbook to continue to import the storage domain, import VMs and power them on.
##### ACTUAL RESULTS
fail_over playbook straight goes to import the storage domain, import VM and power them on. The "Planned Failover" on storage will automatically put the LUN/ISCSI or NFS on Read-Only mode making it impossible to run clean_engine task.
