stack-abandon fails with following error:
"error": {"message": "'unicode' object has no attribute 'key'", "traceback": "Traceback (most recent call last):\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/openstack/common/rpc/amqp.py\", line 462, in _process_data\n **args)\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/openstack/common/rpc/dispatcher.py\", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/engine/service.py\", line 61, in wrapped\n return func(self, ctx, *args, **kwargs)\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/engine/service.py\", line 570, in abandon_stack\n stack_info = stack.get_abandon_data()\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/engine/parser.py\", line 738, in get_abandon_data\n for res in self.resources.values())\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/engine/parser.py\", line 738, in <genexpr>\n for res in self.resources.values())\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/engine/resource.py\", line 490, in get_abandon_data\n for r in db_api.resource_data_get_all(self))\n\n File \"/opt/heat/lib/python2.7/site-packages/heat/engine/resource.py\", line 490, in <genexpr>\n for r in db_api.resource_data_get_all(self))\n\nAttributeError: 'unicode' object has no attribute 'key'\n", "type": "AttributeError"}, "title": "Bad Request"}
Fix proposed to branch: master /review. openstack. org/72458
Review: https:/