From 623d66cb0896c9d3ff154b7e8e23d8c9f2674926 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 30 May 2024 12:55:14 +0900 Subject: [PATCH] Fix missing oslo.log options in migration tool The migration tool does not register the oslo.log options so fails to set up its logger. Ensure that the options are loaded before setup_logging call to fix it. Closes-Bug: #2067557 Change-Id: I902f49f4efa0da80021c2eda4b7fcb63cc1310b0 --- neutron_fwaas/cmd/v1_to_v2_db_migration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron_fwaas/cmd/v1_to_v2_db_migration.py b/neutron_fwaas/cmd/v1_to_v2_db_migration.py index 5e89f7ef7..017c41dbc 100644 --- a/neutron_fwaas/cmd/v1_to_v2_db_migration.py +++ b/neutron_fwaas/cmd/v1_to_v2_db_migration.py @@ -32,6 +32,7 @@ def setup_conf(): ] conf = cfg.CONF conf.register_cli_opts(cli_opts) + logging.register_options(conf) conf()