heat/heat/tests
yanyanhu e182a57c9a ASG scaling account for cooldown timestamp & in-progress
There are cases where it takes a long time to create a new resource as
requested by the scaling operation on an ASG resource, for instance, a
nova server creation followed by a complex SoftwareDeployment. During
this process, additional alarms may come in but failed to be blocked
by the current cooldown checking mechanism because the very first
timestamp has yet to be generated. This is leading to unexpected size
adjustment to the ASG.

This patch augments the existing cooldown checking mechanism with a
scaling-in-progress test so that additional alarms arriving during
the very first scaling operation will be ignored.

Change-Id: Ib8aa83eed366df7097c9cbb9247eca866ae4b620
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Closes-Bug: #1375156
2015-10-06 22:38:38 -04:00
..
db Merge "Fix downgrades in migration scripts 016 and 035" 2014-08-29 08:30:26 +00:00
policy Add check_is_admin to common.policy.Enforcer 2013-11-27 22:30:59 +00:00
templates "version" section should be required in template 2014-01-24 09:47:55 +08:00
v1_1 Merge "Resolve AWS::EC2::Instance AZ output to a value if not specified" 2014-09-26 08:13:40 +00:00
__init__.py Switch heat resources & db & tests to oslo.i18n 2014-09-17 14:28:56 +08:00
common.py Add an option to disable cloud watch lite 2014-09-25 19:42:28 +10:00
fakes.py Authenticate the domain user with id instead of username 2015-05-13 09:56:37 +01:00
generic_resource.py Convert bool/int values into string for string properties 2015-01-29 11:06:06 +00:00
test_api_aws.py Fix typos in comments and help strings 2014-08-13 13:54:24 +04:00
test_api_cfn_v1.py Implement CFN CancelUpdateStack action 2014-09-17 11:57:49 +03:00
test_api_cloudwatch.py Get rid of old-style classes 2014-08-29 14:10:30 -04:00
test_api_ec2token.py Update references to auth_token middleware 2014-10-10 18:52:34 +10:00
test_api_openstack_v1.py Template not required on stack-adopt 2014-10-08 10:07:36 -04:00
test_api_openstack_v1_util.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_api_openstack_v1_views_stacks_view_builder.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_api_openstack_v1_views_views_common.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_attributes.py Hide warning for old style attribute schema test 2014-06-18 08:58:45 +00:00
test_auth_password.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_auth_url.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_autoscaling.py ASG scaling account for cooldown timestamp & in-progress 2015-10-06 22:38:38 -04:00
test_autoscaling_update_policy.py Always update nested stacks 2015-01-06 15:49:40 -05:00
test_ceilometer_alarm.py Correctly set CombinationAlarm repeat_actions 2014-11-20 11:24:50 +00:00
test_clients.py unconfigured clients look in the [clients] section for defaults 2014-11-19 09:16:29 +00:00
test_cloud_config.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_cloudwatch.py tests remove stack_delete_after decorator 2014-04-30 16:14:59 +01:00
test_common_context.py Support x-openstack-request-id for Heat 2014-06-17 10:11:24 +00:00
test_common_param_utils.py Move API parameter parsing from OpenStack API to engine 2014-05-19 20:53:15 -04:00
test_common_policy.py Remove unused functions from policy enforcer 2014-07-16 19:06:12 +01:00
test_common_serializers.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_constraints.py Always convert string type params to string 2014-08-06 18:02:42 -04:00
test_cw_alarm.py Unit tests: Always use ResourceDefinition for updates 2014-06-16 11:05:24 -04:00
test_dbinstance.py Use the template module to access the Template class 2014-08-21 12:53:45 +10:00
test_dependencies.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_eip.py Implement AWS::EC2::EIPAssociation updatable 2014-09-09 09:43:46 +00:00
test_empty_stack.py Fix updating from an empty stack 2014-07-17 21:35:17 +10:00
test_engine_api_utils.py Set the default state of a stack to CREATE_IN_PROGRESS 2014-09-11 22:06:25 +05:30
test_engine_service.py Fix TypeError exception during cancel stack update 2015-09-15 10:44:57 -04:00
test_environment.py Add env storing for loaded environments 2015-06-03 14:02:44 +00:00
test_environment_format.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_event.py Convert bool/int values into string for string properties 2015-01-29 11:06:06 +00:00
test_exception.py Error class can accept message with format characters 2014-08-28 12:27:17 -05:00
test_fault_middleware.py Merge "Add test to serialize and deserialize exceptions" 2014-09-25 10:59:35 +00:00
test_function.py Use six to translate exception message in tests 2014-09-22 10:47:15 +08:00
test_glance_client.py Replace str() with six.text_type() where exception is used 2014-07-29 10:34:26 +08:00
test_glance_image.py Implement glance client plugin 2014-07-09 08:26:58 +12:00
test_heat_autoscaling_group.py ASG scaling account for cooldown timestamp & in-progress 2015-10-06 22:38:38 -04:00
test_heatclient.py Catch v3 keystone unauthorized error when creating stack 2015-08-18 12:42:02 +00:00
test_hot.py Convert functions into a fixed part of the template 2014-09-11 12:52:06 +10:00
test_identifier.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_image.py Move glance_utils functions to glance client plugin 2014-07-21 13:00:26 -04:00
test_instance.py Convert bool/int values into string for string properties 2015-01-29 11:06:06 +00:00
test_instance_group.py Implement BlockDeviceMappings for LaunchConfiguration 2014-09-03 01:26:01 +00:00
test_instance_group_update_policy.py Add constraints to check whether image/keypair exists 2014-08-13 16:03:05 +00:00
test_instance_network.py Added PublicDnsName verification in unit tests 2014-09-01 20:42:42 +05:30
test_iso_8601.py Add ISO 8601 date constraint 2014-05-05 11:01:24 -04:00
test_lifecycle_plugin_utils.py Implements stack lifecycle plugpoints 2014-08-31 19:36:48 +00:00
test_loadbalancer.py Implement BlockDeviceMappings for AWS::EC2::Instance 2014-08-11 07:57:42 +00:00
test_loguserdata.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_metadata_refresh.py Use Constraint stubs in common.py 2014-08-13 16:03:21 +00:00
test_multi_part.py Use None instead of mutables in method params defaults 2014-07-02 16:33:12 +08:00
test_nested_stack.py Replace str() with six.text_type() where exception is used 2014-07-29 10:34:26 +08:00
test_network_interface.py Implement GroupSet updatable for AWS::EC2::NetworkInterface 2014-08-30 06:55:45 +00:00
test_neutron.py Merge "Use properties.data when testing for "provided by the user"" into stable/juno 2015-04-03 07:31:00 +00:00
test_neutron_autoscaling.py Don't update a LoadBalancer under autoscaling control 2014-10-10 20:15:15 -04:00
test_neutron_client.py Match tenant_id when name ambiguity in get_secgroup_uuids() 2014-08-30 06:55:29 +00:00
test_neutron_firewall.py Neutron use ClientPlugin.ignore_not_found etc 2014-08-11 17:29:38 -05:00
test_neutron_loadbalancer.py Add more info to ResourceUnknownStatus 2014-08-27 16:06:44 +03:00
test_neutron_metering.py Neutron use ClientPlugin.ignore_not_found etc 2014-08-11 17:29:38 -05:00
test_neutron_network_gateway.py Using neutron utils function from neutron plugin 2014-08-21 05:28:39 +00:00
test_neutron_security_group.py Use the template module to access the Template class 2014-08-21 12:53:45 +10:00
test_neutron_vpnservice.py Using neutron utils function from neutron plugin 2014-08-21 05:28:39 +00:00
test_nokey.py Move nova_utils functions to nova client plugin 2014-08-13 20:12:29 -05:00
test_notifications.py Switch to oslo.utils 2014-09-30 14:27:59 +02:00
test_nova_client.py Resolved server and instance status redundancy 2014-08-19 16:50:47 +05:30
test_nova_floatingip.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
test_nova_keypair.py Add length constraint to Nova Keypair's name property 2014-09-01 18:57:36 +05:30
test_nova_servergroup.py Remove resource_id_set(None) calls 2014-08-19 11:30:32 -04:00
test_nova_utils.py Move nova_utils functions to nova client plugin 2014-08-13 20:12:29 -05:00
test_os_database.py Add networks property to OS::Trove::Instance 2014-08-27 14:10:11 +00:00
test_parameters.py Add Dimensions Default in AWS_CloudWatch_Alarm.yaml 2014-12-24 14:08:03 +00:00
test_parser.py Make sure to delete stack when SNAPSHOT_IN_PROGRESS 2015-09-22 14:43:43 -04:00
test_plugin_loader.py Skip tests when loading plugins 2014-04-30 23:19:57 +02:00
test_plugin_manager.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
test_properties.py Allow lists and strings for Json parameters via provider resources 2015-05-26 13:14:45 +02:00
test_provider_template.py Always update nested stacks 2015-01-06 15:49:40 -05:00
test_random_string.py RandomString physical_resource_id as id not the string 2015-04-30 11:17:04 +12:00
test_resource.py Fix error msg invalid stack or res name 2014-12-16 07:47:23 -05:00
test_resource_group.py Merge "Always update nested stacks" into stable/juno 2015-01-19 18:35:56 +00:00
test_restarter.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_rpc_client.py Add RPC API for cancel update stack 2014-09-13 16:53:04 +03:00
test_rsrc_defn.py Add test for ResourceDefinition equality 2014-08-27 19:07:13 -04:00
test_s3.py Glance, swift use ClientPlugin.ignore_not_found 2014-08-11 17:29:38 -05:00
test_sahara_cluster.py Implement OS::Sahara::Cluster resource 2014-09-02 18:08:02 +03:00
test_sahara_templates.py Implement OS::Sahara::ClusterTemplate resource 2014-09-01 12:15:42 +03:00
test_scaling_template.py Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
test_scheduler.py Allow concurrent tasks to complete after error 2014-08-27 19:07:13 -04:00
test_security_group.py Detect neutron endpoint on-the-fly 2014-08-29 11:11:59 +12:00
test_server.py Fix block_device_mapping property validation when using get_attr 2015-06-11 05:08:41 +05:30
test_server_tags.py Make sure that AutoScaling group has it's tag set correctly 2014-09-25 19:42:28 +10:00
test_short_id.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_signal.py Merge "Use the template module to access the Template class" 2014-08-28 13:24:04 +00:00
test_software_component.py Enhance SoftwareComponent property validation 2014-09-12 15:55:01 +02:00
test_software_config.py Remove function get_software_config 2014-08-13 11:00:18 -05:00
test_software_deployment.py Disable nested validation for ResourceGroup with zero count 2015-01-12 14:20:18 -05:00
test_sqlalchemy_api.py Merge "Switch to oslo.utils" 2014-10-01 12:40:29 +00:00
test_sqlalchemy_filters.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
test_sqlalchemy_types.py Tolerate null on Json db load 2014-10-23 16:55:50 +13:00
test_ssl_middleware.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_stack_lock.py Release stack lock when successfully acquire 2015-03-04 17:11:40 +08:00
test_stack_resource.py StackResource consider files in implementation_signature 2014-11-21 16:48:11 +00:00
test_stack_user.py Authenticate the domain user with id instead of username 2015-05-13 09:56:37 +01:00
test_structured_config.py Implement OS::Heat::StructuredDeployments 2014-09-01 12:13:20 +12:00
test_support.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_swift.py Glance, swift use ClientPlugin.ignore_not_found 2014-08-11 17:29:38 -05:00
test_swift_client.py Add utility functions for Swift TempURLs 2014-08-18 10:45:22 -05:00
test_swiftsignal.py Add OS::Swift::Signal resource 2014-08-18 15:21:09 -05:00
test_template.py Convert functions into a fixed part of the template 2014-09-11 12:52:06 +10:00
test_template_format.py Replace str() with six.text_type() where exception is used 2014-07-29 10:34:26 +08:00
test_timeutils.py timeutils function retry_backoff_delay 2014-07-24 14:47:08 -04:00
test_urlfetch.py Get rid of old-style classes 2014-08-29 14:10:30 -04:00
test_user.py Unit tests: Create resources with ResourceDefinition 2014-06-05 13:45:14 -04:00
test_validate.py Use environment file in template-validate 2014-11-23 00:09:12 +08:00
test_version_negotiation_middleware.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_volume.py Merge "Resolve AWS::EC2::Instance AZ output to a value if not specified" 2014-09-26 08:13:40 +00:00
test_vpc.py Fix subnet residue when resource deletion 2014-09-29 01:17:54 +00:00
test_waitcondition.py WaitConditionHandle resources, create events with reason data 2014-08-14 17:25:59 +01:00
test_watch.py Remove mocking of timeutils.utcnow 2015-01-12 08:41:01 -08:00
test_wsgi.py Replace str() with six.text_type() where exception is used 2014-07-29 10:34:26 +08:00
testing-overview.txt Remove examples and update testing-overview.txt 2013-04-30 13:51:31 -07:00
utils.py Cleanup trust on delete with stored context if needed 2014-09-09 16:55:38 +01:00