yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90892
[Bug 1894048] Re: neutron-ovn-db-sync-util: Unhandled error: oslo_config.cfg.NoSuchOptError: no such option keystone_authtoken in group [DEFAULT]
Looks like this was fixed last year in a few different changes, all of
which are linked here:
https://bugs.launchpad.net/neutron/+bug/1968606
Running this tool again manually on master branch I didn't see the
failures so I'll close this, please re-open if it happens again.
** Changed in: neutron
Status: Confirmed => 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/1894048
Title:
neutron-ovn-db-sync-util: Unhandled error:
oslo_config.cfg.NoSuchOptError: no such option keystone_authtoken in
group [DEFAULT]
Status in neutron:
Fix Released
Bug description:
If you have a neutron.conf containing a nova section that makes use of
the `auth_section` configuration option to point the keystone loader
at credentials in a different section instead of repeating it the tool
will crash.
The neutron-server is just fine with loading the same configuration. I
suspect there is some initialization missing in the tool to allow it
to parse this correctly.
The fix provided for bug 1882020 did address this at the time, but
since then it has returned.
Looking at the traceback I suspect the adding of segments support made it appear again:
2020-09-03 07:02:43.121 52200 CRITICAL neutron_ovn_db_sync_util [req-8c1f0ada-4f76-423c-9439-78bcb0ecef76 - - - - -] Unhandled error: oslo_config.cfg.NoSuchOptError: no such option keystone_authtoken in group [DEFAULT]
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util Traceback (most recent call last):
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2197, in __getattr__
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util return self._get(name)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2631, in _get
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util value, loc = self._do_get(name, group, namespace)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2649, in _do_get
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util info = self._get_opt_info(name, group)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2849, in _get_opt_info
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util raise NoSuchOptError(opt_name, group)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util oslo_config.cfg.NoSuchOptError: no such option keystone_authtoken in group [DEFAULT]
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util During handling of the above exception, another exception occurred:
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util Traceback (most recent call last):
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/bin/neutron-ovn-db-sync-util", line 10, in <module>
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util sys.exit(main())
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/cmd/ovn/neutron_ovn_db_sync_util.py", line 205, in main
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util manager.init()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 304, in init
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util NeutronManager.get_instance()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 255, in get_instance
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util cls._create_instance()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_concurrency/lockutils.py", line 359, in inner
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util return f(*args, **kwargs)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 241, in _create_instance
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util cls._instance = cls()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 135, in __init__
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util self._load_service_plugins()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 214, in _load_service_plugins
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util self._create_and_add_service_plugin(provider)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 217, in _create_and_add_service_plugin
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util plugin_inst = self._get_plugin_instance('neutron.service_plugins',
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/manager.py", line 165, in _get_plugin_instance
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util plugin_inst = plugin_class()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/services/segments/plugin.py", line 83, in __init__
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util self.nova_updater = NovaSegmentNotifier()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/services/segments/plugin.py", line 183, in __init__
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util self.p_client, self.n_client = self._get_clients()
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/neutron/services/segments/plugin.py", line 191, in _get_clients
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util n_auth = ks_loading.load_auth_from_conf_options(cfg.CONF, 'nova')
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/keystoneauth1/loading/conf.py", line 122, in load_from_conf_options
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util name = conf[group].auth_type
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2205, in __getitem__
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util return self.__getattr__(key)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2201, in __getattr__
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util raise NoSuchOptError(name)
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util oslo_config.cfg.NoSuchOptError: no such option keystone_authtoken in group [DEFAULT]
2020-09-03 07:02:43.121 52200 ERROR neutron_ovn_db_sync_util
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1894048/+subscriptions
References