stack-list error some tenants can not list their stacks

Solution Verified - Updated -

Issue

  • After upgrading to Icehouse ,currently some tenants can not list their stacks for several errors:
heat --os-tenant-name 263 stack-show ee4d8d5f-4ec0-4a0c-88f3-059d2ff62a6f
ERROR: The Parameter (KeyName) was not defined in template.

--
+ heat --os-tenant-id 430c617bd9534ee2ae1411f6549a7af9 stack-list 
ERROR: The Parameter (KeyName) was not defined in template.
--
+ heat --os-tenant-id 34fcc64017ee4293b787800d4340c60b stack-list 
ERROR: The template version is invalid: Ambiguous versions (HeatTemplateFormatVersion, heat_template_version)
--
+ heat --os-tenant-id 2ff45d214219471f9f6c730f390919ab stack-list 
ERROR: u'u\'Missing parameter availability_zone\'\nTraceback (most recent call last):\n\n  File "/usr/lib/python2.6/site-packages/heat/openstack/common/rpc/amqp.py", line 462, in _process_data\n    **args)\n\n  File "/usr/lib/python2.6/site-packages/heat/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n    result = getattr(proxyobj, method)(ctxt, **kwargs)\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/service.py", line 63, in wrapped\n    return func(self, ctx, *args, **kwargs)\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/service.py", line 412, in list_stacks\n    return list(format_stack_details(stacks))\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/service.py", line 408, in format_stack_details\n    yield api.format_stack(stack)\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/api.py", line 94, in format_stack\n    api.STACK_PARAMETERS: stack.parameters.map(str),\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/parameters.py", line 427, in map\n    for n, p in self.params.iteritems() if filter_func(p))\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/parameters.py", line 427, in <genexpr>\n    for n, p in self.params.iteritems() if filter_func(p))\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/parameters.py", line 252, in __str__\n    value = self.value()\n\n  File "/usr/lib/python2.6/site-packages/heat/engine/parameters.py", line 225, in value\n    raise KeyError(_(\'Missing parameter %s\') % self.name)\n\nKeyError: u\'Missing parameter availability_zone\'\n'
--
+ heat --os-tenant-id 68bd55a36f5a4997b6174bfc1ef0208d 
ERROR: The Parameter (ArtiProxy) was not defined in template.

Environment

  • Red Hat Open Stack

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content