Skip to content

pcs_constraint_ticket implementation #14

@OndrejHome

Description

@OndrejHome

Implement creating/updating/deleting constraints with ticket.
Matching criteria: same ticket_name, role, resource ID
Non-matching criteria (for update): loss-policy

Expected to be based on following 2 commands from pcs:

ticket add <ticket> [<role>] <resource id> [<options>]
           [id=<constraint-id>]
    Create a ticket constraint for <resource id>.
    Available option is loss-policy=fence/stop/freeze/demote.
    A role can be master, slave, started or stopped.

ticket remove <ticket> <resource id>
    Remove all ticket constraints with <ticket> from <resource id>.

If interested in developing this, get in touch first to prevent duplication of work. If you have questions feel free to ask.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions