diff --git a/autogenerate_config_docs/hooks.py b/autogenerate_config_docs/hooks.py index a51cde59..e9d62bb0 100644 --- a/autogenerate_config_docs/hooks.py +++ b/autogenerate_config_docs/hooks.py @@ -36,6 +36,11 @@ def glance_store_config(): def nova_spice(): + import os + # nova.cmd.__init__ before kilo requires to be imported before eventlet is. + # Since we can't make sure of that, we define this envvar to let nova know + # that the import is OK (see nova/cmd/__init__.py) + os.environ['EVENTLET_NO_GREENDNS'] = 'yes' import nova.cmd.spicehtml5proxy # noqa