Project

General

Profile

Actions

Bug #25187

closed

Mimic rbd failed to create image in format 1

Added by Yecheng Fu almost 6 years ago. Updated almost 6 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

client:

```
  1. rbd --version
    ceph version 13.2.1 (5533ecdc0fda920179d7ad84e0aa65a127b20d77) mimic (stable)
  2. uname -a
    Linux xq42 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    ```

server:

```
root@xq45:~# ceph --version
ceph version 10.2.9 (2ee413f77150c0f375ff6f10edd6c8f9c7d060d0)
```

Error log:

```
  1. rbd -m 192.168.162.30:6789,192.168.162.35:6789,192.168.162.36:6789 -p kube --id admin --key <key> create testimg --size 1024
    rbd: image format 1 is deprecated
    2018-07-31 04:07:44.784 7fcae8a44900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
    2018-07-31 04:07:44.788 7fcae8a44900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
    rbd: create error: 2018-07-31 04:07:44.792 7fcae8a44900 -1 librbd: Format 1 image creation unsupported.
    (22) Invalid argument
    ```

Although image format 1 is deprecated, but I think it should be supported anyway.

I can create image in image format 1 with luminous rbd.

Actions

Also available in: Atom PDF