[openstack-dev] [Openstack] [Horizon] Error in /var/log/apache2/error.log

Gabriel Hurley Gabriel.Hurley at nebula.com
Mon Nov 12 19:28:19 UTC 2012


Your Quantum API route is returning a 404. Whether this is because you have your route wrong or Quantum is misconfigured or [something else] I could tell you. I would recommend narrowing down your possibilities by trying to make the call directly with quantumclient or using curl to make the request directly and to look at your Quantum logs to see if there's something evidently amiss.

All the best,


-          Gabriel

From: openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net] On Behalf Of Srikanth Kumar Lingala
Sent: Monday, November 12, 2012 8:00 AM
To: openstack at lists.launchpad.net; openstack-dev at lists.openstack.org
Subject: [Openstack] [Horizon] Error in /var/log/apache2/error.log

Hi,
I created a custom page in horizon. Most of the new page is working fine.
But, when I wanted to load some custom 'quantum' DB table data in horizon, I am getting the following error in '/var/log/apache2/error.log':

Traceback (most recent call last):
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/horizon/dashboards/nova/services/configs/tabs.py", line 42, in get_context_data
[Mon Nov 12 15:52:58 2012] [error]     config = api.quantum.dhcp_config_get(self.request, config_id)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/horizon/api/quantum.py", line 247, in dhcp_config_get
[Mon Nov 12 15:52:58 2012] [error]     **params).get('config')
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 102, in with_params
[Mon Nov 12 15:52:58 2012] [error]     ret = self.function(instance, *args, **kwargs)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 330, in show_config
[Mon Nov 12 15:52:58 2012] [error]     return self.get(self.config_path % (config), params=_params)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 620, in get
[Mon Nov 12 15:52:58 2012] [error]     headers=headers, params=params)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 605, in retry_request
[Mon Nov 12 15:52:58 2012] [error]     headers=headers, params=params)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 550, in do_request
[Mon Nov 12 15:52:58 2012] [error]     self._handle_fault_response(status_code, replybody)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 523, in _handle_fault_response
[Mon Nov 12 15:52:58 2012] [error]     exception_handler_v20(status_code, des_error_body)
[Mon Nov 12 15:52:58 2012] [error]   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 82, in exception_handler_v20
[Mon Nov 12 15:52:58 2012] [error]     message=message)
[Mon Nov 12 15:52:58 2012] [error] QuantumClientException: 404 Not Found
[Mon Nov 12 15:52:58 2012] [error]
[Mon Nov 12 15:52:58 2012] [error] The resource could not be found.

Can anybody, please suggest me, what is the error and the fix?

Thanks in advance.
--
----
Srikanth.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121112/e163762d/attachment.html>


More information about the OpenStack-dev mailing list