15714 Commits

Author SHA1 Message Date
Zuul
392e92b47c Merge "Fix api-ref for backup export and import" 2018-06-05 00:01:32 +00:00
Zuul
0574a8bfb6 Merge "api-ref: Fix v3 API version details error" 2018-06-05 00:01:25 +00:00
Matt Riedemann
29e1861a48 Add note about multiattach not supporting encryption to docs
Per change I613b48a9e89270b2f0266bffc5aeeefad37ce8fb encryption
is not supported with multiattach-capable volumes.

Change-Id: Ife204c380a9d3d12938a907dee6d93d01aaec0ce
Related-Bug: #1770689
2018-06-04 14:49:08 -04:00
Zuul
5d4dfebb7f Merge "Remove Ocata config option changes doc" 2018-06-04 17:35:05 +00:00
Zuul
0b61ec48cd Merge "Add snapshots to minimum driver interface" 2018-06-04 17:35:03 +00:00
Jay S. Bryant
ad5b05bbb7 Fix documentation error
There was a mistake in an earlier patch where
'snapshot' was used instead of 'volume'.  This
follow-up patch corrects the wording.

Change-Id: Ib1a03521c277c12d1b7f1c91eb1f2df1972e883f
2018-06-04 12:03:06 -05:00
Zuul
068b9fbb0b Merge "Fix GCS backup driver docs" 2018-06-04 16:19:28 +00:00
Jay S. Bryant
953781e3af Correct S-Series to DS-Series systems
The new Lenovo storage systems should be branded as
DS-Series systems.  This patch corrects the documentation
accordingly.

Change-Id: I2ff8d321c97b70744037f60fee632e9d9b9dc383
2018-06-04 08:10:29 -05:00
junboli
d1c5379369 Remove the deprecated config option
The option 'allow_inuse_volume_type_modification' is
introduced as a bridge to not break upgrades without
notice. It is introduced in Ocata release [1], so it
is time to remove this option.

[1] https://review.openstack.org/#/c/440680/

Change-Id: I8c61b11994c1f8f571e65cefe4965f7d69b13100
2018-06-03 11:00:51 +00:00
Zuul
b4bf49c88e Merge "Fix i18n issue in volume_action and admin_action" 2018-06-03 07:03:37 +00:00
Zuul
15fdc1ccc7 Merge "Update storage backends supported for Lenovo" 2018-06-02 22:45:26 +00:00
Zuul
8b0517ec73 Merge "doc: correct indentation from a note block" 2018-06-02 22:44:44 +00:00
Sean McGinnis
fc6473bc20 Fix GCS backup driver docs
Change If1e34ea112b0cff328a58ec2fc9c3f5a5005f1c6 renamed the Google
backup driver, but the configuration docs for the driver were not
updated. This results in the incorrect driver name being provided
for backup driver configuration and local document builds failing
due to no configuration options being found when looking for them
in the old location.

Change-Id: I40fa544892ed9ea9fb5975baeafb7c9a7e2f12a3
2018-06-02 15:40:18 -05:00
Eric Harney
4102a81e82 Doc: Fix broken link (Nimble)
TrivialFix

Change-Id: If24fb0b333e38605c2ee8222100db9c2c270b5a7
2018-06-02 20:21:20 +00:00
Zuul
b7097ad60b Merge "V3 jsonschema validation: volume_type_encryption" 2018-06-01 14:42:15 +00:00
OpenStack Proposal Bot
1a3f2e8f44 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I160aede96e436055ce0194831726c6d8f134b341
2018-06-01 07:13:54 +00:00
TommyLike
3aec5274da Add user messages for extend volume operation
Add user messages for these cases below when performing
extend volume operation.
1. When no valid host is found.
2. When nova failed to perform extend volume event.
3. When backend failed to extend block device.

Change-Id: I7d2061ac13b2c74745da56feecfe6ed53b284fc4
Closes-Bug: #1773833
2018-06-01 09:12:07 +08:00
Jay S. Bryant
13b9df4074 Mark DataCore Drivers unsupported
The DataCore drivers have not run 3rd Party CI
in more than 60 days.  This patch marks them
unsupported and they will be removed in Stein
if the 3rd Party CI Issues are not resolved.

Change-Id: Id0f7ff5c1e8d0973941c9635558a6bd9d2204aea
2018-05-31 13:09:00 -05:00
Zuul
0cbb49bb68 Merge "Add cinder v2 experimental job" 2018-05-31 14:38:16 +00:00
Neha Alhat
122e93f741 V3 jsonschema validation: volume_type_encryption
This patch adds jsonschema validation for below volume type
encryption API's:
* POST /v3/{project_id}/types/{volume_type_id}/encryption
* PUT /v3/{project_id}/types/{volume_type_id}/encryption/{encryption_id}

