Deprecate VMWare Datastore

The vmwareapi virt driver in nova was marked as experimental some
cycles ago due to lack of CI and maintainers[1]. This deprecates
the VMWare Datastore so that we can remove it when nova removes
the virt driver. The store driver is used along with the vmwareapi virt
driver and we don't expect any usage of this store driver with
the other virt drivers such as libvirt driver.

[1] 713ef7839670bd5d73af52c211a14932adc933ba

Change-Id: I57fc8cbd6308c4a82a638a2d1e997605736aedc4
This commit is contained in:
Takashi Kajinami 2023-09-05 12:23:07 +09:00
parent 054bd5ddf5
commit ea61721442
2 changed files with 9 additions and 0 deletions

View File

@ -360,6 +360,9 @@ class Store(glance_store.Store):
def __init__(self, conf, backend=None):
super(Store, self).__init__(conf, backend=backend)
self.datastores = {}
LOG.warning("The VMWare Datastore has been deprecated because "
"the vmwareapi driver in nova was marked experimental and "
"may be removed in a future release.")
def reset_session(self):
self.session = api.VMwareAPISession(

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The VMWare Datastore has been deprecated. The vmwareapi virt driver in nova
was marked as experimental due to lack of CI and maintainers and it may be
removed in a future release.