Trove Management Dashboard
Project description
How to use with Horizon on server:
Use pip to install the package on the server running Horizon. Then either copy or link the files in trove_dashboard/enabled to openstack_dashboard/local/enabled. This step will cause the Horizon service to pick up the trove plugin when it starts.
How to use with DevStack:
Complete instructions on how to deploy DevStack with Trove and Trove-Dashboard, please refer to the official OpenStack documentation.
Editing Code
Apache
Make a change to trove-dashboard then goto to the horizon directory and compress the code with django and then restart apache.:
# rsync code to /opt/stack/trove-dashboard # copy or link files from trove-dashboard/enabled/* to horizon/openstack_dashboard/local/enabled/ cd /opt/stack/horizon python manage.py compress python manage.py collectstatic --noinput sudo service apache2 restart
Django
You can also speed up development time using the django test server instead of apache.:
/opt/stack/horizon/run_tests.sh --runserver
If you set COMPRESS_ENABLED and COMPRESS_OFFLINE to False in local_settings.py that allows you to bypass the compress and collectstatic as well.
Settings
The use of a cross-process cache such as Memcached is required.
Install Memcached itself and a Memcached binding such as python-memcached.
For a single horizon instance use the CACHES setting like the example below.:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
},
}
For multiple horizon instances behind a load balancer configure each instance to use the same cache like the example below.:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': ['10.2.100.133:11211', '10.2.100.134:11211'']
},
}
NOTE:
As of the Mitaka release, the dashboard for trove is now maintained outside of the Horizon codebase, in this repository.
Links:
Trove project: https://opendev.org/openstack/trove/
Trove Documentation: https://docs.openstack.org/trove/latest
Trove at wiki.openstack.org: https://wiki.openstack.org/wiki/Trove
Launchpad project: https://launchpad.net/trove-dashboard
Release notes: https://docs.openstack.org/releasenotes/trove-dashboard
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trove_dashboard-26.0.0.tar.gz.
File metadata
- Download URL: trove_dashboard-26.0.0.tar.gz
- Upload date:
- Size: 220.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a350b27321049cd653eae654fd05fa77ed418ffc632a5bc4dd1ab2e115c46289
|
|
| MD5 |
7bef6060e6e8814739674c90a85d43f6
|
|
| BLAKE2b-256 |
b9a4f232690dda5a47a2b546416312f444291c5a91c8c240d93baa0185bba930
|
File details
Details for the file trove_dashboard-26.0.0-py3-none-any.whl.
File metadata
- Download URL: trove_dashboard-26.0.0-py3-none-any.whl
- Upload date:
- Size: 266.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b2faecc5ba3273f35cd8c417f9d5858d65ab0078aeb1db0798c46bc92f09d12
|
|
| MD5 |
83750774d99bab867defa00974cf8b01
|
|
| BLAKE2b-256 |
28e5d20bcd66761e2c757456b9395afcb3c20a3db455343b272bc51172e6e850
|