ha.py sets same parameter multiple times

Bug #1504365 reported by Daisuke Nakajima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Ranjeet R
Trunk
Fix Committed
High
Ranjeet R

Bug Description

When ha.py is called by fablic script, "tune.maxrewrite 1024" and "tune.bufsize 16384" are set multiple times.

global
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        tune.maxrewrite 1024
        tune.bufsize 16384
        log /dev/log local0
        log /dev/log local1 notice
        chroot /var/lib/haproxy
        stats socket /run/haproxy/admin.sock mode 660 level admin
        stats timeout 30s
        user haproxy
        group haproxy
        daemon

Tags: provisioning
information type: Proprietary → Public
Ranjeet R (rranjeet-n)
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Ranjeet R (rranjeet-n)
milestone: none → r3.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/14600
Submitter: Ranjeet R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/14600
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/28e1897ee191f8c134a9f5b0187c8c1828450496
Submitter: Zuul
Branch: master

commit 28e1897ee191f8c134a9f5b0187c8c1828450496
Author: Ranjeet R <email address hidden>
Date: Wed Oct 21 16:59:49 2015 -0700

Fixes: Duplicate entries in haproxy.cfg

Check for the presence of the config before appending the config

Change-Id: I2ab4c37ce38e306b866dab971861c1f112df2f7f
ClosesBug: 1504365

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

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.