[library] Support in Pacemaker OCF script for multi-threaded HAProxy mode

Bug #1382107 reported by Miroslav Anashkin
This bug report is a duplicate of:  Bug #1476348: wrong ocf for haproxy. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Oleksiy Molchanov
7.0.x
Fix Committed
Medium
Oleksiy Molchanov

Bug Description

HAProxy may be configured to run in multi-process mode.
In this mode it may use either single PID file or a PID file per process.

Currently our OCF script incorrectly interprets HAProxy status if it runs in several process.
As a result Pacemaker restarts HAProxy several tiles and multiplies the number of HAProxy processes 2-3 times greater than configured in HAProxy settings.
From its side HAProxy does not aware of its own number of processes, since it thinks it is running in several process.

We should either implement support for multi-process HAProxy or document this case in Known Issues section.

Tags: docs ha
Changed in fuel:
assignee: nobody → Fuel for Openstack (fuel)
Changed in fuel:
assignee: Fuel for Openstack (fuel) → Fuel Library Team (fuel-library)
tags: added: docs
tags: added: ha
Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 6.0
Stanislav Makar (smakar)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Stanislav Makar (smakar)
Revision history for this message
Stanislav Makar (smakar) wrote :

document this, i think would be better

description: updated
Changed in fuel:
importance: Medium → Wishlist
assignee: Stanislav Makar (smakar) → Fuel Library Team (fuel-library)
Changed in fuel:
status: Confirmed → Triaged
Changed in fuel:
milestone: 6.0 → 6.1
Changed in fuel:
status: Triaged → Won't Fix
Revision history for this message
Aleksandr Didenko (adidenko) wrote :

This bug was reported long time ago. We may no longer have it. So we need to try to reproduce it. Forwarding to QA.

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :
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.