Placement policy is not working if specified after scaling policy in VNFD template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Won't Fix
|
Undecided
|
Shubham Potale |
Bug Description
If user configure scaling policy and placement policy at the same time in VNFD template under policies by keeping placement policy below the scaling policy, placement policy will not work.
Example:
policies:
- SP1:
type: tosca.policies.
properties:
cooldown: 120
targets: [VDU1]
- my_compute_
type: tosca.policies.
properties:
policy: anti-affinity
strict: true
targets: [VDU1]
Because after scaling policy handle_properties() got executed, it removes VDU resources from the self.hot_resource.
and when call goes to ToscaPolicies-
And it is not updating the VDU resource properties with scheduler_hints.
Changed in tacker: | |
assignee: | nobody → Shubham Potale (shubhamp) |
Changed in tacker: | |
status: | New → Won't Fix |