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

-- 
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/1568820

Title:
  Duplicate sections in generated config

Status in OpenStack Compute (nova):
  New
Status in oslo.config:
  New

Bug description:
  nova.conf as generated by oslo.config (for nova 
f05bbb1279598fa82ff5694e35d9de96315b1916) contains duplicate neutron and 
xenserver sections
  # PYTHONPATH=. oslo-config-generator 
--config-file=etc/nova/nova-config-generator.conf ; grep "^\[" 
etc/nova/nova.conf.sample | sort | uniq -c | grep " 2 "
        2 [neutron]
        2 [xenserver]

  This appears to be because there groups are being registered with both
  oslo_config.cfg.OptGroup and str in places

  e.g. 
  http://git.openstack.org/cgit/openstack/nova/tree/nova/api/metadata/handler.py
      CONF.register_opts(metadata_proxy_opts, 'neutron')

  and
  http://git.openstack.org/cgit/openstack/nova/tree/nova/conf/neutron.py
      neutron_group = cfg.OptGroup('neutron', title='Neutron Options')
      conf.register_group(neutron_group)

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to