Upgrade via PMM UI stalls (on yum update pmm-update)
General
Escalation
General
Escalation
Description
STR:
Install PMM 2.10.1
Enable laboratory and testing repositories:
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.
STR:
Install PMM 2.10.1
Enable laboratory and testing repositories:
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.