← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1548433] [NEW] neutron returns objects other than oslo_config.cfg.Opt instances from list_opts

 

Public bug reported:

The neutron function for listing options for use with the configuration
generator returns things that are not compliant with the
oslo_config.cfg.Opt class API. At the very least this includes the
options from keystoneauth1, but I haven't looked to find if there are
others.

We'll work around this for now in the configuration generator code, but
in the future we will more strictly enforce the API compliance by
refusing to generate a configuration file or by leaving options out of
the output.

The change blocked by this issue is:
https://review.openstack.org/#/c/282435/5

One failure log showing the issue is:
http://logs.openstack.org/35/282435/5/check/gate-tempest-dsvm-neutron-
src-oslo.config/77044c6/logs/devstacklog.txt.gz

The neutron code triggering the issue is in:
http://git.openstack.org/cgit/openstack/neutron/tree/neutron/opts.py#n279

The best solution would be to fix keystoneauth to support option
discovery natively using proper oslo.config Opts.

** Affects: keystoneauth
     Importance: Undecided
         Status: New

** Affects: neutron
     Importance: Undecided
         Status: New

** Also affects: keystoneauth
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1548433

Title:
  neutron returns objects other than oslo_config.cfg.Opt instances from
  list_opts

Status in keystoneauth:
  New
Status in neutron:
  New

Bug description:
  The neutron function for listing options for use with the
  configuration generator returns things that are not compliant with the
  oslo_config.cfg.Opt class API. At the very least this includes the
  options from keystoneauth1, but I haven't looked to find if there are
  others.

  We'll work around this for now in the configuration generator code,
  but in the future we will more strictly enforce the API compliance by
  refusing to generate a configuration file or by leaving options out of
  the output.

  The change blocked by this issue is:
  https://review.openstack.org/#/c/282435/5

  One failure log showing the issue is:
  http://logs.openstack.org/35/282435/5/check/gate-tempest-dsvm-neutron-
  src-oslo.config/77044c6/logs/devstacklog.txt.gz

  The neutron code triggering the issue is in:
  http://git.openstack.org/cgit/openstack/neutron/tree/neutron/opts.py#n279

  The best solution would be to fix keystoneauth to support option
  discovery natively using proper oslo.config Opts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystoneauth/+bug/1548433/+subscriptions


Follow ups