3618 Commits

Author SHA1 Message Date
Jenkins
9ed4ade7c3 Merge "Updated from global requirements" 2017-03-20 17:30:10 +00:00
Jenkins
662dada846 Merge "remove hacking rule that enforces log translation" 2017-03-20 13:54:36 +00:00
OpenStack Proposal Bot
0ca51b37d0 Updated from global requirements
Change-Id: I2b7763c2a11a9e48b9908f28e79a91015d1964c1
2017-03-20 13:21:55 +00:00
ChangBo Guo(gcb)
201f99f778 Remove old oslo.messaging transport aliases
Those are remnants from the oslo-incubator times. Also, oslo.messaging
deprecated [1] transport aliases since 5.2.0+ that is the minimal
version supported for stable/newton. The patch that bumped the minimal
version for Manila landed 3 months+ ago, so we can proceed ripping
those aliases from the code base.

[1] I314cefa5fb1803fa7e21e3e34300e5ced31bba89

Change-Id: Iea406d784bcef5c4c50e11a49cd967d0143d1d62
Closes-Bug: #1424728
2017-03-19 21:14:00 +08:00
Jenkins
a7c7439ddc Merge "Remove redundant revert-to-snapshot test option" 2017-03-18 11:25:10 +00:00
Tom Barron
66a6505d79 remove hacking rule that enforces log translation
Log translation is no longer being done [1] [2] so there
is no point in enforcing it going forwards.

Remove the hacking enforcement so that new commits need
not include this unused feature and so that we can remove
this unused il8n markup in existing code.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/thread.html#113365
[2] https://review.openstack.org/#/c/446762/

Change-Id: I31f35b0597e161a1654467f5a0a2348789292d83
2017-03-17 05:54:03 -04:00
Tom Barron
24a650d0be docs: fix build failure on html_last_updated_fmt
Set this option using the expected type.

Change-Id: Icfece0f2252ea724f7ed7c84e7c17ecbf00d61a6
Closes-Bug: #1673720
2017-03-17 05:53:37 -04:00
Jenkins
a70261ba50 Merge "Enable share groups back" 2017-03-16 18:54:19 +00:00
Jenkins
26c44889c7 Merge "Handle ssl for VNX manila driver" 2017-03-16 18:53:28 +00:00
OpenStack Proposal Bot
80b54ad59d Updated from global requirements
Change-Id: I442f446f7ebd60e989d9e2814d111b3e8783b427
2017-03-15 12:44:33 +00:00
Peter Wang
8b6868aaae Handle ssl for VNX manila driver
From python 2.7.9 on, the ssl verification is enabled by default,
This commit adds 2 options for Manila, so user is able to control the
ssl verification.

The 2 options are ported from cinder/driver.py, these can be used by any
vendor driver which needs to handle ssl verification.

Closes-bug: 1669202
Implements: blueprint add-ssl-verification-options
Change-Id: Ia9a488cab9d4d2d25c5ab534dbf4d61e930cfd7f
2017-03-15 09:01:20 +08:00
Valeriy Ponomaryov
f7783776b5 Update share replicas after promotion in proper order
Update replica that becomes active after promotion only as last
to avoid concurrency in share replica states when we can have 2
active share replicas in some narrow timeframe.

Change-Id: Idf01daf31172a21dbb6595044c11980867346d13
Closes-Bug: #1664201
2017-03-14 18:36:41 +02:00
Valeriy Ponomaryov
9ea065ebea Enable share groups back
This feature was disabled by default in Ocata.
Now, enable it back to ease further work and updates of this feaure.

Change-Id: Ib57b55ce77df1b8e6481057014f2e9f6d743e34d
2017-03-14 16:51:12 +02:00
OpenStack Proposal Bot
00adc593fb Updated from global requirements
Change-Id: I2f9ac23da5053963e1685e33949a9205cca20895
2017-03-13 19:33:30 +00:00
Ken'ichi Ohmichi
190fd02bcf Switch to use stable data_utils
Tempest provides stable library interfaces under tempest.lib.
This patch switches to use it for data_utils.

Change-Id: Ia331ec10a84118e5d72a95f8f8b86509f57232a1
2017-03-12 18:57:34 -07:00
Jenkins
f148a9dee3 Merge "Deprecate 'ganesha_nfs_export_options'" 2017-03-12 22:47:19 +00:00
Jenkins
be7f51cf00 Merge "Local copy of scenario test base class" 2017-03-11 01:22:42 +00:00
Tom Barron
0e3570afee Deprecate 'ganesha_nfs_export_options'
since no driver pays any attention to it.

