-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
False
-
-
False
-
python-os-brick-4.3.4-17.1.20240607160815.cf69f92.el9ost
-
None
-
Regression Only
-
-
-
Moderate
Description of problem:
Warnings are logged when os_brick is initialized inside some RHOSP container. For example, the following warning message was logged when copying image from volume
:
2024-04-08 18:06:25.177 20 WARNING os_brick.initiator.connectors.nvmeof [req-UUID ID1 ID2 - default default] Process execution error in _get_host_uuid: Unexpected error while running command.
Command: blkid overlay -s UUID -o value
Exit code: 2
Stdout: ''
Stderr: '': oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
It is possible to reproduce https://github.com/openstack/os-brick/blob/unmaintained/wallaby/os_brick/initiator/connectors/nvmeof.py#L98-L111 manually:
[root@overcloud-controller0 ~]# podman exec -it glance_api_internal bash
bash-5.1$ findmnt / -n -o SOURCE
overlay
bash-5.1$ blkid overlay -s UUID -o value
bash-5.1$ echo $?
2
There is an upstream bug https://bugs.launchpad.net/os-brick/+bug/2045557
Version-Release number of selected component (if applicable):
RHOSP 17.1
How reproducible:
Please see description
Actual results:
Warning is logged because _get_host_uuid() logic is not ready to process overlayfs
Expected results:
_get_host_uuid() is able to process overlayfs and proceed
- external trackers
- links to
-
RHBA-2025:146011 Red Hat OpenStack Platform 17.1 bug fix and enhancement advisory