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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/842068 /opendev. org/openstack/ neutron/ commit/ 44c03ca8e10a11f 13583ba924868b4 f331d3072a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 44c03ca8e10a11f 13583ba924868b4 f331d3072a
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu May 12 18:05:20 2022 +0000
Register common config options in ``MechDriverSet upBase` `
When manually testing any ``MechDriverSet upBase` ` child testing class, config. cfg.NoSuchOptEr ror: no such option service_plugins in
the following error is shown:
oslo_
group [DEFAULT]
To avoid this, this patch registers the common config options during the rSetupBase` ` setup method. The common_ config_ options` ` will not register the options if are
``MechDrive
``register_
alredy registered.
Related-Bug: #1968606 a9f82fc9b45ee96 84a680c6a8b
Change-Id: Ie324b8489e2826