Comment 2 for bug 2055275

Revision history for this message
Bo Tran (ministry.nd) wrote :

This is file I was used to create health check policy:

```
| updated_at | 2024-04-06T01:37:17Z |
# Sample health policy based on node health checking
type: senlin.policy.health
version: 1.0
description: A policy for maintaining node health from a cluster.
properties:
  detection:
    # Type for health checking, valid values include:
    # NODE_STATUS_POLLING, LB_STATUS_POLLING, LIFECYCLE_EVENTS
    detection_modes:
      - type: NODE_STATUS_POLLING

    # Number of seconds between two adjacent checking
    interval: 60

  recovery:
    # Action that can be retried on a failed node, will improve to
    # support multiple actions in the future. Valid values include:
    # REBOOT, REBUILD, RECREATE
    actions:
      - name: RECREATE
```

I have 2 problems:
1. Keep connection, make number connection to keystone highload
2. Don't healthcheck cluster before senlin detect it as orphaned healthcheck