Automatic triggering Action Plans

Registered by Jean-Emile DARTOIS on 2016-06-01

Description:
This blueprint goes beyond the "continuously-optimization" blueprint [1] by applying automatically the Action Plans.

Problem:
Watcher needs to continuously optimize the OpenStack cloud for a specific strategies or goals. Watcher can periodically trigger some Audits which generates Action Plans.
Unfortunately, in the current implementation the Administrator have to launch manually
the recommended Action Plan in order to apply it on the real system.

Proposal:
We should add the feature "automatic triggering". If the Audit has an 'automatic triggering' of the Action Plan, the Watcher module will automatically launch it at the most appropriate time.

Note: that some Action Plan may consist in executing some actions at a given date & time. so, we should pay attention of execution order of the Action Plans.
We should aslo add a deadline for executing the audit and applying the audits. (maybe out of scope of this blueprint)

[1] https://blueprints.launchpad.net/watcher/+spec/continuously-optimization

Blueprint information

Status:
Complete
Approver:
Antoine Cabot
Priority:
Essential
Drafter:
Jean-Emile DARTOIS
Direction:
Approved
Assignee:
Alexander Chadin
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-3
Started by
Antoine Cabot on 2016-11-16
Completed by
Alexander Chadin on 2017-01-16

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/automatic-triggering-audit,n,z

Addressed by: https://review.openstack.org/342473
    Added spec for automatic triggering audit

Gerrit topic: https://review.openstack.org/#q,topic:automatic-triggering-audit,n,z

Addressed by: https://review.openstack.org/398044
    Add auto_trigger in audit API

Addressed by: https://review.openstack.org/403718
    [WIP] Add auto_trigger support to watcher

Addressed by: https://review.openstack.org/407291
    Implement Auto trigger action plan

Addressed by: https://review.openstack.org/411832
    Add auto_trigger option in Audit creation form

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.