Add file to the reno documentation build to show release notes for
stable/2025.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.1.
Sem-Ver: feature
Change-Id: Id2278102d62c048644203b2581bce999753ffad0
Current un-patching causes conflict with a few other moduels such as
queue patched, which is causing undesired delays. Let's remove it to
use unpatched modules or patched modules consistently.
Co-Authored-By: Artem Vasilyev <artem.v.vasilyev@gmail.com>
Closes-Bug: #2098714
Change-Id: I3c5ce7cc399c76afcee57d92d6a3a0f2b680efce
In a previous patch, start_time was introduced to take care of
containerized services.
Unfortunately, a bug has been introduced during this change.
The start_time written in /dev/shm was using the previous start_time
written in the file instead of the new one computed at boot of the
service.
Change-Id: I8a31c0c38b42f333bba92159332e7b3b79d70854
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
Added docs, and fixed a few issues, for the oslo messaging simulator.
Also added docs for adding your own configuration in.
Change-Id: I7ae4282ea6e06d9373c7f2c0453d2c6a6f76fb9f
Currently rabbit_retry_interval=0 is internally translated to
rabbit_retry_interval=1, which may hide wrong expectation by
operators. Add minimum boundary to make sure the given value is
valid and is used actually.
Also set the minimum boundary for backoff and max as well, to reject
too small values or even negative value which may cause malfunction.
Change-Id: Iaef2f3c52d6475742dd06c76dfeaebc1c7691d9a
The removal of Eventlet is planned[1].
Services should start migrating there RPC server
to the threading executor.
The Eventlet executor will be removed in G.
The executor parameter is now planned for removal.
[1] https://governance.openstack.org/tc//goals/proposed/remove-eventlet.html
Change-Id: I9dc3fe42931c84ad2aef35cb663ba019e3bf26b7
Currently the oslo.messaging-src-dsvm-full-kafka-hybrid job uses
rabbitmq driver, instead of AMQP1 driver, for messaging.
Change-Id: I71d28ca95d3af8d114c1670dc3ad27a237019b11
Drop old aliases of oslo_messaging_rabbit options which were deprecated
but have been kept for long time.
Change-Id: Ia84d3619c59a974757cfe188869ff39184590465
These options are looked up from the [oslo_messaging_rabbit] section.
Fix the wrong section ([DEFAULT]) used when rendering these options by
oslo-config-generator.
Because these options are now specific to RabbitMQ driver, migrate
the definition from base to rabbitmq driver module.
Change-Id: I29db03a775b17dfd11737225b41c7d408727fe88
These options were deprecated 7 years ago[1] and have been unused since
then.
[1] 1ccdccddaa838a4715fd21e8eb67e207d172c240
Change-Id: I75f85cf25e4fc3cb027386d479f2da4765e5bb8b
The `pyngus` library was introduced as a dependency for the AMQP 1.0 driver.
Since the AMQP 1.0 driver has been removed from the project, this library is
no longer needed. This patch cleans up the dependencies by removing `pyngus`
from the requirements.
A dependency check (`pipdeptree`) confirms that `pyngus` is not used directly
or indirectly in the project.
Change-Id: Idf94ceaa96005a74e60fafc0124df659a8854ea5
oslo.messaging will now add a random interval comprised between
0 and kombu_reconnect_splay to the Kombu reconnection delay
in case of consumer close errors.
Change-Id: Ibd689270caf3f622e6b2a5a92eceec6fa09eb7be
This reverts commit ff8b6d4c074c7afb6b8c2eceb007a6f63037c451.
Reason for revert:
pbr is actually imported by oslo_messaging.version .
Change-Id: I7a56e967f43493e3da7f3010a44fed30fa01a264
The AMQP1 driver has been deprecated for several years, since 14.4.0 and
is no longer maintained or widely used. This commit removes the AMQP1
driver from the code base.
References:
- Original deprecation commit: 0f63c227f5
Change-Id: Iaeb52791008a7a6736c99459f66d2bdbb2dea17b
pbr is not use at runtime but is used during installation. It should
be pulled by setuptools automatically.
Change-Id: I22b79168358f2716c7a5d970bdcb6dc0581bfd06
Since lower constraints job was removed the bounds are not actually
tested. Add a note to explain the bounds are maintained on best effort
basis.
Change-Id: I6fbfe08e0cdabeaaa016d16c4e261a04a0c57d53
Import a few more irrelevant files from base grenade job definition
to avoid triggering grenade jobs on non-functional update.
Change-Id: I6955d9c9ea7be11932c6f1ff9ce6e931b91e1399
Update all .py source files by
$ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.
pep8 errors are fixed by
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
--in-place oslo_messaging
and a few manual adjustments.
Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.
Change-Id: I8115b7f8c5d27ce935e4422c351add4bb72e354f
Consumer callback should look for x-stream-offset header only if
the stream mode is used. Otherwise the message headers attribute could
be None and the error appears when using get method.
Closes-Bug: #2084168
Change-Id: I7f9c742f8f557d9faae2cd749d34dcb15d8005c0
oslo.utils have provided a few useful utility methods to parse or
escape server addresses. Replace the own logic by these methods to
reduce amount of own logic.
Change-Id: I7807314e891e202e47254bf7f98aca4c99005079