Comment 5 for bug 1968606

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/842068
Committed: https://opendev.org/openstack/neutron/commit/44c03ca8e10a11f13583ba924868b4f331d3072a
Submitter: "Zuul (22348)"
Branch: master

commit 44c03ca8e10a11f13583ba924868b4f331d3072a
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu May 12 18:05:20 2022 +0000

    Register common config options in ``MechDriverSetupBase``

    When manually testing any ``MechDriverSetupBase`` child testing class,
    the following error is shown:
      oslo_config.cfg.NoSuchOptError: no such option service_plugins in
      group [DEFAULT]

    To avoid this, this patch registers the common config options during the
    ``MechDriverSetupBase`` setup method. The
    ``register_common_config_options`` will not register the options if are
    alredy registered.

    Related-Bug: #1968606
    Change-Id: Ie324b8489e2826a9f82fc9b45ee9684a680c6a8b