]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add automated check of conf sample
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 26 Aug 2013 18:23:49 +0000 (12:23 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Mon, 26 Aug 2013 23:10:48 +0000 (17:10 -0600)
commiteafb7c4a2c8b030fb621d54ae34b8a32e93c05bf
treef934b5cdc5b6dd56f0cbf797074192d99225e0d6
parentedea6f62184e178f7fbe24565dcada140e6dfa44
Add automated check of conf sample

This adds check_uptodate to run_tests and
tox.ini checks.

This also requires that we add novaclient to the
test-requires, since we try and poke at cinder/compute/nova.

There is another implementation in use to do this that
pulls in openstack.common.config.generator,
(see ceilometer project for a pretty slick impl), however
adding that also pulls in a rather large list of
updates and dependencies that quite frankly Cinder
doesn't need and the ones that we do use break
a number of things in Cinder.

There's also a number of additional options added
to generate_sample that I don't think we need right now.

In the future we'll probably want to go this route
but for now I'd just like to get automated checking
in place.

Change-Id: I91aa4d98f472ad5a3ece7773c75ee76d66adafc0
etc/cinder/cinder.conf.sample
run_tests.sh
test-requirements.txt
tools/conf/check_uptodate.sh [new file with mode: 0755]
tools/conf/generate_sample.sh
tox.ini