The config datasource is a Congress datasource that let you access the definition of configuration options of Openstack services on the nodes of the cloud.
Its main purpose is to let administrator check the coherence of a deployment by defining constraints on the value of those options.
To retrieve the configuration files, the datasource uses an agent that must be configured on the various nodes.
Please refer to Configuration Options for the generation of a sample configuration file (etc/congress-agent.conf.sample
).
The options most important to the agent are described below. They all appear under the [agent]
section of the configuration file.
host
version
ocata
, pike
).services
The agent also requires a valid configuration of the message bus as it uses it to communicate with the datasource driver.
An example of configuration file is the following:
[DEFAULT]
transport_url = rabbit://...
[cfg_validator]
host = compute-node-001
version = pike
services = nova: { /etc/nova/nova.conf:/opt/stack/nova/etc/nova/nova-config-generator.conf },neutron: { /etc/neutron/neutron.conf:/opt/stack/neutron/etc/oslo-config-generator/neutron.conf },congress: { /etc/congress/congress.conf:/opt/stack/congress/etc/congress-config-generator.conf }
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.