Makes nova-api correctly load the default flagfile.

This commit is contained in:
Vishvananda Ishaya
2011-02-26 01:19:39 +00:00
committed by Tarmac

View File

@@ -36,6 +36,7 @@ gettext.install('nova', unicode=1)
from nova import flags
from nova import log as logging
from nova import utils
from nova import version
from nova import wsgi
@@ -80,6 +81,7 @@ def run_app(paste_config_file):
if __name__ == '__main__':
utils.default_flagfile()
FLAGS(sys.argv)
logging.setup()
LOG.audit(_("Starting nova-api node (version %s)"),