Add ESX quality warning
In line with the other drivers we've been marking as untested, this patch marks the ESX driver as "not tested" in the logs to alert admins to the fact. The VCenter driver is being tested with minesweeper, and thus does not emit a similar message on startup. Change-Id: I9217bab01761f68b716cdce3b21c2653abd9afa1
This commit is contained in:
1 changed files with 11 additions and 0 deletions
@@ -101,9 +101,17 @@ class VMwareESXDriver(driver.ComputeDriver):
# valid vCenter calls. There are some small edge-case
# exceptions regarding VNC, CIM, User management & SSO.
def _do_quality_warnings(self):
LOG.warning(_('The VMware ESX driver is not tested by the OpenStack '
'project and thus its quality can not be ensured. For '
'more information, see: https://wiki.openstack.org/wiki/'
'HypervisorSupportMatrix'))
def __init__(self, virtapi, read_only=False, scheme="https"):
super(VMwareESXDriver, self).__init__(virtapi)
self._do_quality_warnings()
self._host_ip = CONF.vmware.host_ip
if not (self._host_ip or CONF.vmware.host_username is None or
CONF.vmware.host_password is None):
@@ -354,6 +362,9 @@ class VMwareVCDriver(VMwareESXDriver):
# hypervisor host machines and their guests. This fact can
# subtly alter how vSphere and OpenStack interoperate.
def _do_quality_warnings(self):
pass
def __init__(self, virtapi, read_only=False, scheme="https"):
super(VMwareVCDriver, self).__init__(virtapi)
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.