diff --git a/ocf/NovaEvacuate b/ocf/NovaEvacuate index 11809db..90a4e58 100644 --- a/ocf/NovaEvacuate +++ b/ocf/NovaEvacuate @@ -84,6 +84,14 @@ Note that with Keystone V3 tenant names are only unique within a domain. + + +DNS domain in which hosts live, useful when the cluster uses short names and nova uses FQDN + +DNS domain + + + Nova API location (internal, public or admin URL) @@ -273,6 +281,10 @@ evacuate_validate() { fence_options="${fence_options} -t ${OCF_RESKEY_tenant_name}" + if [ -n "${OCF_RESKEY_domain}" ]; then + fence_options="${fence_options} -d ${OCF_RESKEY_domain}" + fi + if [ -n "${OCF_RESKEY_no_shared_storage}" ]; then if ocf_is_true "${OCF_RESKEY_no_shared_storage}"; then fence_options="${fence_options} --no-shared-storage"