← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/813230
Committed: https://opendev.org/openstack/neutron/commit/43bd3fa2461b1cadcce9351747dc45c29c1013b7
Submitter: "Zuul (22348)"
Branch:    master

commit 43bd3fa2461b1cadcce9351747dc45c29c1013b7
Author: Daniel Speichert <Daniel_Speichert@xxxxxxxxxxx>
Date:   Fri Oct 8 12:41:19 2021 -0400

    Fix OVN driver validating Geneve max_header_size
    
    Driver was accessing config groups that were not loaded.
    Related commit: dc4a57d96661fcb56ff916cafbbbdc683653e9c4
    Closes-bug: #1946510
    
    Change-Id: Ib53219c9f6efff828b5bbf7553c356ee2cd4546d


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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



References