HomeClusterLabs Projects

Don't send Inaccessible real server e-mails in fork=yes mode

Description

Don't send Inaccessible real server e-mails in fork=yes mode

When starting up, if a service is not listed in the ipvsadm table
the parent process will mark it as 'down'. Each child process will
then go through its own services and mark them as 'up'.

However, if there is more than one service defined, the services
from the other children are still marked as 'down'. In this case
each child will repeatedly e-mail out 'Inaccessible real server'
messages for services now managed by the other children.

To prevent this, we go through the e-mail status hash as a child
stats up and remove any services that now belong to other children.

Details

Provenance
Matthew Newton <mcn4@leicester.ac.uk>Authored on Feb 9 2016, 9:40 AM
Parents
rR6f56933a82f3: Merge pull request #751 from kskmori/v3.9.7-amend
Branches
Unknown
Tags
Unknown

Event Timeline