-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Error agent is not upgradeable is displayed on upgrading Linux deb (7.10 to 7.11) #22304
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Reviewed and assigned to @vipulsrivastava-qasource |
Reviewed and Assigned to @EricDavisX |
This is correct. DEB packages cannot be upgraded from Kibana. I think the issue here is that the Agent should not be able to be even selected to try to perform the upgrade. Which I believe is a Kibana issue. |
I agree it is not a Beats bug. It is a good error handling case tho. This test case shows what we already know that the 'Bulk Action' menu does not introspect the different systems before sending the request to upgrade it. Note that the requirement for the Agent to be 'installed' via Agent install is documented in the main ticket. My request for testing content @rahulgupta-qasource is that we should have mixed and matched cases of Agents deployed:
then trigger them all by 'bulk action' and they should all upgrade ok, except for 2: the .rpm and the one that is not installed. Those 2 should show an error, like you report and remain running and alive on the 7.10 (earlier) version of Agent. I don't mind really, what the error in the UI so long as the App doesn't crash or degrade, and so long as the error comes back within a minute. Can you set up that test and help verify? @blakerouse can you think of any more variation in the hosts or the setup or OS config that we want to attempt as part of the test? any supported OSes that are 'tricky' in a given way we aren't accounting for yet? Thanks much. |
for now I am closing this, we can report any subsequent different than the above error exceptions or other problems separately |
ah, one additional thought - we should update the test case to explicitly verify that for an .rpm or .deb install, that the right hand side 'actions' menu for single-agent actions has the option greyed out. |
Hi @EricDavisX Thank you for sharing the feedback. We have created the below 02 testcases(01 for Linux rpm and 01 for Linux deb) for 'Upgrade Agent' option disabled under right hand side 'Actions' menu on Agents tab:- |
Kibana version:
Kibana: 7.11.0 Snapshot cloud environment
Elasticsearch version:
Elasticsearch: 7.11.0 Snapshot cloud environment
Host OS and Browser version:
Linux deb , All
Original install method (e.g. download page, yum, from source, etc.):
7.11 Snapshot cloud environment
Description
Error agent is not upgradeable is displayed on upgrading Linux deb 7.10 BC4 agent
Preconditions
https://staging.elastic.co/7.10.0-c650b297/downloads/beats/elastic-agent/elastic-agent-7.10.0-amd64.deb
Steps to Reproduce
Test data
N/A
Impacted Test case id
Upgrade agent testcases
Actual Result
Error agent is not upgradeable is displayed on upgrading Linux deb 7.10 BC4 agent
Expected Result
Linux deb agent should be upgradeable
What's working
What's not working
Screenshot


Logs
N/A
The text was updated successfully, but these errors were encountered: