Deprecate support for Xen
Since Nova removed its XenAPI driver[1] and Xen support using libvirt, we no longer expect usage of Xen in OpenStack deployments. [1] adb28f503ca8c38bd7224ec0a335f730557d7ca9 [1] 3a390c2c8238409c00acc08fad725d46fa02c0ad Change-Id: Id79799541dfc8ec17d3ea1482c6b8ca4b58f7a92
This commit is contained in:
parent
55c7f31274
commit
fd0a561bea
@ -28,7 +28,7 @@ OPTS = [
|
|||||||
default='libvirt',
|
default='libvirt',
|
||||||
help='Inspector to use for inspecting the hypervisor layer. '
|
help='Inspector to use for inspecting the hypervisor layer. '
|
||||||
'Known inspectors are libvirt, hyperv, vsphere '
|
'Known inspectors are libvirt, hyperv, vsphere '
|
||||||
'and xenapi.'),
|
'and xenapi. Note that xenapi has been deprecated.'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -270,6 +270,9 @@ class Inspector(object):
|
|||||||
|
|
||||||
|
|
||||||
def get_hypervisor_inspector(conf):
|
def get_hypervisor_inspector(conf):
|
||||||
|
if conf.hypervisor_inspector == 'xenapi':
|
||||||
|
LOG.warning('Support for XenServer/Xen Cloud Platform has been '
|
||||||
|
'deprecated and will be removed in a future release')
|
||||||
try:
|
try:
|
||||||
namespace = 'ceilometer.compute.virt'
|
namespace = 'ceilometer.compute.virt'
|
||||||
mgr = driver.DriverManager(namespace,
|
mgr = driver.DriverManager(namespace,
|
||||||
|
@ -30,12 +30,21 @@ opt_group = cfg.OptGroup(name='xenapi',
|
|||||||
|
|
||||||
OPTS = [
|
OPTS = [
|
||||||
cfg.StrOpt('connection_url',
|
cfg.StrOpt('connection_url',
|
||||||
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason='Support for XenServer/Xen Cloud Platform '
|
||||||
|
'has been deprecated',
|
||||||
help='URL for connection to XenServer/Xen Cloud Platform.'),
|
help='URL for connection to XenServer/Xen Cloud Platform.'),
|
||||||
cfg.StrOpt('connection_username',
|
cfg.StrOpt('connection_username',
|
||||||
default='root',
|
default='root',
|
||||||
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason='Support for XenServer/Xen Cloud Platform '
|
||||||
|
'has been deprecated',
|
||||||
help='Username for connection to XenServer/Xen Cloud '
|
help='Username for connection to XenServer/Xen Cloud '
|
||||||
'Platform.'),
|
'Platform.'),
|
||||||
cfg.StrOpt('connection_password',
|
cfg.StrOpt('connection_password',
|
||||||
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason='Support for XenServer/Xen Cloud Platform '
|
||||||
|
'has been deprecated',
|
||||||
help='Password for connection to XenServer/Xen Cloud Platform.',
|
help='Password for connection to XenServer/Xen Cloud Platform.',
|
||||||
secret=True),
|
secret=True),
|
||||||
]
|
]
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Support for XenServer/Xen Cloud Platform has been deprecated and will be
|
||||||
|
removed in a future release.
|
Loading…
Reference in New Issue
Block a user