opendevreview | Merged openstack/project-config master: Switch default Ansible version to 5 in all tenants https://review.opendev.org/c/openstack/project-config/+/849120 | 02:23 |
---|---|---|
*** chkumar|rover is now known as chandankumar | 03:26 | |
*** ysandeep|out is now known as ysandeep | 05:38 | |
*** ysandeep is now known as ysandeep|holiday | 06:18 | |
dpawlik | dansmith: hey, still waiting for review https://review.opendev.org/c/openstack/ci-log-processing/+/848218 | 07:49 |
*** soniya29|ruck is now known as soniya29|ruck|lunch | 07:51 | |
*** soniya29|ruck|lunch is now known as soniya29|ruck | 09:25 | |
*** xek__ is now known as xek | 10:20 | |
*** rlandy__ is now known as rlandy | 10:28 | |
*** dviroel|out is now known as dviroel|rover | 11:43 | |
frenzy_friday | hey dpawlik , do you know which version of elasticsearch-py is compatible with the current opensearch. I tried with 7.X.X - here es.search throws an exception: elasticsearch.exceptions.UnsupportedProductError: The client noticed that the server is not Elasticsearch and we do not support this unknown product | 11:51 |
frenzy_friday | with 8.X.X it says elasticsearch.ApiError: ApiError(406, 'Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported | 11:51 |
frenzy_friday | dasm|off ^ | 11:51 |
fungi | yeah, i heard that elasticsearch intentionally revved the minimum supported api version in their clients/libs in order to make them incompatible with opensearch | 11:55 |
fungi | frenzy_friday: i wonder if https://pypi.org/project/opensearch-py/ is a drop-in replacement | 11:57 |
dpawlik | frenzy_friday: hey, issue is on elasticsearch python client, that they reject support for Opensearch / Opendistro | 11:57 |
dpawlik | frenzy_friday: you can use opensearch py and it provide same classes/methods etc as elasticsearch-py do | 11:58 |
frenzy_friday | dpawlik, oh noooo :'( fungi thanks, trying with opensearch-py | 11:58 |
fungi | looks like the class name(s) is/are different, but the rest of the interface is probably the same | 11:59 |
dpawlik | frenzy_friday: I remember that they was some workaround for it like install old version of elasticsearch-py | 11:59 |
frenzy_friday | dpawlik, I tried with 6,7 and 8. Lemme check with opensearch-py | 11:59 |
fungi | yes, as long as you don't mind not getting security fixes for the library, going back in time to a version which supported the elasticsearch which opensearch forked from could work | 12:00 |
*** damiandabrowski[m] is now known as damiandabrowski | 12:45 | |
dansmith | dpawlik: okay, sorry I didn't know you were looking for confirmation from me | 13:44 |
dansmith | dpawlik: I'm a bit confused because I arranged the data in that sort of weird way because clarkb said it would make it easier to just natively import it | 13:45 |
dansmith | if that's not the case, then maybe we shouldn't be using this format at all, because it's not really convenient for anyone the way it is | 13:45 |
dpawlik | let's wait then form clarkb what he think about patch | 13:50 |
*** dasm|off is now known as dasm | 13:51 | |
fungi | he's on vacation this week, just in case you're waiting on some urgent response | 14:18 |
*** dviroel|rover is now known as dviroel|rover|lunch | 15:07 | |
dpawlik | fungi: clarkb: I guess it can wait. I'm also going for two days PTO. See you | 15:32 |
fungi | have a good time! | 15:49 |
*** dviroel|rover|lunch is now known as dviroel|rover | 16:11 | |
*** dviroel|rover is now known as dviroel|rover|biab | 20:36 | |
*** dviroel|rover|biab is now known as dviroel|rover | 21:15 | |
*** dviroel|rover is now known as dviroel|rover|biab | 21:41 | |
*** dviroel|rover|biab is now known as dviroel|rover| | 21:59 | |
*** dviroel|rover| is now known as dviroel|out | 22:01 | |
*** rlandy is now known as rlandy|bbl | 22:06 | |
*** dasm is now known as dasm|off | 22:18 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!