scaling convertion fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Heat Translator |
Fix Released
|
Critical
|
bharaththiruveedula |
Bug Description
I tried to convert the below TOSCA
tosca_definitio
description: >
Template for deploying servers based on policies.
topology_template:
node_templates:
my_server_1:
type: tosca.nodes.Compute
capabilities:
host:
os:
# host Operating System image properties
type: Linux
my_server_2:
type: tosca.nodes.Compute
capabilities:
host:
os:
# host Operating System image properties
type: Linux
policies:
- asg:
type: tosca.policies.
targets: [my_server_1, my_server_2]
triggers:
properties:
And it produces
manickan@
heat_template_
description: >
Template for deploying servers based on policies.
parameters: {}
resources:
my_server_2:
type: OS::Heat:
properties:
min_size: 2
default_
resources:
type: OS::Nova::Server
properties:
flavor: m1.medium
image: rhel-6.5-test-image
max_size: 10
my_server_1:
type: OS::Heat:
properties:
min_size: 2
default_
resources:
type: OS::Nova::Server
properties:
flavor: m1.medium
image: rhel-6.5-test-image
max_size: 10
asg:
type: OS::Heat:
properties:
auto_
adjustmen
scaling_
asg_alarm:
type: OS::Ceilometer:
properties:
meter_name: cpu_util
description: Simple node autoscaling
period: 60
statistic: average
threshold: 1
compariso
outputs: {}
It suppose to create one ASG with my_sever_1 and my_server_2 and make the policy to point to it.
Here it creates two ASGs, which is wrong and policy points to only my_server_2 ASG, but actually it should refer ASG with both server in place as targets has both.
Also, it should output the IP address of scaled VMs. please refer the logic implemented at https:/
Changed in heat-translator: | |
importance: | Undecided → Critical |
description: | updated |
Changed in heat-translator: | |
assignee: | nobody → Santhosh64 (santhoshkumar-kondapalli) |
Folks - this is a critical blocker for Tacker vnf auto-scaling. I'd appreciate a quick fix. Thanks!