Description of problem: ------------------------ update the generated gdeploy config file to halt the installation, when blacklisting all the disks fails. Version-Release number of selected component (if applicable): ------------------------------------------------------------- cockpit-ovirt-dashboard-0.10.7-0.0.23 How reproducible: ----------------- Always Steps to Reproduce: -------------------- 1. Start multipathd on the host 2. Run the cockpit installation for RHHI deployment Actual results: --------------- RHHI installation continues with mpath names in place Expected results: ----------------- RHHI installation should fail at the place, when blacklisting all the disks fails Additional info: ----------------- The gdeploy template file ('/usr/share/cockpit/ovirt-dashboard/gdeploy-templates/ovirt-gluster-hc.conf') needs the following modification: <actual> # Blacklist devices in multipath.conf [script3] action=execute file=/usr/share/ansible/gdeploy/scripts/disable-multipath.sh </actual> <expected> # Blacklist devices in multipath.conf [script3] action=execute file=/usr/share/ansible/gdeploy/scripts/disable-multipath.sh ignore_script_errors=no </expected>
RHHI installation is intentially failed when gdeploy script 'blacklist_all_disks.sh' fails
Tested with cockpit-ovirt-dashboard-0.10.8-2.0.ovirt41.el7ev.noarch With the failure of the script that blacklists all the local devices, gdeploy halts the execution. The generated gdeploy conf file that calls the script to blacklist local devices is updated as below: [script3] action=execute file=/usr/share/ansible/gdeploy/scripts/disable-multipath.sh ignore_script_errors=no