opensearch 2.13.0 no handler found for uri [/_plugins/_security/authinfo] and method [GET]

Bug #2060306 reported by Roman Krček
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
High
Sven Kieske

Bug Description

Recently OpenSearch was updated from 2.12.0 to 2.13.0. That has resulted in some errors in CI, OpenSearch test are now failing. Upon closer look when running curl against the status endpoint you get this message:

$ curl -i --user opensearch:<password> <vip>:5601/api/status
HTTP/1.1 401 Unauthorized
osd-name: optim-control-uuzyndguhg5w
content-type: application/json; charset=utf-8
cache-control: private, no-cache, no-store, must-revalidate
content-length: 126
date: Fri, 05 Apr 2024 08:06:51 GMT
keep-alive: timeout=120

{"statusCode":401,"error":"Unauthorized","message":"no handler found for uri [/_plugins/_security/authinfo] and method [GET]"}

When I built my own image with opensearch=2.12.0 and opensearch-dashboard=2.12.0 the result is 200 OK.

Here is the last CI job that failed https://zuul.opendev.org/t/openstack/build/f406343127d34e33b73dedd594eefa9e

Here is the last CI job that succeeded https://zuul.opendev.org/t/openstack/build/06d9928920784b62a4b91e1a4a8e2a6c

Revision history for this message
kyle (kyle233) wrote :

I encountered the same issue with version 2023.1. When I connect using a VIP, I get a blank page with an authentication form. After entering the username and password, and clicking on login, I receive the following error:

{"statusCode":401,"error":"Unauthorized","message":"no handler found for uri [/_plugins/_security/authinfo] and method [GET]"}

However, when I connect using a node IP, I am able to access a dashboard login page. But when I enter the correct username and password, I receive the following result:

Invalid username or password. Please try again.

Revision history for this message
Sven Kieske (s-kieske) wrote :
Revision history for this message
Sven Kieske (s-kieske) wrote :

sorry, wrong link, but the above fixes it as well, as it's marking the jobs currently as non voting.
I proposed https://review.opendev.org/c/openstack/kolla/+/915322 to pin opensearch to 2.12 for now.

Changed in kolla-ansible:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Sven Kieske (s-kieske)
Revision history for this message
Viktor (buktop20) wrote :

I have the same issue on master

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.