← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1618319] Re: Invalid service catalog service: network error

 

This is issue with the configuration, There are two services were
created for neutron , That is the reason I was getting this error, Now I
can be able to see that it is working fine after deleting the second
service which is created previously.

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1618319

Title:
  Invalid service catalog service: network error

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  When I am trying to access the dashboard from horizon it is working
  fine for the keystone, glance etc.,

  But Incase of Neutron I am always getting error.

  Tried accessing the network section from both the admin and project
  tab. Both return the error as follows:

  [Tue Aug 30 05:45:23.039423 2016] [:error] [pid 3524:tid 140344693204736] Login successful for user "admin".
  [Tue Aug 30 05:45:23.060751 2016] [:error] [pid 3525:tid 140344693204736] Internal Server Error: /horizon/admin/networks/
  [Tue Aug 30 05:45:23.060783 2016] [:error] [pid 3525:tid 140344693204736] Traceback (most recent call last):
  [Tue Aug 30 05:45:23.060786 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
  [Tue Aug 30 05:45:23.060789 2016] [:error] [pid 3525:tid 140344693204736]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  [Tue Aug 30 05:45:23.060791 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
  [Tue Aug 30 05:45:23.060793 2016] [:error] [pid 3525:tid 140344693204736]     return view_func(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060795 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec
  [Tue Aug 30 05:45:23.060797 2016] [:error] [pid 3525:tid 140344693204736]     return view_func(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060799 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec
  [Tue Aug 30 05:45:23.060801 2016] [:error] [pid 3525:tid 140344693204736]     return view_func(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060803 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
  [Tue Aug 30 05:45:23.060805 2016] [:error] [pid 3525:tid 140344693204736]     return view_func(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060807 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec
  [Tue Aug 30 05:45:23.060809 2016] [:error] [pid 3525:tid 140344693204736]     return view_func(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060821 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
  [Tue Aug 30 05:45:23.060823 2016] [:error] [pid 3525:tid 140344693204736]     return self.dispatch(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060825 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
  [Tue Aug 30 05:45:23.060828 2016] [:error] [pid 3525:tid 140344693204736]     return handler(request, *args, **kwargs)
  [Tue Aug 30 05:45:23.060830 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 159, in get
  [Tue Aug 30 05:45:23.060831 2016] [:error] [pid 3525:tid 140344693204736]     handled = self.construct_tables()
  [Tue Aug 30 05:45:23.060833 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 142, in construct_tables
  [Tue Aug 30 05:45:23.060836 2016] [:error] [pid 3525:tid 140344693204736]     tables = self.get_tables().values()
  [Tue Aug 30 05:45:23.060838 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 198, in get_tables
  [Tue Aug 30 05:45:23.060840 2016] [:error] [pid 3525:tid 140344693204736]     self._tables[self.table_class._meta.name] = self.get_table()
  [Tue Aug 30 05:45:23.060843 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 209, in get_table
  [Tue Aug 30 05:45:23.060846 2016] [:error] [pid 3525:tid 140344693204736]     self.table = self.table_class(self.request, **self.kwargs)
  [Tue Aug 30 05:45:23.060850 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/networks/tables.py", line 125, in __init__
  [Tue Aug 30 05:45:23.060853 2016] [:error] [pid 3525:tid 140344693204736]     'dhcp_agent_scheduler'):
  [Tue Aug 30 05:45:23.060855 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 90, in wrapped
  [Tue Aug 30 05:45:23.060857 2016] [:error] [pid 3525:tid 140344693204736]     value = cache[key] = func(*args, **kwargs)
  [Tue Aug 30 05:45:23.060858 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 1154, in is_extension_supported
  [Tue Aug 30 05:45:23.060860 2016] [:error] [pid 3525:tid 140344693204736]     extensions = list_extensions(request)
  [Tue Aug 30 05:45:23.060862 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 90, in wrapped
  [Tue Aug 30 05:45:23.060864 2016] [:error] [pid 3525:tid 140344693204736]     value = cache[key] = func(*args, **kwargs)
  [Tue Aug 30 05:45:23.060865 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 1145, in list_extensions
  [Tue Aug 30 05:45:23.060867 2016] [:error] [pid 3525:tid 140344693204736]     extensions_list = neutronclient(request).list_extensions()
  [Tue Aug 30 05:45:23.060869 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 90, in wrapped
  [Tue Aug 30 05:45:23.060871 2016] [:error] [pid 3525:tid 140344693204736]     value = cache[key] = func(*args, **kwargs)
  [Tue Aug 30 05:45:23.060872 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 542, in neutronclient
  [Tue Aug 30 05:45:23.060874 2016] [:error] [pid 3525:tid 140344693204736]     endpoint_url=base.url_for(request, 'network'),
  [Tue Aug 30 05:45:23.060880 2016] [:error] [pid 3525:tid 140344693204736]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 321, in url_for
  [Tue Aug 30 05:45:23.060882 2016] [:error] [pid 3525:tid 140344693204736]     raise exceptions.ServiceCatalogException(service_type)
  [Tue Aug 30 05:45:23.060884 2016] [:error] [pid 3525:tid 140344693204736] ServiceCatalogException: Invalid service catalog service: network

  
  I am able to access the same from CLI fine.

  Only issue was with horizon.

  Here it is my details regarding the same.

  Endpoint list:

  root@controller:~# openstack endpoint list
  +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+
  | ID                               | Region    | Service Name | Service Type | Enabled | Interface | URL                                       |
  +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+
  | 11185e81b3004293b6d590fad6c70c43 | RegionOne | nova         | compute      | True    | public    | http://controller:8774/v2.1/%(tenant_id)s |
  | 1f4bee67dc8840f6a16b75d6ccc164de | RegionOne | glance       | image        | True    | public    | http://controller:9292                    |
  | 26ab4eb1b9da4d5088af4927d71f81c5 | RegionOne | glance       | image        | True    | admin     | http://controller:9292                    |
  | 2db77802888c43da9a2a1aa683bdcf8a | RegionOne | neutron      | network      | True    | public    | http://controller:9696                    |
  | 3f1f75b7e72041fab7405c8777782991 | RegionOne | keystone     | identity     | True    | internal  | http://controller:5000/v3                 |
  | 532d5cd5100449bcbdbd1fc7ea1ab3ed | RegionOne | neutron      | network      | True    | admin     | http://controller:9696                    |
  | 80b1b41037da478591a50b9a5bbb1aae | RegionOne | keystone     | identity     | True    | admin     | http://controller:35357/v3                |
  | 8a1ddf8c2b404d6091f33cf74c21ba0c | RegionOne | neutron      | network      | True    | internal  | http://controller:9696                    |
  | c815cce94dad44fbbaf925c7ae2a693a | RegionOne | nova         | compute      | True    | admin     | http://controller:8774/v2.1/%(tenant_id)s |
  | d1d9343d43d04668b8b5a39b7952e2ed | RegionOne | nova         | compute      | True    | internal  | http://controller:8774/v2.1/%(tenant_id)s |
  | d7a9c922972e41f787c8b768b676671b | RegionOne | glance       | image        | True    | internal  | http://controller:9292                    |
  | e8b76673c1a441c988af05cd0f455b59 | RegionOne | keystone     | identity     | True    | public    | http://controller:5000/v3                 |
  +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+

  
  service list:

  
  root@controller:~# openstack service list
  +----------------------------------+----------+----------+
  | ID                               | Name     | Type     |
  +----------------------------------+----------+----------+
  | 0480358c9d4d443ebf7e9258e9d89f4f | keystone | identity |
  | 3521e750903b49cbbf53b70f4e2a342e | glance   | image    |
  | 4a6a74522ef34d1bbcfda71fd2004365 | neutron  | network  |
  | 5ab89b55ae9646439251ae318fb072cc | nova     | compute  |
  | fc0505a8d42a48908c28d338dace0f83 | neutron  | network  |
  +----------------------------------+----------+----------+

  
  root@controller:~# openstack role list
  +----------------------------------+-------+
  | ID                               | Name  |
  +----------------------------------+-------+
  | 56b4987fd2e14264b508eb074cfc16f7 | admin |
  | 96b189467c1049b1a0614b075a10cab9 | user  |
  +----------------------------------+-------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1618319/+subscriptions


References