The following patch breaks resource-list for the ResourceGroup: https://review.openstack.org/#/c/65970/6/heat/engine/api.py
Doing a resource-list on a stack with a ResourceGroup will result in the following exception:
2014-02-14 11:24:11.313 31495 TRACE root AttributeError: 'NoneType' object has no attribute 'resources'
2014-02-14 11:24:11.313 31495 TRACE root Traceback (most recent call last):
2014-02-14 11:24:11.313 31495 TRACE root
2014-02-14 11:24:11.313 31495 TRACE root File "/opt/heat/lib/python2.7/site-packages/heat/openstack/common/rpc/amqp.py", line 462, in _process_data
2014-02-14 11:24:11.313 31495 TRACE root **args)
2014-02-14 11:24:11.313 31495 TRACE root
2014-02-14 11:24:11.313 31495 TRACE root File "/opt/heat/lib/python2.7/site-packages/heat/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-02-14 11:24:11.313 31495 TRACE root result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-02-14 11:24:11.313 31495 TRACE root
2014-02-14 11:24:11.313 31495 TRACE root File "/opt/heat/lib/python2.7/site-packages/heat/engine/service.py", line 62, in wrapped
2014-02-14 11:24:11.313 31495 TRACE root return func(self, ctx, *args, **kwargs)
2014-02-14 11:24:11.313 31495 TRACE root
2014-02-14 11:24:11.313 31495 TRACE root File "/opt/heat/lib/python2.7/site-packages/heat/engine/service.py", line 815, in list_stack_resources
2014-02-14 11:24:11.313 31495 TRACE root for resource in stack.values()]
2014-02-14 11:24:11.313 31495 TRACE root
2014-02-14 11:24:11.313 31495 TRACE root File "/opt/heat/lib/python2.7/site-packages/heat/engine/api.py", line 129, in format_stack_resource
2014-02-14 11:24:11.313 31495 TRACE root resource.nested().resources.itervalues()]
2014-02-14 11:24:11.313 31495 TRACE root
2014-02-14 11:24:11.313 31495 TRACE root AttributeError: 'NoneType' object has no attribute 'resources'
Fix proposed to branch: master /review. openstack. org/73677
Review: https:/