Commit Graph

72 Commits (b2e6656d16e655be25a74aa61ac1cb22e0d56016)

Author SHA1 Message Date
Rajat Dhasmana 1178f113c4 Add cinder's new attachment support
Cinder introduced new attachment API flow in microversion 3.27
(also attachment_complete added in mv 3.44 and support for passing
mode added in mv 3.54) which provides a clean interface to
interact with cinder for attachments and is also required for
multiattach volume support (Related future work).
Nova uses it since a long time and is proven to be stable,
this patch implements the same for glance.
The create volume and delete volume calls are also moved to
cinder_utils file to use the generic exception handler
and keep similar code together for consistency.

Partially Implements: blueprint attachment-api-and-multiattach-support

Change-Id: I2758ed1d5b8e0981faa3eff6f83e1ce5975a01d2
2021-07-23 10:22:12 -04:00
Mike Durnosvystov 83c6fa7f74 vmware: Use cookiejar from oslo.vmware client directly
With changing the SOAP library backing oslo.vmware [1], the cookiejar of
a session must be accessed differently. Therefore, oslo.vmware
introduced a property on the client to abstract this change away. This
commit uses the new place to access the attribute.


Change-Id: Iec6c4be5c61710f2a7a0056168d0c31ade987b1f
2021-04-30 12:08:50 +00:00
Zuul c889ebc724 Merge "Fix hacking min version to 3.0.1" 2020-08-24 19:31:41 +00:00
Stephen Finucane d519bb597c requirements: Drop os-testr
This has been replaced in use by stestr.

Change-Id: If0297f1a85d9d54c126da8a8436044bf4a161ef4
Signed-off-by: Stephen Finucane <>
2020-07-09 11:27:16 +01:00
Ghanshyam Mann 9739bdfbb0 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min


Change-Id: Ia57bd9ef1bb1100c6c2a44b89718c63945e53f70
2020-05-12 19:24:16 -05:00
Eric Harney 50060a904c Bump cinder/os-brick requirements
Require versions of these libraries that
at least had python 3.6 unit testing.

Change-Id: Idbef3c6b241e7a1b953061a65849879ee78f88ff
2020-04-23 13:58:09 -04:00
Sean McGinnis 814b7f23e2
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I3e92b23ab2a335b378f156c0456fb1d52706ed12
Signed-off-by: Sean McGinnis <>
2020-04-18 11:52:47 -05:00
Andreas Jaeger 279ea4766e Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I99b8b24f714858f6b289e5e7b5976e519bb81c11
2020-04-02 15:26:13 +02:00
Naohiro Sameshima 261bad3e43 Add S3 store support to glance_store
Revive the S3 driver that was supported up to Mitaka and add multiple
store support to correspond with the features added to glance_store from
Newton to U cycle. In addition, the use of the S3 SDK used by the Mitaka
S3 driver has been deprecated, so this implementation will be changed
to use the new version.

Change-Id: I203134837319080ead96da69048baf90086d2117
Implements: blueprint re-support-s3-driver
2020-03-26 10:53:46 +09:00
Erno Kuvaja 0b23b4f229 remove bandit from testing
Change-Id: Ib9f7b9976382535aea946912b0e8b0ab32189b21
2018-08-16 19:59:56 +01:00
James Page ef44579c35 Move doc8 to test requirements
doc8 is not required to use this module, only for style
checking of RST documentation.

Move from requirements.txt -> test-requirements.txt to avoid
generating a run-time dependency on doc8.

Change-Id: I3ae3909401eb53d4442e6d369228e235e1d5d60e
2018-08-14 14:23:44 +01:00
Zuul 0d0e4100e2 Merge "Update tox.ini to conform to the PTI" 2018-07-16 21:27:16 +00:00
Brian Rosmaita 94ade76bc3 Update tox.ini to conform to the PTI
The current Python Testing Interface specifies the use of
stester, so update tox.ini to use it.

Closes-bug: #1780272
Change-Id: I6b6c60486a26cfbb5793c074fe6f554c6a324846
Co-Authored-By: Nguyen Hai <>
2018-07-16 04:52:57 +00:00
Nguyen Hai b65459e69d Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

