We are stoked to announce the release of: searchlight 6.0.0: OpenStack Search Service This release is part of the stein release series. The source is available from: https://git.openstack.org/cgit/openstack/searchlight Download the package from: https://tarballs.openstack.org/searchlight/ Please report issues through: https://storyboard.openstack.org/#!/project/openstack/searchlight For more details, please see below. Changes in searchlight 4.0.0..6.0.0 ----------------------------------- acd19c3 Update setup.cfg a8c9a69 Replace keystone v2 by v3 in test eaeb059 Drop py35 tox test 33da7eb Drop py35 tests a3e072c Fix devstack elasticsearch issue with jdk on bionic 7038886 Add Dockerfile and docker-compose.yml to run searchlight in docker containers dc66127 Update requests version to the latest f4a6724 Replace httplib2 by requests e2107a5 Add a vision-reflection document for Searchlight e57ef4f add python 3.7 unit test job fd2b8ff Update json module to jsonutils a0210ab Split use cases and vision documents 6dabd5c Update hacking and fix pep8 b91394e Use oslo.reports for better debugging e1df777 Add Searchlight use cases and vision 6098046 Change openstack-dev to openstack-discuss 815fa37 Add missing ws separator between words 8d3d45f Change openstack-dev to openstack-discuss d72774f Update requirements and fix functional tests 0581969 Add cover job a9d52a8 Revert "Update requirements for stestr" c5b1079 Add searchlight-status upgrade check command framework 42b1bd1 Remove i18n.enable_lazy() call from searchlight.cmd 65ce134 Update requirements for stestr 190b013 [Trivial fix] Correct spelling error 95d79cb Update min tox version to 2.0 665a106 Enable versioned nova notifications a9a146a Replace Chinese quotes with English quotes 0ed416f Update the URL in notification_handler.py a933f8c Fix Error when fetching members of private image Story: #1758327 Task: #25278 Change-Id: I9e2764326b03ea8cd1fc8ef33ed1d5d632dee532 5707aa9 Add Apache license to elasticsearch{5-6}.txt 3cb10e8 Fix wrong local.conf link in devstack's README e733c84 Update vagrant file 02f21b7 Fix release note ElasticSearch 5.x 2d4043e Add support for ElasticSearch 5.x dc79371 Update storyboard project group link 75b9476 Change the local.conf ref c4cf0c1 Revert "Completely move zuul jobs from os infra to local" df18d99 Completely move zuul jobs from os infra to local 7fcb65b Update zuul config 4f8a687 Add oslo_debug_helper to test 9647988 Update indexingservice doc 1c0e62f Fix 2 broken links in the installation doc 8744a8e Update test to use ElasticSearch 2.3.4 as docs says 179b4e9 Fix py36 fail 938187c Change launchpad to storyboard links c8e7a57 Adjustments for WebOb 1.8.1 7386c7c Add oslotest to test-requirements c632fad Update devstack config 3044cc3 Add vagrant as a contrib folder b5f5f70 Add details of permissions required for listener/rabbitmq 4261786 Add simple script to help testing image membership 7dbf807 Fix broken incrementer be3ba4e Move some of the implementation notes lower cf749ea Update tox 6a65cda Converted String timestamp to Int bfc274f add python 3.6 unit test job 1dc6dfe Update doc requirements to reflect OS global requirements [1] 1e6b8ec Updated from global requirements 06c901e Update README a20a266 switch documentation job to new PTI dd60dce import zuul job settings from project-config 038bc95 Enable mutable config in searchlight 1f25711 Switch to use stestr for unit test f3833aa Fixes the default sample policy path 3d43ee4 Follow the new PTI for document build c5850c4 Add document and code repository links to README e104c6e fix tox python3 overrides 5e83f4d replace unicode with six.text_type 2a61944 Add 'system_scope' to context test 905797a Fix format of codeblock enumeration eb2b4a5 Remove moxstubout usage c95d991 add lower-constraints job 1a22909 Update "auth_url" in install docs 0d18d8f uncap eventlet ffa0078 Fix unreachable link in document ebd4f94 Update links in README 3952ab2 Imported Translations from Zanata 0f28ed6 Remove policy.json from devstack 94063fa fix typos in documentation 68500a2 Updated from global requirements e07d9e4 Imported Translations from Zanata f689b72 Update reno for stable/queens Diffstat (except docs and test files) ------------------------------------- .gitignore | 2 +- .stestr.conf | 4 + .testr.conf | 8 - .zuul.yaml | 10 + CONTRIBUTING.rst | 4 +- README.rst | 55 ++- api-ref/source/conf.py | 3 +- api-ref/source/searchlight-v1.inc | 49 +- bindep.txt | 2 + contrib/docker/Dockerfile | 30 ++ contrib/docker/README.rst | 76 +++ contrib/docker/docker-compose.example.yml | 24 + contrib/docker/entrypoint.sh | 52 ++ contrib/docker/searchlight.conf | 70 +++ contrib/vagrant/Vagrantfile | 77 +++ contrib/vagrant/local.conf | 81 ++++ devstack/README.rst | 9 +- devstack/{local.conf => local.conf.example} | 14 +- devstack/plugin.sh | 65 ++- elasticsearch5.txt | 2 + elasticsearch6.txt | 2 + etc/oslo-policy-generator/searchlight.conf | 2 +- images/SeaaS.png | Bin 0 -> 88834 bytes lower-constraints.txt | 50 ++ ...devstack-elasticsearch-5x-48934b931a31c823.yaml | 4 + ...a-versioned-notifications-ffa01feeaf688414.yaml | 17 + ...s-upgrade-check-framework-7ef75908acc5110f.yaml | 13 + releasenotes/source/index.rst | 1 + releasenotes/source/queens.rst | 6 + requirements.txt | 28 +- searchlight/api/v1/search.py | 9 +- searchlight/cmd/__init__.py | 2 - searchlight/cmd/api.py | 27 +- searchlight/cmd/control.py | 15 +- searchlight/cmd/listener.py | 2 +- searchlight/cmd/status.py | 55 +++ searchlight/common/exception.py | 6 + searchlight/common/utils.py | 2 +- searchlight/common/wsgi.py | 38 +- searchlight/elasticsearch/__init__.py | 8 +- searchlight/elasticsearch/plugins/base.py | 6 +- .../plugins/designate/notification_handlers.py | 2 +- .../elasticsearch/plugins/glance/__init__.py | 7 +- searchlight/elasticsearch/plugins/nova/__init__.py | 109 ++++- .../plugins/nova/notification_handler.py | 153 ++++-- searchlight/elasticsearch/plugins/nova/servers.py | 20 +- searchlight/elasticsearch/plugins/utils.py | 28 +- searchlight/i18n.py | 4 +- searchlight/listener.py | 2 +- searchlight/locale/de/LC_MESSAGES/searchlight.po | 139 +++++- .../locale/en_GB/LC_MESSAGES/searchlight.po | 524 +++++++++++++++++++++ .../locale/ko_KR/LC_MESSAGES/searchlight.po | 8 +- .../locale/pt_BR/LC_MESSAGES/searchlight.po | 8 +- .../locale/tr_TR/LC_MESSAGES/searchlight.po | 8 +- .../locale/zh_CN/LC_MESSAGES/searchlight.po | 8 +- .../locale/zh_TW/LC_MESSAGES/searchlight.po | 8 +- searchlight/service.py | 4 +- searchlight/version.py | 1 + setup.cfg | 12 +- test-requirements.txt | 17 +- test-scripts/generate-swift-data.py | 9 +- test-scripts/image_member_test.sh | 23 + test-scripts/listener.py | 8 +- test-scripts/resources.sh | 2 +- tools/install_venv_common.py | 6 +- tools/test-setup.sh | 14 +- tox.ini | 65 ++- 103 files changed, 2878 insertions(+), 544 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 044edc3..25853f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12 +12 @@ greenlet>=0.4.10 # MIT -eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT +eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT @@ -15,3 +15,3 @@ Routes>=2.3.1 # MIT -WebOb>=1.7.1 # MIT -oslo.config>=5.1.0 # Apache-2.0 -oslo.concurrency>=3.25.0 # Apache-2.0 +WebOb>=1.8.4 # MIT +oslo.config>=5.2.0 # Apache-2.0 +oslo.concurrency>=3.26.0 # Apache-2.0 @@ -20 +20,2 @@ oslo.middleware>=3.31.0 # Apache-2.0 -oslo.service!=1.28.1,>=1.24.0 # Apache-2.0 +oslo.service>=1.33.0 # Apache-2.0 +oslo.upgradecheck>=0.1.0 # Apache-2.0 @@ -30 +31 @@ python-keystoneclient>=3.8.0 # Apache-2.0 -pyOpenSSL>=16.2.0 # Apache-2.0 +pyOpenSSL>=17.1.0 # Apache-2.0 @@ -35,0 +37 @@ oslo.log>=3.36.0 # Apache-2.0 +oslo.reports>=1.18.0 # Apache-2.0 @@ -42 +44,9 @@ osprofiler>=1.4.0 # Apache-2.0 -elasticsearch<=3.0.0,>=2.0.0 # Apache-2.0 +# ElasticSearch 6.x +# elasticsearch>=6.0.0,<7.0.0 +# ElasticSearch 5.x +# elasticsearch>=5.0.0,<6.0.0 +# ElasticSearch 2.x +# elasticsearch>=2.0.0,<3.0.0 +# See: +# https://elasticsearch-py.readthedocs.io/en/master/#compatibility +elasticsearch<3.0.0,>=2.0.0 # Apache-2.0 @@ -48 +58 @@ python-novaclient>=9.1.0 # Apache-2.0 -python-neutronclient>=6.3.0 # Apache-2.0 +python-neutronclient>=6.11.0 # Apache-2.0 @@ -51 +61 @@ python-swiftclient>=3.2.0 # Apache-2.0 -python-ironicclient>=2.2.0 # Apache-2.0 +python-ironicclient>=2.3.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 8ec8179..c23cc38 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +6 @@ -hacking<0.11,>=0.10.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 @@ -12 +12 @@ Babel!=2.4.0,>=2.3.4 # BSD -coverage!=4.4,>=4.0 # Apache-2.0 +coverage>=4.5.2 # Apache-2.0 @@ -15,3 +15,3 @@ mock>=2.0.0 # BSD -sphinx!=1.6.6,>=1.6.2 # BSD -requests>=2.14.2 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD +oslotest>=3.2.0 # Apache-2.0 +requests>=2.21.0 # Apache-2.0 +stestr>=2.0.0 # Apache-2.0 @@ -20,2 +19,0 @@ psutil>=3.2.2 # BSD -oslotest>=3.2.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 @@ -23,5 +20,0 @@ simplejson>=3.5.1 # MIT -httplib2>=0.9.1 # MIT - -# Documentation -openstackdocstheme>=1.18.1 # Apache-2.0 -os-api-ref>=1.4.0 # Apache-2.0