devstack plugin doesn't support elasticsearch 5.x

Bug #1648255 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
New
Undecided
Ruslan Gustomyasov

Bug Description

Searchlight works ok with Elasticsearch 5 but the devstack plugin doesn't because they changed the download URL (again) from https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/${deb,rpm}/elasticsearch/${version}/elasticsearch-${version}.deb to the much more sensible https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${version}.deb

This requires a change in plugin.sh to either try both or branch based on the version.

Changed in searchlight:
assignee: nobody → Ruslan Gustomyasov (rusik)
Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

devstack plugin is currently broken because of this :-(

Revision history for this message
Steve McLellan (sjmc7) wrote :

I think this'll be addressed by https://review.openstack.org/#/c/446620/ BUT... the devstack plugin should be using the default value of ELASTICSEARCH_VERSION which is 2.3.4, so unless you're setting that to 5.x you shouldn't be seeing a problem.

While we have tested with ES5, we can't update the python client version because it's capped by global-requirements, which is why 2.x is the default.

Can you post the section of the devstack log that shows the problem, and confirm whether you're setting ELASTICSEARCH_VERSION?

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

I'll run another devstack and capture the log this time, yep.

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

Sadly the devstack run failed in a different place, so I can't provide you with a useful error log. I will endeavour to run another devstack next week if you don't get in before me :-)

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

I ran up another devstack this morning and it's working fine, searchlight included.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.