Change-Id: I06d510a44b9e8c0024f5e41f10f4446e18bf86cc
2018-07-16 01:26:52 +00:00
Paul Belanger d0657add82
Fully removing as it is no longer needed with zuulv3.

Closes-bug: #1766500
Change-Id: Ic332b54bd5fbc64efc23f1118a8416291ae65df8
Signed-off-by: Paul Belanger <>
2018-04-24 14:25:28 -04:00
OpenStack Proposal Bot 6d97ea212b Updated from global requirements
Change-Id: Ib6a5cae62c27c9cce648665426d2d798835ff76b
2018-03-26 08:02:39 +00:00
OpenStack Proposal Bot 07f76ca158 Updated from global requirements
Change-Id: Ib9ab50dc3f7e526da7511032b5986adbe1585c43
2018-03-15 06:56:08 +00:00
OpenStack Proposal Bot c645af7c4b Updated from global requirements
Change-Id: Ic09990614855bf7add1759b4004d9f667e12cfbc
2018-01-24 00:53:19 +00:00
OpenStack Proposal Bot 73f0fca99c Updated from global requirements
Change-Id: Ie4b2adbdd7cb1df51ea670c1a508846613eaf56c
2018-01-17 20:32:53 +00:00
OpenStack Proposal Bot 0fbaf5e848 Updated from global requirements
Change-Id: I6defd109ef8dbb519450b0d2a5345a39b412bcf1
2018-01-16 04:06:16 +00:00
OpenStack Proposal Bot 45e3c49ad5 Updated from global requirements
Change-Id: Id3935c9a7294eb02ace95abbe5378b7afd2ee081
2017-11-16 11:03:26 +00:00
OpenStack Proposal Bot cb20d7a676 Updated from global requirements
Change-Id: I549a5b935edd60b4a2754e0b4ba00a1353653960
2017-09-13 12:50:11 +00:00
OpenStack Proposal Bot e322bc241e Updated from global requirements
Change-Id: I1baee6c794859c7bb480e2f53bb7ffa69af04406
2017-08-18 11:29:46 +00:00
OpenStack Proposal Bot aa365092ae Updated from global requirements
Change-Id: Iff6f44f183a0e011c8d1338d3e77f5a60370d2b7
2017-07-28 04:14:10 +00:00
OpenStack Proposal Bot 3f9233be71 Updated from global requirements
Change-Id: Ie9dfbfccce90a35f09b5c5c8b544e558b521c3c2
2017-06-30 12:14:30 +00:00
Doug Hellmann 51cb0c5a84 switch from oslosphinx to openstackdocstheme
Change-Id: I2a05869c0fb0a5904ef1cc544676954d880332e2
Signed-off-by: Doug Hellmann <>
2017-06-28 10:54:31 -04:00
OpenStack Proposal Bot fb10a906d4 Updated from global requirements
Change-Id: Id1a1142e4650d00b3b1a2c797755ae1ba29af5ba
2017-06-27 12:09:49 +00:00
OpenStack Proposal Bot 74ed580ea1 Updated from global requirements
Change-Id: Ib2f5e6051f3205b4994f2f832b501052b402d247
2017-06-15 16:22:56 +00:00
OpenStack Proposal Bot c596b64fbb Updated from global requirements
Change-Id: I5959d1506846b0495987b14655847d800e54ad27
2017-03-03 22:48:54 +00:00
ricolin 9c92648df1 Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
Partial-Bug: #1668848

