Bug 2007683

Summary: "g_object_unref: assertion 'G_IS_OBJECT (object)' failed" on shutdown
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: iSCSIAssignee: Xiubo Li <xiubli>
Status: CLOSED ERRATA QA Contact: Gopi <gpatta>
Severity: high Docs Contact: Mary Frances Hull <mhull>
Priority: unspecified    
Version: 5.0CC: agunn, amsyedha, aschoen, ceph-eng-bugs, ceph-qe-bugs, gabrioux, gmeno, gpatta, gsitlani, idryomov, mhull, mmurthy, nthomas, tserlin, vereddy, xiubli, ykaul
Target Milestone: ---   
Target Release: 5.0z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tcmu-runner-1.5.4-2.el8cp Doc Type: Bug Fix
Doc Text:
.The `tcmu-runner` process now closes normally Previously, the `tcmu-runner` process incorrectly handled a failed path, causing the release of uninitialized `g_object` memory. This can cause the `tcmu-runner` process to terminate unexpectedly. The source code has been modified to skip the release of uninitialized `g_object` memory, resulting in the `tcmu-runner` process exiting normally.
Story Points: ---
Clone Of: 2000412
: 2007696 (view as bug list) Environment:
Last Closed: 2021-11-02 16:39:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1959686    

Comment 8 Gopi 2021-10-25 12:36:05 UTC
Working as expected.

[root@magna104 ]# podman exec -it 88be50c1a327 sh
sh-4.4# cat /var/log/tcmu-runner.log 
2021-10-25 07:36:04.929 8:tcmu-runner [CRIT] main:1302: Starting...
2021-10-25 07:36:04.943 8:tcmu-runner [INFO] tcmur_register_handler:92: Handler rbd is registered
2021-10-25 07:36:04.950 8:tcmu-runner [ERROR] device_open_shm:516: could not open /dev/uio0
2021-10-25 09:44:49.487 8:tcmu-runner [INFO] tcmu_rbd_open:1162 rbd/rbd.disk: address: {10.8.128.104:0/3579120892}
2021-10-25 09:45:17.397 8:tcmu-runner [INFO] tcmu_rbd_rm_stale_entries_from_blacklist:340 rbd/rbd.disk: removing addrs: {10.8.128.104:0/3579120892}
2021-10-25 09:45:17.401 8:tcmu-runner [ERROR] tcmu_rbd_rm_stale_entry_from_blacklist:322 rbd/rbd.disk: Could not rm blacklist entry '�('. (Err -13)
2021-10-25 09:45:17.401 8:tcmu-runner [INFO] tcmu_rbd_open:1162 rbd/rbd.disk: address: {10.8.128.104:0/2142761628}

Comment 12 errata-xmlrpc 2021-11-02 16:39:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4105