yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94645
[Bug 2082880] [NEW] [ovn-octavia-provider] config registration hit DuplicateOptError
Public bug reported:
As we doing config opts check in https://github.com/openstack/ovn-
octavia-
provider/blob/master/ovn_octavia_provider/common/config.py#L144-L150
We should also doing same for other config opts under neutron scope here
[1]
[1] https://github.com/openstack/ovn-octavia-
provider/blob/master/ovn_octavia_provider/common/config.py#L159-L163
logs:
==============
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent [-] Provider agent "ovn" raised exception: duplicate option: insecure. Restarting the "ovn" provider agent.: oslo_config.cfg.DuplicateOptError: duplicate option: insecure
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent Traceback (most recent call last):
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/octavia/cmd/driver_agent.py", line 65, in _process_wrapper
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent function(exit_event)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/ovn_octavia_provider/agent.py", line 37, in OvnProviderAgent
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent ovn_conf.register_opts()
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/ovn_octavia_provider/common/config.py", line 160, in register_opts
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent ks_loading.register_session_conf_options(cfg.CONF, 'neutron')
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/keystoneauth1/loading/session.py", line 270, in register_conf_options
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent return Session().register_conf_options(*args, **kwargs)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/keystoneauth1/loading/session.py", line 232, in register_conf_options
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent conf.register_opts(opts, group=group)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2098, in __inner
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent result = f(self, *args, **kwargs)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2556, in register_opts
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent self.register_opt(opt, group, clear_cache=False)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2102, in __inner
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent return f(self, *args, **kwargs)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2532, in register_opt
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent return group._register_opt(opt, cli)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 1530, in _register_opt
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent if _is_opt_registered(self._opts, opt):
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 356, in _is_opt_registered
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent raise DuplicateOptError(opt.name)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent oslo_config.cfg.DuplicateOptError: duplicate option: insecure
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2082880
Title:
[ovn-octavia-provider] config registration hit DuplicateOptError
Status in neutron:
New
Bug description:
As we doing config opts check in https://github.com/openstack/ovn-
octavia-
provider/blob/master/ovn_octavia_provider/common/config.py#L144-L150
We should also doing same for other config opts under neutron scope
here [1]
[1] https://github.com/openstack/ovn-octavia-
provider/blob/master/ovn_octavia_provider/common/config.py#L159-L163
logs:
==============
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent [-] Provider agent "ovn" raised exception: duplicate option: insecure. Restarting the "ovn" provider agent.: oslo_config.cfg.DuplicateOptError: duplicate option: insecure
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent Traceback (most recent call last):
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/octavia/cmd/driver_agent.py", line 65, in _process_wrapper
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent function(exit_event)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/ovn_octavia_provider/agent.py", line 37, in OvnProviderAgent
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent ovn_conf.register_opts()
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/ovn_octavia_provider/common/config.py", line 160, in register_opts
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent ks_loading.register_session_conf_options(cfg.CONF, 'neutron')
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/keystoneauth1/loading/session.py", line 270, in register_conf_options
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent return Session().register_conf_options(*args, **kwargs)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/keystoneauth1/loading/session.py", line 232, in register_conf_options
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent conf.register_opts(opts, group=group)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2098, in __inner
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent result = f(self, *args, **kwargs)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2556, in register_opts
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent self.register_opt(opt, group, clear_cache=False)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2102, in __inner
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent return f(self, *args, **kwargs)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 2532, in register_opt
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent return group._register_opt(opt, cli)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 1530, in _register_opt
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent if _is_opt_registered(self._opts, opt):
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent File "/usr/local/lib/python3.10/dist-packages/oslo_config/cfg.py", line 356, in _is_opt_registered
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent raise DuplicateOptError(opt.name)
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent oslo_config.cfg.DuplicateOptError: duplicate option: insecure
2024-09-20 14:22:47.444 13 ERROR octavia.cmd.driver_agent
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2082880/+subscriptions