vinfra service compute node release
Release a node from the compute cluster:
usage: vinfra service compute node release [--compute] [--controller] <node>
--compute
- Compute node role
--controller
- Compute controller node role
<node>
- Node ID or hostname
Example:
# vinfra service compute node release 827a1f4e-56e5-404f-9113-88748c18f0c2 +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | task_id | 3b39738c-80a6-40a6-a50d-c3c8118ed212 | +---------+--------------------------------------+
This command creates a task to release the node with the ID 827a1f4e-56e5-404f-9113-88748c18f0c2
from the compute cluster.
Task outcome:
# vinfra task show 3b39738c-80a6-40a6-a50d-c3c8118ed212 +---------+-----------------------------------------------------------+ | Field | Value | +---------+-----------------------------------------------------------+ | details | | | name | backend.presentation.compute.tasks.DeleteComputeNodesTask | | result | | | state | success | | task_id | 3b39738c-80a6-40a6-a50d-c3c8118ed212 | +---------+-----------------------------------------------------------+