]> xenbits.xensource.com Git - osstest/openstack-nova.git/commitdiff
conf: Deprecate 'remap_vbd_dev' option
authorStephen Finucane <sfinucan@redhat.com>
Mon, 7 Nov 2016 12:07:58 +0000 (12:07 +0000)
committerStephen Finucane <sfinucan@redhat.com>
Mon, 28 Nov 2016 15:56:59 +0000 (15:56 +0000)
This is required for a decrepit version of Ubuntu. Just remove it.

Change-Id: Ica2c08fc00abb70d6ff7955bfe2b9a66e725f437
Implements: bp centralize-config-options-ocata

nova/conf/xenserver.py
releasenotes/notes/deprecate-remap_vbd_dev-opt-c1690c5b447f0053.yaml [new file with mode: 0644]

index 8722cc37d0447d2753104d4cf44ea78ae3cb90e3..a3cda8bfd827878b2962f98ca123a9df17e92fd1 100644 (file)
@@ -438,6 +438,13 @@ volume provider then the value from this option is taken.
     # when we pull support for it, we should remove this
     cfg.BoolOpt('remap_vbd_dev',
         default=False,
+        deprecated_for_removal=True,
+        deprecated_since='15.0.0',
+        deprecated_reason="""
+This option provided a workaround for issues in Ubuntu Maverick, which
+was released in April 2010 and was dropped from support in April 2012.
+There's no reason to continue supporting this option.
+""",
         help="""
 Used to enable the remapping of VBD dev.
 (Works around an issue in Ubuntu Maverick)
diff --git a/releasenotes/notes/deprecate-remap_vbd_dev-opt-c1690c5b447f0053.yaml b/releasenotes/notes/deprecate-remap_vbd_dev-opt-c1690c5b447f0053.yaml
new file mode 100644 (file)
index 0000000..9ce1bc5
--- /dev/null
@@ -0,0 +1,5 @@
+---
+deprecations:
+  - |
+    The ``remap_vbd_dev`` option is deprecated and will be removed in a future
+    release.