← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553231] Re: neutron options in generated config have warnings

 

Reviewed:  https://review.openstack.org/288513
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ddd28ab98f8ce583eacc05b74db79fe2e6ddd9a3
Submitter: Jenkins
Branch:    master

commit ddd28ab98f8ce583eacc05b74db79fe2e6ddd9a3
Author: Pavlo Shchelokovskyy <pshchelokovskyy@xxxxxxxxxxxx>
Date:   Fri Mar 4 16:56:38 2016 +0200

    Fix config generation for Neutron auth options
    
    Keystoneauth auth plugins by default return their own option objects.
    To properly generate a sample config they have to be converted to oslo.config
    option objects first.
    
    Change-Id: Ifb1f63d2465aff72b0914989faa9f244a60a947c
    Closes-Bug: #1553231


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1553231

Title:
  neutron options in generated config have warnings

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  This is related to bug 1486590

  When I run

  tox -egenconfig

  on current master, I get following warnings in generated
  nova.conf.sample  (for all keystoneauth plugin related options)

  # Warning: Failed to format sample for auth_url                                                                                                                                                                
  # isinstance() arg 2 must be a class, type, or tuple of classes and types 

  This is because keustoneauth returns its own option objects instead of
  oslo.config ones. They must be properly converted to oslo objects
  before generating config.

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


References