elastic/kibana

[Fleet]: ''Agent' upgrade cancelled' is shown on 'Agent activity' flyout on Abort upgrading multiple agents

Open

#143,253 opened on Oct 13, 2022

View on GitHub
 (10 comments) (0 reactions) (0 assignees)TypeScript (8,021 forks)batch import
Team:Fleetbuggood first issueimpact:low

Repository metrics

Stars
 (19,065 stars)
PR merge metrics
 (Avg merge 1d 16h) (999 merged PRs in 30d)

Description

Kibana version: 8.5 Kibana Staging environment

Host OS and Browser version: All, All

Build Details:

Version: 8.5.0 BC3
Build: 56932
Commit: 1bb0d052c8d6842b88665c8c489f3a2d4cf4b46a

Preconditions:

  • 8.5 Kibana cloud environment should be available.
  • Multiple lower versions agents should be installed.

Steps to reproduce:

  1. Navigate to Fleet > Agents tab
  2. Select , say two agents.
  3. Click on 'Actions' button.
  4. Select Upgrade 2 agents option from Actions dropdown.
  5. Select Upgrade agent button on Upgrade agent pop-up.
  6. Upgrading agent(s) toast message is shown.
  7. Click on Agent activity link.
  8. Upgrading 2 agent to version 8.5.0 and Abort upgrade is shown on Agent activity flyout.
  9. Click on Abort upgrade button.
  10. Abort upgrade? pop-up is shown > click on Confirm button.
  11. Observe that 'Agent upgrade cancelled' is shown on Agent activity flyout.

Expected Result:

  • 'Agents upgrade cancelled' should be shown on Agent activity flyout on Abort upgrading multiple agents.

Screen Recording:

https://user-images.githubusercontent.com/97870262/195516829-72eda038-1412-4a0d-980a-d92598927b5c.mp4

Contributor guide