Change-Id: I488f5c7232e8e172d316f7d3059cdf6ead67e906
2017-03-02 16:32:02 +08:00
OpenStack Proposal Bot cd86c4304a Updated from global requirements
Change-Id: I3555871b9158d0d7d05cd59b11c567bbc67ab2bc
2017-02-11 17:41:49 +00:00
OpenStack Proposal Bot bdad99eabb Updated from global requirements
Change-Id: Ifd9402de4e24c0f50e1681bf37fbf704c4fe08bc
2016-11-08 21:34:48 +00:00
OpenStack Proposal Bot 9ba10d8e25 Updated from global requirements
Change-Id: I3d21acc45dd4bffa217f4429fc4e2542bfd03bc5
2016-10-27 12:13:27 +00:00
OpenStack Proposal Bot 9fa206f13f Updated from global requirements
Change-Id: I58e83302614cd2458a145c3c1627198191f25f6a
2016-09-30 10:16:41 +00:00
OpenStack Proposal Bot d7575ca6a3 Updated from global requirements
Change-Id: Id4870b238ae2a9bf3df7eed6eda2e3a3a8cffa53
2016-09-28 16:52:38 +00:00
OpenStack Proposal Bot 41535dd796 Updated from global requirements
Change-Id: I0c565d86da6f05390510bb84e57b4796f7b869fd
2016-09-27 09:59:24 +00:00
OpenStack Proposal Bot 9753355566 Updated from global requirements
Change-Id: Ic3058e056047662421a132c16f49af6740d9ab95
2016-08-18 05:49:48 +00:00
OpenStack Proposal Bot c1ba85406e Updated from global requirements
Change-Id: Id8e6de6a7109156f9b04e833a1f420b919f8c00b
2016-07-18 15:27:37 +00:00
Eric Brown 79532ea599 Add bandit to pep8 and bandit testenv
This patch adds bandit security linter to tox jobs. It ignores
files in the 'tests' directory.

This patch will also fix or exclude any issues as a result from

Change-Id: I9caa41f596a17a8b961a542d4bc6bb121e7a147f
2016-07-08 22:39:55 +00:00
OpenStack Proposal Bot 4b10efd855 Updated from global requirements
Change-Id: Ia9740a997476782482c738155015c563dd44ffb8
2016-06-24 03:11:05 +00:00
OpenStack Proposal Bot a3b298e108 Updated from global requirements
Change-Id: I7decc589c1e0eeff70c2a1edf189e5051e9a9178
2016-06-22 05:41:45 +00:00
OpenStack Proposal Bot a678c26dee Updated from global requirements
Change-Id: Id7c185ae48531a1f052d70c69cf7f2cfb0640712
2016-06-08 15:08:13 +00:00
OpenStack Proposal Bot 922233fa4d Updated from global requirements
Change-Id: I9f21e3ad5c7f91749adc8909d548798906d5abd4
2016-05-31 03:00:06 +00:00
OpenStack Proposal Bot 55af8b500b Updated from global requirements
Change-Id: Iace3063224172989fa044e53397ccf0774919738
2016-05-30 00:33:11 +00:00
OpenStack Proposal Bot 75cd233a89 Updated from global requirements
Change-Id: I3cc2355b888cc3a88d139e507e48da4320e6f048
2016-05-28 00:33:26 +00:00
OpenStack Proposal Bot 32d964f725 Updated from global requirements
Change-Id: I63549b300f745bec8ce6a64cb510000b868f66ae
2016-04-11 18:26:50 +00:00
OpenStack Proposal Bot 3758022b7b Updated from global requirements
Change-Id: I865ce8cc4270dae57c575ae341f8b7b327c9f7fa
2016-04-07 17:07:54 +00:00
Danny Al-Gaaf 7b94d3c141 tox: use os-testr instead of testr
Make use of the testr OpenStack wrapper ostestr instead of
testr directly.

Closes-Bug: #1566354

Change-Id: I396be386c34e5e2a6587921aacd8eefa4622713a
Signed-off-by: Danny Al-Gaaf <>
2016-04-05 21:24:29 +02:00
OpenStack Proposal Bot d5c5f42fcc Updated from global requirements
Change-Id: I19b0b2d36eea2a4855592aa1905e240b7b9f47f2
2016-02-11 07:39:04 +00:00
OpenStack Proposal Bot 36f770a64a Updated from global requirements
Change-Id: I5b9325c27c385663b3855f1dc036541ecaa98156
2016-02-10 21:52:58 +00:00