Partial-Implements: bp json-schema-validation

Change-Id: I6488cc89e60a31605ddf80c7aa56ddf4871d3c1a
2018-05-31 09:32:16 +05:30
imacdonn
43263b176c ZFSSA handle non-existent snapshot
If a volume snapshot failed during create, it may exist in the database
but not on the ZFSSA. This change allows deletion of such a snapshot.
It also cleans up some redundant code for getting snapshot details.

Change-Id: I522fb0841dfaeb31da3999d3f73a2c9398c5b9c8
Closes-Bug: 1774066
2018-05-31 03:49:16 +00:00
Zuul
fd69395503 Merge "Fix handling of 'cinder_encryption_key_id' image metadata" 2018-05-31 00:39:49 +00:00
Jay S. Bryant
f703159d7f Update storage backends supported for Lenovo
We have released new S-Series storage models since we
originally created the documentation.  This patch updates
the documentation accordingly.

Change-Id: Ida18d451b2e15f1d57fe4e1ffef393de20cc8828
2018-05-30 12:22:57 -05:00
Zuul
8cb3600692 Merge "V3 jsonschema validation: admin_actions" 2018-05-30 15:26:17 +00:00
Eric Harney
2792be3ffc Fix handling of 'cinder_encryption_key_id' image metadata
The Cinder code that processes Glance image metadata
is a bit confused about whether this particular field
is a Glance property or metadata.

Since it isn't a defined a Glance property and is stored
in image metadata, ensure that Cinder also tracks it
metadata and not as a property.

This mismatch prior to this fix causes Cinder to create
volumes with the wrong encryption key when creating a
volume from an encrypted image, which results in an
unreadable volume.

Closes-Bug: #1764125
Change-Id: Ie5af3703eaa82d23b50127f611235d86e4104369
2018-05-30 09:42:43 -04:00
liuyamin
4e25268298 Remove _static folder in doc directory
TrivialFix:
_static folder and the inside files are auto generated
when running docs, _ga is unused, so remove these.

Change-Id: I43b8cff826a98329607eed65a75eaf1ebaf54646
2018-05-30 14:54:15 +08:00
Zuul
a577c41c6b Merge "ScaleIO: Rebranding of product to VxFlex OS" 2018-05-29 23:23:02 +00:00
jeremy.zhang
a6dd458612 Fix api-ref for backup export and import
Add missing paramater description for backup export and import function.

Change-Id: I6408138ac738717c766752f5358025dbe62d7319
2018-05-29 22:51:19 +08:00
Zuul
36bf71bf30 Merge "Missing request parameters in update quotas" 2018-05-29 14:11:09 +00:00
junboli
8ee82f04e6 Missing request parameters in update quotas
"backup_gigabytes" and "per_volume_gigabytes" parameters
are supported in api v2, they aren't mentioned in api v2
document[1]. On the other hand both of them are mentioned
in api v3 document[2].

[1] https://developer.openstack.org/api-ref/block-storage/
    v2/index.html#update-quotas
[2] https://developer.openstack.org/api-ref/block-storage/
    v3/index.html?highlight=backup_gigabytes#update-quotas
    -for-a-project

Change-Id: I135efd5c2b4735f5821922643926390976453bf5
Closes-bug: #1727631
2018-05-29 20:03:51 +08:00
Van Hung Pham
d87d69fbb6 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I9cedef5883b831c109217ca04d2575ce7970b7aa
2018-05-29 18:53:46 +07:00
Neha Alhat
51c293dba3 V3 jsonschema validation: admin_actions
This patch adds jsonschema validation for below admin_actions API's
* POST /v3/{project_id}/volumes/{volume_id}/action
* POST /v3/{project_id}/snapshots/{snapshot_id}/action
* POST /v3/{project_id}/backups/{backup_id}/action

Partial-Implements: bp json-schema-validation

Change-Id: Ib9057fe57c1b9cdcd0d924b029f03da3589507a2
2018-05-29 11:51:32 +05:30
liuyamin
e6d4b20656 [Api-ref] fix the type of service_id in worker cleanup api
According to [1], the type of service_id is int, so fix it.

[1]https://review.openstack.org/#/c/569036/

Change-Id: Ie142582a2a73564127be83c1e3531a07311b4153
2018-05-29 14:19:14 +08:00
Dongcan Ye
b8078a8e38 api-ref: Fix v3 API version details error
Show v3 API version details should not return informations about v2,
meanwhile location is not in Response Parameters.

