From 21da1babce0a3f6a2e8e2b802e9cc0e8f491526b Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 3 Mar 2016 15:03:00 -0500 Subject: [PATCH] Deprecate the ``vendordata_driver`` config option. This allowed creating a differ class loader for defining vendordata metadata for the metadata server. The default driver loads from a json file that can be arbitrarily specified, so is still quite flexible. Change-Id: I0f9866320cd655134281193c50ec170ea20c011a --- nova/api/metadata/base.py | 3 ++- .../deprecate_vendordata_driver-eefc745365a881c3.yaml | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/deprecate_vendordata_driver-eefc745365a881c3.yaml diff --git a/nova/api/metadata/base.py b/nova/api/metadata/base.py index 5d216b2075..95555ce615 100644 --- a/nova/api/metadata/base.py +++ b/nova/api/metadata/base.py @@ -50,7 +50,8 @@ metadata_opts = [ 'config drive'), cfg.StrOpt('vendordata_driver', default='nova.api.metadata.vendordata_json.JsonFileVendorData', - help='Driver to use for vendor data'), + help='DEPRECATED: Driver to use for vendor data', + deprecated_for_removal=True), ] CONF = cfg.CONF diff --git a/releasenotes/notes/deprecate_vendordata_driver-eefc745365a881c3.yaml b/releasenotes/notes/deprecate_vendordata_driver-eefc745365a881c3.yaml new file mode 100644 index 0000000000..80f97e2681 --- /dev/null +++ b/releasenotes/notes/deprecate_vendordata_driver-eefc745365a881c3.yaml @@ -0,0 +1,10 @@ +--- +deprecations: + + - Deprecate the ``vendordata_driver`` config option. This allowed + creating a different class loader for defining vendordata + metadata. The default driver loads from a json file that can be + arbitrarily specified, so is still quite flexible. Deployments that + felt the need to use this facility are encoraged to propose + additions upstream so we can create a stable and supported + interface here.