Project

General

Profile

Actions

Bug #2865

closed

rbd import fails for directory but creates rbd image

Added by Tamilarasi muthamizhan over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Ceph Version: 0.48

Created a local directory t_dir.
when tried to import directory t_dir to rbd/rbd_image, it reported error but still created a rbd image, which is not an expected behaviour.

Pasting below the CLI screenshot,

ubuntu@burnupi64:~$ rbd import t_dir rbd/rbd_image
error reading file: (21) Is a directory
Importing image: 0% complete...failed.
import failed: (21) Is a directory

ubuntu@burnupi64:~$ rados ls -p rbd
rbd_directory
rbd_image.rbd
rbd_info

ubuntu@burnupi64:~$ rbd info rbd_image
rbd image 'rbd_image':
size 4096 bytes in 0 objects
order 22 (4096 KB objects)
block_name_prefix: rb.0.0
parent: (pool -1)

Actions #1

Updated by Sage Weil about 11 years ago

  • Project changed from Ceph to rbd
Actions #2

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved

commit:cbff720ff54ac6948f455cf82c4c2eee31d703f4

Actions

Also available in: Atom PDF