Watcher Horizon plugin.
Go to file
Sean Mooney 1d2856a416 [devstack] use $PYTHON when configuring horizon
Devstack gained the ablity to install all services in
a shared venv and became the default way to install
on all debian derived distor as part of
If9bc7ba45522189d03f19b86cb681bb150ee2f25

Today the plugin uses the system python3 executable
to invoke the manage.py untility to collect the static
resouces and compress them.

This change updates the devtack plugin to support
installation in the global venv.

When horizon is installed in a global venv the manage command
cannot import django or other depencies if invoked by
system python directly.

When installed in a global virutal environment,
devstack exports PYTHON to use the virtual env executeable.
```export PYTHON="$DEVSTACK_VENV/bin/python3"```
when a gobal venv is not enabled it export PYTHON
to use the correct system python
```export PYTHON=$(which python${PYTHON3_VERSION} 2>/dev/null)```

As such we can always rely on $PYTHON to contain the correct
execuable.

Closes-Bug: #2085487
Change-Id: I161db1e824ee2fafd305313a729795ed2ade634a
2024-10-24 03:19:56 +01:00
devstack [devstack] use $PYTHON when configuring horizon 2024-10-24 03:19:56 +01:00
doc doc: Update our IRC server to OFTC 2021-06-04 15:44:05 +05:30
releasenotes Update master for stable/2024.1 2024-03-15 14:21:06 +00:00
tools Cleanup py27 support 2020-04-12 19:01:57 +02:00
watcher_dashboard Merge "Django 4.x: Replace removed features" 2024-02-13 06:32:55 +00:00
.gitignore Repair coverage report tox job 2021-07-07 10:04:58 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:36:13 +00:00
.zuul.yaml Switch to 2023.1 Python3 unit tests and generic template name 2022-09-13 12:30:03 +00:00
babel-django.cfg translation: drop babel extractor definitions 2019-12-27 02:32:03 +09:00
babel-djangojs.cfg translation: drop babel extractor definitions 2019-12-27 02:32:03 +09:00
HACKING.rst Sync Sphinx requirement 2019-06-05 09:48:31 +08:00
LICENSE Watcher Dashboard - Initial commit 2016-02-17 13:38:41 +00:00
manage.py Watcher Dashboard - Initial commit 2016-02-17 13:38:41 +00:00
README.rst Add blueprints link for README 2019-09-09 15:18:53 +08:00
requirements.txt Cleanup py27 support 2020-04-12 19:01:57 +02:00
run_tests.sh Drop use of features removed in Django 4.0 2023-10-13 11:41:16 -04:00
setup.cfg Update python classifier in setup.cfg 2024-01-09 19:21:57 -08:00
setup.py Cleanup py27 support 2020-04-12 19:01:57 +02:00
test-requirements.txt Switch to newer openstackdocstheme and reno versions 2020-05-21 12:44:20 +02:00
tox.ini Adjust tox.ini for tox4 2023-01-16 18:52:53 +05:30

Team and repository tags

image

OpenStack Dashboard plugin for Watcher project

The Watcher dashboard is a Horizon plugin that will allow users to realize a wide range of cloud optimization goals.