Uploaded image for project: 'Puppet Task Runner'
  1. Puppet Task Runner
  2. BOLT-956

Add wait_until_available function to Bolt

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.3.0
    • Component/s: None
    • Template:
    • Sprint:
      Bolt Kanban
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Adds a wait_until_available function that will wait until all targets are accepting connections or errors if it times out.
    • QA Risk Assessment:
      Needs Assessment

      Description

      In provisioning workflows its essential to have a way to wait until targets can be reached before continuing a plan. Additionally, this may be useful in detecting when rebooted targets are again available. We should add a light-weight way to do so (actually running a command is unnecessary to test whether the targets can be reached, and Orchestrator in particular provides an API for querying whether multiple targets are connected).

      A new wait_until_available function should be added to boltlib that can wait for one or more targets to become available. For pcp targets it should use the orchestrator inventory endpoint. See https://github.com/puppetlabs/puppetlabs-reboot/pull/171 for prior art.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  michael.smith Michael Smith
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: