Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error procesing TOSCA document if a policy does not have properties field #866

Closed
micafer opened this issue Jul 5, 2019 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@micafer
Copy link
Member

micafer commented Jul 5, 2019

  File "/usr/lib/python2.7/dist-packages/IM/tosca/Tosca.py", line 112, in to_radl
    sys = self._gen_system(node, self.tosca.nodetemplates)
  File "/usr/lib/python2.7/dist-packages/IM/tosca/Tosca.py", line 1357, in _gen_system
    availability_zone = self._get_placement_property(res.name, "availability_zone")
  File "/usr/lib/python2.7/dist-packages/IM/tosca/Tosca.py", line 65, in _get_placement_property
    if prop in policy.properties:
TypeError: argument of type 'NoneType' is not iterable
@micafer micafer added this to the 1.8.5 milestone Jul 5, 2019
@micafer micafer self-assigned this Jul 5, 2019
@micafer micafer closed this as completed in bd1157c Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant