sahara/sahara/utils
Sergey Lukjanov c7a009805e Fix db management: don't autocreate db on start
We should use sahara-db-manage for db creation instead of auto created
db schema from metadata. This approach was applied by adding support for
alembic-based migrations and db autocreation code was removed in
I14a0602bb34bf09086428766cb681345191436fe, but it one more place where
we're autocreating db was missed, so, it's a fix for this issue.

Additionally, cleanup custom hacking check for sahara.db calls.
Docs already contains notes about need for using sahara-db-manage for
database creation.

Note: The main driver in fixing this right now is that if a user create
database from metadata, he will not be able to migrate from Icehouse to
Juno. Only databases created by alembic could be migrated to the later
version.

Closes-Bug: #1300190
Change-Id: I991aa3402f658999735ad9607544251a6ef0e122
2014-04-02 15:26:39 +04:00
..
hacking Fix db management: don't autocreate db on start 2014-04-02 15:26:39 +04:00
openstack Fix transient clusters termination 2014-03-27 17:45:06 +04:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
api.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
api_validator.py Change the 'savanna-db' scheme to 'internal-db' 2014-03-18 11:26:48 -04:00
configs.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
crypto.py Change remaining 'savanna' references in sahara/tests 2014-03-19 13:19:07 -04:00
edp.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
files.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
general.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
hashabledict.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
patches.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
procutils.py Renaming files with savanna words in its names 2014-03-19 23:42:18 +04:00
remote.py Remove agent remote 2014-03-27 19:46:49 +04:00
resources.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
rpc.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
sqlatypes.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
ssh_remote.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
tempfiles.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
timing.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
types.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
xmlutils.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00