diff -uNr a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py --- a/fence/agents/lib/fencing.py.py 2017-07-25 13:09:37.611338735 +0200 +++ b/fence/agents/lib/fencing.py.py 2017-07-25 14:45:55.177947410 +0200 @@ -615,8 +615,10 @@ if avail_opt.count("no_status") == 0: print "\t" - print "\t" - print "\t" + + if avail_opt.count("separator"): + print "\t" + print "\t" print "\t" print "\t" print "\t" @@ -820,6 +822,10 @@ if 1 == device_opt.count("no_status"): acceptable_actions.remove("status") + if not device_opt.count("separator"): + acceptable_actions.remove("list") + acceptable_actions.remove("list-status") + if 1 == device_opt.count("diag"): acceptable_actions.extend(["diag"]) diff -uNr a/tests/data/metadata/fence_alom.xml b/tests/data/metadata/fence_alom.xml --- a/tests/data/metadata/fence_alom.xml 2017-07-25 13:09:37.611338735 +0200 +++ b/tests/data/metadata/fence_alom.xml 2017-07-25 14:49:00.542377375 +0200 @@ -169,8 +169,6 @@ - - diff -uNr a/tests/data/metadata/fence_amt.xml b/tests/data/metadata/fence_amt.xml --- a/tests/data/metadata/fence_amt.xml 2017-07-25 13:09:37.611338735 +0200 +++ b/tests/data/metadata/fence_amt.xml 2017-07-25 14:49:01.818359686 +0200 @@ -162,8 +162,6 @@ - - diff -uNr a/tests/data/metadata/fence_compute.xml b/tests/data/metadata/fence_compute.xml --- a/tests/data/metadata/fence_compute.xml 2017-07-25 13:09:37.620338610 +0200 +++ b/tests/data/metadata/fence_compute.xml 2017-07-25 14:49:02.821345781 +0200 @@ -3,10 +3,15 @@ Used to tell Nova that compute nodes are down and to reschedule flagged instances - - - - Region Name + + + + Keystone Admin Tenant + + + + + Keystone Admin Auth URL @@ -18,26 +23,21 @@ Script to retrieve password - - - - Keystone Admin Auth URL + + + + Region Name Login password or passphrase - + Nova Endpoint type - - - - Keystone Admin Tenant - @@ -53,31 +53,11 @@ Physical plug number, name of virtual machine or UUID - - - - Region Name - - - - - Keystone Admin Tenant - Login Name - - - - Nova Endpoint type - - - - - Keystone Admin Auth URL - @@ -98,36 +78,21 @@ DNS domain in which hosts live - + Allow instances to be evacuated - + Disable functionality for dealing with shared storage - - - - Only record the target as needing evacuation - - - - - Allow instances to be evacuated - - + Only record the target as needing evacuation - - - - Disable functionality for dealing with shared storage - @@ -168,16 +133,16 @@ Wait X seconds for cmd prompt after login - - - - Test X seconds for status change after ON/OFF - Wait X seconds before fencing is started + + + + Test X seconds for status change after ON/OFF + diff -uNr a/tests/data/metadata/fence_drac.xml b/tests/data/metadata/fence_drac.xml --- a/tests/data/metadata/fence_drac.xml 2017-07-25 13:09:37.612338721 +0200 +++ b/tests/data/metadata/fence_drac.xml 2017-07-25 14:49:01.670361738 +0200 @@ -149,8 +149,6 @@ - - diff -uNr a/tests/data/metadata/fence_dummy.xml b/tests/data/metadata/fence_dummy.xml --- a/tests/data/metadata/fence_dummy.xml 2017-07-25 13:09:37.612338721 +0200 +++ b/tests/data/metadata/fence_dummy.xml 2017-07-25 14:49:00.886372607 +0200 @@ -84,8 +84,6 @@ - - diff -uNr a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml --- a/tests/data/metadata/fence_idrac.xml 2017-07-25 13:09:37.613338707 +0200 +++ b/tests/data/metadata/fence_idrac.xml 2017-07-25 14:49:01.364365980 +0200 @@ -204,8 +204,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml --- a/tests/data/metadata/fence_ilo2.xml 2017-07-25 13:09:37.613338707 +0200 +++ b/tests/data/metadata/fence_ilo2.xml 2017-07-25 14:49:01.520363817 +0200 @@ -175,8 +175,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo3_ssh.xml b/tests/data/metadata/fence_ilo3_ssh.xml --- a/tests/data/metadata/fence_ilo3_ssh.xml 2017-07-25 13:09:37.614338694 +0200 +++ b/tests/data/metadata/fence_ilo3_ssh.xml 2017-07-25 14:49:00.997371068 +0200 @@ -179,8 +179,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml --- a/tests/data/metadata/fence_ilo3.xml 2017-07-25 13:09:37.613338707 +0200 +++ b/tests/data/metadata/fence_ilo3.xml 2017-07-25 14:49:01.260367421 +0200 @@ -204,8 +204,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo4_ssh.xml b/tests/data/metadata/fence_ilo4_ssh.xml --- a/tests/data/metadata/fence_ilo4_ssh.xml 2017-07-25 13:09:37.614338694 +0200 +++ b/tests/data/metadata/fence_ilo4_ssh.xml 2017-07-25 14:49:01.028370638 +0200 @@ -179,8 +179,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml --- a/tests/data/metadata/fence_ilo4.xml 2017-07-25 13:09:37.614338694 +0200 +++ b/tests/data/metadata/fence_ilo4.xml 2017-07-25 14:49:01.295366936 +0200 @@ -204,8 +204,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo_mp.xml b/tests/data/metadata/fence_ilo_mp.xml --- a/tests/data/metadata/fence_ilo_mp.xml 2017-07-25 13:09:37.614338694 +0200 +++ b/tests/data/metadata/fence_ilo_mp.xml 2017-07-25 14:49:02.048356497 +0200 @@ -169,8 +169,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo_ssh.xml b/tests/data/metadata/fence_ilo_ssh.xml --- a/tests/data/metadata/fence_ilo_ssh.xml 2017-07-25 13:09:37.614338694 +0200 +++ b/tests/data/metadata/fence_ilo_ssh.xml 2017-07-25 14:49:00.964371525 +0200 @@ -179,8 +179,6 @@ - - diff -uNr a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml --- a/tests/data/metadata/fence_ilo.xml 2017-07-25 13:09:37.613338707 +0200 +++ b/tests/data/metadata/fence_ilo.xml 2017-07-25 14:49:01.482364344 +0200 @@ -175,8 +175,6 @@ - - diff -uNr a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml --- a/tests/data/metadata/fence_imm.xml 2017-07-25 13:09:37.614338694 +0200 +++ b/tests/data/metadata/fence_imm.xml 2017-07-25 14:49:01.329366465 +0200 @@ -204,8 +204,6 @@ - - diff -uNr a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml --- a/tests/data/metadata/fence_ipmilan.xml 2017-07-25 13:09:37.615338680 +0200 +++ b/tests/data/metadata/fence_ipmilan.xml 2017-07-25 14:49:01.226367893 +0200 @@ -204,8 +204,6 @@ - - diff -uNr a/tests/data/metadata/fence_mpath.xml b/tests/data/metadata/fence_mpath.xml --- a/tests/data/metadata/fence_mpath.xml 2017-07-25 13:09:37.615338680 +0200 +++ b/tests/data/metadata/fence_mpath.xml 2017-07-25 14:49:02.420351340 +0200 @@ -97,8 +97,6 @@ - - diff -uNr a/tests/data/metadata/fence_rsa.xml b/tests/data/metadata/fence_rsa.xml --- a/tests/data/metadata/fence_rsa.xml 2017-07-25 13:09:37.615338680 +0200 +++ b/tests/data/metadata/fence_rsa.xml 2017-07-25 14:49:02.121355485 +0200 @@ -169,8 +169,6 @@ - - diff -uNr a/tests/data/metadata/fence_rsb.xml b/tests/data/metadata/fence_rsb.xml --- a/tests/data/metadata/fence_rsb.xml 2017-07-25 13:09:37.615338680 +0200 +++ b/tests/data/metadata/fence_rsb.xml 2017-07-25 14:49:02.494350314 +0200 @@ -169,8 +169,6 @@ - - diff -uNr a/tests/data/metadata/fence_scsi.xml b/tests/data/metadata/fence_scsi.xml --- a/tests/data/metadata/fence_scsi.xml 2017-07-25 13:09:37.616338666 +0200 +++ b/tests/data/metadata/fence_scsi.xml 2017-07-25 14:49:01.104369584 +0200 @@ -4,11 +4,6 @@ The fence_scsi agent works by having each node in the cluster register a unique key with the SCSI device(s). Once registered, a single node will become the reservation holder by creating a "write exclusive, registrants only" reservation on the device(s). The result is that only registered nodes may write to the device(s). When a node failure occurs, the fence_scsi agent will remove the key belonging to the failed node from the device(s). The failed node will no longer be able to write to the device(s). A manual reboot is required. - - - - Use the APTPL flag for registrations. This option is only used for the 'on' action. - @@ -24,6 +19,11 @@ Key to use for the current operation. This key should be unique to a node. For the "on" action, the key specifies the key use to register the local node. For the "off" action, this key specifies the key to be removed from the device(s). + + + + Use the APTPL flag for registrations. This option is only used for the 'on' action. + @@ -96,11 +96,7 @@ Path to sg_turs binary - - - Path to corosync-cmapctl binary - - + Path to corosync-cmapctl binary @@ -114,8 +110,6 @@ - -