Openstack HA : two haproxy processes are running after provisioning

Bug #1452951 reported by venu kolli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Ranjeet R
Trunk
Fix Committed
High
Ranjeet R

Bug Description

Two HA proxy processes were running after provisioning .

Issue observed on HA topology on R2.2 build 9

root@b4s342:/opt/contrail/utils# ps ax | grep haproxy
 8475 ? Ss 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
16206 ? Ss 1:34 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
19103 pts/0 S+ 0:00 grep --color=auto haproxy
root@b4s342:/opt/contrail/utils#

Tags: ha
venu kolli (vkolli)
Changed in juniperopenstack:
assignee: nobody → Ranjeet R (rranjeet-n)
importance: Undecided → High
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10506
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/10505
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/7cc8532f1933c1947b043693987943307202d7e3
Submitter: Zuul
Branch: R2.20

commit 7cc8532f1933c1947b043693987943307202d7e3
Author: Ranjeet R <email address hidden>
Date: Mon May 18 13:32:07 2015 -0700

Fixes: Openstack HA : two haproxy processes are running after provisioning

HAProxy process is moved to upstart so that if it crashes it can be
automatically restarted.

So, we need to stop the haproxy process started by init.d script before
spawning the one with upstart.

Change-Id: Id8d81f145baeb12d268ae9ee0e04eb976c4ac281
ClosesBug: 1452951

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

commit a39afccbfe378b0526657eea2d7224fcea48748d
Author: Ranjeet R <email address hidden>
Date: Mon May 18 13:43:04 2015 -0700

Fixes: Openstack HA : two haproxy processes are running after provisioning

HAProxy process is moved to upstart so that if it crashes it can be
automatically restarted.

So, we need to stop the haproxy process started by init.d script before
spawning the one with upstart.

Change-Id: Iaa3c704b9a36b4ba09acfb9342b530adf27ccdc7
ClosesBug: 1452951

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/13723
Submitter: Thilak Raj (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13723
Committed: http://github.org/Juniper/contrail-puppet/commit/07b827a9dfe92e860da83f29ed0da74662da215d
Submitter: Zuul
Branch: R2.20

commit 07b827a9dfe92e860da83f29ed0da74662da215d
Author: tsurendra <email address hidden>
Date: Wed Sep 9 13:58:40 2015 -0700

Closes-Bug: #1452951
Stop the service started through init.d
and restart the ha proxy service using upstart.

Testing:
In openstack-ha setup make sure we see only one instance of haproxy.

Change-Id: I4c2b2b7305ecabb0e02a25de7782addd360ed7c6

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.