New tox version 4 has changed interpretation of tox.ini
The passenv parsing requires the list to be comma-separated.
Since the names are case-insensitive, duplicates are removed.
skipsdist is now a synonym of no_package and avoids the
installation of the package in all cases.
However, some environments require it (for setup metadata).
Fix allowlist_externals where appropriate.
Change-Id: Icb067e85e4f4874a52710d7053a2048e337305c8
(cherry picked from commit 324fe6e69b40cd1eb1dfe449340a6a2811759436)
If an user sends host notification without host status:
openstack notification create COMPUTE_HOST <host> <date> '{"event": "STOPPED"}'
logging registers silly error like object None has not method 'upper' and
notification gets status 'running', host is set in maintenance status.
It's impossible to set manually host status to non-maintanence
until there are host-related running notifications.
Running notifications are expired in 24 hours by default.
The patch makes engine to set 'ignore' status for such
notifications.
Closes-Bug: 1960619
Change-Id: Id873b3300b6de49082805654c85414a8868dd925
(cherry picked from commit 0837d7787c1be35df4b4330dbe6cdd2c160a69ab)
Nova-compute would periodically sync the instance status. So in the
instance failure recovery workflow,it would stop instance random failed
because of conflict, which will terminate the recovery workflow.
This patch can catch the Confict exception and continue the recovery
workflow if the instance already stopped.
Closes-Bug: 1980736
Change-Id: I59a1f9d7078614c1ddc8f4c362e967a15b8ec5e8
(cherry picked from commit 7241101163550b3cd981262468dc523ccb25cc9e)
When tox 'docs' target is called, first it installs the dependencies
(listed in 'deps') in 'installdeps' phase, then it installs masakari
(with its requirements) in 'develop-inst' phase. In the latter case
'deps' is not used so that the constraints defined in 'deps' are not
used. This could lead to failures on stable branches when new packages
are released that break the build. To avoid this, the simplest solution
is to pre-install requirements, i.e. add requirements.txt to 'docs' tox
target.
Conflicts:
tox.ini
NOTE(elod.illes): conflict is due to branch specific upper constraints
file link.
Change-Id: Ic5e214be240023f0e4f02cae3939e1d199ecb061
(cherry picked from commit aa13e4536eadbce8de35109f62a379e7e375bd02)
(cherry picked from commit d689abff9803a0fe7f9a3bce859e2d29eee32277)
(cherry picked from commit c1a31c8a053246307537ad184138a43f7baa9bd2)
[wallaby-only] [devstack] Fix path to dashboard policy
In Wallaby, we merged the deprecation of JSON policy file and
moved to YAML by default.
However, dashboard has only really followed in Xena, leaving
the devstack plugin masakari dashboard policy symlink broken.
This patch fixes that.
Note we cannot easily move the dashboard policy file in Wallaby
without breaking existing (production) deployments, hence why
doing this instead of backporting.
c366cde...
by
OpenStack Release Bot <email address hidden>
Update TOX_CONSTRAINTS_FILE for stable/wallaby
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/wallaby branch, tests will
continue to use the upper-constraints list on master.