Bug 1061005
Summary: | error page when clicking on the Orchestration -> Stacks link | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Ami Jeain <ajeain> |
Component: | python-django-horizon | Assignee: | RHOS Maint <rhos-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Ami Jeain <ajeain> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | aortega, augol, jpichon, mrunge, yeylon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-04 12:50:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ami Jeain
2014-02-04 07:44:22 UTC
Supplemental: when clicking on the 'stacks' link, this is the error output in /var/log/horizon/horizon.log 2014-02-04 08:02:33,025 23579 ERROR django.request Internal Server Error: /dashboard/project/stacks/ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 38, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 54, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 38, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 86, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 86, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 154, in get handled = self.construct_tables() File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 145, in construct_tables handled = self.handle_table(table) File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 118, in handle_table data = self._get_data_dict() File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 181, in _get_data_dict self._data = {self.table_class._meta.name: self.get_data()} File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/stacks/views.py", line 53, in get_data exceptions.handle(request, _('Unable to retrieve stack list.')) File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/stacks/views.py", line 51, in get_data stacks = api.heat.stacks_list(self.request) File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/heat.py", line 56, in stacks_list return [stack for stack in heatclient(request).stacks.list()] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/heat.py", line 36, in heatclient endpoint = base.url_for(request, 'orchestration') File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 270, in url_for raise exceptions.ServiceCatalogException(service_type) ServiceCatalogException: Invalid service catalog service: orchestration * system was installed with packstack --allinone * cat /etc/redhat-release Fedora release 20 (Heisenbug) * uname -a Linux puma36.scl.lab.tlv.redhat.com 3.12.9-301.fc20.x86_64 #1 SMP Wed Jan 29 15:56:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux * yum info python-django.noarch Loaded plugins: priorities 152 packages excluded due to repository priority protections Installed Packages Name : python-django Arch : noarch Version : 1.5.5 Release : 2.fc20 Thanks for the bug report. However: raise exceptions.ServiceCatalogException(service_type) ServiceCatalogException: Invalid service catalog service: orchestration Sounds really bad and points me first to a config issue. Could you please provide the output of keystone catalog ? hey Matthias, Service: orchestration +-------------+-----------------------------------------------------------+ | Property | Value | +-------------+-----------------------------------------------------------+ | adminURL | http://localhost:8004/v1/841f6a8d9be5457897f7fdb8e20decc3 | | id | 13a8bbc5927c4bdd91225d90c1bf521e | | internalURL | http://localhost:8004/v1/841f6a8d9be5457897f7fdb8e20decc3 | | publicURL | http://localhost:8004/v1/841f6a8d9be5457897f7fdb8e20decc3 | | region | regionOne | +-------------+-----------------------------------------------------------+ I am looking at the output and I see an issue where the service was registered with localhost as the 'hostname' instead of the real hostname. fixing it and will let u know... Consider also checking that the region name matches the other services' regions. closing as invalid |