Actions
Bug #1416
closedrbd: "cp --snap=mysnap myimage newimage" crashes
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
$ ./rbd create test --size=10 $ ./rbd ls test $ ./rbd snap create --snap=stest test $ ./rbd cp --snap=stest test stest2 *** Caught signal (Segmentation fault) ** in thread 0x7f03b296d720 ceph version 0.32-238-g75e6731 (commit:75e673180ad48398b6995a4c27d973bf27ee376f) 1: /home/tv/src/ceph.git/src/.libs/lt-rbd() [0x446d24] 2: (()+0xfb40) [0x7f03b1f69b40] 3: (librbd::snap_set(librbd::ImageCtx*, char const*)+0x10) [0x7f03b25682f0] 4: (main()+0x47f) [0x44197f] 5: (__libc_start_main()+0xfe) [0x7f03b098fd8e] 6: /home/tv/src/ceph.git/src/.libs/lt-rbd() [0x43ed49] Segmentation fault (core dumped)
Updated by Sage Weil over 12 years ago
- Target version set to v0.35
- Translation missing: en.field_position set to 14
Updated by Sage Weil over 12 years ago
- Translation missing: en.field_position deleted (
13) - Translation missing: en.field_position set to 8
Updated by Sage Weil over 12 years ago
- Category set to librbd
- Assignee set to Sage Weil
Updated by Sage Weil over 12 years ago
- Status changed from New to Resolved
the --snap specifies the src snap to copy from. the target is always the head of a fresh image.
fixed the librbd api to use image handles so this is cleaner. fixed command line tool to actually do it.
added a test workunit. now works for sparse images.
yay!
Actions