summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/nova/service.py b/nova/service.py
index 98485bcac..705bed7fc 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -209,20 +209,6 @@ class Service(object):
self.model_disconnected = True
logging.exception(_("model server went away"))
- try:
- # NOTE(vish): This is late-loaded to make sure that the
- # database is not created before flags have
- # been loaded.
- from nova.db.sqlalchemy import models
- models.register_models()
- except OperationalError:
- fl_conn = FLAGS.sql_connection
- fl_intv = FLAGS.sql_retry_interval
- logging.exception(_("Data store %(fl_conn)s is"
- " unreachable. Trying again in %(fl_intv)d"
- " seconds.") % locals())
- time.sleep(FLAGS.sql_retry_interval)
-
def serve(*services):
FLAGS(sys.argv)