This patch changes the internals of some
of the libvirt volume drivers to use the
os-brick Connector objects. Cinder already
uses os-brick for volume discovery and removal
for copy volume to image and image to volume
operations.
This patch changes the following libvirt volume drivers:
LibvirtISCSIVolumeDriver
LibvirtISERVolumeDriver
LibvirtAOEVolumeDriver
LibvirtFibreChannelVolumeDriver
This patch also removes the need to have the
nova/storage module that was used by the above listed
libvirt volume drivers.
This patch also fetches the initiator side information
from os-brick. This replaces the internals of the
libvirt driver's get_volume_connector
Also updated the rootwrap filters to consolidate them under
a single comment, and added a new os-brick needed command.
blueprint use-os-brick-library
Change-Id: I400db60fcc29c2d5e2d3b9dabc055649138468eb
Depends-On: Id36f9665c8ff2a720713ceaaa5b05f9b03706681
The Guru Meditation Reports has graduated from oslo-incubator, Nova
should switch to use oslo.reports to keep the code base clean.
Change-Id: Ifc35c9e5455eb965e4520438284cf7baa0a00d43
Blueprint: graduate-oslo-reports
Modules eventlet_backdoor, loopingcall, periodic_task,
service, sslutils, systemd, threadgroup were removed
from nova. These modules were imported from oslo.service
library.
Co-Authored-By: Marian Horban <mhorban@mirantis.com>
Depends-On: I305cf53bad6213c151395e93d656b53a8a28e1db
Change-Id: Iaef67e16af3d69f845742f7bdcb43667bf1576ee
nova/db/sqlalchemy/migration.py directly imports alembic modules
as pointed out by a recent gate-nova-pip-missing-reqs run. So
we should add an explicit dependency in our requirements.txt
Change-Id: I8fc46ab9c5156207af33a41ee6aea5977b58414c
The gate-nova-pip-missing-reqs job on the experimental queue is failing
and pointing out several missing runtime dependencies from
requirements.txt.
Also, we need to ignore the nova/test.py file during the scan since
pip-missing-reqs doesn't include test-requirements.txt.
requests
--------
nova/scheduler/filters/trusted_filter.py:50 dist=requests
nova/api/ec2/__init__.py:30 dist=requests
prettytable
-----------
nova/openstack/common/cliutils.py:29 dist=prettytable
python-keystoneclient
---------------------
nova/context.py:22 dist=python-keystoneclient
nova/network/neutronv2/api.py:21 dist=python-keystoneclient
nova/compute/manager.py:42 dist=python-keystoneclient
nova/volume/cinder.py:27 dist=python-keystoneclient
nova/context.py:23 dist=python-keystoneclient
nova/network/neutronv2/api.py:23 dist=python-keystoneclient
nova/network/neutronv2/api.py:24 dist=python-keystoneclient
nova/volume/cinder.py:28 dist=python-keystoneclient
nova/keymgr/barbican.py:25 dist=python-keystoneclient
nova/network/neutronv2/api.py:22 dist=python-keystoneclient
netifaces
---------
nova/compute/utils.py:21 dist=netifaces
setuptools
----------
nova/openstack/common/versionutils.py:26 dist=setuptools
nova/virt/xenapi/image/bittorrent.py:18 dist=setuptools
Closes-Bug: #1453857
Change-Id: If880d76cf3e47c14b370d63313330996e09f5ab8
This is a first commit to make a mostly trivial step towards using
oslo.versionedobjects in Nova. It substitutes our dict compat class
for the one in the library, and officially makes the library a
requirement.
Related to blueprint use-oslo-objects
Change-Id: Ie23108123ac774b421a050c3aa5d1c29b27d6eb3
Commit cb3fdc56b5 moved the
oslo.vmware package. This does the same with the suds package.
The suds package is only imported in the vmwareapi virt driver
code (and tests) so it's purely optional if you're using the vmware
driver or not, so move it to test-requirements.txt.
Change-Id: I2d2b832c163bb6707ef20aa908e8df48118aaeb8
The oslo_vmware package is only imported in the vmwareapi virt driver
code (and tests) so it's purely optional if you're using the vmware
driver or not, so move it to test-requirements.txt.
Change-Id: I1fc07badfe3652681872c6e4d78c347158f21a5f
Convert the use of the incubated version of the log module
to the new oslo.log library.
Sync oslo-incubator modules to update their imports as well.
Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Change-Id: Ic4932e3f58191869c30bd07a010a6e9fdcb2a12c
openstack.common.context is currently moved out of the incubator
to a standalone project, hence replace it with oslo_context in nova.
Change-Id: I6cbf5d719f33072a5a871c250760512a439a7daf
Closes-Bug: #1210261
Changes include:
ac17de9 Use oslo_utils instead of deprecated oslo.utils...
1c1bf07 Report: Add basic processes section...
2aacb11 Change oslo.config to oslo_config...
2fbf506 Remove oslo.log code and clean up versionutils API...
2fbf506 Remove oslo.log code and clean up versionutils API...
fbd77a7 Allow overriding name for periodic tasks...
9896e0e Separate add_periodic_task from the metaclass __init__...
809080e Introduce fileutils ensure_dir creation mode parameter...
NOTE: the process support in Reports adds a new dependency on psutil
Change-Id: Iebb8aa4b404e755c03eaf466c7acc8b5ffab5bcd
This patch cleans up the requirement list to remove old modules that are
not used anymore directly by Nova.
Change-Id: Ifb0548aff985669ea0c4df470b8881edc3f2c26c