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

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

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0
    • pcs
    • pcs-0.12.0~b1-2.el10
    • High
    • FutureFeature
    • rhel-sst-high-availability
    • 17
    • 23
    • 5
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      .Removing Booth cluster tickets from the CIB after removal from the Booth configuration

      After you remove a Booth cluster ticket by using the `pcs booth ticket remove` command, the state of the Booth ticket remains loaded in the Cluster Information Base (CIB). This is also the case after you remove a ticket from the Booth configuration on one site and pull the Booth configuration to another site by using the `pcs booth pull` command. This might cause problems when you configure a ticket constraint, because a ticket constraint can be granted even after a ticket has been removed. As a consequence, the cluster might freeze or fence a node. You can prevent this by removing a Booth ticket from the CIB with the `pcs booth ticket cleanup` command.

      For information about removing a Booth ticket from the CIB, see link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/configuring_and_managing_high_availability_clusters/index#removing-booth-ticket[Removing a Booth ticket].
      Show
      .Removing Booth cluster tickets from the CIB after removal from the Booth configuration After you remove a Booth cluster ticket by using the `pcs booth ticket remove` command, the state of the Booth ticket remains loaded in the Cluster Information Base (CIB). This is also the case after you remove a ticket from the Booth configuration on one site and pull the Booth configuration to another site by using the `pcs booth pull` command. This might cause problems when you configure a ticket constraint, because a ticket constraint can be granted even after a ticket has been removed. As a consequence, the cluster might freeze or fence a node. You can prevent this by removing a Booth ticket from the CIB with the `pcs booth ticket cleanup` command. For information about removing a Booth ticket from the CIB, see link: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html-single/configuring_and_managing_high_availability_clusters/index#removing-booth-ticket [Removing a Booth ticket].
    • Done
    • None

      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.

              mnovacek@redhat.com Michal Nováček
              tojeline@redhat.com Tomas Jelinek
              Peter Romancik Peter Romancik
              Michal Nováček Michal Nováček
              Steven Levine Steven Levine
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: