Open andybrucenet opened 6 years ago
Hi, I haven't tried the dashboard with Pike yet, now I am installing Pike on Devstack to try. But I wonder if you have gnocchi installed on your system? Ceilometer api is deprecated so you should also have gnocchi endpoint in openstack endpoints list. If you are still using using Ceilometer API you need to use Safir Monitor Dashboard v1.0 [1]
[1] https://github.com/b3lab/safir_monitor_dashboard/tree/mitaka
Hi, I have tried with Pike. there seems to be a difference with the Django version [1] and I got the following error. from django.conf.urls import patterns ImportError: cannot import name patterns
So we need to publish a new release for Pike version. I think we can publish the new release soon, but you will still need to Gnocchi service.
Hi, I am having the same issue as Andy with Pike. I tried both Main and stable/pike branches. Did you guys ever find a resolution?
Running Ubuntu 16.04 Pike (Not Devstack)
The errors I am seeing in the error log are
When accessing the Hypervisor Tab WARNING django.request Not Found: /api/instancemonitor/hostlist/
When accessing the Project Tab WARNING django.request Not Found: /api/instancemonitor/instances/723aa12337a44f818b6d1e1a59f16e49/1/
The host metric data is in gnocchi, and I do believe I have the proper endpoints configured.
openstack endpoint list | grep -e gnocchi
| 0d3ad2e742cf479d90b279584c09f676 | us-east-dtw | gnocchi | metric | True | internal |
| c3475a64fb8d4704a2d5960d13cec453 | us-east-dtw | gnocchi | metric | True | public |
| fbe2fd2826be4d4b8919e38d441c2256 | us-east-dtw | gnocchi | metric | True | admin |
Any help would be greatly appreciated. Thanks in Advance.
Hello - Followed the install instructions for a non-devstack OpenStack install and I have the monitor plugin running in horizon.
On the monitor dashboard I receive the message "Error: Unable to retrieve host list." Looking at the httpd error_log, I see:
WARNING django.request Not Found: /dashboard/api/instancemonitor/hostlist/
So django cannot find the API extensions your plugin provides.
I bet the answer is simple...just have to register the API location with horizon on startup - somewhere.
My configuration: OpenStack version Pike community edition (CentOS 7). I do indeed have Keystone, Nova, Glance, Neutron, Ceilometer, Aodh and Horizon installed:
Here is the setup on my Horizon controller:
/usr/lib/python2.7/site-packages/monitor_dashboard
- contains the code frompip install
. Under this folder are the API handlers:The horizon dashboard integrations are under /usr/share/openstack-dashboard/openstack_dashboard/local/enabled; here's a list of all of them (including the compiled files):
So I think that I simply need to tell Horizon where to find the
instancemonitor
APIs (which will probably be in mylocal_settings
file, yes?). However, I cannot find any documentation on how to register additional APIs to Horizon.I hope you can help me here, perhaps there is a missing step from the README file for this project?