Horizon overview page is not displayed when quantum plugin w/o router ext support is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Gabriel Hurley |
Bug Description
Extensions like agent, agent-scheduler and router already implemented in Quantum are not turned on in the Brocade plugin.
Some recent changes in Horizon seems to make this a requirement and ends up showing page below at login.
QuantumClientEx
404 Not Found
The resource could not be found.
Request Method: GET
Request URL: http://
Django Version: 1.4.2
Exception Type: QuantumClientEx
Exception Value:
404 Not Found
The resource could not be found.
Exception Location: /opt/stack/
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/opt/
'/opt/
'/opt/
'/opt/
'/opt/stack/nova',
'/opt/
'/opt/
'/opt/
'/opt/
'/opt/
'/opt/
'/opt/
'/usr/
'/opt/
'/opt/
'/opt/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/opt/
Server time: Tue, 26 Mar 2013 20:29:59 +0000
Environment:
Request Method: GET
Request URL: http://
Django Version: 1.4.2
Python Version: 2.7.3
Installed Applications:
['openstack_
'django.
'django.
'django.
'django.
'django.
'django.
'compressor',
'horizon',
'openstack_
'openstack_
'openstack_
'openstack_auth']
Installed Middleware:
('django.
'django.
'django.
'django.
'django.
'horizon.
'django.
'django.
'django.
Traceback:
File "/usr/local/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/stack/
38. return view_func(request, *args, **kwargs)
File "/opt/stack/
54. return view_func(request, *args, **kwargs)
File "/opt/stack/
38. return view_func(request, *args, **kwargs)
File "/usr/local/
48. return self.dispatch(
File "/usr/local/
69. return handler(request, *args, **kwargs)
File "/opt/stack/
155. handled = self.construct_
File "/opt/stack/
146. handled = self.handle_
File "/opt/stack/
118. data = self._get_
File "/opt/stack/
182. self._data = {self.table_
File "/opt/stack/
32. super(ProjectOv
File "/opt/stack/
34. self.usage.
File "/opt/stack/
115. _("Unable to retrieve quota information."))
File "/opt/stack/
112. self.quotas = quotas.
File "/opt/stack/
33. value = self.func(*args)
File "/opt/stack/
119. floating_ips = network.
File "/opt/stack/
141. return NetworkClient(
File "/opt/stack/
125. fips = self.client.
File "/opt/stack/
108. ret = self.function(
File "/opt/stack/
435. **_params)
File "/opt/stack/
997. for r in self._paginatio
File "/opt/stack/
1010. res = self.get(path, params=params)
File "/opt/stack/
983. headers=headers, params=params)
File "/opt/stack/
968. headers=headers, params=params)
File "/opt/stack/
913. self._handle_
File "/opt/stack/
894. exception_
File "/opt/stack/
88. message=message)
Exception Type: QuantumClientEx
Exception Value: 404 Not Found
The resource could not be found.
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → grizzly-rc2 |
assignee: | nobody → Gabriel Hurley (gabriel-hurley) |
summary: |
- Allow extensions already implemented in Quantum in Brocade plugin + Horizon overview page is not displayed when quantum plugin w/o router + ext support is used |
tags: | added: quantum |
no longer affects: | quantum |
Changed in horizon: | |
milestone: | grizzly-rc2 → 2013.1 |
Proposed change that fixes this:
quantum/ plugins/ brocade/ QuantumPlugin. py -- d3676b6..adfa69f 100644 quantum/ plugins/ brocade/ QuantumPlugin. py /quantum/ plugins/ brocade/ QuantumPlugin. py i(proxy. RpcProxy,
--- INDEX:/
+++ WORKDIR:
@@ -193,6 +193,7 @@ class AgentNotifierAp
class BrocadePluginV2 (db_base_ plugin_ v2.QuantumDbPlu ginV2, NAT_db_ mixin,
sg_db_ rpc.SecurityGro upServerRpcMixi n,
agents_ db.AgentDbMixin ): "BrocadePluginV 2 is a Quantum plugin. (db_base_ plugin_ v2.QuantumDbPlu ginV2,
+ l3_db.L3_
""
@@ -207,7 +208,9 @@ class BrocadePluginV2
and db configuration.
"""
- self.supported_ extension_ aliases = ["binding", "security-group"] extension_ aliases = ["binding", "security-group",
self. binding_ view = "extension: port_binding: view"
self. binding_ set = "extension: port_binding: set"
+ self.supported_
+ "router", "agent", "agent-scheduler"]
+