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

ocf-shellfuncs: remove extra sleep from curl_retry

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-8.4.0, rhel-9.0.0, rhel-10.0
    • resource-agents
    • None
    • resource-agents-4.10.0-80.el9
    • No
    • Low
    • rhel-ha
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Use the AWS resource agents, but they do a sleep after the final try to get metadata.

      What is the impact of this issue to you?

      3 or multiple of 3's (default sleep value) second delay in actions depending on how many times curl is used to get metadata in the agent.

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Create AWS resource.
      2. Run `time pcs resource debug-monitor --full <rsc>`
      3.  

      Expected results

      Doesnt sleep for 3 or more additional seconds after the final curl retry.

      Actual results

      Sleeps 3 or more additional seconds after the final curl retry.

              rhn-engineering-oalbrigt Oyvind Albrigtsen
              rhn-engineering-oalbrigt Oyvind Albrigtsen
              Oyvind Albrigtsen Oyvind Albrigtsen
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: