← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1946510] [NEW] [ovn] no such option ml2_type_geneve in group [DEFAULT]

 

Public bug reported:

See: https://review.opendev.org/c/openstack/neutron/+/714716

Upon starting neutron-server with OVN mechanism driver, it crashes when
trying to read cfg.CONF.ml2_type_geneve.max_header_size.


Traceback (most recent call last):
  File "/usr/bin/neutron-server", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/neutron/cmd/eventlet/server/__init__.py", line 19, in main
    server.boot_server(wsgi_eventlet.eventlet_wsgi_server)
  File "/usr/lib/python3/dist-packages/neutron/server/__init__.py", line 68, in boot_server
    server_func()
  File "/usr/lib/python3/dist-packages/neutron/server/wsgi_eventlet.py", line 24, in eventlet_wsgi_server
    neutron_api = service.serve_wsgi(service.NeutronApiService)
  File "/usr/lib/python3/dist-packages/neutron/service.py", line 91, in serve_wsgi
    LOG.exception('Unrecoverable error: please check log '
  File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 227, in __exit__
    self.force_reraise()
  File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 200, in force_reraise
    raise self.value
  File "/usr/lib/python3/dist-packages/neutron/service.py", line 88, in serve_wsgi
    service.start()
  File "/usr/lib/python3/dist-packages/neutron/service.py", line 64, in start
    self.wsgi_app = _run_wsgi(self.app_name)
  File "/usr/lib/python3/dist-packages/neutron/service.py", line 321, in _run_wsgi
    app = config.load_paste_app(app_name)
  File "/usr/lib/python3/dist-packages/neutron/common/config.py", line 134, in load_paste_app
    app = loader.load_app(app_name)
  File "/usr/lib/python3/dist-packages/oslo_service/wsgi.py", line 351, in load_app
    return deploy.loadapp("config:%s" % self.config_path, name=name)
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 278, in loadobj
    return context.create()
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
    return fix_call(context.object,
  File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python3/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
    app = loader.get_app(app_name, global_conf=global_conf)
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
    return self.app_context(
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
    return fix_call(context.object,
  File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python3/dist-packages/neutron/auth.py", line 62, in pipeline_factory
    app = loader.get_app(pipeline[-1])
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
    return self.app_context(
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 152, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python3/dist-packages/neutron/api/v2/router.py", line 25, in _factory
    return pecan_app.v2_factory(global_config, **local_config)
  File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/app.py", line 47, in v2_factory
    startup.initialize_all()
  File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/startup.py", line 39, in initialize_all
    manager.init()
  File "/usr/lib/python3/dist-packages/neutron/manager.py", line 301, in init
    NeutronManager.get_instance()
  File "/usr/lib/python3/dist-packages/neutron/manager.py", line 252, in get_instance
    cls._create_instance()
  File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 360, in inner
    return f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/neutron/manager.py", line 238, in _create_instance
    cls._instance = cls()
  File "/usr/lib/python3/dist-packages/neutron/manager.py", line 126, in __init__
    plugin = self._get_plugin_instance(CORE_PLUGINS_NAMESPACE,
  File "/usr/lib/python3/dist-packages/neutron/manager.py", line 162, in _get_plugin_instance
    plugin_inst = plugin_class()
  File "/usr/lib/python3/dist-packages/neutron/quota/resource_registry.py", line 124, in wrapper
    return f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/plugin.py", line 272, in __init__
    self.mechanism_manager.initialize()
  File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/managers.py", line 443, in initialize
    driver.obj.initialize()
  File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 122, in initiali>
    if (cfg.CONF.ml2_type_geneve.max_header_size <
  File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2223, in __getattr__
    raise NoSuchOptError(name)
oslo_config.cfg.NoSuchOptError: no such option ml2_type_geneve in group [DEFAULT]

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  See: https://review.opendev.org/c/openstack/neutron/+/714716
  
  Upon starting neutron-server with OVN mechanism driver, it crashes when
  trying to read cfg.CONF.ml2_type_geneve.max_header_size.
  
- Traceback:
  
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron Traceback (most recent call last):
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/bin/neutron-server", line 10, in <module>
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     sys.exit(main())
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/cmd/eventlet/server/__init__.py", line 19, in main
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     server.boot_server(wsgi_eventlet.eventlet_wsgi_server)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/server/__init__.py", line 68, in boot_server
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     server_func()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/server/wsgi_eventlet.py", line 24, in eventlet_wsgi_server
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     neutron_api = service.serve_wsgi(service.NeutronApiService)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/service.py", line 91, in serve_wsgi
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     LOG.exception('Unrecoverable error: please check log '
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 227, in __exit__
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     self.force_reraise()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 200, in force_reraise
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     raise self.value
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/service.py", line 88, in serve_wsgi
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     service.start()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/service.py", line 64, in start
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     self.wsgi_app = _run_wsgi(self.app_name)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/service.py", line 321, in _run_wsgi
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     app = config.load_paste_app(app_name)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/common/config.py", line 134, in load_paste_app
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     app = loader.load_app(app_name)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/oslo_service/wsgi.py", line 351, in load_app
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return deploy.loadapp("config:%s" % self.config_path, name=name)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return loadobj(APP, uri, name=name, **kw)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 278, in loadobj
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return context.create()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return self.object_type.invoke(self)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return fix_call(context.object,
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     val = callable(*args, **kw)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     app = loader.get_app(app_name, global_conf=global_conf)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return self.app_context(
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return self.object_type.invoke(self)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return fix_call(context.object,
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     val = callable(*args, **kw)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/auth.py", line 62, in pipeline_factory
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     app = loader.get_app(pipeline[-1])
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return self.app_context(
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return self.object_type.invoke(self)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 152, in invoke
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return fix_call(context.object, context.global_conf, **context.local_conf)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     val = callable(*args, **kw)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/api/v2/router.py", line 25, in _factory
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return pecan_app.v2_factory(global_config, **local_config)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/app.py", line 47, in v2_factory
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     startup.initialize_all()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/startup.py", line 39, in initialize_all
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     manager.init()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 301, in init
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     NeutronManager.get_instance()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 252, in get_instance
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     cls._create_instance()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 360, in inner
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return f(*args, **kwargs)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 238, in _create_instance
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     cls._instance = cls()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 126, in __init__
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     plugin = self._get_plugin_instance(CORE_PLUGINS_NAMESPACE,
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 162, in _get_plugin_instance
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     plugin_inst = plugin_class()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/quota/resource_registry.py", line 124, in wrapper
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     return f(*args, **kwargs)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/plugin.py", line 272, in __init__
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     self.mechanism_manager.initialize()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/managers.py", line 443, in initialize
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     driver.obj.initialize()
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 122, in initiali>
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     if (cfg.CONF.ml2_type_geneve.max_header_size <
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron   File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2223, in __getattr__
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron     raise NoSuchOptError(name)
- 08/Oct/2021:13:43:07.423 633658 ERROR neutron oslo_config.cfg.NoSuchOptError: no such option ml2_type_geneve in group [DEFAULT]
+ Traceback (most recent call last):
+   File "/usr/bin/neutron-server", line 10, in <module>
+     sys.exit(main())
+   File "/usr/lib/python3/dist-packages/neutron/cmd/eventlet/server/__init__.py", line 19, in main
+     server.boot_server(wsgi_eventlet.eventlet_wsgi_server)
+   File "/usr/lib/python3/dist-packages/neutron/server/__init__.py", line 68, in boot_server
+     server_func()
+   File "/usr/lib/python3/dist-packages/neutron/server/wsgi_eventlet.py", line 24, in eventlet_wsgi_server
+     neutron_api = service.serve_wsgi(service.NeutronApiService)
+   File "/usr/lib/python3/dist-packages/neutron/service.py", line 91, in serve_wsgi
+     LOG.exception('Unrecoverable error: please check log '
+   File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 227, in __exit__
+     self.force_reraise()
+   File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 200, in force_reraise
+     raise self.value
+   File "/usr/lib/python3/dist-packages/neutron/service.py", line 88, in serve_wsgi
+     service.start()
+   File "/usr/lib/python3/dist-packages/neutron/service.py", line 64, in start
+     self.wsgi_app = _run_wsgi(self.app_name)
+   File "/usr/lib/python3/dist-packages/neutron/service.py", line 321, in _run_wsgi
+     app = config.load_paste_app(app_name)
+   File "/usr/lib/python3/dist-packages/neutron/common/config.py", line 134, in load_paste_app
+     app = loader.load_app(app_name)
+   File "/usr/lib/python3/dist-packages/oslo_service/wsgi.py", line 351, in load_app
+     return deploy.loadapp("config:%s" % self.config_path, name=name)
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
+     return loadobj(APP, uri, name=name, **kw)
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 278, in loadobj
+     return context.create()
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
+     return self.object_type.invoke(self)
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
+     return fix_call(context.object,
+   File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
+     val = callable(*args, **kw)
+   File "/usr/lib/python3/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
+     app = loader.get_app(app_name, global_conf=global_conf)
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
+     return self.app_context(
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
+     return self.object_type.invoke(self)
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
+     return fix_call(context.object,
+   File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
+     val = callable(*args, **kw)
+   File "/usr/lib/python3/dist-packages/neutron/auth.py", line 62, in pipeline_factory
+     app = loader.get_app(pipeline[-1])
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
+     return self.app_context(
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
+     return self.object_type.invoke(self)
+   File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 152, in invoke
+     return fix_call(context.object, context.global_conf, **context.local_conf)
+   File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
+     val = callable(*args, **kw)
+   File "/usr/lib/python3/dist-packages/neutron/api/v2/router.py", line 25, in _factory
+     return pecan_app.v2_factory(global_config, **local_config)
+   File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/app.py", line 47, in v2_factory
+     startup.initialize_all()
+   File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/startup.py", line 39, in initialize_all
+     manager.init()
+   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 301, in init
+     NeutronManager.get_instance()
+   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 252, in get_instance
+     cls._create_instance()
+   File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 360, in inner
+     return f(*args, **kwargs)
+   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 238, in _create_instance
+     cls._instance = cls()
+   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 126, in __init__
+     plugin = self._get_plugin_instance(CORE_PLUGINS_NAMESPACE,
+   File "/usr/lib/python3/dist-packages/neutron/manager.py", line 162, in _get_plugin_instance
+     plugin_inst = plugin_class()
+   File "/usr/lib/python3/dist-packages/neutron/quota/resource_registry.py", line 124, in wrapper
+     return f(*args, **kwargs)
+   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/plugin.py", line 272, in __init__
+     self.mechanism_manager.initialize()
+   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/managers.py", line 443, in initialize
+     driver.obj.initialize()
+   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 122, in initiali>
+     if (cfg.CONF.ml2_type_geneve.max_header_size <
+   File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2223, in __getattr__
+     raise NoSuchOptError(name)
+ oslo_config.cfg.NoSuchOptError: no such option ml2_type_geneve in group [DEFAULT]

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1946510

Title:
  [ovn] no such option ml2_type_geneve in group [DEFAULT]

Status in neutron:
  New

Bug description:
  See: https://review.opendev.org/c/openstack/neutron/+/714716

  Upon starting neutron-server with OVN mechanism driver, it crashes
  when trying to read cfg.CONF.ml2_type_geneve.max_header_size.

  
  Traceback (most recent call last):
    File "/usr/bin/neutron-server", line 10, in <module>
      sys.exit(main())
    File "/usr/lib/python3/dist-packages/neutron/cmd/eventlet/server/__init__.py", line 19, in main
      server.boot_server(wsgi_eventlet.eventlet_wsgi_server)
    File "/usr/lib/python3/dist-packages/neutron/server/__init__.py", line 68, in boot_server
      server_func()
    File "/usr/lib/python3/dist-packages/neutron/server/wsgi_eventlet.py", line 24, in eventlet_wsgi_server
      neutron_api = service.serve_wsgi(service.NeutronApiService)
    File "/usr/lib/python3/dist-packages/neutron/service.py", line 91, in serve_wsgi
      LOG.exception('Unrecoverable error: please check log '
    File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 227, in __exit__
      self.force_reraise()
    File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 200, in force_reraise
      raise self.value
    File "/usr/lib/python3/dist-packages/neutron/service.py", line 88, in serve_wsgi
      service.start()
    File "/usr/lib/python3/dist-packages/neutron/service.py", line 64, in start
      self.wsgi_app = _run_wsgi(self.app_name)
    File "/usr/lib/python3/dist-packages/neutron/service.py", line 321, in _run_wsgi
      app = config.load_paste_app(app_name)
    File "/usr/lib/python3/dist-packages/neutron/common/config.py", line 134, in load_paste_app
      app = loader.load_app(app_name)
    File "/usr/lib/python3/dist-packages/oslo_service/wsgi.py", line 351, in load_app
      return deploy.loadapp("config:%s" % self.config_path, name=name)
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
      return loadobj(APP, uri, name=name, **kw)
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 278, in loadobj
      return context.create()
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
      return self.object_type.invoke(self)
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
      return fix_call(context.object,
    File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
      val = callable(*args, **kw)
    File "/usr/lib/python3/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
      app = loader.get_app(app_name, global_conf=global_conf)
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
      return self.app_context(
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
      return self.object_type.invoke(self)
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 148, in invoke
      return fix_call(context.object,
    File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
      val = callable(*args, **kw)
    File "/usr/lib/python3/dist-packages/neutron/auth.py", line 62, in pipeline_factory
      app = loader.get_app(pipeline[-1])
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 355, in get_app
      return self.app_context(
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 715, in create
      return self.object_type.invoke(self)
    File "/usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py", line 152, in invoke
      return fix_call(context.object, context.global_conf, **context.local_conf)
    File "/usr/lib/python3/dist-packages/paste/deploy/util.py", line 55, in fix_call
      val = callable(*args, **kw)
    File "/usr/lib/python3/dist-packages/neutron/api/v2/router.py", line 25, in _factory
      return pecan_app.v2_factory(global_config, **local_config)
    File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/app.py", line 47, in v2_factory
      startup.initialize_all()
    File "/usr/lib/python3/dist-packages/neutron/pecan_wsgi/startup.py", line 39, in initialize_all
      manager.init()
    File "/usr/lib/python3/dist-packages/neutron/manager.py", line 301, in init
      NeutronManager.get_instance()
    File "/usr/lib/python3/dist-packages/neutron/manager.py", line 252, in get_instance
      cls._create_instance()
    File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 360, in inner
      return f(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/neutron/manager.py", line 238, in _create_instance
      cls._instance = cls()
    File "/usr/lib/python3/dist-packages/neutron/manager.py", line 126, in __init__
      plugin = self._get_plugin_instance(CORE_PLUGINS_NAMESPACE,
    File "/usr/lib/python3/dist-packages/neutron/manager.py", line 162, in _get_plugin_instance
      plugin_inst = plugin_class()
    File "/usr/lib/python3/dist-packages/neutron/quota/resource_registry.py", line 124, in wrapper
      return f(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/plugin.py", line 272, in __init__
      self.mechanism_manager.initialize()
    File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/managers.py", line 443, in initialize
      driver.obj.initialize()
    File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 122, in initiali>
      if (cfg.CONF.ml2_type_geneve.max_header_size <
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2223, in __getattr__
      raise NoSuchOptError(name)
  oslo_config.cfg.NoSuchOptError: no such option ml2_type_geneve in group [DEFAULT]

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1946510/+subscriptions



Follow ups