update_metadata for flavors and images shows blank. static basePath not set correctly.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Timur Sufiev |
Bug Description
Currently using OpenStack Kilo on CentOS 7. Issue is with:
openstack-
/usr/share/
When using the update_metadata feature in horizon in the flavors and images section, the meta data table is not displayed. Have also seen this cause problems when using heat.
The basePath in the javascript is not being set correctly and resulting in a redirect loop:
[Tue Jul 21 00:14:22.097739 2015] [core:error] [pid 14453] (36)File name too long: [client ] AH00036: access to /dashboarddashb
I was able to fix by modifying the widget.module.js file
$ diff -u /usr/share/
--- /usr/share/
+++ /usr/share/
@@ -17,6 +17,6 @@
'hz.
'hz.
])
- .constant(
+ .constant(
})();
Ideally this file should not need to be modified and should be generated using WEBROOT in local_settings, alternatively documentation should be updated if this file must be modified by hand.
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
importance: | Undecided → High |
Changed in horizon: | |
status: | In Progress → Fix Committed |
Changed in horizon: | |
milestone: | none → mitaka-2 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
no longer affects: | horizon/kilo |
An alternate work around is to add an additional Apache alias in the vhost configuration:
Alias /dashboard/static "/usr/share/ openstack- dashboard/ static" openstack- dashboard/ static"
Alias /static "/usr/share/