Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-6742

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.11.0
    • Component/s: PMM UI
    • Labels:
    • Story Points:
      1
    • Sprint:
      Platform Sprint 27
    • Needs Review:
      Yes
    • Needs QA:
      Yes

      Description

      STR:

      1. Install PMM 2.10.1
      2. Enable laboratory and testing repositories:
        docker exec -it pmm-server sed -i'' -e 's^/release/^/laboratory/^' /etc/yum.repos.d/pmm2-server.repo
        docker exec -it pmm-server percona-release enable original testing
      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.

        Attachments

          Activity

            People

            Assignee:
            roman.misyurin Roman Misyurin
            Reporter:
            nailya.kutlubaeva Nailya Kutlubaeva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 30 minutes
                30m

                  Smart Checklist