elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

[Fleet]: `Restart upgrade agents` is enabled under bulk actions when upgrade was never triggered. #182239

Open amolnater-qasource opened 6 months ago

amolnater-qasource commented 6 months ago

Kibana Build details:

VERSION: 8.14.0 BC2
BUILD: 73626
COMMIT: bcf6960778ae270d0894a8aab07f10197ee9b97f

Preconditions:

  1. 8.14.0-BC2 Kibana cloud environment should be available.

Steps to reproduce:

  1. Lower version agent should be installed.
  2. Bulk select agents and under actions observe Restart upgrade agents is enabled when upgrade was never triggered.

Expected Result: Restart upgrade agents should be disabled under bulk actions when upgrade was never triggered.

Screen Recording:

https://github.com/elastic/kibana/assets/77374876/a5392e80-dd53-4f64-8666-8e96e35bcdaa

elasticmachine commented 6 months ago

Pinging @elastic/fleet (Team:Fleet)

amolnater-qasource commented 6 months ago

@karanbirsingh-qasource Please review.

ghost commented 6 months ago

secondary review for this issue is done

juliaElastic commented 6 months ago

The Restart upgrade on bulk selection always worked like this, the check of how many agents are in updating is made when opening the modal window. So I wouldn't consider this a bug, perhaps an enhancement if we want to use the check to disable the action button.

kpollich commented 6 months ago

Putting this on the backlog as a low priority enhancement.