Skip to main content

Horizon plugin for masakari

Project description

https://governance.openstack.org/tc/badges/masakari-dashboard.svg

Horizon plugin for Masakari

Enabling in DevStack

Add this repo as an external repository into your local.conf file:

[[local|localrc]]
enable_plugin masakaridashboard https://opendev.org/openstack/masakari-dashboard

Manual Installation

Begin by cloning the Horizon and Masakari dashboard repositories:

git clone https://opendev.org/openstack/horizon
git clone https://opendev.org/openstack/masakari-dashboard

Create a virtual environment and install Horizon dependencies:

cd horizon
python3 tools/install_venv.py

Set up your local_settings.py file:

cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py

Open up the copied local_settings.py file in your preferred text editor. You will want to customize several settings:

  • OPENSTACK_HOST should be configured with the hostname of your OpenStack server. Verify that the OPENSTACK_KEYSTONE_URL and OPENSTACK_KEYSTONE_DEFAULT_ROLE settings are correct for your environment. (They should be correct unless you modified your OpenStack server to change them.)

Install Masakari dashboard with all dependencies in your virtual environment:

tools/with_venv.sh pip install -e ../masakari-dashboard/

And enable it in Horizon:

ln -s ../masakari-dashboard/masakaridashboard/local/enabled/_50_masakaridashboard.py openstack_dashboard/local/enabled
ln -s ../masakari-dashboard/masakaridashboard/local/local_settings.d/_50_masakari.py openstack_dashboard/local/local_settings.d
ln -s ../masakari-dashboard/masakaridashboard/conf/masakari_policy.yaml openstack_dashboard/conf

To run horizon with the newly enabled Masakari dashboard plugin run:

./run_tests.sh --runserver 0.0.0.0:8080

to have the application start on port 8080 and the horizon dashboard will be available in your browser at http://localhost:8080/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

masakari_dashboard-14.0.0.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

masakari_dashboard-14.0.0-py3-none-any.whl (62.9 kB view details)

Uploaded Python 3

File details

Details for the file masakari_dashboard-14.0.0.tar.gz.

File metadata

  • Download URL: masakari_dashboard-14.0.0.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for masakari_dashboard-14.0.0.tar.gz
Algorithm Hash digest
SHA256 d794202e5a0c169d11299db8f23b472a6f5dee9f8b386ade656f1600eab5ef85
MD5 bd2542bfc22173acf806adda35ffaa66
BLAKE2b-256 6831a61cbea5f482e6f06f9ccaa2eaa5ec9d45daf0a5e7de4598cf357c7e6309

See more details on using hashes here.

File details

Details for the file masakari_dashboard-14.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for masakari_dashboard-14.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73fe9c0f48af35f25baae83a98e77e98ab6b419d45d64277331bc1d75e1cdd53
MD5 afe5d0f018d74d7394235ded6bd639b4
BLAKE2b-256 fcbf13d60c7000a4fa67dee53c7cd0cd8fe997d2fe1b3952e98d90c11424f881

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page