Update health policy example

Bug #1834516 reported by Duc Truong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Medium
Duc Truong

Bug Description

The health policy example files (https://github.com/openstack/senlin/blob/master/examples/policies/health_policy_poll_url.yaml) are outdated.

The health policy schema now uses detection_modes. E.g.

type: senlin.policy.health
version: 1.0
description: A policy for maintaining node health from a cluster.
properties:
  detection:
    interval: 60
    node_update_timeout: 240
    detection_modes:
      - type: NODE_STATUS_POLL_URL
        options:
          poll_url: "http://127.0.0.1:5000"
          poll_url_retry_limit: 3
          poll_url_retry_interval: 2
      - type: NODE_STATUS_POLLING
  recovery:
    actions:
      - name: RECREATE
    node_delete_timeout: 90
    node_force_recreate: True

Changed in senlin:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Duc Truong (dtruong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.opendev.org/668246
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=ebefa20ca207575d9c7045d2ed257a4287d9b79b
Submitter: Zuul
Branch: master

commit ebefa20ca207575d9c7045d2ed257a4287d9b79b
Author: Duc Truong <email address hidden>
Date: Fri Jun 28 20:33:04 2019 +0000

    Update docs and examples for health policy v1.1

    The documentation and example health policies need to be updated to
    reflect health policy v1.1 schema changes.

    Change-Id: Ie447397b001fba9798025370cdb0087e679fdfe4
    Closes-Bug: #1834516

Changed in senlin:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 8.0.0.0rc1

This issue was fixed in the openstack/senlin 8.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.