Public bug reported: This is a follow up to question https://answers.launchpad.net/ubuntu/+source/heat/+question/271809 , asking for the plan on adding index_var to AutoScalingGroup.
I already saw related change commit: https://review.openstack.org/gitweb?p=openstack%2Fheat.git;a=commitdiff;h=84e0d64d578ad302ccca2db2ec45ff336a6a0dc7 Two questions from this: Which OpenStack release will include the above change? Can above change to back-ported to OpenStack Kilo installations without other changes? The above change is not visible in an OpenStack Kilo insallation. What we need is to have the following templates to work this way: the instances spawn by the autoscaling group will have names like server0, server1, etc. where "server" is a server name stem specified on the name property and %index% is mimicking the default index_var of OS::Heat::ResourceGroup which is expected to be provided by the OS::Heat::AutoScalingGroup. Below are sample templates adopted from http://www.gossamer- threads.com/lists/openstack/dev/48054#48054 -- corrections welcome because we obviously have not tested them: hosts: depends_on: external_router_interface type: OS::Heat::AutoScalingGroup properties: desired_capacity: {get_param: node_count} cooldown: 60 min_size: 0 max_size: 100 resource: type: host.yaml properties: image: {get_param: server_image} flavor: {get_param: flavor} key_name: {get_param: ssh_key_name} external_network: {get_param: external_network} fixed_network: {get_resource: fixed_network} fixed_subnet: {get_resource: fixed_subnet} With this being called as host.yaml:- resources: server: type: OS::Nova::Server properties: name: server%index% image: {get_param: image} flavor: {get_param: flavor} key_name: {get_param: key_name} networks: - port: {get_resource: port} admin_user: cloud-user user_data_format: RAW ** Affects: heat (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500475 Title: adding index_var to AutoScalingGroup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/heat/+bug/1500475/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs