Currently, Efficacy in action plans list and efficacy indicators in
action plan details are empty.
There are two different problems:
- While EfficacyIndicator expects a dict, global_efficacy is a list
with one dict inside.
- EfficacyIndicator is using getattr function to initialize the
attributes while the correct way for dicts is get, which also provides
None when the attribute does not exist.
This is effectively reverting [1].
[1] https://review.opendev.org/c/openstack/watcher-dashboard/+/587032
Closes-Bug: #2086627
Change-Id: I5a45357ccd69da26443818ae165ba08963004358
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
Add file to the reno documentation build to show release notes for
stable/2024.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.2.
Sem-Ver: feature
Change-Id: I3f9218ca1f3419a60d4163373cbb006d614b3a18
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I584e2caa0effa1a497474c1ab425acabc47c9575
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg
Change-Id: I84c8571e017cbb39b364b9f94bbb35747cf75e8a
These functions were deprecated in Django 3.0 and have been removed
in Django 4.0. Switch to the functions they were aliased to.
Closes-Bug: #2039226
Change-Id: I2180b1ccae7ca377aa5d4586bd3c5562512b5e98
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Ib01f17310f6828d3dec06abd0b4838ccfd990708
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I736f31968a913de631e86d1fbd88f2662f0c9847
OpenStack CI now uses tox4 by default.
- Drop "skipsdist = True".
When skipsdist=True is specified, a target application is not
installed into a tox env, but there seems no reason to do so.
In various other OpenStack projects, a target applicatin needs
to be installed into a tox vnev, for example, in docs and/or
linter jobs and it causes failures with tox4. So dropping it
would avoid potential future failures.
- Add ignore_basepython_conflict = True to tox.ini
With latest tox (>4.0.15) python version conflicted with base
python. Adding ignore_basepython_conflict = True solves this
issue.
Change-Id: Id25cde435e9eaf6d5d2573d522cda763dad1a89b
inspect.getargspec was deprecated since Python 3.0 and
inspect.getfullargspec is its replacement with correct handling of
function annotations and keyword-only parameters[1].
[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec
Co-Authored-By: manchandavishal <manchandavishal143@gmail.com>
Change-Id: Ie9cdf3e87a06a0af8cf36c8bbdef0f14336e8f70
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Id599fb692f5a36f8dba39ca98abe5ac54b707b56
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I3f5f9bd3fdd591cc836895a0998708fa7cf656d0
ugettext_lazy(), ungettext_lazy(), and django.urls.url() are
removed in 4.0.
https: //docs.djangoproject.com/en/4.0/releases/4.0/
Change-Id: I7747087589b6ec96792d77aae5fb452c1b5661bb
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I58a438faadd070ec8ec868c4eaee2ef7f17904bc
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: Iee515e29541c6957db520339fa923a59a392ff6e
Coverage report job for watcher dashboard must have been
broken for an extensive amount of time. This patch
fixes it.
Change-Id: I3f0ec731d28d0f55c4378038237dc91b5c548ed5