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

Upper boundary of crm_resource --wait timeout

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.5
    • pacemaker
    • None
    • None
    • None
    • rhel-sst-high-availability
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Specify timeout for `crm_resource --wait` with too big values

      Please provide the package NVR for which bug is seen:

      Pacemaker 2.1.8-1.el9

      How reproducible:

      always

      Steps to reproduce

      1. Call `crm_resource --wait --timeout=TIMEOUT` with TIMEOUT larger than 4294966296ms (seems like UINT_MAX - 999)

      Expected results

      The command ends with an error specifying that the timeout value is too big.

      Actual results

      crm_resource ends with timeout error:

      [root@r94-1 ~]# crm_resource --wait --timeout=4294966297ms
      Pending actions:
      crm_resource: Error performing operation: Timeout occurred 

              kgaillot@redhat.com Kenneth Gaillot
              rh-ee-promanci Peter Romancik
              Kenneth Gaillot Kenneth Gaillot
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: