vinfra software-updates cancel
Cancel software updates:
usage: vinfra software-updates cancel [--maintenance-mode {exit,exit-keep-resources,hold}]
--maintenance-mode {exit,exit-keep-resources,hold}
-
Maintenance mode:
exit
: exit maintenance for the node and return evacuated resources back on the nodeexit-keep-resources
(default): exit maintenance for the node but keep evacuated resources on another nodehold
: do not exit maintenance
Example:
# vinfra software-updates cancel exit +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | task_id | 7aeb20ba-1f9f-4f28-9790-086428d3e18e | +---------+--------------------------------------+
This command creates a task to cancel the update and return the node to operation. The evacuated resources from this node will be moved back to it.
Task outcome:
# vinfra task show 7aeb20ba-1f9f-4f28-9790-086428d3e18e +---------+-------------------------------------------------------------------+ | Field | Value | +---------+-------------------------------------------------------------------+ | details | | | name | backend.presentation.software_updates.tasks.CancelSoftwareUpdate… | | result | | | state | success | | task_id | 7aeb20ba-1f9f-4f28-9790-086428d3e18e | +---------+-------------------------------------------------------------------+