We are excited to announce the release of: searchlight 4.0.0: OpenStack Search Service This release is part of the queens release series. Download the package from: https://tarballs.openstack.org/searchlight/ For more details, please see below. Changes in searchlight 3.0.0..4.0.0 ----------------------------------- 49642e0 Updated from global requirements d1d30ff Workaround eventlet bug with recent py 2.7.12 da69173 Updated from global requirements 0e601a1 Remove use of unsupported TEMPEST_SERVICES variable 89f12ec trivial: modify spelling error of exception 11ca439 Updated from global requirements bf20ce9 Remove the deprecated "giturl" option 3a3d30e TrivialFix: remove redundant import alias 985d16a Updated from global requirements 4e3f348 Updated from global requirements f5e7035 Updated from global requirements b337d1f Updated from global requirements f17f914 Fix typo in settings get/put err handler b859a86 Updated from global requirements 207e88d Remove setting of version/release from releasenotes 73d32a9 Implement policy in code - reno and doc (end) db14649 Updated from global requirements ae31a91 Updated from global requirements f8362bf Add logs when receiving SIGHUP signal 84603cb Use assertRegex instead of assertRegexpMatches 8a21ed5 Fix the installation script cb0655b Implement policy in code - resource (3) 0b77613 Implement policy in code - search (2) f9c76b0 Implement basic policy module in code (1) 08ad193 Use keystoneclient v3 instead of v2_0 72d7325 Use generic user for both zuul v2 and v3 6463347 Updated from global requirements 141389f Fix broken URL 44a85d6 Fix to use "." to source script files 49cf983 Fix to use . to source script files 15afe8c Update reno for stable/pike Diffstat (except docs and test files) ------------------------------------- .gitignore | 4 + api-ref/source/conf.py | 5 - devstack/gate/post_test_hook.sh | 2 +- devstack/plugin.sh | 3 - etc/oslo-policy-generator/searchlight.conf | 3 + etc/policy.json | 29 -- etc/property-protections-policies.conf.sample | 2 +- .../policy-and-doc-in-code-b9f65c80b21c4488.yaml | 14 + releasenotes/source/conf.py | 12 +- releasenotes/source/index.rst | 1 + releasenotes/source/pike.rst | 6 + requirements.txt | 42 +- searchlight/api/policy.py | 2 + searchlight/cmd/api.py | 5 + searchlight/common/policies/__init__.py | 27 ++ searchlight/common/policies/base.py | 31 ++ searchlight/common/policies/resource.py | 439 +++++++++++++++++++++ searchlight/common/policies/search.py | 77 ++++ searchlight/common/property_utils.py | 3 +- searchlight/common/wsgi.py | 6 +- searchlight/elasticsearch/plugins/helper.py | 2 +- .../elasticsearch/plugins/openstack_clients.py | 2 +- .../elasticsearch/plugins/swift/__init__.py | 2 +- searchlight/elasticsearch/plugins/utils.py | 4 +- searchlight/service_policies.py | 3 + setup.cfg | 2 + test-requirements.txt | 18 +- tools/install_venv.py | 21 +- tools/install_venv_common.py | 9 +- tox.ini | 4 + 41 files changed, 741 insertions(+), 108 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 2335ae9..044edc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10 +10 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -greenlet>=0.3.2 # MIT +greenlet>=0.4.10 # MIT @@ -16,6 +16,6 @@ WebOb>=1.7.1 # MIT -oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0 -oslo.concurrency>=3.8.0 # Apache-2.0 -oslo.context>=2.14.0 # Apache-2.0 -oslo.middleware>=3.27.0 # Apache-2.0 -oslo.service>=1.10.0 # Apache-2.0 -oslo.utils>=3.20.0 # Apache-2.0 +oslo.config>=5.1.0 # Apache-2.0 +oslo.concurrency>=3.25.0 # Apache-2.0 +oslo.context>=2.19.2 # Apache-2.0 +oslo.middleware>=3.31.0 # Apache-2.0 +oslo.service!=1.28.1,>=1.24.0 # Apache-2.0 +oslo.utils>=3.33.0 # Apache-2.0 @@ -23,2 +23,2 @@ stevedore>=1.20.0 # Apache-2.0 -keystonemiddleware>=4.12.0 # Apache-2.0 -WSME>=0.8 # MIT +keystonemiddleware>=4.17.0 # Apache-2.0 +WSME>=0.8.0 # MIT @@ -27 +27 @@ WSME>=0.8 # MIT -Paste # MIT +Paste>=2.0.2 # MIT @@ -30 +30 @@ python-keystoneclient>=3.8.0 # Apache-2.0 -pyOpenSSL>=0.14 # Apache-2.0 +pyOpenSSL>=16.2.0 # Apache-2.0 @@ -32 +32 @@ pyOpenSSL>=0.14 # Apache-2.0 -six>=1.9.0 # MIT +six>=1.10.0 # MIT @@ -34,5 +34,5 @@ six>=1.9.0 # MIT -oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0 -oslo.log>=3.22.0 # Apache-2.0 -oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0 -oslo.policy>=1.23.0 # Apache-2.0 -oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0 +oslo.i18n>=3.15.3 # Apache-2.0 +oslo.log>=3.36.0 # Apache-2.0 +oslo.messaging>=5.29.0 # Apache-2.0 +oslo.policy>=1.30.0 # Apache-2.0 +oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 @@ -45 +45 @@ elasticsearch<=3.0.0,>=2.0.0 # Apache-2.0 -python-designateclient>=1.5.0 # Apache-2.0 +python-designateclient>=2.7.0 # Apache-2.0 @@ -47 +47 @@ python-glanceclient>=2.8.0 # Apache-2.0 -python-novaclient>=9.0.0 # Apache-2.0 +python-novaclient>=9.1.0 # Apache-2.0 @@ -49 +49 @@ python-neutronclient>=6.3.0 # Apache-2.0 -python-cinderclient>=3.1.0 # Apache-2.0 +python-cinderclient>=3.3.0 # Apache-2.0 @@ -51 +51 @@ python-swiftclient>=3.2.0 # Apache-2.0 -python-ironicclient>=1.14.0 # Apache-2.0 +python-ironicclient>=2.2.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 5e03de3..8ec8179 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14,2 +14,2 @@ fixtures>=3.0.0 # Apache-2.0/BSD -mock>=2.0 # BSD -sphinx>=1.6.2 # BSD +mock>=2.0.0 # BSD +sphinx!=1.6.6,>=1.6.2 # BSD @@ -18 +18 @@ testrepository>=0.0.18 # Apache-2.0/BSD -testtools>=1.4.0 # MIT +testtools>=2.2.0 # MIT @@ -20,4 +20,4 @@ psutil>=3.2.2 # BSD -oslotest>=1.10.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 -simplejson>=2.2.0 # MIT -httplib2>=0.7.5 # MIT +oslotest>=3.2.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +simplejson>=3.5.1 # MIT +httplib2>=0.9.1 # MIT @@ -26,2 +26,2 @@ httplib2>=0.7.5 # MIT -openstackdocstheme>=1.16.0 # Apache-2.0 -os-api-ref>=1.0.0 # Apache-2.0 +openstackdocstheme>=1.18.1 # Apache-2.0 +os-api-ref>=1.4.0 # Apache-2.0