Upgrade via PMM UI stalls (on yum update pmm-update)

Description

STR:

  1. Install PMM 2.10.1

  2. Enable laboratory and testing repositories:

  1. Run upgrade from Home dashboard
    Given result: Update stuck on "yum update pmm-update" step for a few minutes and then suddenly was finished.

 

How to fix:
1/ Refactor the usePerformUpdate.ts to fix the logic and avoid using shadowed variables in the scope.
2/ Cover what was fixed with unit tests.

How to test

None

How to document

None

Attachments

4

Activity

Done

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

Fix versions

Story Points

Sprint

Affects versions

Created October 7, 2020 at 8:30 AM
Updated March 6, 2024 at 3:49 AM
Resolved October 12, 2020 at 9:15 PM