load consoleauth_topic option before using it

The module wasn't correctly importing the opt, leading to a
NoSuchOptError if the option wasn't provided before calling.

Change-Id: I206af1a1532d4608bbcb5edb42d46d392b5c44ff
Closes-bug: #1503975
This commit is contained in:
gong yong sheng 2015-10-08 14:42:35 +08:00 committed by Sylvain Bauza
parent cffc768ca7
commit 8d9b144536
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ from nova import version
CONF = cfg.CONF
CONF.import_opt('consoleauth_topic', 'nova.consoleauth')
def main():
config.parse_args(sys.argv)