-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install dashboard on a mos 9.2 environment #2
Comments
Hi, Can you run the following line before installation and try again? export PBR_VERSION=1.0 |
Thanks so much, the install now works but ./manage.py collectstatic command does not seem to copy the templates to the correct locations, root@node-208:/usr/share/openstack-dashboard# ./manage.py collectstatic You have requested to collect static files at the destination
This will overwrite existing files! Type 'yes' to continue, or 'no' to cancel: yes 0 static files copied to '/usr/share/openstack-dashboard/static', 2171 unmodified. I get the below error in Horizon, 2017-10-23 09:02:38,854 7491 ERROR django.request Internal Server Error: /horizon/admin/hypervisor_monitor/ How can i copy the necessary files manually? |
Did you copy the files in monitor_dashboard/enabled to /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/ ? |
yes, i did, i am going to redo the install from scratch again just to make sure i haven't missed anything. |
ok, i have done a re-install from scratch and copied the files over as per the README.rst but the above error still persists. ./manage.py collectstatic does not ad any static files |
ok, can you verify that dashboard can actually collect static files? you can temporarily rename a file $ mv /usr/share/openstack-dashboard/static/dashboard/admin/admin.module.spec.js /usr/share/openstack-dashboard/static/dashboard/admin/admin.module.spec.jsDEF |
Hi, yes, static collection does seem to be working, You have requested to collect static files at the destination
This will overwrite existing files! Type 'yes' to continue, or 'no' to cancel: yes 1 static file copied to '/usr/share/openstack-dashboard/static', 2170 unmodified. What what i can see the index.html files Horizon is looking for do not actually exist in the folders. |
OK I could reproduce this error at last.. It happens when you use the release archive to install the monitor dashboard. I will be trying to solve the problem with the release archives, meanwhile can you re-install the monitor dashboard from the repository, I think this will solve your problem $ git clone https://github.com/b3lab/safir_monitor_dashboard.git -b ceilometer_backend |
Can you send the error message? |
Not sure if this helps, GET https://m2lab.m2cloud.co.za/horizon/static/dashboard/css/00eaa7a7a4c8.css [HTTP/1.1 200 OK 0ms] |
I can only see the following line complaining about monitor dashboard but it does not make sense to me Maybe it is an issue about Mirantis OpenStack Dashboard, did you ever try to plug another panel to it? Can you send if you see any other log messages related to monitor dashboard from server side or client side? |
I have successfully added this panel, https://github.com/simonpasquier/horizon-telemetry-dashboard but the metrics display is not that use friendly hence i am looking at others. |
Hi,
I receive the following error when trying to install the dashboard on a MIrantis mos 9.2 openstack deployment based on Mitaka,
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pbr/core.py", line 109, in pbr
attrs = util.cfg_to_args(path)
File "/usr/lib/python2.7/dist-packages/pbr/util.py", line 243, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/usr/lib/python2.7/dist-packages/pbr/hooks/init.py", line 25, in setup_hook
metadata_config.run()
File "/usr/lib/python2.7/dist-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/lib/python2.7/dist-packages/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/usr/lib/python2.7/dist-packages/pbr/packaging.py", line 668, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
error in setup command: Error parsing /root/safir_monitor_dashboard-ceilometer_backend/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
All hosts are running ubuntu 14.04.5 LTS with python 2.7.6
root@node-208:~/safir_monitor_dashboard-ceilometer_backend# pip freeze |grep pbr
pbr==1.8.0
Please help
The text was updated successfully, but these errors were encountered: