-
Notifications
You must be signed in to change notification settings - Fork 3
feat(vmrestore): add force option
#1115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e0efd0a to
b834223
Compare
2a4e4b4 to
adf63b5
Compare
z9r5
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments
z9r5
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comments
e8cbac8 to
ebd1de8
Compare
|
Workflow has started. The target step completed with status: failure. |
Signed-off-by: Roman Sysoev <[email protected]>
- fix typo - replace slog with deckhouse/pkg/log - remove vmop complited status(an uuid is used) - check that vm is existed when `forced` - check that vm is not pending when `forced` Signed-off-by: Roman Sysoev <[email protected]>
Signed-off-by: Roman Sysoev <[email protected]>
Signed-off-by: Roman Sysoev <[email protected]>
Signed-off-by: Roman Sysoev <[email protected]>
Signed-off-by: Roman Sysoev <[email protected]>
Signed-off-by: Roman Sysoev <[email protected]>
Signed-off-by: Roman Sysoev <[email protected]>
97b134f to
74ed18c
Compare
|
Workflow has started. The target step completed with status: failure. |
Signed-off-by: Roman Sysoev <[email protected]>
Description
The
restoreModeoption has been added to theVirtualMachineRestoreresource. It can take two values:safeandforced. Thesafemode is used when there are no conflicts with existing resources. Theforcedmode can be applied to a runningVirtualMachine, but it can be a destructive action if problems occur during the restoration process.Why do we need it, and what problem does it solve?
It is important to have the ability to restore a
VirtualMachineas soon as required.What is the expected result?
A
VirtualMachinecan be restored if there are no conflicts withVirtualDisksandVMIPresources. IfVirtualDisksare used by anotherVirtualMachineor aVMIPexists with an IP address reserved by anotherVirtualMachine, the restoration process will fail.Checklist
Changelog entries