tripleo-heat-templates/deployment/mistral
Emilien Macchi 374fafd66a mistral: configure heartbeat parameters to avoid action timeout
This patch configures and increases the defaults heartbeat parameters in
Mistral so we don't hit timeouts when an action in a workflow takes
times to reply back in Mistral, when deploying an Overcloud.

Parameters added:

  MistralMaxMissedHeartbeats:
    type: number
    default: 15
    description: >
        The maximum amount of missed heartbeats to be allowed.
        If set to 0 then this feature is disabled. See check_interval for more
        details.
    constraints:
      - range: { min: 0 }
  MistralCheckInterval:
    type: number
    default: 20
    description: >
        How often (in seconds) action executions are checked.
        For example when check_interval is 10, check action
        executions every 10 seconds. When the checker runs it will
        transit all running action executions to error if the last
        heartbeat received is older than 10 * max_missed_heartbeats
        seconds. If set to 0 then this feature is disabled.
    constraints:
      - range: { min: 0 }
  MistralFirstHeartbeatTimeout:
    type: number
    default: 3600
    description: >
        The first heartbeat is handled differently, to provide a
        grace period in case there is no available executor to handle
        the action execution. For example when
        first_heartbeat_timeout = 3600, wait 3600 seconds before
        closing the action executions that never received a heartbeat.
    constraints:
      - range: { min: 0 }

Configuration applied to Undercloud:
Maximum missed heartbeats: 30 seconds
Time between interval checks: 40 seconds
First Heartbeat timeout after 7200 seconds

Depends-On: I7a2313bed58485e077ae210d222902f4f997f0f0
Change-Id: Id8663e76b61c9e09547c228da226b706383a3e20
Closes-Bug: #1821611
2019-03-25 20:29:24 +00:00
..
mistral-api-container-puppet.yaml Remove UpgradeRemoveUnusedPackages 2019-03-19 13:40:02 +00:00
mistral-base.yaml mistral: configure heartbeat parameters to avoid action timeout 2019-03-25 20:29:24 +00:00
mistral-engine-container-puppet.yaml Remove UpgradeRemoveUnusedPackages 2019-03-19 13:40:02 +00:00
mistral-event-engine-container-puppet.yaml Remove UpgradeRemoveUnusedPackages 2019-03-19 13:40:02 +00:00
mistral-executor-container-puppet.yaml Remove UpgradeRemoveUnusedPackages 2019-03-19 13:40:02 +00:00