Commit Graph

302 Commits

Author SHA1 Message Date
pengyuesheng
ee23696ca0 Blacklist eventlet 0.25.0
more details https://review.opendev.org/#/c/678078/

Change-Id: I5f9fcc7375ef4830e66620045f06a350267e6179
2019-09-05 16:18:24 +08:00
Zuul
c236e64a54 Merge "Raise eventlet lower-constraint to 0.22.0" 2019-05-03 00:35:46 +00:00
Sean McGinnis
f4b7a5154b
Uncap jsonschema
Global-requirements removed the cap for jsonschema as we prepare to
raise upper-constraints to allow the newer versions. This now causes
requirement-check job failures since the jsonschema line in
requirements.txt does not match the line in global-requirements.

Change-Id: I070d2327400708f389f13d5d4cd06b3dc5903f8e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-15 15:23:26 -05:00
Sean McGinnis
cb4b406b24
Raise eventlet lower-constraint to 0.22.0
Eventlet has a known issue when running under Python 3.6 [1]. This was
noticed in another OpenStack repo. As far as I know, we have not hit
this in Cinder. But since many drivers use requests and most are not
running third party CI under 3.6 yet, this is an attempt to avoid
running into an issue with the versions of eventlet that have this
issue.

[1] https://github.com/eventlet/eventlet/issues/371

Change-Id: Ia6139c052091eaee6b49a55f57385e650508a891
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-03-25 09:21:16 -05:00
whoami-rajat
645ffab6bf Gate Fix: Bumping versions in lower-constraints.txt
Due to migration of gate jobs to bionic, several packages were
incompatible with the distro.
This patch bumps the version of incompatible packages to the
lowest compatible version.

Change-Id: I9f0fec25444ed865d56d0d250fb6d840ab5b4095
2019-03-15 16:12:24 +05:30
Zuul
4be0fa356b Merge "Update required version of taskflow" 2019-03-06 18:46:07 +00:00
Eric Harney
042b22a078 Update required version of taskflow
2.16.0 is from a Queens release -- push things
forward a bit to reduce the odds that we'll
end up with issues related to dependency updates
(such as networkx 2.0) or Python 3.

Change-Id: I2b96530b32d7a32acb653d2b432e1421c12554bf
2019-03-05 11:02:01 -05:00
Brian Rosmaita
ad3b13dc88 Update minimal acceptable glanceclient
Increase the minimum version for python-glanceclient so that
Cinder can take advantage of secure hash download verification.

Change-Id: I2c3ccce45f67c6d2dc185475c478360982a98012
Closes-bug: #1818684
2019-03-05 10:22:07 -05:00
Ben Nemec
a9a6abe073 Update oslo.privsep minimum requirement
I should have done this as part of
I59702c8b84bbcf21d32150ede0a3758d1a456bd6 since older releases don't
have the necessary entrypoint exposed.

Change-Id: Ice7b6dbf46e545c669e9d581fa0dc785e9d18828
2019-03-01 16:38:01 +00:00
Brian Rosmaita
8c13219392 Correct default policy_file in the sample config
When the sample config is generated, the policy_file default value
specified by oslo.policy is showing up, not the default value that
Cinder is using.  Correct this by enhancing the function specified
for cinder in the oslo.config.opts.defaults entry point.

This patch exposed Bug #1807184 in oslo.policy.  The requirements
and lower-constraints changes on this patch bump the minimum
version of oslo.policy we use to include the fix (1.44.1).  This
version was already included in upper-constraints by Change
I50bb9d48106376f5baaafae372492c0744182da2.

Change-Id: Ic28d660a9d876139f47f98cf1024a30b005cd0e0
Closes-bug: #1807071
2019-01-15 13:54:17 -05:00
Zuul
5b707736b1 Merge "Block broken requests 2.20.0" 2018-12-18 22:43:54 +00:00
Zuul
bf1a956bcc Merge "Drop simplejson usage" 2018-12-11 22:12:52 +00:00
Zuul
2fc236cad5 Merge "Remove Babel from requirements" 2018-12-11 01:40:11 +00:00
Tony Breeds
37091909c8 Block broken requests 2.20.0
Change-Id: I2889804a19499e1238b9b8cec9ebaea2c037d7d7
Related-Bug: 1800985
Depends-On: https://review.openstack.org/617296
2018-11-12 15:26:09 +00:00
Yikun Jiang
3c2a22f75c Make lower constraints CI works well
The actual target of openstack-tox-lower-constraints is using the lower
version package to run unit test.

But in current Cinder CI,there was a hard code to specify the
upper-constraints.txt, that means we install the package in
upper-constraints.txt, but the lower-constraints.txt doesn't work well.

This patch try to fix this error, move the hard code to 'deps'.

We also refresh the lower-constraints.txt and requirements.txt to make
CI works well:
1. Add libxml2-dev, libxslt-devel, libxslt1-dev to bindep.txt to make
lxml can be built successfully, like what we do in other project. [0]
2. Upgrade oslo.messaging to 6.4.0 to avoid "ACCESS_REFUSED
- Login was refused using authentication mechanism AMQPLAIN." error.
3. Upgrade oslo.utils to 3.34.0 to add a new method escape_ipv6 [1] to
oslo_utils.netutils, which is needed by [2].
4. Upgrade keystoneauth1 to 3.7.0 to fix "no such option split_loggers
in group [service_user]" [3]

[0] https://github.com/openstack/nova/blob/bb3ded3/bindep.txt#L17-L19
[1] https://review.openstack.org/#/c/495166/
[2] https://github.com/openstack/cinder/blob/fe421fe/cinder/volume/drivers/netapp/utils.py#L172
[3] https://review.openstack.org/#/c/578008/

Change-Id: Ide84d49c283c0ad179a5cfdb0392d34ee73d97ea
Closes-bug: #1801239
2018-11-06 20:29:53 +08:00
Sean McGinnis
3773f8905b Drop simplejson usage
simplejson was mainly needed before the json standard library supported
everything we need. This was when we supported Python versions earlier
than 2.7.

The standard library for all Python versions we now support is good
enough and we should clean up unnecessary third party libs.

Change-Id: I866445ffba9633db1de5ba615dcc19450f5d02e7
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-11-02 11:39:29 -05:00
Sean McGinnis
028af5cd6e Remove Babel from requirements
Change-Id: Ieccb6b987ef23272c8e943e7af3549cefab47263
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-11-02 11:26:03 -05:00
Zuul
e332871c8e Merge "Move sphinx-feature-classification to docs reqs" 2018-10-30 14:50:58 +00:00
Sean McGinnis
1729c889c2 Base framework for cinder-status upgrade check
This adds the cinder-status CLI for performing upgrade checks as part of
the Stein cycle upgrade-checkers goal. It only includes a placeholder
for actual checks. Follow up patches will need to be added for anything
we identify as needing specific checking.

Story: 2003657
Task: 26123
Change-Id: I2e532d313d12e60848b17e869882e52ec456929b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-17 11:51:04 -04:00
Sean McGinnis
28374983dd
Move sphinx-feature-classification to docs reqs
This was added in the main requirements.txt, but it is not a
requirement for running the service. This moves it to the
docs/requirements.txt file so it is only installed for doc builds.

Change-Id: I37026b9be913ccf157fce711f2d85fc05342e891
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-08-30 13:37:04 -05:00
Jay S. Bryant
6e049b6881 Add sphinx-feature-classification based support matrix
Cinder has always used a wiki page as the source of our
support matrix.  Unfortunately the wiki gives us no way
to ensure that the information is accurate and makes it
harder to track changes.  Moving to using the
sphinx-feature-classification library solves some of these
problems.

  *  It provides a programatic way to document driver support.
  *  It allows us to ensure that documentation is updated with
     changes.
  *  It will provide a snapshot of the state of driver support
     for a release at the time of release.

