Revert "Exit when printing error about database config"

This reverts commit 2d7c346f0c.

Not setting DATABASE_TYPE is not a fatal error since it is
valid to create nodes which only run a subset of services,
and so a database may not be needed.

Change-Id: I7d957e628141ba333b6f38940b39845b18fba4df
This commit is contained in:
Daniel P. Berrange 2015-02-11 17:25:32 +00:00
parent 2a811912c6
commit a99e5c9b0e

View File

@ -584,7 +584,7 @@ function read_password {
# The available database backends are listed in ``DATABASE_BACKENDS`` after # The available database backends are listed in ``DATABASE_BACKENDS`` after
# ``lib/database`` is sourced. ``mysql`` is the default. # ``lib/database`` is sourced. ``mysql`` is the default.
initialize_database_backends && echo "Using $DATABASE_TYPE database backend" || die $LINENO "No database enabled" initialize_database_backends && echo "Using $DATABASE_TYPE database backend" || echo "No database enabled"
# Queue Configuration # Queue Configuration