TrivialFix

Change-Id: If39f1622583dd797152de0c93ba68ab0b28cb632
2017-03-10 12:59:26 -05:00
Jenkins
5acdbe1909 Merge "[Tempest] Fix concurrency in test with listing share servers" 2017-03-09 20:29:51 +00:00
Andrea Frittoli
55600c137f Local copy of scenario test base class
The scenario tests base class from Tempest is not a stable interface
and it's going to be refactored on Tempest side, as notified in

http://lists.openstack.org/pipermail/openstack-dev/2017-February/112938.html

Maintain a local copy of the base class, taken from Tempest with head of
master at c5f1064759fe6c75a4bc5dc251ed1661845936cb.

Change-Id: I1b7470f38b9814b9baa064f9302f4f3b6a8c7894
2017-03-09 13:12:57 -05:00
Jenkins
25a72a656b Merge "[api-ref]: Add missing share statuses" 2017-03-09 17:10:47 +00:00
Jenkins
5ef41f27bf Merge "Rename wrapped methods in share manager" 2017-03-09 17:10:39 +00:00
Jenkins
b6fd69eeea Merge "CephFS driver: change CG variables to SG variables" 2017-03-09 14:42:45 +00:00
Tom Barron
0b1a73e618 Rename wrapped methods in share manager
The new names aim to help those who prefer distinct method
names for search and code navigation while preserving a
tight and obvious relation between the names of wrapping and
wrapped methods.

TrivialFix

Change-Id: Ic14fcbdfbc3936b350ffff505d6472fd088eb689
2017-03-09 09:19:11 -05:00
Tom Barron
35a0059462 CephFS driver: change CG variables to SG variables
in the native cephfs driver to align with the overall deprecation
in manila of Consistency Groups in favor of Share Groups.

Also update a docstring reference to Consistency groups in the
base driver class.

TrivialFix

Change-Id: I69d7d390ae4d4cc7419e4e20c81f44349c533dc8
2017-03-09 12:50:37 +00:00
Jenkins
8daacd8cb6 Merge "Update share server provisioning for share groups" 2017-03-09 12:09:37 +00:00
Jenkins
82623a891a Merge "Remove unused "share_id" parameter" 2017-03-09 12:09:28 +00:00
Jenkins
162e5e606b Merge "Send resize parameters in rpc as list in the Quobyte driver" 2017-03-09 11:58:29 +00:00
Thomas Bechtold
2475f75cd5 [api-ref]: Add missing share statuses
Add missing possible statuses from manila/common/constants.py to the API
reference.

Change-Id: I7300820abd80c6184367620d76e8ae15bfeadbd7
2017-03-09 08:15:05 +01:00
Tom Barron
946c2fe80d Fix python3 pep8 errors
Gate still runs pep8 with python2.7 but will eventually run with
python3, and current desktop linux distributions typically ship
a version of tox that uses python3 to run pep8.

Remove windows style line endings and use builtin functions that
are python3 compatible.

TrivialFix

Change-Id: I542475fe25358cc127c3e0de00fcc9f7dc084005
2017-03-08 12:07:08 -05:00
Tom Barron
058bb4238c Update share server provisioning for share groups
The _provide_share_server_for_share_group method derived from the
corresponding _provide_share_server_for_share method, but differs
from it as well.

Update the parameter check because the group provisioning method
always requires that a share_network_id be passed, even when a
snapshot parameter is supplied.  Also update the docstring for
this method to apply to share groups rather than shares and to
be more accurate.

TrivialFix

Change-Id: Ib39c4cb95fcc833905e82213cc3deaef86ab7d07
2017-03-08 10:10:19 -05:00
Silvan Kaiser
b3502c94d7 Send resize parameters in rpc as list in the Quobyte driver
Corrects backend RPC parameter formatting for extend and shrink commands.
Removes a Note regarding share resizing that has become superfluous
due to the upcoming Quobyte 1.4 release.

Closes-Bug: #1666541

Change-Id: Ifa9223c9ad87f7b030433a04e7e76c9d64278463
2017-03-08 14:51:24 +01:00
Jenkins
ed4a7109e9 Merge "The python version is added Python 3 and 3.5 version was missing." 2017-03-08 11:22:52 +00:00
Valeriy Ponomaryov
46d499a85c [Tempest] Fix concurrency in test with listing share servers
Before it was possible to pick up temporary status of share server
and fail to filter share servers as second API call, because status
could be changed. Fix it by filtering with 'active' status.

