heat/heat/tests
Zane Bitter 7506d2c22f Don't update a LoadBalancer under autoscaling control
Unfortunately, Autoscaling currently uses the update() method of a
LoadBalancer resource to do updates, with the result that the current
member list gets persisted (good) and used to compare in the event of
future *stack* updates (bad).

With this patch, we assume that LoadBalancers under the control of
Autoscaling will never have a members list property supplied in the
template.  We then ignore any updates to Autoscaling LoadBalancers that
don't actually modify the template.

The test changes revert the changes made in order to be able to merge
d32370233e, before which LoadBalancers were
behaving correctly.

Change-Id: I9c02ab3d3dfbee0a8a90dd0ba345a5acdaf8a610
Closes-Bug: #1379619
2014-10-10 17:51:32 -04:00
..
autoscaling Rewrite AutoScalingGroup adjustment tests as unit tests 2014-10-08 21:14:03 +10: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 Bring the fakelogging closer to olsotest 2014-10-10 12:07:22 +10:00
fakes.py Support Cinder API version 2 2014-10-06 20:07:29 +02:00
generic_resource.py Make sure that the properties are stored on updates 2014-10-10 12:04:18 +10: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-09 15:46:30 -05:00
test_api_openstack_v1.py Refactor template simple_parse 2014-10-07 09:42:35 -07: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 Merge "Convert bool/int values into string for string properties" 2014-10-09 01:12:17 +00:00
test_autoscaling_update_policy.py Add some stubs speeding up test suite 2014-08-18 18:03:52 -04:00
test_ceilometer_alarm.py Use properties in ceilometer alarm not parsed_template('Properties') 2014-10-07 13:58:34 +10:00
test_clients.py Support Cinder API version 2 2014-10-06 20:07:29 +02: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 Refactor template simple_parse 2014-10-07 09:42:35 -07:00
test_engine_service.py Merge "Add missing extra "greenthread" arg to remove_event()" 2014-10-09 21:34:03 +00:00
test_environment.py Pass list of parameters to engine service to reset 2014-09-15 17:51:32 -07: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 2014-10-08 14:38:48 +02: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 Rework autoscaling group current_size attribute 2014-10-08 21:14:03 +10:00
test_heatclient.py Update references to auth_token middleware 2014-10-09 15:46:30 -05:00
test_hot.py Handle error in templates with incorrect resources 2014-10-10 03:11:50 -04: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 2014-10-08 14:38:48 +02:00
test_instance_group.py Move TestInstanceGroup to test_instance_group.py 2014-10-07 12:01:30 +10: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 "Associate floating IP with router interface" 2014-09-27 16:38:48 +00:00
test_neutron_autoscaling.py Don't update a LoadBalancer under autoscaling control 2014-10-10 17:51:32 -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 Fix network_gateway residue when resource deletion 2014-10-09 10:43:37 +08: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 Merge "Make str(json_param) return string vs python" 2014-09-13 03:35:14 +00:00
test_parser.py Make sure that the properties are stored on updates 2014-10-10 12:04:18 +10: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 Make sure that the properties are stored on updates 2014-10-10 12:04:18 +10:00
test_provider_template.py Improve error for custom resource 2014-10-03 03:04:28 -04:00
test_random_string.py Use the template module to access the Template class 2014-08-21 12:53:45 +10:00
test_resource.py Skip validation if depends on not created resource 2014-09-29 17:09:09 -04:00
test_resource_group.py Fixed adopt failure for stack with resource group 2014-09-18 18:05:30 +05:30
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 Unittests: refactor AWS::EC2::SecurityGroup tests 2014-10-06 17:46:30 +03:00
test_server.py Use six to translate exception message in tests 2014-09-22 10:47:15 +08:00
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 Switch heat resources & db & tests to oslo.i18n 2014-09-17 14:28:56 +08:00
test_sqlalchemy_api.py Revert "Hard delete backup stack after successful update." 2014-10-06 16:46:55 -04: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 Order imports in alphabetical order (8/9) 2014-03-27 12:45:17 +02:00
test_ssl_middleware.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_stack_lock.py Fix H201 violations and re-enable gating 2014-07-11 10:17:38 +08:00
test_stack_resource.py Merge "Import the stack module directly" 2014-10-06 08:16:22 +00:00
test_stack_user.py stack user add _user_token 2014-07-21 15:29:07 +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 Improve error for custom resource 2014-10-03 03:04:28 -04: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 Convert functions into a fixed part of the template 2014-09-11 12:52:06 +10:00
test_version_negotiation_middleware.py Order imports in alphabetical order (9/9) 2014-05-22 16:49:51 +03:00
test_volume.py Support Cinder API version 2 2014-10-06 20:07:29 +02: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 Merge "Don't evaluate ceilometer watchrules" 2014-10-10 16:06:53 +00: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 Merge "Import the stack module directly" 2014-10-06 08:16:22 +00:00