Skip to content

Commit

Permalink
Register DEFAULT group on agent start
Browse files Browse the repository at this point in the history
From upstream commit 4d3a2747 fixing bug (#1968606), registration of the
group DEFAULT does not happen automatically anymore.

If not loaded, agent fails with 'oslo_config.cfg.NoSuchOptError:
no such option base_mac in group [DEFAULT]
  • Loading branch information
sven-rosenzweig committed Nov 19, 2024
1 parent 8cf1369 commit f56d1af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions networking_nsxv3/plugins/ml2/drivers/nsxv3/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def delete_unreferenced_arp_protection(self, current_devices):


def main():
common_config.register_common_config_options()
common_config.init(sys.argv[1:])
common_config.setup_logging()
agent_config.register_agent_state_opts_helper(cfg.CONF)
Expand Down
1 change: 1 addition & 0 deletions networking_nsxv3/plugins/ml2/drivers/nsxv3/agent/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def _init_(self, args):
for file in args.config_file:
neutron_config.extend(["--config-file", file])

common_config.register_common_config_options()
common_config.init(neutron_config)
common_config.setup_logging()
profiler.setup(nsxv3_constants.NSXV3_BIN, cfg.CONF.host)
Expand Down

0 comments on commit f56d1af

Please sign in to comment.