-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Ingest Management] Can't update the system package #82580
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
@neptunian Could you have a look at the above and comment on the expected behaviour? |
My current theory is that the update failed and the call to the registry for the old package happened during rollback. This is a known issue and will be fixed with #81110 Were there other errors in the Kibana log before the |
Not sure how to check logs this cloud environment, maybe @kuisathaverat can help here. AFAIK nothing was found during the investigation yesterday. |
I'll send you the instructions on slack |
There are errors of this type before the
Also for |
I see tons of logs like this one
and when I access to fleet these two
|
I have checked the status of the Elasticsearch cluster is red this can explain why can not write that index
|
with the cluster in yellow, we have the same error
|
As the symptom in the original description will be addressed by #81110 , can we close this one? |
Actually it's up to the team. I didn't dive deeper into the Kibana issue, but I assume that the package won't disappear once installed, right? It isn't a temporary cache? If you decide to close this issue, I suggest to prioritize the other one, because it's a relatively common use case to replace staged packages with new versions (e.g. accumulate many snapshots until we have a major version. Snapshots will disappear once the package is promoted). EDIT: I'm not quite sure about the root cause of #82580 (comment) , it looks like it's a bit different and related with endpoint. /cc @jonathan-buttner |
In regards to this error I reached out to the ML team and here is their response of a likely cause
I also recall in the channel that there are a lot of documents on the server, perhaps we should try resize the host and disk or clearing up disk space on the machine. |
This issue starts to be confusing, the initial description of this issue seems to be because the package is gone. as @skh mentioned this will be addressed by #81110. So I think I would close that. @neptunian Can you double check? The installation problem as mentioned in @nnamdifrankie should be in another issue. |
Please can you create a ticket for the frozen index issue. In that ticket we should evaluate the physical health of the server, e.g. disk space e.t.c. I did not setup that server so I will defer to you on proceeding. |
This cluster has about 5TB of disk space we are using about 3TB, so I think we are far away to fill the disk, also if we run out of disk space everything blows up (I know from experience), something else has to trigger this index freeze |
@nnamdifrankie |
You can create it in the Kibana public repo and add label "Team:Onboarding and Lifecycle Mgt" |
Agreed that if there is an error installing some version of a package it will try to rollback. There should have been log messages describing the problem, that a rollback was being attempted, and that it failed. |
I understand that there should be an error stored in logs, but on the other hand the one reported in the REST response is really confusing. The user tries to install 0.9.0 and receives a response reporting a problem with non-existing 0.7.0. Do you think we can improve the error message? |
I tested the scenario out and the response I get is:
The response was the error that caused the rollback to begin with. I'm not sure this is the best message either but I don't get a mention about the other package. The logs looked like:
|
I think we're talking about different errors. Please look at the one I posted in the issue description (HTTP 502). |
Hi,
it looks like the following command doesn't work as intended (or in the specific condition):
Result:
Expected result - the system package "0.7.0" may not exist, but Kibana should install the selected one, which is available.
The text was updated successfully, but these errors were encountered: