extract_opts.py generates cinder.conf.sample grouping some options in [DEFAULT] block when they should be grouped in the specific group, not default

Bug #1258504 reported by Anastasiia Guzikova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Low
Anastasiia Guzikova

Bug Description

E.g.
'topics' option in the cinder/openstack/common/notifier/rpc_notifier2.py is defined as 'rpc_notifier2' group's member:

notification_topic_opt = cfg.ListOpt(
    'topics', default=['notifications', ],
    help='AMQP topic(s) used for OpenStack notifications')

opt_group = cfg.OptGroup(name='rpc_notifier2',
                         title='Options for rpc_notifier2')

CONF = cfg.CONF
CONF.register_group(opt_group)
CONF.register_opt(notification_topic_opt, opt_group)

but corresponding part of cinder.conf.sample is generated by extract_opts.py contains:
#
# Options defined in cinder.openstack.common.notifier.rpc_notifier2
#

# AMQP topic(s) used for OpenStack notifications (list value)
#topics=notifications

which belongs to the '[DEFAULT]' block.

Changed in cinder:
assignee: nobody → Anastasia Guzikova (aguzikova)
summary: - extract_opts.py generates cinder.conf.sample without grouping some
- options that should be grouped not as [DEFAULT]
+ extract_opts.py generates cinder.conf.sample grouping some options in
+ [DEFAULT] block when they should be grouped in the specific group, not
+ default
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/60506

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Low
milestone: none → icehouse-2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.