Commit Graph

11268 Commits

Author SHA1 Message Date
OpenDev Sysadmins 47e1d6f3a9 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:39 +00:00
David Rabel 20ad150e50 Bump build dependency on openstack-pkg-tools
New version does not require net-tools.

See Debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858692

Change-Id: Id953a80b23cb8015be74ec49ebe6d90ce2751f27
2017-04-01 11:24:45 +02:00
Ondřej Kobližek 24e35ce738 Team upload.
* Team upload.
* Patch-out upper constraints of SQLAlchemy
* Fixed SqlAlchemy worker model (Closes: #846749)

Change-Id: I8e643a475836ef2cecb77276005084de9bdbf906
2016-12-20 17:13:19 +01:00
Ondřej Nový 4c1ed67cbb Bumped debhelper compat version to 10
Change-Id: I2d92a3a516ea0abb4b070223c4d4e9c417b9281d
2016-11-23 23:48:31 +01:00
Thomas Goirand b98b83b81e allows running open-iscsi
* Also allows running open-iscsi using OR depends (Closes: #841452).

Change-Id: I268c0e30a1ceaec8715cd0882336a9ebbd4d8c7f
2016-10-21 10:41:37 +02:00
Thomas Goirand 3c86af99c8 cinder 9.0.0 release
meta:version: 9.0.0
 meta:diff-start: 8.0.0.0rc1
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-announce@lists.openstack.org
 meta:pypi: no
 meta:first: yes
 meta:release:Author: Doug Hellmann <doug@doughellmann.com>
 meta:release:Commit: Doug Hellmann <doug@doughellmann.com>
 meta:release:Change-Id: I74b66ffd484f2f3a2b84c39e62bcb718cef7b906
 meta:release:Code-Review+1: Ian Cordasco <sigmavirus24@gmail.com>
 meta:release:Code-Review+1: Sean McGinnis <sean.mcginnis@gmail.com>
 meta:release:Code-Review+1: Vitaly Gridnev <vgridnev@mirantis.com>
 meta:release:Code-Review+1: Rob Cresswell <robert.cresswell@outlook.com>
 meta:release:Code-Review+1: Steve Martinelli <s.martinelli@gmail.com>
 meta:release:Code-Review+1: Steve McLellan <steven.j.mclellan@gmail.com>
 meta:release:Code-Review+1: Richard Jones <r1chardj0n3s@gmail.com>
 meta:release:Code-Review+2: Davanum Srinivas (dims) <davanum@gmail.com>
 meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
 meta:release:Code-Review+1: Emilien Macchi <emilien@redhat.com>
 meta:release:Code-Review+1: Julien Danjou <julien@danjou.info>
 meta:release:Code-Review+1: amrith <amrith@tesora.com>
 meta:release:Code-Review+1: Graham Hayes <graham.hayes@hpe.com>
 meta:release:Code-Review+1: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Code-Review+2: Doug Hellmann <doug@doughellmann.com>
 meta:release:Workflow+1: Doug Hellmann <doug@doughellmann.com>
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJX9k2KAAoJENljH+rwzGInOkUH/A+HZv0aERaIlIh8Ed1sN7P7
 O289m1D52I8Uz3VSfevz1ZGKyoMda7jgeP3pAAz2gp6bXQch4uayQE0DOlkIJ0KU
 tu966I3SVkQrbHo/Kx2JP4dAtwwt1iwBMH+eoi5DrOY3BzS05Xkj5DwfwUqEtZAL
 0LPYXvchUeWuf/Wk1+OMrVC4je8m2P4652YRvP4iC8+a020IVZq3Vh3OqUpswybc
 /LdrdTrtIF4fYDKozBj/3Xx6MQ061rfoeDtr3KGcOnVXGMw6cMem013XR7JuMn3P
 jciP3YFR/JaB8+utZaRC8re2Dx/CWJZMtjls8eBImd2QMz3DxW36K4mF2pdiAMw=
 =4l7h
 -----END PGP SIGNATURE-----

Merge tag '9.0.0' into debian/newton

cinder 9.0.0 release

  * New upstream release.

Change-Id: Ie4ec55fe65e3450505eb6e9b6ab9808ac0423953
2016-10-06 17:33:22 +02:00
Thomas Goirand 841e44bb96 Debconf translation + unstable upload
* Uploading to unstable.
  * Debconf translation:
    - it (Closes: #839197).

Change-Id: I84ae0fca3076414778a4892ab559e1733e6b5148
2016-10-04 09:35:21 +02:00
Thomas Goirand d97854b320 Build-Depends on openstack-pkg-tools >= 53~.
Change-Id: Ifbdbba43b79e6bcc0c49640f9103526cd3433803
2016-10-01 09:27:30 +02:00
Jenkins ab95181121 Merge "Have a default OPTIONAL_FIELDS for persistent OVOs" into stable/newton 2016-09-28 22:02:32 +00:00
Jenkins ea5b7a80e7 Merge "Include OPTIONAL_FIELDS in VolumeType OVO class" into stable/newton 2016-09-28 22:02:18 +00:00
Thomas Goirand 494f56ebb5 Fixed oslotest EPOCH.
Change-Id: Ib5daffc2672c44f2cbadb40ee3d0a77836c0e253
2016-09-28 09:39:23 +02:00
OpenStack Proposal Bot 199bb9ca15 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I4de5cf7c2c9cd078eb9eae3561532c594f32f597
2016-09-28 07:12:46 +00:00
John Griffith 844aa0ac3e Provide cfg to ignore lvm descriptor leak warnings
For some reason the leaded descriptor warning message coming
from LVM is causing Cinder to fail startup and it appears to be
masking out the vg response in vgs calls.

We typically don't hit this, but due to the nature of Kolla and
I guess going through the different processes via the containers
this gets logged every time vgs is called.  Eric Harney rightly
pointed out that rather than use exception handling and such
that we should use the LVM env variable mechanism we already have
in place in Cinder.

For now this patch added a new config option to the LVM driver:
    lvm_suppress_fd_warnings=True|False

This is useful for K8 deployments that have an indirect call to the
LVM cmds which results in failures.

For those that are interested, this can also be done outside of
cinder by setting the silence_logs variable in lvm.conf

This is made optional as a config flag to avoid any breakage for
existing deployments during upgrade.

DocImpact: Need to add info regarding config update to docs

Change-Id: I85612fa49475beea58d30330c8fe8352a2f91123
Closes-Bug: #1619701
(cherry picked from commit 055ec1ce73)
2016-09-27 14:25:36 -06:00
Jenkins 17fb94499d Merge "XtremIO: fix migration bug" into stable/newton 2016-09-26 18:15:17 +00:00
Ondřej Nový 500fbc78ad Mass changes
d/s/options: extend-diff-ignore of .gitreview
d/control: Use correct branch in Vcs-* fields

Change-Id: I3437fc62d695c589a38bd08f204d62dc5aec35d4
2016-09-26 19:02:46 +02:00
Jenkins 141a1c6dcd Merge "Dell SC: ISCSI initialize_connection fixes" into stable/newton 2016-09-26 05:08:21 +00:00
Jenkins 3a6c3f98a3 Merge "Dell SC: Error attaching after LV-AFO" into stable/newton 2016-09-26 05:08:12 +00:00
Jenkins d0705ac2a2 Merge "Fix request_spec conversion from o.vo to dict" into stable/newton 2016-09-26 05:00:50 +00:00
Shay Halsband e743040e4e XtremIO: fix migration bug
The source volume doesn't get deleted at the end of the migration.
This is due to volume ID DB swap. Solved by using name_id instead of id.
Fixed test to use fake_volume_obj

Change-Id: I45b8bc8304b51346c1fcc7c5a673d928281a1eb4
Closes-Bug: #1618700
(cherry picked from commit a18253fa49)
2016-09-25 15:50:34 +00:00
Jenkins e7809d895c Merge "Fix a typo in scheduler manager "filter_propterties"" into stable/newton 2016-09-23 22:21:42 +00:00
Lucio Seki c0b2021092 Fix a typo in scheduler manager "filter_propterties"
Closes-Bug: #1627045

Change-Id: Id9ee3530b403c1bcfd15ce9ca97eacc9ce7bc454
(cherry picked from commit c944a22775)
2016-09-23 13:27:41 -03:00
Michał Dulko 42effa4ca6 Fix request_spec conversion from o.vo to dict
Turns out I7dae83667a1aca92c552fbfaa1e90c6558e293bf had a mistake and
was unconditionally converting RequestSpec o.vo to dictionary just
before sending it to the scheduler. This wasn't noticed as scheduler
manager has compatibility shim in place that converts the dictionary
back into o.vo when it's received.

The problem this produces is that we cannot drop the compatibility
shim from manager until 4.0 scheduler RPC API. This commit fixes that.

Change-Id: I7beaaddcff079dfe7a0032e2cf2afa75a5e88522
Closes-Bug: 1625170
(cherry picked from commit 32bfddf841)
2016-09-23 09:13:02 +00:00
Sean McGinnis 8547444775 Limit memory & CPU when running qemu-img info
It was found that a modified or corrupted image file can cause a DoS
on the host when getting image info with qemu-img.

This uses the newer 'prlimit' parameter for oslo.concurrency execute
to set an address space limit of 1GB and CPU time limit of 2 seconds
when running the qemu-img info command.

Change-Id: If5b7129b266ef065642bc7898ce9dcf93722a053
Closes-bug: #1449062
(cherry picked from commit 78f17f0ad7)
2016-09-22 20:48:27 +00:00
Tom Swanson a75f862869 Dell SC: Error attaching after LV-AFO
Fixed miscellaneous errors dealing with the state of Dell's
Live Volumes after a LV AFO event.

Was looking for the original volume and sc server object
after the primary was down. We now look for the new primary
and attach that.

Ensure export was failing to properly kick off a swap
back to the original primary if it was available.

Fixed an error with deleting replications.

Added a workaround to finding a ScLiveVolume object. Previous
method could return stale information.

Change-Id: I58889adbcf279d4b0107cbc51e1dace888a3fb15
Closes-Bug: #1617401
(cherry picked from commit 45bc8abc47)
2016-09-22 19:58:29 +00:00
Jenkins 5eee3b8627 Merge "Remove extra param in list_manageable_snapshots" into stable/newton 2016-09-22 19:49:46 +00:00
Gorka Eguileor 4cfaa76692 Have a default OPTIONAL_FIELDS for persistent OVOs
Conditional update method from the persistent OVO class is blindly
relying on persistent OVOs having an OPTIONAl_FIELDS attribute without
defining a default.

This patch adds an empty default so we can do conditional updates on
persistent OVO instances that don't have optional fields.

Change-Id: Icf640da34df0990b5ad2609d5d230ac9b0a51311
(cherry picked from commit 2987b33970)
2016-09-22 19:04:35 +02:00
Gorka Eguileor b5a1cee26c Include OPTIONAL_FIELDS in VolumeType OVO class
Current code has OPTIONAL_FIELDS as part of the VolumeType library
instead of as a class attribute of the VolumeType OVO class.  This is
not how it should be, as there are methods -like conditional update-
that rely on the OPTIONAL_FIELDS being there.

This patch moves the OPTIONAL_FIELDS inside the VolumeType class.

Change-Id: I18404a2f32abc6c9d9b7d932a7acd299c4e708e5
(cherry picked from commit f63f1463c6)
2016-09-22 19:04:24 +02:00
Michał Dulko 72a1c5dfa2 Fix creating typeless volumes with Mitaka's c-sch
In Mitaka as a workaround for creating volumes without volume type c-api
was sending an empty dictionary as request_spec['volume_type'] in
create_volume() RPC cast to scheduler. This changed in Newton and we're
handling this situation directly in scheduler, but when running Newton's
c-api with Mitaka's c-sch we should mimic older behavior. This patch
implements that.

Change-Id: I3dbb1934f3d8e68fef49f56155cbf59bc5fadc3a
Closes-Bug: 1619008
(cherry picked from commit 91bdf9de4c)
2016-09-22 12:04:37 +00:00
Patrick East 8b36b66290 Remove extra param in list_manageable_snapshots
The VolumeV3Proxy method was calling the manager
with an extra parameter. This removes it.

Change-Id: I8471ea9649a2c238aac9c2bd0ff7cd995ef7ffef
Closes-Bug: #1626351
(cherry picked from commit 051ff39a9c)
2016-09-21 19:27:03 -07:00
Thomas Goirand 623a8c1c20 Tagger: OpenStack Release Bot <infra-root@openstack.org>
Date:   Thu Sep 15 23:18:25 2016 +0000
 
 9.0.0_rc1 retag of cinder 9.0.0.0rc1 release candidate
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABCAAGBQJX4XxWAAoJENQWrRWsa0P+8xQQAIoDpgtGnl+3WtMBZhScaQ7H
 fd/QlqNzG/6lsO7BMlvkZD/L+qX/ffvqsi/qRGjuYfeklbVPOWdRCoynmQ28Xw3U
 HyqB6WOK7s8HAZdyoSFFCyTb6fhTPN+07ExnLgoKg1k8/J0WTy5IqCKvo0NlRMYT
 ldyLBufaWqCwIx096LcLVDODVgAFd9OWLJwwhsacOOIUDXa5bnAAKzqCsvQHeHcF
 tbkxmu/qAfhzjjNEwMOlumdnHyOHKjV2pWZm3g6LOoUxzFp7KIE2eDzdRCMvHo2Q
 d3yVmdyR+DZEphEwybZvAN4IWj7Zh6s05+KBxksz4ApUZ094uBBbMGVy0wodzkeC
 NRz6WkycVyqXfmjqyjH0PQX4DnqcInbZRcTaN0/d2KN2dhxl7bxPWFPraYssr1Do
 Su/S6qty8GLXdY85JUsAVmWGuyTv2l5vshFeZoHGdrtTzEKbEx0/IKCxBhh2T2eg
 ELFA9zmLn+NURB/j9Sw57wfXdX7oNu7/rcujCD54vKA/BhNN0SjwqHW0c7kDge2z
 UXcowyuMZswgGo/8UKkpa5XDy7EWYKykCT0/JejiU958bOwCP5zgu9P3nlhPUip3
 PU8QabUMoRRU9vLZAVLagDWdbP77JCayxqHqqk2UEY36c5zyRGDTzL+b5eaBMcZa
 y27cHXfmkgicHyjV1564
 =iUgO
 -----END PGP SIGNATURE-----

Merge tag '9.0.0_rc1' into debian/newton

Tagger: OpenStack Release Bot <infra-root@openstack.org>
Date:   Thu Sep 15 23:18:25 2016 +0000

9.0.0_rc1 retag of cinder 9.0.0.0rc1 release candidate

  * Edit changelog to package rc1.
  * Fixed os-win required version.
  * Refreshed  no-zfssa-tests.patch and
    remove-zfssa-from-opts.py.patch
  * Add python-pep8 in build-depends-indep.

Change-Id: I95fbdd936e381b27eb126ac10df61d8609e5b545
2016-09-21 09:21:24 +02:00
Tom Swanson d533455961 Dell SC: ISCSI initialize_connection fixes
The driver could return duplicate iSCSI portal/IQN/Lun combinations.
This patch returns the condensed list.

Also sometimes when Cinder attempts to attach to a volume it will use
the first item in the multipath list rather than the specified single
path entries. So this patch simply moves a known up and active entry
to the front of the list.

Change-Id: Idb371825b6520d4bdb09a1dbb37429cb10643e93
Closes-Bug: #1622703
(cherry picked from commit 4708aa16a7)
2016-09-19 17:45:30 +00:00
OpenStack Proposal Bot d3f3791416 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ibc353dceafa25ffa38bc501c6f1f293502b42b62
2016-09-18 18:56:49 +00:00
Doug Hellmann d838c7c2db Update UPPER_CONSTRAINTS_FILE for stable/newton
Change-Id: I10f1c3b0f7f10a3f6de5db0b3780b6fd23a9bc91
2016-09-15 19:19:31 -04:00
Doug Hellmann f8990969dd Update .gitreview for stable/newton
Change-Id: Icd2c1ef5188342afd8d1001d31a37fc145a1346b
2016-09-15 19:19:27 -04:00
Jenkins 0ba267fbc1 Merge "Dell SC: Disable connectivity failures for new servers" 2016-09-15 21:08:50 +00:00
Jenkins 37be83c58d Merge "Fixed request/response parameters in doc" 2016-09-15 20:22:34 +00:00
Jenkins b0b5f99554 Merge "VMAX driver - Does not honor clone volume size" 2016-09-15 20:22:14 +00:00
Jenkins e1d53cea45 Merge "Fix missing JSON response in API reference" 2016-09-15 20:22:05 +00:00
Jenkins 344c908cdb Merge "XtremIO: bump driver version to 1.0.8" 2016-09-15 20:21:54 +00:00
Jenkins 048a01b493 Merge "Add volume RPC API v3.0" 2016-09-15 19:19:57 +00:00
Jenkins 3ecb94c312 Merge "Add scheduler RPC API v3.0" 2016-09-15 19:15:41 +00:00
Jenkins 9c3af6cb50 Merge "Use IP in Kaminario locks and add/delete loggers" 2016-09-15 16:35:26 +00:00
Justin A Wilson f794629360 Fixed request/response parameters in doc
user_id, project_id and status were listed as request parameters when
they are actually response parameters.

Change-Id: I5ff464c6aae853929b2b10ba62898913977016b0
Closes-Bug: 1603177
2016-09-15 16:01:01 +00:00
Michał Dulko 7a2adc08c7 Add volume RPC API v3.0
This patch creates volume RPC API version 3.0, while retaining
compatibility in rpcapi and manager for 2.x, allowing for continuous
deployment scenarios.

This should be merged just before the Newton release.

Change-Id: Ib927ccb3bb1f91e441f5b8540a3e39acefa4a6ab
2016-09-15 15:02:01 +02:00
Michał Dulko 8a4aecb155 Add scheduler RPC API v3.0
This patch creates scheduler RPC API version 3.0, while retaining
compatibility in rpcapi and manager for 2.x, allowing for continuous
deployment scenarios.

This should be merged just before the Newton release.

Change-Id: I8eb9c1ae93d84c63a061294fc570be1d9eed69ba
2016-09-15 12:49:03 +00:00
Shay Halsband 9d117a5c97 XtremIO: bump driver version to 1.0.8
Change-Id: I02cf16525ac0503b4179f52afa061c8a40c5a982
2016-09-15 14:14:24 +03:00
OpenStack Proposal Bot a15459a277 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Iec95b1c61e2d8bd76306f8a096aa62df57a94455
2016-09-15 07:03:26 +00:00
Jenkins 27d78f39a0 Merge "NetApp: Fix issue with busy snapshot deletion." 2016-09-15 02:33:09 +00:00
Jenkins 6e4333e9c1 Merge "Added config option to enable SSL" 2016-09-15 02:01:23 +00:00
Mark T. Voelker 442c8e8a1c Fix missing JSON response in API reference
Currently, the API reference is showing a blank sample response
for the v2 "List API Versions" call [1].  That appears to be because
the sample file it includes is "versions-resp.json" which exists, but
is 0 bytes (completely empty).  There is also a
"versions-response.json" file present in the samples directory, which
appears to contain a valid JSON reply.

This patch fixes the problem by removing the 0-byte sample file and
pointing to the correct one.

[1]
http://developer.openstack.org/api-ref/block-storage/v2/#list-api-versions

Change-Id: If2c1b486229681f68ba4ab0c13307de4599d9b72
Closes-Bug: #1623744
2016-09-14 21:48:48 -04:00