Change-Id: Idcff68ce475d31b38a34d410970cc839b06d18b3
Closes-Bug: #1670757
2017-03-07 21:22:45 +03:00
kavithahr
0e55553b2b The python version is added
Python 3 and 3.5 version was missing.

Change-Id: Ifa2148c4cf34d52b55a762e95778a5ed3ed848b3
2017-03-07 14:49:05 +05:30
Tom Barron
af7ac539aa Start NFS and SMB services on fedora platforms
after installing them in the devstack plugin.

Change-Id: Idddbcdf8750a041aa79943f9950c20c4d9d35502
Closes-Bug: #1670434
2017-03-06 12:18:25 -05:00
Tom Barron
9c51184310 Remove unused "share_id" parameter
in "revert_to_snapshot" share service api.

Change-Id: I8f876ff78ccb9734ecd754d1ddde8f9d724ae8ca
Closes-Bug: #1662572
2017-03-05 22:13:43 -05:00
Tom Barron
70176ccd6a Remove unused assignments in share manager
Also rename a variable to conform with spelling of
'suppress' so that it is easier to find.

Change-Id: I8223ad807efefe92e2d32222bac9d25b40605e70
2017-03-04 15:01:07 -05:00
OpenStack Proposal Bot
8c514bba76 Updated from global requirements
Change-Id: I75cd2fa18a09e141e5341727f69cb9ee7f806b0a
2017-03-03 22:51:04 +00:00
Tom Barron
58bd5b0179 Unblock gate failure on docs build
Our form of todo extension does not work with sphinx 1.5.2.

Remove it to unblock gate: we can add todos back in later with
more current methods.  Also clean up some dangling cross-references
in the doc.

Co-Authored-By: Valeriy Ponomaryov <vponomaryov@mirantis.com>
Change-Id: If74b9e32ad2b5d8d70da60895d85588ff993797e
2017-03-03 18:21:45 +02:00
vponomaryov
e79cf7bf33 Fix 3 CI breakages
1) Increase default RAM value in manila flavor to be able
   to use manila service image with new 64bit architecture.
2) Fix test requirement on "hacking" lib to avoid pep8 breakage.
3) Fix unstable maprfs driver unit test that depends on local hostnames
   and IPs.

Change-Id: Ib36113e33e3616984be5864fbaf73c1fc5d7a315
Closes-Bug: #1669412
Closes-Bug: #1659162
2017-03-02 18:22:40 +02:00
Jenkins
45bdcbeed0 Merge "Fix host-assisted migration stale source share" 2017-03-01 17:28:06 +00:00
Jenkins
a966e43b04 Merge "[Grenade] Fix devstack configuration in CI hook" 2017-02-27 19:22:14 +00:00
Valeriy Ponomaryov
0b3fce7a04 [Grenade] Fix devstack configuration in CI hook
Commit [1] fixed approach for setting devstack config according to
changes [2] in devstack. But it started updating only 1 of 2 possible
devstack directories that are 'old' and 'new'. Where 'old' is the one
that is used only in 'grenade' job as base installation for performing
project migration. 'new' is used in all other single-devstack
installations. So, with [1] everything started working except
'grenade' job.
Fix grenade job by copying devstack config to 'old' dir if it exists.

[1] Idfa8e0cb3f446361daa1449e0854d95cfb379f46
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-February/112872.html

Change-Id: Ic00a1fe296fa68a65672fa680ebd8a9336ed7cef
2017-02-27 18:46:07 +02:00
Jenkins
70341f2bbd Merge "Fix syntax in devstack plugin" 2017-02-27 15:28:43 +00:00
Jenkins
990081d79b Merge "Address family neutrality for container driver" 2017-02-27 02:09:08 +00:00
Jenkins
61b783be1b Merge "Change tempest tag to 15.0.0" 2017-02-26 06:53:25 +00:00
Jenkins
65a6a09c44 Merge "Use https instead of http for git.openstack.org" 2017-02-26 06:23:03 +00:00
Ben Swartzlander
8e791b4e0e Change tempest tag to 15.0.0
Change-Id: Iaf03059a44d08236b6de14e4dc18f2ba459e9707
2017-02-24 15:14:41 -05:00
Jenkins
0f460dec79 Merge "Add Apache License Content in index.rst" 2017-02-24 19:25:50 +00:00