Bug #6072
closedlibrbd image rename breaks child backwards reference
0%
Description
Renaming an rbd image, that has clones, with a large name will break Image().parent_info() i.e. reverse lookup and the following error is raised in the client:
Traceback (most recent call last):
File "./rbd_test.bash", line 125, in <module>
RBDCloneRenameTest().run()
File "./rbd_test.bash", line 105, in run
print rbd_image.parent_info()
File "/usr/lib/python2.7/dist-packages/rbd.py", line 440, in parent_info
raise make_ex(ret, 'error getting parent info for image %s' % (self.name,))
rbd.Error: error getting parent info for image volume-0a67b12c-b63b-4c9b-a8e1-8b8b4bc09e90.clone: error code 34
Running the attached test will reproduce the issue.
This was triggered on Ubuntu Precise with the following Ceph version:
ceph:
Installed: 0.67.1-1precise
Candidate: 0.67.1-1precise
Version table:
*** 0.67.1-1precise 0
500 http://ceph.com/debian/ precise/main amd64 Packages
100 /var/lib/dpkg/status
Files
Updated by Ian Colle over 10 years ago
- Target version deleted (
v0.67 - Dumpling)
Updated by Josh Durgin over 10 years ago
- Status changed from New to Fix Under Review
- Assignee set to Josh Durgin
- Backport set to dumpling, cuttlefish
This was just a needlessly small limit in the python bindings. https://github.com/ceph/ceph/pull/764
Updated by Sage Weil over 10 years ago
- Status changed from Fix Under Review to Resolved
in next and backported!