Reported via heat/engine/environment.py:297
UserWarning: This resource is deprecated and use is discouraged. Please use resource OS::Heat:SoftwareDeploymentGroup instead. info.value.support_status.message))
UserWarning: This resource is deprecated and use is discouraged. Please use resource OS::Heat:StructuredDeploymentGroup instead. info.value.support_status.message))
UserWarning: This resource is not supported, use at your own risk. info.value.support_status.message))
UserWarning: Use the `external_gateway_info` property in the router resource to set up the gateway. info.value.support_status.message))
I'm thinking this could be made clearer. I'm also not sure why the ")) is there at the end.
Update: The "))" is at the end because of /usr/lib/ python2. 7/warnings. py(39)formatwar ning():
line = linecache. getline( filename, lineno) if line is None else line
In the case of heat the warning call spans multiple lines, and linecache.getline only uses the last one:
https:/ /github. com/openstack/ heat/blob/ master/ heat/engine/ environment. py#L297
Thus every log line that goes through formatwarning() includes this at the end, which doesn't provide much context:
info. value.support_ status. message) )