This matrix will serve as the truth for Cinder's driver support.
The existing wiki will be kept for historical purposes but I will
make a pointer to this new documentation and indicate that no
changes should be made to the wiki in the future.

Change-Id: I7c1b7fb539a48ec3b79e86c44ffe2d3005aeba25
2018-08-07 09:35:32 -05:00
Sean McGinnis
f1e942fe8d Get rid of conditional rtslib_fb imports
Newer versions of this library have been out for awhile now
and appear to be working well. This raises the minimum version
for rtslib_fb to a recent version that does not require the
conditional import due to the namespace change from rtslib to
rtslib_fb.

Depends-on: https://review.openstack.org/575530
Change-Id: I10f48833c2a61b7b2c6b300d4f8291a357f7e600
2018-06-20 16:18:21 -05:00
Eric Harney
5ba82a1d69 Fix tox -e docs failure
Fails with D005 No newline at end of file

Change-Id: Ie87492a40971736057223d1ecbb782c0c1c689d3
2018-06-14 10:18:02 -04:00
TommyLike
e8c24577b8 Support image signature verification
Add image signature verification support when
creating from image.

Change-Id: I37b7a795da18e3ddb18e9f293a9c795e207e7b7e
Partial-Implements: bp cinder-support-image-signing
2018-06-11 10:14:49 +08:00
Sean McGinnis
24caebd28d Uncap eventlet
Change-Id: I86f14aeeb198b0a89faf5b2d89449a8394edff1d
2018-04-12 14:25:54 +00:00
OpenStack Proposal Bot
01fbed9524 Updated from global requirements
Change-Id: I514d5558f64b4402799f85d8cd1f263068536556
2018-03-26 08:00:10 +00:00
OpenStack Proposal Bot
7c45073b87 Updated from global requirements
Change-Id: Iaaf0d321b0321ac50102c8d96d7899af173a8cb8
2018-03-17 08:24:55 +00:00
OpenStack Proposal Bot
baabd09f63 Updated from global requirements
Change-Id: Ie6621af977a80bdd39dc4f2bc90b8881f64b8cd6
2018-03-14 05:24:52 +00:00
OpenStack Proposal Bot
d17da10249 Updated from global requirements
Change-Id: Id60cce4ebb947465d9bea57056ed6b73456dcd05
2018-03-04 10:00:33 +00:00
OpenStack Proposal Bot
f5f4cd4980 Updated from global requirements
Change-Id: I782614f4292be1b33ba658589c1ac808fde980dc
2018-02-17 09:22:48 +00:00
OpenStack Proposal Bot
f0d17457e0 Updated from global requirements
Change-Id: Iefa7a5e32739a6b9d448659cd8edd232de267aae
2018-02-01 07:06:24 +00:00
OpenStack Proposal Bot
91d6ea9bd5 Updated from global requirements
Change-Id: Ie64af4305605717af01f903b05352e2480569d25
2018-01-16 12:25:12 +00:00
OpenStack Proposal Bot
efb060350c Updated from global requirements
Change-Id: I6a3a011450e8898552b634dcfe60136a7855f76b
2017-12-24 00:51:41 +00:00
OpenStack Proposal Bot
2a71d4cdeb Updated from global requirements
Change-Id: Ibff5a5aaa288138c4c63875d67ddebd24a40fd3f
2017-12-19 01:23:00 +00:00
Sean McGinnis
4137c33922 Use defusedxml for XML parsing
The built-in xml module has some vulnerabilities to several known
XML attacks. While the chances of this are limited with the way
it is being used by some of the volume drivers, it is still a
security risk that has been identified and has a mostly painless
way to be mitigated with the defusedxml package [1].

There are still some drivers performing XML parsing that are not
covered by this patch. They need closer analysis to see how to
best switch to the defusedxml equivalents.

This patch covers the instances where it was a mostly drop in and
replace from the native xml functionality to the defusedxml
alternatives.

