Environment commands

Environment commands


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 environment management commands available in the Fuel CLI.

Environment commands
Description Command Example
View the list of environments. fuel env  
Create an environment. fuel env create --name <ENV_NAME> --rel <RELEASE_NUMBER>

By default, Fuel creates an OpenStack environment in the multinode mode, and the nova network mode. To specify other modes, you can add optional arguments:

fuel env create --name <ENV_NAME> --rel <RELEASE_NUMBER> \
--mode ha --network-mode neutron --net-segment-type vlan

Use the set action to change the name, mode, or network mode for an OpenStack environment:

fuel --env <ENV_ID> env set --name <NEW_ENV_NAME> --mode ha_compact
Delete an OpenStack environment. fuel --env <ENV_ID> env delete  
Update the OpenStack environment to a newer version. To roll back a failed update, use the same command with the previous release number. fuel env --update --env <ENV_ID> --rel <RELEASE_NUMBER>  
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.