Project

General

Profile

Actions

Bug #8027

closed

Ceph v0.79 Firefly RC :: erasure-code-profile command set not present for CentOS RPM

Added by karan singh about 10 years ago. Updated about 10 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Firefly RC, Erasure coding
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I have been using 0.78 in order to test EC and TP , with 0.78 i was not able to test erasure code profile feature ( # ceph osd erasure-code-profile set myprofile ……) as erasure-code-profile command set is not present in 0.78 but its mentioned in documentation.

http://ceph.com/docs/master/dev/erasure-coded-pool/#interface
https://ceph.com/docs/v0.78/dev/erasure-coded-pool/#interface
https://ceph.com/docs/v0.79/dev/erasure-coded-pool/#interface

I tried the same thing on 0.79 , but again looks like “ ceph osd erasure-code-profile “ command set is not implemented here as well.

  1. cat /etc/redhat-release
    CentOS release 6.4 (Final)
  1. ceph -v
    ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)
  1. ceph osd erasure-code-profile
    no valid command found; 10 closest matches:
    osd tier add-cache <poolname> <poolname> <int[0-]>
    osd tier set-overlay <poolname> <poolname>
    osd tier remove-overlay <poolname>
    osd tier remove <poolname> <poolname>
    osd tier cache-mode <poolname> none|writeback|forward|readonly
    osd thrash <int[0-]>
    osd tier add <poolname> <poolname> {--force-nonempty}
    osd stat
    osd reweight-by-utilization {<int[100-]>}
    osd pool stats {<name>}
    Error EINVAL: invalid command #

All of my ceph components are on 0.79 , this looks to be a problem with ceph binaries for RHEL.

  1. rpm -qa | egrep -i "ceph|rados|rbd"
    ceph-deploy-1.4.0-0.noarch
    librbd1-0.79-0.el6.x86_64
    libcephfs1-0.79-0.el6.x86_64
    ceph-release-1-0.el6.noarch
    python-ceph-0.79-0.el6.x86_64
    librados2-0.79-0.el6.x86_64
    ceph-0.79-0.el6.x86_64 #

Also updated the latest latest ceph release 0.79-75 ( on a different machine ) , but still no LUCK.

  1. rpm -qa | egrep -i "ceph|rados|rbd"
    libcephfs1-0.79-75.g2a6d962.el6.x86_64
    ceph-deploy-1.4.0-0.noarch
    librbd1-0.79-75.g2a6d962.el6.x86_64
    librados2-0.79-75.g2a6d962.el6.x86_64
    ceph-0.79-75.g2a6d962.el6.x86_64
    ceph-release-1-0.el6.noarch
    python-ceph-0.79-75.g2a6d962.el6.x86_64
  1. ceph osd erasure-code-profile ls
    no valid command found; 10 closest matches:
    osd tier add-cache <poolname> <poolname> <int[0-]>
    osd tier set-overlay <poolname> <poolname>
    osd tier remove-overlay <poolname>
    osd tier remove <poolname> <poolname>
    osd tier cache-mode <poolname> none|writeback|forward|readonly
    osd thrash <int[0-]>
    osd tier add <poolname> <poolname> {--force-nonempty}
    osd stat
    osd reweight-by-utilization {<int[100-]>}
    osd pool stats {<name>}
    Error EINVAL: invalid command #

Strange thing is on Ubuntu Distribution every thing works like charm

$ cat /etc/issue
Ubuntu 13.10 \n \l

$ sudo ceph -v
ceph version 0.78-569-g6a4c50d (6a4c50d7f27d2e7632d8c017d09e864e969a05f7)

$ sudo ceph osd erasure-code-profile ls
default
myprofile
profile
profile1

Have a look on mailing list discussion : http://article.gmane.org/gmane.comp.file-systems.ceph.user/8853

Actions #1

Updated by Alfredo Deza about 10 years ago

This looks like a problem with an unclean upgrade of sorts because I cannot replicate this problem at all.

Packages do have the same version as ksingh's examples

[vagrant@node2 ~]$ rpm -qa | egrep -i "ceph|rados|rbd" 
ceph-release-1-0.el6.noarch
librbd1-0.79-0.el6.x86_64
python-ceph-0.79-0.el6.x86_64
librados2-0.79-0.el6.x86_64
libcephfs1-0.79-0.el6.x86_64
ceph-0.79-0.el6.x86_64

Have the right versions of ceph and distro

[vagrant@node2 ~]$ sudo ceph -v
ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)
[vagrant@node2 ~]$ sudo cat /etc/redhat-release
CentOS release 6.4 (Final)

Erasure code does exist

[vagrant@node2 ~]$ sudo ceph osd erasure-code-profile ls
default

Actions #2

Updated by Alfredo Deza about 10 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF