get_operation_output translation is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Heat Translator |
Fix Released
|
High
|
Sahdev Zala |
Bug Description
Heat-Translator currently handling get_operation_
2016-11-14 17:18:36.994294 | Traceback (most recent call last):
2016-11-14 17:18:36.994350 | File "translator/
2016-11-14 17:18:36.994394 | self._test_
2016-11-14 17:18:36.994450 | File "translator/
2016-11-14 17:18:36.994489 | json.dumps(diff, indent=4, separators=(', ', ': ')))
2016-11-14 17:18:36.994578 | File "/home/
2016-11-14 17:18:36.994622 | self.assertThat
2016-11-14 17:18:36.994710 | File "/home/
2016-11-14 17:18:36.994743 | raise mismatch_error
2016-11-14 17:18:36.994777 | testtools.
2016-11-14 17:18:36.994798 | reference = {}
2016-11-14 17:18:36.994857 | actual = {'resources': {'generate_
2016-11-14 17:18:36.994923 | '<Provided>': [{'name': 'public_key'}]}}},
2016-11-14 17:18:36.994988 | 'import_
2016-11-14 17:18:37.735682 | '<Provided>': {'get_attr': ['generate_
2016-11-14 17:18:37.735768 | 'public_
2016-11-14 17:18:37.735787 | : <difference> : {
2016-11-14 17:18:37.735798 | "resources": {
2016-11-14 17:18:37.735813 | "generate_
2016-11-14 17:18:37.735824 | "properties": {
2016-11-14 17:18:37.735837 | "outputs": {
2016-11-14 17:18:37.735851 | "<Expected>": null,
2016-11-14 17:18:37.735865 | "<Provided>": [
2016-11-14 17:18:37.735876 | {
2016-11-14 17:18:37.735892 | "name": "public_key"
2016-11-14 17:18:37.735903 | }
2016-11-14 17:18:37.735912 | ]
2016-11-14 17:18:37.735922 | }
2016-11-14 17:18:37.735930 | }
2016-11-14 17:18:37.735950 | },
2016-11-14 17:18:37.735964 | "import_
2016-11-14 17:18:37.735975 | "properties": {
2016-11-14 17:18:37.735988 | "input_values": {
2016-11-14 17:18:37.736000 | "public_key": {
2016-11-14 17:18:37.736014 | "<Expected>": null,
2016-11-14 17:18:37.736028 | "<Provided>": {
2016-11-14 17:18:37.736042 | "get_attr": [
2016-11-14 17:18:37.736061 | "generate_
2016-11-14 17:18:37.736076 | "public_key"
2016-11-14 17:18:37.736087 | ]
2016-11-14 17:18:37.736097 | }
2016-11-14 17:18:37.736107 | }
2016-11-14 17:18:37.736115 | }
2016-11-14 17:18:37.736123 | }
2016-11-14 17:18:37.736130 | }
2016-11-14 17:18:37.736137 | }
2016-11-14 17:18:37.736142 | }
2016-11-14 17:18:37.736152 | Ran 152 tests in 1.092s
2016-11-14 17:18:37.736162 | FAILED (id=0, failures=1)
2016-11-14 17:18:37.736173 | error: testr failed (1)
When a tosca-parser new release (0.7.0) will be created, it will break heat-translator tests. The fix is to use GetOperationOutput but it can't be applied to heat-translator until release of tosca-parser.
The temporary solution is to comment the above test, and add it back after newer release of tosca-parser with proper fix in the heat-translator.
All the changes will be done under the same bug!
Changed in heat-translator: | |
assignee: | nobody → Sahdev Zala (spzala) |
importance: | Undecided → Medium |
importance: | Medium → High |
description: | updated |
Related fix proposed to branch: master /review. openstack. org/397383
Review: https:/