Node management commands

Node management commands

Caution

The Fuel command-line interface has been updated. Although old fuel commands are still available, we recommend that you use the new fuel2 commands instead. See the Fuel CLI commands comparison matrix.

The following table describes node management commands available in the Fuel CLI.

Node management commands
Description Command Example
List all available nodes. fuel node list

List nodes for a specific environment:

fuel --env-id <env_id> node list
Assign nodes with specific roles to an OpenStack environment. fuel node set --node <node_id> --role <role> --env <env_id>
fuel node set --node <node_id> --role controller --env <env_id>
fuel node set --node <node1_id>,<node2_id>,<node3_id> \
--role compute,cinder --env <env_id>
Remove nodes from an OpenStack environment. fuel node remove --node <node1_id>,<node2_id> --env <env_id>

Remove nodes without specifying an OpenStack environment:

fuel node remove --node <node1_id>,<node2_id>

Remove all nodes from a specific OpenStack environment:

fuel node remove --env <env_id>
Delete nodes with the offline status from the Fuel database. fuel node --node-id <id> --delete-from-db

Delete nodes with any status from the Fuel database:

fuel node --node-id <id> --delete-from-db --force
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

Contents