Common options are not properly loaded

Bug #1977980 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-l2gw
Fix Released
Undecided
Takashi Kajinami

Bug Description

Since the following change was merged in neutron, common options like oslo.log options are not properly logged.
 https://review.opendev.org/c/openstack/neutron/+/837392

This causes some command line options to become unavailable.

eg.

usage: neutron-l2gateway-agent [-h] [--config-dir DIR] [--config-file PATH]
                               [--version]
neutron-l2gateway-agent: error: unrecognized arguments: --log-file /var/log/neutron/l2gw-agent.log

summary: - Some common options are not properly loaded
+ Common options are not properly loaded
Changed in networking-l2gw:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-l2gw (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/networking-l2gw/+/845141

Changed in networking-l2gw:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-l2gw (master)

Reviewed: https://review.opendev.org/c/x/networking-l2gw/+/845141
Committed: https://opendev.org/x/networking-l2gw/commit/fb7ff9f45b35c9f0dbdcc853e441a07de4560369
Submitter: "Zuul (22348)"
Branch: master

commit fb7ff9f45b35c9f0dbdcc853e441a07de4560369
Author: Takashi Kajinami <email address hidden>
Date: Thu Jun 9 01:57:21 2022 +0900

    Fix missing common options

    Since the dependent patch was merged in Neutron, we need to call
    the register_common_config_options method explicitly to register common
    options like oslo.log options.

    This change updates the job template according to the tested runtimes
    for Zed. This is required to remove Python 3.6/7 because these are no
    longer supported.

    Also, now unit tests are executed with current master code of Neutron,
    instead of the latest release, so that we can run test with any
    unreleased change in Neutron.

    Closes-Bug: #1977980
    Related-Bug: #1968606
    Depends-on: https://review.opendev.org/c/openstack/neutron/+/837392
    Change-Id: I1ac3557fcd6eba187d52686345040c5fdfb4f7e9

Changed in networking-l2gw:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers