Jump to: navigation, search

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

Line 22: Line 22:
 
1. Introduce a new policy class(AutoscalingActionPolicy) that offers a signal
 
1. Introduce a new policy class(AutoscalingActionPolicy) that offers a signal
 
handler for action siganls on specific list of resources.
 
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
 
2. Add functionality to autoscaling group to be invoked by new policy
 
to execute requested actions on the specified group resources.
 
to execute requested actions on the specified group resources.
Line 43: Line 41:
  
 
Dependencies
 
Dependencies
- This blueprint will depend on reorganization of AutoScalingGroup:
+
- This blueprint will depend on reorganization of AutoScalingGroup:<br>
 
https://blueprints.launchpad.net/heat/+spec/reorg-asg-code
 
https://blueprints.launchpad.net/heat/+spec/reorg-asg-code
 
- Additionaly, can benefit from batching addition to resourcegroup
 
- Additionaly, can benefit from batching addition to resourcegroup
(not a hard dependency):
+
(not a hard dependency):<br>
 
https://blueprints.launchpad.net/heat/+spec/resource-group-batching
 
https://blueprints.launchpad.net/heat/+spec/resource-group-batching

Revision as of 21:21, 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. 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