Commit Graph

558 Commits

Author SHA1 Message Date
Walter A. Boring IV e6cdd1693b Switch to using os-brick
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
2015-07-27 10:47:22 -07:00
OpenStack Proposal Bot da49ab10a4 Updated from global requirements
Change-Id: I58f4265b602db7ad50b1a91f60870deafd35ff09
2015-07-27 13:58:26 +00:00
OpenStack Proposal Bot 028c1a5ac6 Updated from global requirements
Change-Id: I275f551e8a04d96e38be78f1bfeb1bd1bbea95a5
2015-07-24 18:40:34 +00:00
Jenkins f5abf217ef Merge "Updated from global requirements" 2015-07-23 22:06:05 +00:00
OpenStack Proposal Bot 258073e5b3 Updated from global requirements
Change-Id: I3c565df2d133003b69d9be08cefb8c0888c380ea
2015-07-23 12:52:36 +00:00
Sergey Vilgelm f41ff56a93 Switch to oslo.reports
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
2015-07-23 00:36:01 +03:00
Jenkins 6a24bbeecd Merge "Switch to oslo.service library" 2015-07-22 04:50:24 +00:00
OpenStack Proposal Bot d7dece1942 Updated from global requirements
Change-Id: Ic319ea3d4c4065f63db176b53382f9b98a4e17a9
2015-07-18 16:07:43 +00:00
Davanum Srinivas 79b280479c Switch to oslo.service library
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
2015-07-11 02:54:42 +00:00
OpenStack Proposal Bot d01f500976 Updated from global requirements
Change-Id: Ia1b407613867f114bd16422a2abd92fbd26ed594
2015-07-02 18:56:07 +00:00
Robert Collins e6333ef1ee Remove python3 specific test-requirements file.
With environment markers this is not needed, and it should fix
requirement syncing.

Change-Id: I9e32764417852ea65b28efe3c05d39865ebc5744
2015-07-02 08:14:24 +12:00
Jenkins dad774e121 Merge "Updated from global requirements" 2015-06-22 18:39:31 +00:00
OpenStack Proposal Bot 716d35bcac Updated from global requirements
Change-Id: Ia0470265fabcbfeac762252aeec2c399540da07b
2015-06-22 08:26:31 +00:00
Davanum Srinivas e0bac4f7e4 Add explicit alembic dependency
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
2015-06-20 18:26:08 -04:00
OpenStack Proposal Bot 590c04ff0f Updated from global requirements
Change-Id: I5be40baa59642cfa6973db2e6c07baa238e69683
2015-06-16 19:21:49 +00:00
OpenStack Proposal Bot e81225bfd6 Updated from global requirements
Change-Id: I470a220d88cfb20565d3e025d8a1a8aac028ca40
2015-06-15 09:43:18 +00:00
OpenStack Proposal Bot 9fb2c4fb4e Updated from global requirements
Change-Id: If4d77050d82320713867eff27dbbc69f83e2d8b9
2015-06-11 12:39:34 +00:00
OpenStack Proposal Bot 92a0be50de Updated from global requirements
Change-Id: Ifa1a484a13d84eb077a19403d3f7d3e28329cd33
2015-06-09 20:03:57 +00:00
OpenStack Proposal Bot 598b2d1790 Updated from global requirements
Change-Id: I2d9f59f0814c4f91a662817670221fcb96e7a49c
2015-06-04 16:23:28 +00:00
OpenStack Proposal Bot 8aa5a35894 Updated from global requirements
Change-Id: Iefe37fc618643ca0b57b6b364fcba0fd3d4a167b
2015-06-03 21:00:22 +00:00
OpenStack Proposal Bot 247d378e2b Updated from global requirements
Change-Id: I56fac4ea9790e0ac0faf809b095bb0c545b44dfe
2015-06-02 13:26:55 +00:00
Matt Riedemann 9a69ad82c0 Fix pip-missing-reqs
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
2015-05-14 11:37:28 -07:00
OpenStack Proposal Bot d1ac9eb140 Updated from global requirements
Change-Id: I47f556b98a153cc8f265a240125d0b617739fe71
2015-05-12 14:34:35 +00:00
Jenkins 3eafa2c05a Merge "Start the conversion to oslo.versionedobjects" 2015-05-09 00:38:08 +00:00
OpenStack Proposal Bot 30e9b50745 Updated from global requirements
Change-Id: I5d0da1fb1ddca7ef317fb44eb2ced3b8cd8112fc
2015-05-07 23:36:08 +00:00
OpenStack Proposal Bot cad4d14faa Updated from global requirements
Change-Id: I846550cf62f8f6e766e757abda68db8c8fe39548
2015-05-07 02:20:47 +00:00
Dan Smith 48a017ea17 Start the conversion to oslo.versionedobjects
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
2015-05-06 07:23:58 -07:00
OpenStack Proposal Bot bf8c75b192 Updated from global requirements
Change-Id: I7b9c51c4613085d59a69c91f38b8cbd12bb62296
2015-04-30 14:35:04 -07:00
Gary Kotton 10ca8bcb6b Move suds into test-requirements.txt
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
2015-03-24 00:39:56 -07:00
OpenStack Proposal Bot c40e6ca10c Updated from global requirements
Change-Id: I4ba973041c073acd24f624b16dfdbe66ff70f589
2015-03-21 00:14:54 +00:00
Matt Riedemann cb3fdc56b5 Move oslo.vmware into test-requirements.txt
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
2015-03-10 08:31:11 -07:00
OpenStack Proposal Bot a0cbb37b28 Updated from global requirements
Change-Id: Ib3ce53a85ef7e5f362339dba8d1606c303f9fddd
2015-03-09 22:47:15 +00:00
OpenStack Proposal Bot 375a6542ac Updated from global requirements
Change-Id: I23207021fbde8389b7f8476657df895ec5b266ec
2015-03-06 17:36:15 +00:00
OpenStack Proposal Bot 2c39aacc6b Updated from global requirements
Change-Id: I81075aaf031badb600a62da0dbf248326451179c
2015-03-05 04:55:27 +00:00
OpenStack Proposal Bot 85402e0366 Updated from global requirements
Change-Id: I5b289229610b6880f55580616a567f36683ebe8f
2015-03-03 17:45:03 +00:00
OpenStack Proposal Bot 6ef6f471c1 Updated from global requirements
Change-Id: If10c7f72b256f616670765a9e8d2e4e01e372c4e
2015-02-24 16:19:31 +00:00
OpenStack Proposal Bot 69a3b9abe5 Updated from global requirements
Change-Id: I8f310a3750175b1c9ed2ebb12ba22ff79d6d81d4
2015-02-23 20:07:16 +00:00
Davanum Srinivas 97d63d8745 Use oslo.log
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
2015-02-22 07:56:40 -05:00
Jenkins dea094a7f1 Merge "Replace oslo-incubator with oslo_context" 2015-02-20 18:37:41 +00:00
Julien Danjou aad683f59a Remove now useless requirements wsgiref
wsgiref is part of python since python 2.5, there is
no reason for this to be listed separately.

