In orchestration tab in dashboard when click on stacks it gives error.

asked 2017-06-22 06:52:42 -0500

gaurav.mittal gravatar image

Hi,

I have installed openstack using packstack in a VM and the open stack version is 3.8.1.

When I click on STACKS link under orchestration in the Dashboard it gives the error saying "Error: Unable to retrieve stack resource types."

Errors logged in /var/log/horizon/horizon.log is 2017-06-22 11:44:27,690 12214 ERROR horizon.exceptions Not Found: ERROR: The resource could not be found. Traceback (most recent call last): File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/stacks/resource_types/views.py", line 40, in get_data filters=filters), File "/usr/share/openstack-dashboard/openstack_dashboard/api/heat.py", line 245, in resource_types_list return heatclient(request).resource_types.list(filters=filters) File "/usr/lib/python2.7/site-packages/heatclient/v1/resource_types.py", line 61, in list return self._list(url, self.KEY) 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/heatclient/common/http.py", line 287, in get return self.client_request("GET", url, *kwargs) File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 280, in client_request resp, body = self.json_request(method, url, *kwargs) File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 269, in json_request resp = self._http_request(url, method, **kwargs) File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 232, in _http_request raise exc.from_response(resp) HTTPNotFound: ERROR: The resource could not be found. [root@openstack ~(keystone_admin)]#

Kindly suggest what to do.

Regards, Gaurav

edit retag flag offensive close merge delete

Comments

It would seem that Heat is not properly installed. Suggestions:

  • What do you get when running openstack stack list?
  • How did you install Heat, i.e. what are the HEAT parameters in your answer file?
  • Any errors regarding Heat in the Packstack logs?
Bernd Bausch gravatar imageBernd Bausch ( 2017-06-22 21:14:10 -0500 )edit

by the way, 3.8.1 is the version of the OpenStack client, not the cloud software. For your version of OpenStack, run sudo nova-manage version. Or if you use Centos, yum list installed | grep centos-openstack.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-22 21:18:59 -0500 )edit

Hi,

Thanks for the update. Well below is the output of the version, [root@openstack ~]# nova-manage version 15.0.3-2.el7 [root@openstack ~]#

gaurav.mittal gravatar imagegaurav.mittal ( 2017-06-26 00:16:04 -0500 )edit

I checked the answer file and found that below as as: CONFIG_SAHARA_INSTALL=n CONFIG_HEAT_INSTALL=n

So i have changed CONFIG_HEAT_INSTALL=n to CONFIG_HEAT_INSTALL=y and executed

packstack --answer-file packstack-answers-20170524-155216.txt

gaurav.mittal gravatar imagegaurav.mittal ( 2017-06-26 00:16:56 -0500 )edit

It completed successfully. Now the error is not comming. Thanks

gaurav.mittal gravatar imagegaurav.mittal ( 2017-06-26 00:48:32 -0500 )edit