5 Commits

Author SHA1 Message Date
Dan Bode
c9757ec448 require sections are specified in nova_config
This massive code commit actually implements something very simple.

previously, we allowed nova_config to omit a section and assumed that
section was default.

This commit updates the code to require section names for all settings.

This change is being made b/c:
- it better maps to the config on disk
- it is consistent with the other modules

Change-Id: Iae71a4c48ed0f9792566f16f0bf13e61569b46e5
2013-04-12 15:06:58 -07:00
Mathieu Gagné
c566d711e8 Add charset param to nova::db::mysql
Allow to specify the database charset but still default to 'latin1' if
none is provided.

Remove nova::params::nova_db_charset. Both osfamily were using 'latin1'
since the update for Folsom in 76d4632.
2013-03-20 18:16:14 -04:00
Dan Bode
64a88230a6 update tests
makes all tests pass with the folsom changes.
2012-10-14 01:52:16 -07:00
Branan Purvine-Riley
96509710b1 Parameterize the nova db charset
RHEL and Debian flavors have different requirements for the DB
encoding. This patch allows nova::db::mysql to work correctly
for both of them.
2012-07-18 15:00:06 -07:00
John Chilton
bd80998818 Make creation of nova database dependant on mysql::config instead of mysql::server, database isn't fully configured until this has been run. 2012-05-15 13:35:43 -05:00