Openstack stack list command throwing internal error.

Solution In Progress - Updated -

Issue

  • When we are trying to run openstack stack list it is throwing internal error. Sharing the result with --debug command:
RESP BODY: {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"traceback": null, "type": "ValueError"}, "title": "Bad Request"}

GET call to orchestration for http://192.168.2.9:8004/v1/a7bfd6b4b4914392a82128f93daae1ea/stacks used request id req-b2983496-e6d3-44ea-b706-93299620d043
ERROR: Internal Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/stack.py", line 543, in take_action
    return _list(client, args=parsed_args)
  File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/stack.py", line 657, in _list
    data = list(data)
  File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 136, in paginate
    stacks = self._list(url, 'stacks')
  File "/usr/lib/python2.7/site-packages/heatclient/common/base.py", line 114, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 304, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 320, in request
    raise exc.from_response(resp)
HTTPBadRequest: ERROR: Internal Error
clean_up ListStack: ERROR: Internal Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/stack.py", line 543, in take_action
    return _list(client, args=parsed_args)
  File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/stack.py", line 657, in _list
    data = list(data)
  File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 136, in paginate
    stacks = self._list(url, 'stacks')
  File "/usr/lib/python2.7/site-packages/heatclient/common/base.py", line 114, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 304, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 320, in request
    raise exc.from_response(resp)
HTTPBadRequest: ERROR: Internal Error

END return value: 1
  • While running mysqldump --all-databases we get the following error:
mysqldump: Got error: 1146: "Table 'heat.event' doesn't exist" when using LOCK TABLES

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In