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.
You can customize the hardcoded, or provided by Nailgun, configuration values, as well as introduce new configuration options for the OpenStack services, such as Nova, Neutron, and Keystone using CLI.
You can change the Nova, Neutron, and Keystone configuration for a single node, all nodes with a specific role, or a whole OpenStack environment.
Changes to the OpenStack services configuration can be applied before or after you deploy an OpenStack environment.
After you apply changes, the services will be automatically restarted.
The override_resources
Puppet resource applies changes to the existing
configuration resources and creates the new ones that were not previously
defined.
To modify the configuration of the OpenStack services:
Log in to the Fuel Master node.
Edit the .yaml
file with the configuration options of the services that
you want to change.
Example:
configuration:
nova_config:
DEFAULT/debug:
value: True
DEFAULT/amqp_durable_queues:
value: False
keystone_config:
DEFAULT/default_publisher_id:
ensure: absent
DEFAULT/crypt_strength:
value: 6000
Upload the .yaml
file:
To upload the changes for an OpenStack environment:
fuel openstack-config --env <env_id> --upload file.yaml
To upload the changes for all nodes with a specific role:
fuel openstack-config --env <env_id> --role compute \
--upload <file.yaml>
To upload the changes for selected nodes:
fuel openstack-config --env <env_id> --node 1,2,3 \
--upload <file.yaml>
Apply the changes:
To apply the changes for the environment:
fuel openstack-config --env <env_id> --execute
To apply the changes for all nodes with a role:
fuel openstack-config --env <env_id> --role compute --execute
To apply the changes for certain nodes:
fuel openstack-config --env <env_id> --node 1,2,3 --execute
The services will restart automatically.
Optionally, run these additional commands:
List the configuration changes history:
fuel openstack-config --env <env_id> --list
Note
The --list
parameter shows historical data only
for the active configuration.
Download the previously uploaded .yaml
file with the configuration
changes:
Obtain the record number from the changes history:
fuel openstack-config --env <env_id> --list
Download the .yaml
file:
fuel openstack-config --id <id> --download
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.