*** Bug 1925342 has been marked as a duplicate of this bug. ***
Created and removed the objects with a NUL character in their names with the following scenarios. scenario 1: [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A put "obj ect-c" object-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls obj ect-c [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados rm "obj ect-c" -p pool-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# scenario 2: [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A put "ob je ct-c" object-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls ob je ct-c [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados rm "ob je ct-c" -p pool-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls [root@ scenario3: [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A put "o b j e c t-c" object-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls o b j e c t-c [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados rm "o b j e c t-c" -p pool-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# Scenario 4: [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A put " o b j e c t-c" object-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls o b j e c t-c [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados rm " o b j e c t-c" -p pool-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# scenario 5: [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A put " o b j e c t-c " object-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls o b j e c t-c [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados rm " o b j e c t-c " -p pool-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# Scenario 6: [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A put "o b j e c t-c " object-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls o b j e c t-c [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados rm "o b j e c t-c " -p pool-A [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]# rados -p pool-A ls [root@ceph-bharath-1622003345629-node1-mon-mgr-installer cephuser]#
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 (Important: Red Hat Ceph Storage 4.2 Security and 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/RHSA-2021:2445