Bug 1042228

Summary: [RFE][heat]: Auto-scaling notifications through Marconi, the OpenStack Queuing and Notification Service
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/heat/+spec/auto-scaling-notifications
Whiteboard: upstream_milestone_none upstream_status_not-started upstream_definition_pending-approval
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:04:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 21:27:45 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/heat/+spec/auto-scaling-notifications.

Description:

Enabling of stack's life-cycles management with auto-scaling requires some form user-land notifications to be inform of scale-up and scale-down events. Upon the receiving of such notifications, a Heat client could initiate a (re)configuration action to take into account that change of state. For example, add or remove the IP address of a cluster of instances and so reflect the actual state of the stack. The creation of an auto-scaling-group in AWS EC2 supports that capability through specifying a NotificationConfiguration property which associates an SNS topic with a list of auto-scaling events. 
Check http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfiguration.html for details. Similarly, it is assumed that user-land notifications could be supported in Heat for auto-scaling using Marconi, the OpenStack Queuing and Notification Service for the following event types:

- autoscaling:EC2_INSTANCE_LAUNCH
- autoscaling:EC2_INSTANCE_LAUNCH_ERROR
- autoscaling:EC2_INSTANCE_TERMINATE
- autoscaling:EC2_INSTANCE_TERMINATE_ERROR

Specification URL (additional information):

None