Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-69040

[RFE] Add commands for ticket standby, activate and cleanup [rhel-9]

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.6
    • rhel-9.0.0
    • pcs
    • pcs-0.11.8-3.el9
    • None
    • FutureFeature
    • rhel-sst-high-availability
    • 17
    • 23
    • 2
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      Ability to standby, activate, and cleanup tickets.

      Reason (why has the feature or enhancement been implemented):
      The commands should be added so that pcs provides a complete set of commands to work with the tickets.

      Result (what is the current user experience):
      The user can use new commands `pcs booth ticket standby | unstandby | cleanup` to standby, activate, and remove the state of the tickets from CIB.
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): Ability to standby, activate, and cleanup tickets. Reason (why has the feature or enhancement been implemented): The commands should be added so that pcs provides a complete set of commands to work with the tickets. Result (what is the current user experience): The user can use new commands `pcs booth ticket standby | unstandby | cleanup` to standby, activate, and remove the state of the tickets from CIB.
    • Proposed
    • None

      This is a clone of issue RHEL-12709 to use for version rhel-9.6

      Original description:
      When removing a booth ticket with pcs booth ticket remove, the ticket is only removed from booth config file and is still present in CIB. We need to provide additional commands for managing tickets and expanse the documentation to describe the proper ticket removal process. There is a catch when removing tickets: based on ticket-loss policy configured in a ticket constraint, the cluster may freeze or fence on a ticket removal. This is not something one would except to be an outcome of merely updating cluster configuration.

      Proper ticket removal process when booth is in use:

      • standby a ticket
      • remove the ticket from booth + restart booth
      • remove the ticket from cib (cleanup) - this step may become unnecessary once booth is updated to autoremove tickets from cib on restart

      Proper ticket removal process when booth is not in use - i.e. tickets are managed manually:

      • standby a ticket
      • remove the ticket from cib (cleanup)

      Pcs doesn't currently provide commands to standby and cleanup tickets, so we need to add them. We should also add a command to unstandby tickets to offer a complete set of commands. Documentation of ticket remove, standby and cleanup commands should describe effects of these commands and proper ticket removal procedure in detail.

              cluster-qe Cluster QE
              watson-automation Watson Automation
              Peter Romancik Peter Romancik
              Michal Mazourek Michal Mazourek
              Steven Levine Steven Levine
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: