Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of alerts in booth site and boothd arbitrator #99

Open
rohsaini opened this issue Aug 14, 2020 · 3 comments
Open

Support of alerts in booth site and boothd arbitrator #99

rohsaini opened this issue Aug 14, 2020 · 3 comments

Comments

@rohsaini
Copy link

rohsaini commented Aug 14, 2020

I am requesting pacemaker alerts kind of feature for booth nodes. I understand few of below may not be possible to implement due to technical constraints. Would be interesting how most the cases can be handled.
Please check the attached image.

  1. Node5 booth-arbitrator should be able to give event when any of the booth site node joins or leaves.
  2. Geo site booth should be able to give event when its booth peers joins/leaves. For example, Geo site1 gives an event when node5 booth-arbitrator joins/leaves OR site2 booth joins/leaves. booth-ip can be passed in event.
  3. On ticket movements (revoke/grant), every booth node(Site1/2 and node5) should give events.

If you see on high level, then these are kind of node/resource events wrt booth.

As of today wrt booth, there is no provision where any of the nodes gives any event when its peer leaves/joins. This makes it difficult to know whether geo sites nodes can see booth-arbitrator or not. This is true the other way around also where booth-arbitrator cannot see geo booth sites.
I am not sure how others are doing it in today's deployment, but I see need of monitoring of every other booth node. So that on basis of event, appropriate alarms can be raised and action can be taken accordingly.

image

@jfriesse
Copy link
Member

Relevant ML thread: https://lists.clusterlabs.org/pipermail/users/2020-August/027533.html

I think for Booth best we can do is to call script when ticket is granted/rejected.

Also similarly with qdevice, we must make sure to call script asynchronously, so it doesn't block processing of other events.

@dmuhamedagic may have other ideas how to grasp this issue.

@dmuhamedagic
Copy link

dmuhamedagic commented Sep 11, 2020 via email

@dmuhamedagic
Copy link

This enhancement would really be worth the trouble. Any volunteers? :)

@jfriesse jfriesse mentioned this issue Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants