tools/conf/generate_sample.sh fails

Bug #1161175 reported by Lorin Hochstein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned
oslo-incubator
New
Undecided
Unassigned

Bug Description

tools/conf/generate_sample.sh fails with the following error:

Error in option "matchmaker_heartbeat_freq"

I believe this is because the script expects an integer but the default value given is a string. Same problem with matchmaker_heartbeat_ttl.

From nova/openstack/common/rpc/matchmaker.py:

    cfg.IntOpt('matchmaker_heartbeat_freq',
               default='300',
               help='Heartbeat frequency'),
    cfg.IntOpt('matchmaker_heartbeat_ttl',
               default='600',
               help='Heartbeat time-to-live.'),

Revision history for this message
Lorin Hochstein (lorinh) wrote :

Added oslo as affected project since apparently these params are synced in from oslo-incubator

Revision history for this message
Lorin Hochstein (lorinh) wrote :

Just checked, and these values are actually correctly integers in oslo-incubator, so that project doesn't actually have the issue...

    cfg.IntOpt('matchmaker_heartbeat_freq',
               default=300,
               help='Heartbeat frequency'),
    cfg.IntOpt('matchmaker_heartbeat_ttl',
               default=600,
               help='Heartbeat time-to-live.'),

Revision history for this message
Joe Gordon (jogo) wrote :

the changes have already been made in oslo, we just need to sync the update into nova

tags: added: grizzly-backport-potential
Revision history for this message
Joe Gordon (jogo) wrote :

related to bug 1159889

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.