adding index_var to AutoScalingGroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Won't Fix
|
Undecided
|
Unassigned | ||
heat (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
This is a follow up to question https:/
I already saw related change commit:
https:/
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:
Below are sample templates adopted from http://
hosts:
depends_on: external_
type: OS::Heat:
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
Changed in heat (Ubuntu): | |
status: | New → Won't Fix |
Status changed to 'Confirmed' because the bug affects multiple users.