diff --git a/nova/conf/vmware.py b/nova/conf/vmware.py index 9cac696005..9170399585 100644 --- a/nova/conf/vmware.py +++ b/nova/conf/vmware.py @@ -190,6 +190,11 @@ is avoided as it creates copy of the virtual machine that shares virtual disks with its parent VM. """), cfg.StrOpt('wsdl_location', + deprecated_for_removal=True, + deprecated_reason='Only vCenter versions earlier than 5.1 ' + 'require this option and the current ' + 'minimum version is 5.1.', + deprecated_since='15.0.0', help=""" This option specifies VIM Service WSDL Location diff --git a/nova/virt/vmwareapi/driver.py b/nova/virt/vmwareapi/driver.py index d3916ef8b1..fe88d7dc69 100644 --- a/nova/virt/vmwareapi/driver.py +++ b/nova/virt/vmwareapi/driver.py @@ -515,7 +515,6 @@ class VMwareAPISession(api.VMwareAPISession): task_poll_interval=CONF.vmware.task_poll_interval, scheme=scheme, create_session=True, - wsdl_loc=CONF.vmware.wsdl_location, cacert=cacert, insecure=insecure) diff --git a/releasenotes/notes/deprecate-vmware-wsdl-location-97af576f53fef771.yaml b/releasenotes/notes/deprecate-vmware-wsdl-location-97af576f53fef771.yaml new file mode 100644 index 0000000000..0ee286439c --- /dev/null +++ b/releasenotes/notes/deprecate-vmware-wsdl-location-97af576f53fef771.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - Deprecate the VMware driver's ``wsdl_location`` config option. This + option pointed to the location of the WSDL files required when using + vCenter versions earlier than 5.1. Since the minimum supported version + of vCenter is 5.1, there is no longer a need for this option and its + value is ignored.