When commands such as ``nova-manage`` are invoked via a podman call,
e.g. ``podman exec nova_conductor nova-manage ...``, the process group
ID assigned is 0. This break the check of start time since system boot
as ``/proc/0`` does not exist.
Fix this behaviour by instead using the process ID to look up the start
time since system boot.
Closes-Bug: #2095178
Change-Id: Ie89783d1e8a2891bfbb5b516eff08ed694353d6d
(cherry picked from commit 9043d6583e)
Signed-off-by: Matt Crees <mattc@stackhpc.com>
Team and repository tags
Oslo Messaging Library
The Oslo messaging API supports RPC and notifications over a number of different messaging transports.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/oslo.messaging/latest/
- Source: https://opendev.org/openstack/oslo.messaging
- Bugs: https://bugs.launchpad.net/oslo.messaging
- Release notes: https://docs.openstack.org/releasenotes/oslo.messaging/
Description
Languages
Python
99.8%
Shell
0.2%