RETIRED, A service to process unstructured serialized configuration data and facilitate exchange of this data between deployment services such as Fuel or Puppet Master and deployed OpenStack components.
Go to file
Alexander Kislitsky 3705aa1526 Fetching effective resource values optimized
Now only required resource values are fetched on calculating
effective values.
Calculation of effective values optimised to use indexed resource
values insead of going throw nested for loop.
Test for fetching values and effective values for 500 items
(nodes) added. Each resource value contains over than 10000 keys.
Logging added to the resource values fetching.

Change-Id: Icea7ece8a2bc6957bcb00c9d90d8cf59e5ca1da0
Closes-Bug: #1626147
2016-09-22 14:12:37 +03:00
doc/source Add CLI update screencast 2016-04-18 18:25:00 +03:00
examples Put, post operations implemented for environments 2016-08-15 18:54:06 +03:00
specs Scripts for upgrade/downgrade tuningbox DB added 2016-05-31 23:13:40 +03:00
tuning_box Fetching effective resource values optimized 2016-09-22 14:12:37 +03:00
.coveragerc Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
.gitignore Add testdb and .cache to .gitignore 2016-04-12 17:10:14 +03:00
.gitreview Adjust project name in .gitreview 2016-03-18 22:39:37 +03:00
.mailmap Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
.testr.conf Add logging capture to tests 2016-03-13 18:47:43 +03:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
HACKING.rst Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
LICENSE Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
MAINTAINERS Maintainers file added to project 2016-05-22 12:29:01 +00:00
MANIFEST.in Fix MANIFEST.in to inlcude migrations 2016-04-04 14:25:21 +03:00
README.rst Readme file updated 2016-09-16 15:22:01 +00:00
TODO Add template value compilation 2016-01-19 17:14:23 +03:00
alembic.ini Add version_table to alembic.ini for autogenerate to work locally 2016-03-18 22:39:37 +03:00
babel.cfg Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 21:18:37 +02:00
openstack-common.conf Initial Cookiecutter Commit. 2015-11-25 18:20:28 -08:00
requirements.txt Environments operations handled in the fuel2 2016-08-23 17:37:40 +03:00
setup.cfg Delete keys from resource values/overrides handled in fuel2 2016-09-13 20:17:22 +03:00
setup.py Fix tox run issues 2015-11-25 18:33:38 -08:00
test-requirements.txt Components operations handled in the fuel2 2016-08-24 16:51:09 +03:00
tox.ini Ignore warning from a known issue in flask-sqlalchemy in tests 2016-03-23 11:55:04 +03:00

README.rst

Tuning Box

Tuning Box is a configuration storage for your clouds.

Tuning Box can be used as a centralized storage for all configurations. It supports Keystone authentication. By default, Tuning Box installs as a Fuel extension but also it can be run as a service.

Features

ConfigDB entities:

  • Environment
  • Component
  • Hierarchy level
  • Resource definition
  • Resource value
  • Resource value override

Installation

  1. Download Tuning Box RPM package or code to the Fuel Master node. The package can be built from the source code using:

    $ python setup.py bdist_rpm
  2. Tuning Box installs as a Fuel Nailgun extension. Therefore, perform the DB migration and restart the Nailgun service:

    $ nailgun_syncdb
    $ systemctl restart nailgun.service
  3. Configure the Tuning Box keystone service:

    $ export OS_USERNAME=admin OS_PASSWORD=admin OS_PROJECT_NAME=admin OS_AUTH_URL=http://10.20.0.2:5000
    $ openstack service create --name tuning-box config
    $ openstack endpoint create --publicurl http://10.20.0.2:8000/api/config --region RegionOne tuning-box

Now, you have enabled a set of config commands in the fuel2 CLI.

Commands groups for fuel2 CLI

The fuel2 CLI commands groups are the following:

  • config comp - CRUD operations for components
  • config def - CRUD operations for resource definitions
  • config env - CRUD operations for environments
  • config get, config set, config del - CRUD operations for resource values
  • config override, config rm override - operations for resource values overrides