Bug 1327412
| Summary: | [RBD] failed to update object map during rbd flatten | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Tejas <tchandra> |
| Component: | RBD | Assignee: | Jason Dillaman <jdillama> |
| Status: | CLOSED ERRATA | QA Contact: | Hemanth Kumar <hyelloji> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | ceph-eng-bugs, gmeno, hnallurv, hyelloji, jdillama, kdreyer |
| Target Milestone: | rc | ||
| Target Release: | 2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-10.2.1-1.el7cp Ubuntu: ceph_10.2.1-2redhat1xenial | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 19:36:29 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: | |||
|
Description
Tejas
2016-04-15 06:28:09 UTC
Upstream PR: https://github.com/ceph/ceph/pull/8817 This is undergoing review upstream (https://github.com/ceph/ceph/pull/8869) and will be in v10.2.1. The above PR was merged to jewel and is present in v10.2.1. I am unable to disable the object-map while the flattening is in-progress # rbd flatten pool4/bucket11 --cluster master Image flatten: 69% complete...done. # rbd feature disable pool4/bucket11 object-map --cluster master rbd: failed to update image features: (22) Invalid argument2016-05-31 12:01:39.088013 7f5d1fa8fd80 -1 librbd: cannot disable object map # rbd ls -l bucket10 -p pool4 --cluster master NAME SIZE PARENT FMT PROT LOCK bucket10 10240M 2 bucket10@shot1 10240M 2 yes bucket11 10240M 2 bucket11@shot2 10240M 2 =========================================================================== @Hamanth: did the image also have fast-diff enabled? (In reply to Jason Dillaman from comment #8) > @Hamanth: did the image also have fast-diff enabled? Yes Jason. fast-diff was also enabled. BTW, all the features gets enabled by default with the latest ceph. @Hemanth: moving this back to ON_QA as it isn't a bug. Since fast-diff depends on object-map, you cannot disable object-map without also disabling fast-diff. (In reply to Jason Dillaman from comment #10) > @Hemanth: moving this back to ON_QA as it isn't a bug. Since fast-diff > depends on object-map, you cannot disable object-map without also disabling > fast-diff. @Jason., Error messages are still seen while disabling the object map during flattening. # rbd flatten rbd/image2 Image flatten: 26% complete...2016-06-03 08:01:28.718143 7f3c2ffff700 -1 librbd::object_map::RefreshRequest: failed to load object map: rbd_object_map.17ec5c238e1f29 2016-06-03 08:01:28.718310 7f3c2ffff700 -1 librbd::object_map::InvalidateRequest: 0x7f3c14053500 invalidating object map in-memory 2016-06-03 08:01:28.718322 7f3c2f7fe700 -1 librbd::object_map::InvalidateRequest: 0x7f3c14053500 should_complete: r=0 Image flatten: 100% complete...done. Disabled the object-map during flattening.. ----------------------------------------- # rbd info image2 rbd image 'image2': size 10240 MB in 2560 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.17ec5c238e1f29 format: 2 features: layering, exclusive-lock, object-map, deep-flatten # rbd feature disable rbd/image2 object-map # rbd info image2 rbd image 'image2': size 10240 MB in 2560 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.17ec5c238e1f29 format: 2 features: layering, exclusive-lock, deep-flatten flags: Ceph version :- 10.2.1-7.el7cp.x86_64 Same issue as disabling journal during in-progress operation. Upstream PR: https://github.com/ceph/ceph/pull/9440 Merged Jewel PR: https://github.com/ceph/ceph/pull/9610 This is in v10.2.2 upstream, so we will take this change in as part of the rebase to 10.2.2. 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, 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://rhn.redhat.com/errata/RHBA-2016-1755.html |