Jump to: navigation, search

Difference between revisions of "Heat/Blueprints/asg-resource-management"

Line 1: Line 1:
 
 
 
Add specific resource actions to autoscaling resource group:
 
Add specific resource actions to autoscaling resource group:
 
=================================================
 
=================================================
Line 30: Line 28:
  
 
Alternatives
 
Alternatives
------------
 
 
 
None.
 
None.
  
 
Implementation
 
Implementation
==============
 
 
 
Assignee(s)
 
Assignee(s)
-----------
 
 
 
Ahelkhou - <ahmed.h.elkhouly@gmail.com>
 
Ahelkhou - <ahmed.h.elkhouly@gmail.com>
  
 
Milestones
 
Milestones
----------
 
 
 
Target Milestone for completion:
 
Target Milestone for completion:
 
   liberty-1
 
   liberty-1
  
 
Work Items
 
Work Items
----------
 
 
 
- Introduce the AutoscalingActionPolicy class.
 
- Introduce the AutoscalingActionPolicy class.
 
- Add handlers to AutoScalingResourceGroup.
 
- Add handlers to AutoScalingResourceGroup.
  
 
Dependencies
 
Dependencies
============
 
 
- This blueprint will depend on reorganization of AutoScalingGroup:
 
- This blueprint will depend on reorganization of AutoScalingGroup:
 
https://blueprints.launchpad.net/heat/+spec/reorg-asg-code
 
https://blueprints.launchpad.net/heat/+spec/reorg-asg-code

Revision as of 21:20, 12 August 2015

Add specific resource actions to autoscaling resource group:

=====================================

The aim of this blueprint is to add the ability of specific resource managamenet actions to Autoscaling group (AutoScalingResourceGroup). This enables workloads to add, delete or recreate sepcific resource(s) within the resource group.

Problem description

Several workloads need the ability to add or remove specific resources from resource groups. This ability is key requirement for recreating one or more (failed) resources for healing purposes. The recreated resource must maintain the resource index as it can be incorporated in properties used by the workload applications to identify the resource. Additionly, addition or removal of specific resources(identified by resource index) may be needed for workloads that require specific loading/deloading orders.

Proposed change

1. Introduce a new policy class(AutoscalingActionPolicy) that offers a signal handler for action siganls on specific list of resources. "asg-specific-resource-management.rst" 90L, 2791C

2. Add functionality to autoscaling group to be invoked by new policy to execute requested actions on the specified group resources.

Alternatives None.

Implementation Assignee(s) Ahelkhou - <ahmed.h.elkhouly@gmail.com>

Milestones Target Milestone for completion:

 liberty-1

Work Items - Introduce the AutoscalingActionPolicy class. - Add handlers to AutoScalingResourceGroup.

Dependencies - This blueprint will depend on reorganization of AutoScalingGroup: https://blueprints.launchpad.net/heat/+spec/reorg-asg-code - Additionaly, can benefit from batching addition to resourcegroup (not a hard dependency): https://blueprints.launchpad.net/heat/+spec/resource-group-batching