[1] https://github.com/tiran/defusedxml/blob/master/README.md

Change-Id: I083fc23eab6f712264919a250c6fb57cc0f6a11b
Partial-bug: #1732155
2017-12-16 17:44:14 -06:00
OpenStack Proposal Bot
3ac39a99f6 Updated from global requirements
Change-Id: I2de9766406f5abf7710de8e7a9637d5a23324347
2017-12-07 13:19:20 +00:00
OpenStack Proposal Bot
42f98148a4 Updated from global requirements
Change-Id: I615d12dfdced3230d3a4195e0323cf3ed9a04e6b
2017-12-05 02:58:54 +00:00
Dinesh Bhor
5420c0bf5f V3 jsonschema validation: base schema framework
This patch adds a base jsonschema framework which will be used
by other subsequent patches for adding jsonschema validation
support for v3 APIs.

This patch follows the Nova-Schema-framework:
https://github.com/openstack/nova/tree/master/nova/api/validation

Depends-On: I4b1140c20c68821eaf0849c9ee551ff9b1c27deb
Partial-Implements: bp json-schema-validation
Co-author: Pooja Jadhav <pooja.jadhav@nttdata.com>
Change-Id: If40029a6ab9b15c292f9297f5bf56aec9621a7d9
2017-11-17 16:01:03 +05:30
OpenStack Proposal Bot
0088d39e6e Updated from global requirements
Change-Id: I4a88d07b41f0a16c638de47945e074adbcf8dd5d
2017-11-08 15:10:05 +00:00
OpenStack Proposal Bot
186d7f5a75 Updated from global requirements
Change-Id: I183ed48e3d66a45864a17bb9785745c64aefa626
2017-10-12 21:52:12 +00:00
OpenStack Proposal Bot
331b232c4d Updated from global requirements
Change-Id: I3a1bd8a1789e1b27ecc63c553fe83fa965d9d38b
2017-09-26 03:24:44 +00:00
OpenStack Proposal Bot
28d08ab625 Updated from global requirements
Change-Id: I9f7e9b5cf0d8031447936e081adf3f2dff15279a
2017-09-12 13:59:36 +00:00
OpenStack Proposal Bot
06c811ae2d Updated from global requirements
Change-Id: I155ab42528cfafe52afd506032dae704a41ebe54
2017-09-02 22:17:16 +00:00
OpenStack Proposal Bot
5c436c209a Updated from global requirements
Change-Id: Iaa6904f054f90e95ebe85b1463e70bb60f19ca80
2017-08-24 11:36:42 +00:00
Eric Harney
77c9be50b9 Add missing PrettyTable requirement
This is required as of
    939fa2c0f Make cinder-manage online migrations more verbose

Change-Id: I59dc3735c02a67ec702a8fe7f87bbc4e77d109f9
2017-08-23 16:30:53 -04:00
OpenStack Proposal Bot
5c33412546 Updated from global requirements
Change-Id: I4d9352a8d7d640735878bc8b26e301a5a787392b
2017-08-18 11:28:46 +00:00
OpenStack Proposal Bot
020057484a Updated from global requirements
Change-Id: I1fac7b2a2ef73ad5b5bb736dd2ad38f205a6df71
2017-08-07 00:42:14 +00:00
OpenStack Proposal Bot
4a78f7a87e Updated from global requirements
Change-Id: Id3c33088f466701e61dfc8a654c45bd78599cfab
2017-08-02 12:15:45 +00:00
OpenStack Proposal Bot
a2712abc0d Updated from global requirements
Change-Id: I2faba6db9ce9e77a9b6d392bdd5006af4bccef47
2017-07-28 01:10:24 +00:00
OpenStack Proposal Bot
f397a6a00a Updated from global requirements
Change-Id: I16f00fdb260d3422bcb6d5f8f2d6a4efda3ebd12
2017-07-26 14:59:34 +00:00