Policies derived from tosca.policies.Placement are not translated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Heat Translator |
New
|
Undecided
|
Dinesh Bhor |
Bug Description
Some policies derived from standard policies are translated by base policy translator.
For example, a policy which has `tosca.
But a policy which has a type derived from tosca.policies.
I defined the policy like below
::
tosca.
derived_from: tosca.policies.
description: Defines policy for placement the given targets.
and I tried to translate a template like next YAML
.. code::yaml
topology_
node_templates:
VDU_Primary:
type: tosca.nodes.
VDU_
type: tosca.nodes.
policies:
- my_compute_
type: tosca.policies.
targets: [ VDU_Primary, VDU_Secondary ]
policy: anti-affinity
then I got next error.
::
heat-translator failed: - Type "tosca.
Changed in heat-translator: | |
assignee: | nobody → Dinesh Bhor (dinesh-bhor) |
This issue was fixed in the openstack/ heat-translator 1.1.0 release.