hacking 3.0.x is too old.
Also remove the note about pip's behavior which was already fixed in
recent versions.
Change-Id: I65d350943649c3346ed5741631c01724ddd256ef
This reverts commit e062860442.
Reason for revert: This is too aggressive and needs wider community consultation. The constraints change is being reverted.
Please revert ASAP.
Change-Id: I162f4a6ac10145a1f7a11e64d69f5f7fb3a111b1
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I3b9aeb3379a76f7e40dab0c46e27f4447a0c3d03
* Due to the recent PIP version update requirements checks are
now more rigorous. This patch fixes another issue that originally
started with an incompatibility in the "mistral-lib -> eventlet" and
the "oslo.service -> eventlet" dependencies, so the version of
"oslo.service" had to be bumped up. But then it also went on to having
to bump up versions of "oslo.utils" and "tempest" to avoid conflicts.
Change-Id: Idfc2ae6db344cc788ddf7f0b3883b678af213621
* This patch refactors Mistral with the action provider concept
that is responsible for delivering actions to the system. So
it takes all the burden of managing action definitions w/o
having to spread that across multiple subsystems like Engine
and API and w/o having to assume that action definitions are
always stored in DB.
* Added LegacyActionProvider that represents the old way of
delivering action definitions to the system. It pretty much just
analyses what entries are configured in the entry point
"mistral.actions" in setup.cfg and build a collection of
corresponding Python action classes in memory accessible by names.
* The module mistral/services/actions.py is now renamed to
adhoc_actions.py because it's effectively responsible only for
ad-hoc actions (those defined in YAML).
* Added the new entry point in setup.cfg "mistral.action.providers"
to register action provider classes
* Added the module mistral/services/actions.py that will be a facade
for action providers. Engine and other subsystems will need to
work with it.
* Other small code changes.
Depends-On: I13033253d5098655a001135c8702d1b1d13e76d4
Depends-On: Ic9108c9293731b3576081c75f2786e1156ba0ccd
Change-Id: I8e826657acb12bbd705668180f7a3305e1e597e2
These translation sections are not needed anymore,
Babel can generate translation files without them.
Change-Id: I093f9886e74a808cedca0ee6610d51e91c88b1e8
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1885825
Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.
Story: #2007865
Task: #40196
Closes-Bug: #1885825
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal>
Change-Id: Idb053c8b1bfde9870eea80f66e5aef156422a668
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Remove python 3 versioning from lower-constraints and
requirements to pass requirements-check.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Id478711abb1783422ebb4ee9937d1b7202fdf2f3
* Starting version 2.21.1 oslo.serialization adds the parameter
"fallback" to its "jsonutils.to_primitive" method. We need it
to address some issue related to JSON serialization.
Change-Id: I1081a44a6f305eb1dfe68a5bad30110385130725
Update to PyYAML 5.1 to be able to turn off key sorting
in workflow definitions. We should not change user's data
until user asks to.
Change-Id: I888008ac8f9c12bd92a9bd72bd7c276a11827847
Closes-Bug: #1815515
Signed-off-by: Oleg Ovcharuk <vgvoleg@gmail.com>
* The explicit dependency from kombu forces the right version of
amqp to be downloaded. Otherwise the "docs" job fails with a
version conflict because it downloads amqp 2.5.2 but the
upper constraints allow only 2.5.1. This is rather a workaround
that unblocks CI until https://review.opendev.org/#/c/681382/
is merged
Change-Id: I990d125e86943c019dc1b60070cb67c4f75787c0
It breaks detection of ironic actions. 3.1.0 should fix it.
Depends-On: https://review.opendev.org/684376
Change-Id: Ib256c02d6b6810caa959de986fba51d5ea664b34
Fail-on policy allows to fail success tasks by condition. It is useful
in cases we have to fail task if its result is unacceptable and it makes
workflow definition more readable.
Change-Id: I57b4f3d1533982d3b9b7063925f8d70f044aefea
Implements: blueprint fail-on-policy
Signed-off-by: Oleg Ovcharuk <vgvoleg@gmail.com>
* Writing a unit test is very problematic but the fix has been
tested manually.
Closes-Bug: #1837532
Change-Id: I4fa15994a7359a5f90a0a4671d47b19fe928cf33
The HTTPClient for Ironic is deprecated and will be removed in Stein.
Use the SessionClient for Ironic actions instead. Also uses
endpoint_override param instead of endpoint, as that is also
deprecated.
Change-Id: Ida3b502b25887ec9a7b51c4d6497699cc9466f05
For the gory details behind this, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1384183
In summary, if you use threading.Event on python2 with eventlet, it
unnecessarily spams system calls to epoll_wait and burns a *lot* of
CPU cycles by constantly context-switching.
I added eventletutils.Event to oslo_utils a while back to
intelligently use the eventlet Event object when eventlet is being
used, and to fall back to the threading one otherwise. So just use
that and it will do the right thing.
Depends-On: https://review.openstack.org/#/c/558879/
Change-Id: I6ca0d0fc2a2ff393bab502a5f705fb0d63c32c6b
This release of the Cinder client broke support for the v3
volume-transfer APIs unless microversion 3.55 or higher was requested.
depend on https://review.opendev.org/#/c/587877/
Change-Id: I26bbb2e5ef5f8a5f963b47385c81a64c0227f7b8
NetworkX released 2.3, dropping support for Python 2.
https://github.com/networkx/networkx/blob/master/doc/news.rst
Also see I0a9700926c9a0db93e782c853c33f1aaee3d4876
fixed sphinx requirements also according to global requirements
jsonschema should be uncaped also according to global requirements
but there are conflicts with zakarclient designateclient and irconicclient
so for now I put it in remark
Change-Id: Iea3dbcfa1f6ddf2c413ede5e73fa076c6edccfdf
keystone_authtoken/auth_uri is deprecated [1]. Use www_authenticate_uri
instead.
keystonemiddleware in requirements and lower constraints should be increased
because www_authenticate_uri was introduced in keystonemiddleware 4.18.0.
[1] https://review.openstack.org/#/c/508522/
Change-Id: I99b0ee941d702a28fb4f392d9747d0e2257a42c8
Closes-Bug: #1788174
Add ZunAction for zun. Zun is an OpenStack Container service. It aims to
provide an API service for running application containers without the
need to manage servers or clusters.
Change-Id: Ibbe4777528b5af6fdb3a6c2ed3345f8f9c804bef
Signed-off-by: pengdake <19921207pq@gmail.com>
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
Update the lower-bounds for a few dependencies to make the tests pass,
including eventlet and greenlet.
Remove the duplicate dependency on pecan.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I74c7cae0ceccd5aff77d5955c69ca842c598d633
Depends-On: https://review.openstack.org/555034
Depends-On: https://review.openstack.org/555402
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Projects should not need to list setuptools as a dependency,
especially when they don't import it directly. The only use here seems
to be in setup.py, and setuptools must already be installed before
that is run anyway since setuptools is what runs it.
Change-Id: I573c3a5981e9f207811f5438c89e94d3c75e13f8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.
This change also removes the redundant entry for eventlet from
test-requirements.txt.
Change-Id: I810741a01614609f86cb792629a253d128029c80
Signed-off-by: Doug Hellmann <doug@doughellmann.com>