Fix upgrade with network problems

Description

After interruption of upgrade process with some network problems there should be possibility to finish the upgrade successfully.

 

Steps to reproduce:

  1. Set-up previous version of PMM and start upgrade;

  2. Then simulate some network problems and verify upgrade process stops with notification.

  3. Verify upgrade process can be started after problems fixed and can be finished successfully

Expected result:

Error message after several  attempts on the backend
and roll back all new packages ... so the user will 
1 . "Get error message "
2 . Left in the state he started upgrade (so on older packages )

Actual result:

User can see some not friendly error but can not be returned to the state before the upgrade.

 

Suggested implementation:

Note:

There might be some changes in upgrade testing process. We probably won't need to update pmm-update before each release. But we might have to update pmm-managed instead of pmm-update.

We still get changelog from pmm-update package. Unless we want to implement update via SaaS service

How to test

None

How to document

None

Attachments

3

Activity

Nurlan Moldomurov 
October 9, 2024 at 11:49 PM

I think we can close this task, because problem will be fixed by new update process in PMM 3

Alexey Palazhchenko 
December 7, 2020 at 1:01 PM

We probably won't need to update pmm-update before each release. But we might have to update pmm-managed instead of pmm-update.

We still get changelog from pmm-update package. Unless we want to implement update via SaaS service.

Alexey Palazhchenko 
November 23, 2020 at 1:55 PM

As discussed, we probably should use pmm-managed package version instead of pmm-update's for checking if there a newer version

Nurlan Moldomurov 
November 16, 2020 at 12:39 PM

 will discuss with  about update process

Nurlan Moldomurov 
November 16, 2020 at 12:38 PM

It might happening because pmm has already updated pmm-update, but haven't updated components. And we use pmm-update version to check current version.

Details

Assignee

Reporter

Priority

Components

Needs QA

Needs Doc

Story Points

Affects versions

Created July 13, 2020 at 8:40 AM
Updated October 9, 2024 at 11:49 PM