Change-Id: I902c2fff39ac7afe8fa11af8ceb6a2186c5f2d28
2015-02-16 15:15:10 +00:00
Tomofumi Hayashi 24fd271994 Replace oslo-incubator with oslo_context
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
2015-02-14 04:42:15 +09:00
Jenkins 2495849456 Merge "Sync with oslo-incubator" 2015-02-13 15:23:02 +00:00
OpenStack Proposal Bot 027579779f Updated from global requirements
Change-Id: Id2c3e7877fd7a9765d3dc0ed5892e35658895468
2015-02-06 19:04:14 +00:00
Davanum Srinivas 52eb449d73 Sync with oslo-incubator
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
2015-02-05 18:13:10 -05:00
OpenStack Proposal Bot a1accac14c Updated from global requirements
Change-Id: I85a734975edc0fad15dcce05c73cbbdcb092f6b9
2015-02-03 23:20:49 +00:00
Julien Danjou d57a7b2890 Remove useless argparse requirement
This patch cleans up the requirement list to remove argparse that is
part of Python >= 2.7

Change-Id: I9c4aa566fea40cf92bdc33f24da84ff783316c0f
2015-02-03 11:53:01 +01:00
OpenStack Proposal Bot 8d5a2db012 Updated from global requirements
Change-Id: I84878949ece4ed07706444abfa2238287dc0e72e
2015-01-28 16:37:36 +00:00
OpenStack Proposal Bot 74e0660e6e Updated from global requirements
Change-Id: Icd3fd1c82b4f4b7a570d4b65bef17e891403f31e
2015-01-23 21:57:52 +00:00
Julien Danjou 68fe413433 Remove useless requirements
This patch cleans up the requirement list to remove old modules that are
not used anymore directly by Nova.

Change-Id: Ifb0548aff985669ea0c4df470b8881edc3f2c26c
2015-01-19 14:41:20 +01:00
OpenStack Proposal Bot f078f20dac Updated from global requirements
Change-Id: If0a79ef31ea93d2d237538b3a2d6d3db957e1937
2015-01-14 00:10:35 +00:00