Change-Id: Ida12222b3bdac10d030d56b9724f09ee097c0b3c
2018-05-28 03:54:37 +00:00
Zuul
5dcf4f52ad Merge "V3 jsonschema validation: scheduler_hints" 2018-05-27 22:07:56 +00:00
Zuul
e67a74ed32 Merge "Additional fix for hostname validation regex" 2018-05-27 17:20:06 +00:00
Zuul
91ffae7d20 Merge "Fix the argument for cinder-manage command." 2018-05-27 17:05:16 +00:00
Zuul
7ff591fe5a Merge "V3 jsonschema validation: os-services" 2018-05-27 17:05:13 +00:00
Zuul
28207bc9da Merge "RBD: remove redundant exception log to reduce noise" 2018-05-25 19:43:12 +00:00
Zuul
7bdec2b2da Merge "Update the volume-encryption doc" 2018-05-25 19:37:04 +00:00
Zuul
8f794421c5 Merge "INFINIDAT: fixing extend mechanism" 2018-05-25 19:37:02 +00:00
Zuul
c4ecfc556d Merge "Update author in latex sphinx doc builds" 2018-05-25 19:22:46 +00:00
Zuul
85759680d9 Merge "[Docs] Fixes documentation warning" 2018-05-25 19:22:44 +00:00
Zuul
fcf349e68c Merge "Fix option description in DRBD driver" 2018-05-25 19:22:41 +00:00
Ryan Liang
1ef06d4a31 [Unity] Return logged-out initiators
In current implementation, Unity driver doesn't return the targets which
connect to the logged-out initiators, which causes the zone manager
fails to clean up the FC zone.

The fix returns all the targets of specified initiators no matter they
are logged in or not.

Change-Id: I1438d0bd4a43e1813dfb0a6e9b3c4a177c2fee8f
Closes-bug: #1773305
2018-05-25 14:05:01 +08:00
ghanshyam
5d67888392 Add cinder v2 experimental job
Tempest adding new cinder v2 job
- https://review.openstack.org/#/c/570466/

and running that as experimental to cover the v2
testing.

This commit add that job running on cinder experimental
pipeline also.

Depends-On: https://review.openstack.org/#/c/570466/
Change-Id: I69fd45311675591c2b772205b2f4780555cb8556
2018-05-25 01:16:30 +03:00
Michal Arbet
2880e0b8c3 Fix cannot add a column with non-constant default
With newer versions of sqlite tests are failing
on sqlite3.OperationalError : Cannot add a column with
non-constant default. In SQL queries is boolean without
apostrophes which causes sqlite3 error. This fix is
solving this issue by replacing text('false') to
expression.false() from sqlalchemy.sql which is
working correct.

Change-Id: Ia96255a2a61994a18b21acc235931ad03a8501ea
Closes-Bug: #1773123
2018-05-24 11:51:09 +00:00
Matthew Treinish
2c238038b5
Update author in latex sphinx doc builds
This commit updates the author in the latex build metadata in the sphinx
conf.py. This was set to Anso Labs, LLC from the initial fork out of
Nova in 2012. It's highly unlikely that an LLC acquired by Rackspace in
2011 is actually the author of the latex version of the docs so this
commit changes it to be "Cinder Contributors" to be accurate.

Change-Id: I5f1f7ea2f389783fe8b936d67d0ab99d759c4124
2018-05-23 17:07:24 -04:00
Matt Riedemann
87f267a1d6 Update the volume-encryption doc
There are two changes here:

1. Fix the formatting on the note for configuring
   nova-compute to comment out the fixed_key (note
   that I'm not sure why this is even in here)

2. Add a note that the --device specified to attach
   the volume to the server might not reflect where
   it actually shows up in the guest, especially since
   the libvirt driver completely ignores what the user
   specified.

Change-Id: I5f9870d46b7f49cc45d46f5794d8ee0c1bc4a1e2
2018-05-23 13:07:09 -04:00
Michael McAleer
6e06ab87c0 Additional fix for hostname validation regex
With the addition of the hostname validation check for Rocky release,
the regex used does not allow for '+' to be used in a hostname. This
breaks the Dell EMC VMAX driver as + symbols are used in constructing
host/pool names. To resolve this issue, add '+' to the regex string.

Change-Id: Ib58741bcf5b1abe7196e9b2ad37d849776b17fbe
Closes-Bug: #1772659
2018-05-23 10:40:04 +01:00