Post Action

Registered by Susanne Balle

This blueprint has been superseded. See the newer blueprint "Add power on and off in Watcher" for updated plans.

The best way to run an action or a series of actions after a strategy has been completed is by modeling this on the HPC scheduler's epilogue scripts framework which runs immediately after a job is completed. This allows us to use the epilogue to carried out clean-up commands, various APIs call and scripting commands on the various nodes.

This means that actions such as "ironic set-power-state off", "disable hypervisor" or "power off hypevisor" can be carried out once the strategy is completed via a script.

Use cases:

(jinquan) As an administrator I would like to reduce the power consumption of my Cloud. Instead of defining Watcher "actions" to do that I can run a script to turn off servers or switch off the hypervizors.

This blueprint replaces: https://blueprints.launchpad.net/watcher/+spec/cluster-energy-saving in that it is more general but should allow for the same user story to be completed.

epilogue: https://www.hpc.science.unsw.edu.au/about/advanced-batch-jobs

Blueprint information

Status:
Complete
Approver:
Antoine Cabot
Priority:
Undefined
Drafter:
Susanne Balle
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Antoine Cabot

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.