From the documentation for ast.literal_eval():
Safely evaluate an expression node or a string containing a Python expression. The string or node provided may only consist of the following Python literal structures: strings, numbers, tuples, lists, dicts, booleans, and None.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/eventlet/greenpool.py", line 88, in _spawn_n_impl
func(*args, **kwargs)
File "/opt/stack/tacker/tacker/vnfm/plugin.py", line 455, in create_vnf_wait
self.add_vnf_to_appmonitor(context, vnf_dict)
File "/opt/stack/tacker/tacker/vnfm/plugin.py", line 297, in add_vnf_to_appmonitor
appmonitor = self._vnf_app_monitor.create_app_dict(context, vnf_dict)
File "/opt/stack/tacker/tacker/vnfm/monitor.py", line 248, in create_app_dict
return self._create_app_monitoring_dict(dev_attrs, mgmt_ip_address)
File "/opt/stack/tacker/tacker/vnfm/monitor.py", line 239, in _create_app_monitoring_dict
temp = ast.literal_eval(mgmt_ip_address)
File "/usr/lib/python3.6/ast.py", line 85, in literal_eval
return _convert(node_or_string)
File "/usr/lib/python3.6/ast.py", line 84, in _convert
raise ValueError('malformed node or string: ' + repr(node))
ValueError: malformed node or string: b'{"VDU1": "192.168.120.26"}'
Related fix proposed to branch: master /review. opendev. org/756048
Review: https:/