Require that the system will be in maintenance mode before starting snapshot restore

Description

During snapshot restore, if certain API commands are executed through CLI/RestAPI, these may cause deadlocks in the system.
In the documentation we instruct the user to activate maintenance prior to restoring a snapshot. This is not doable through the UI because once a system is in maintenance mode the user cannot run restore. In this case we should alert the user and share two options:

  1. run restore through the UI and make sure they dont run any external commands during the restore.

  2. (recommended) switch to maintenance mode and use the CLI/Rest to start the restore.

Activity

Show:
Ofer Yarom
June 3, 2020, 10:27 AM

We should document this for now so users will be clear on what they should do. we will apply the controls in a later release.

geokala
June 3, 2020, 10:46 AM

Depending on what we do with snapshot improvements, this may become unnecessary anyway.

Alex Molev
June 21, 2020, 12:19 PM

I’m a bit lost what approach do we want to proceed with?

Is it just documenting or we want to skip this one until we will be doing work around the snapshots?

Ofer Yarom
June 22, 2020, 6:34 AM

I think we should document the snapshot and restore process as part of the testing phase. try to be as clear as possible so that customers will not make mistakes. list all the Dos and Don’ts.

In 5.2 we will improve the mechanism and ideally reduce the potential erros.

geokala
June 22, 2020, 8:13 AM

Sounds sensible to me.

Assignee

Mateusz Neumann

Reporter

Ofer Yarom

Labels

Target Version

5.1

QA Owner

None

Premium Only

no

Documentation Required

Yes

Why Blocked?

More discussion needed on the actual implementation

Release Notes

yes

Priority

None

Sprint

5.1 Sprint 15

Priority

Unprioritized
Configure