Bug 1954819
| Summary: | tools/rados: omnibus NUL character in object name commits 4.2 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | J. Eric Ivancich <ivancich> |
| Component: | RADOS | Assignee: | J. Eric Ivancich <ivancich> |
| Status: | CLOSED ERRATA | QA Contact: | skanta |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2 | CC: | akupczyk, bhubbard, ceph-eng-bugs, dzafman, kchai, mhackett, nojha, pdhiran, rzarzyns, skanta, sseshasa, tserlin, vereddy, vumrao |
| Target Milestone: | --- | ||
| Target Release: | 4.2z2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-14.2.11-152.el8cp, ceph-14.2.11-152.el7cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-15 17:14:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 7
Neha Ojha
2021-05-06 17:44:51 UTC
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 |