OpenStack library for messaging
Go to file
Michal Arbet 5369e1ed7e Fix queue_manager in a containerized environment
This patch fixes the operation of queue_manager in a
containerized environment by adding an additional check
on the start_time in ticks since boot.
This way, we can detect a restart even when the PID remains
unchanged as it is ussual in containers, but the start_time is
different.

[1] https://www.man7.org/linux/man-pages//man5/proc_pid_stat.5.html

From man page above:

(22) starttime  %llu
    The time the process started after system boot.
    Before Linux 2.6, this value was expressed in
    jiffies.  Since Linux 2.6, the value is expressed
    in clock ticks (divide by sysconf(_SC_CLK_TCK)).

Closes-Bug: #2078935
Change-Id: I9e22433ec039ad6783593d9cb7fbe22c9090534e
(cherry picked from commit 6790f702fa)
(cherry picked from commit 09f808f538)
2024-10-15 01:36:40 +00:00
doc Fix typo in quorum-related variables for RabbitMQ 2023-02-14 15:20:00 +00:00
etc Fix spelling typo in output 2015-09-24 18:11:22 +08:00
oslo_messaging Fix queue_manager in a containerized environment 2024-10-15 01:36:40 +00:00
releasenotes Handle NotFound exception when declaring a queue 2024-06-24 10:01:31 +00:00
tools Drop unused function from scenario test script 2024-01-23 00:44:03 +09:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:20:09 +05:30
.gitignore Ignore releasenote cache within git untracked files 2019-12-18 17:03:10 +01:00
.gitreview Update .gitreview for stable/2024.1 2024-03-08 14:22:41 +00:00
.pre-commit-config.yaml Bump hacking (again) 2024-01-26 01:10:57 +09:00
.stestr.conf Switch to stestr 2018-07-04 08:33:49 +07:00
.zuul.yaml Remove scenario 03/04 tests from CI 2024-01-23 13:01:18 +09:00
bindep.txt Move integration jobs to Ubuntu 22.04 (Jammy) 2023-10-13 17:31:11 +09:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:25:31 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:54:02 +08:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-26 10:31:26 +08:00
requirements.txt Merge "Bump bandit" 2024-01-23 13:23:08 +00:00
setup.cfg Update python classifier in setup.cfg 2024-01-11 16:18:53 -08:00
setup.py remove outdated header 2020-02-10 18:33:15 +01:00
test-requirements.txt Bump hacking 2024-01-25 12:20:39 +09:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/2024.1 2024-03-08 14:22:42 +00:00

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.