All of lore.kernel.org
 help / color / mirror / Atom feed
* Ceph v0.79 Firefly RC :: erasure-code-profile command set not present
@ 2014-04-08  8:57 Karan Singh
       [not found] ` <3423E02F-D2A2-4E7A-99BF-9B277FF3AB19-Gn+qtVAUx6s@public.gmane.org>
  2014-04-08 15:01 ` [ceph-users] " Sage Weil
  0 siblings, 2 replies; 6+ messages in thread
From: Karan Singh @ 2014-04-08  8:57 UTC (permalink / raw)
  To: ceph-users, ceph-devel-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 1698 bytes --]

Thanks Developers for 0.79 , happy to see its announcement.

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.

Do we need to wait for 0.80 release to test erasure-code-profile  feature ?? 


# cat /etc/redhat-release
CentOS release 6.4 (Final)

# ceph -v
ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)

# 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
#



****************************************************************
Karan Singh 
CSC - IT Center for Science,
Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
mobile: +358 503 812758
tel. +358 9 4572001
fax +358 9 4572302
http://www.csc.fi/
****************************************************************


[-- Attachment #1.2: Type: text/html, Size: 6182 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ceph v0.79 Firefly RC :: erasure-code-profile command set not present
       [not found] ` <3423E02F-D2A2-4E7A-99BF-9B277FF3AB19-Gn+qtVAUx6s@public.gmane.org>
@ 2014-04-08  9:28   ` Mark Kirkwood
       [not found]     ` <5343C143.70803-6STWZtX7tXAqAMOr+u8IRA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Kirkwood @ 2014-04-08  9:28 UTC (permalink / raw)
  To: Karan Singh, ceph-users, ceph-devel-u79uwXL29TY76Z2rM5mHXA

Wow - that is a bit strange:

$ 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

I'd hazard a guess that some of your ceph components are at version < 
0.78 still (partial upgrade or similar).

Regards

Mark

On 08/04/14 20:57, Karan Singh wrote:
> Thanks Developers for 0.79 , happy to see its announcement.
>
> 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.
>
> Do we need to wait for 0.80 release to test erasure-code-profile
>   feature ??
>
>
> # cat /etc/redhat-release
> CentOS release 6.4 (Final)
>
> # ceph -v
> ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)
>
> # 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
> #
>
>
>
> ****************************************************************
> Karan Singh
> CSC - IT Center for Science,
> Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
> mobile: +358 503 812758
> tel. +358 9 4572001
> fax +358 9 4572302
> http://www.csc.fi/
> ****************************************************************
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ceph v0.79 Firefly RC :: erasure-code-profile command set not present
       [not found]     ` <5343C143.70803-6STWZtX7tXAqAMOr+u8IRA@public.gmane.org>
@ 2014-04-08  9:44       ` Karan Singh
       [not found]         ` <6CD10D8D-16D8-4BFE-B270-D14E11D9FCF7-Gn+qtVAUx6s@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Karan Singh @ 2014-04-08  9:44 UTC (permalink / raw)
  To: Mark Kirkwood, ceph-users, ceph-devel-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 4360 bytes --]

Thanks Mark for this quick checkup on Ubuntu distro. you saved my time , i was also checking the same thing.

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

@ Ceph Developers :  Any thought on this.

# 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.


# 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

# 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
#



****************************************************************
Karan Singh 
CSC - IT Center for Science,
Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
mobile: +358 503 812758
tel. +358 9 4572001
fax +358 9 4572302
http://www.csc.fi/
****************************************************************

On 08 Apr 2014, at 12:28, Mark Kirkwood <mark.kirkwood-6STWZtX7tXAqAMOr+u8IRA@public.gmane.org> wrote:

> Wow - that is a bit strange:
> 
> $ 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
> 
> I'd hazard a guess that some of your ceph components are at version < 0.78 still (partial upgrade or similar).
> 
> Regards
> 
> Mark
> 
> On 08/04/14 20:57, Karan Singh wrote:
>> Thanks Developers for 0.79 , happy to see its announcement.
>> 
>> 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.
>> 
>> Do we need to wait for 0.80 release to test erasure-code-profile
>>  feature ??
>> 
>> 
>> # cat /etc/redhat-release
>> CentOS release 6.4 (Final)
>> 
>> # ceph -v
>> ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)
>> 
>> # 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
>> #
>> 
>> 
>> 
>> ****************************************************************
>> Karan Singh
>> CSC - IT Center for Science,
>> Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
>> mobile: +358 503 812758
>> tel. +358 9 4572001
>> fax +358 9 4572302
>> http://www.csc.fi/
>> ****************************************************************
>> 
>> 
>> 
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> 
> 


[-- Attachment #1.2: Type: text/html, Size: 8346 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ceph v0.79 Firefly RC :: erasure-code-profile command set not present
       [not found]         ` <6CD10D8D-16D8-4BFE-B270-D14E11D9FCF7-Gn+qtVAUx6s@public.gmane.org>
@ 2014-04-08 10:12           ` Mark Kirkwood
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Kirkwood @ 2014-04-08 10:12 UTC (permalink / raw)
  To: Karan Singh, ceph-users, ceph-devel-u79uwXL29TY76Z2rM5mHXA

I'm not sure if this is relevant, but my 0.78 (and currently building 
0.79) are compiled from src git checkout (and packages built from the 
same src tree using dpkg-buildpackage Debian/Ubuntu package builder).

Having said that - the above procedure *should* produce equivalent 
binaries to the official Debian/Ubuntu and Redhat/Centos packages 
(unless there is a specific bug in the rpm style builds).

Cheers

Mark

On 08/04/14 21:44, Karan Singh wrote:
> Thanks Mark for this quick checkup on Ubuntu distro. you saved my time ,
> i was also checking the same thing.
>
> All of my ceph components are on 0.79 , this looks to be a problem with
> ceph binaries for RHEL.
>
> @ Ceph Developers :  Any thought on this.
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ceph-users] Ceph v0.79 Firefly RC :: erasure-code-profile command set not present
  2014-04-08  8:57 Ceph v0.79 Firefly RC :: erasure-code-profile command set not present Karan Singh
       [not found] ` <3423E02F-D2A2-4E7A-99BF-9B277FF3AB19-Gn+qtVAUx6s@public.gmane.org>
@ 2014-04-08 15:01 ` Sage Weil
       [not found]   ` <alpine.DEB.2.00.1404080801250.28550-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Sage Weil @ 2014-04-08 15:01 UTC (permalink / raw)
  To: Karan Singh; +Cc: ceph-users, ceph-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1900 bytes --]

On Tue, 8 Apr 2014, Karan Singh wrote:
> Thanks Developers for 0.79 , happy to see its announcement.
> 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.
> 
> Do we need to wait for 0.80 release to test erasure-code-profile  feature
> ?? 
> 
> 
> # cat /etc/redhat-release
> CentOS release 6.4 (Final)
> 
> # ceph -v
> ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)
> 
> # ceph osd erasure-code-profile
> no valid command found; 10 closest matches:

Did you restart the ceph-mon daemons?

sage


> 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
> #
> 
> 
> 
> ****************************************************************
> Karan Singh 
> CSC - IT Center for Science,
> Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
> mobile: +358 503 812758
> tel. +358 9 4572001
> fax +358 9 4572302
> http://www.csc.fi/
> ****************************************************************
> 
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ceph v0.79 Firefly RC :: erasure-code-profile command set not present
       [not found]   ` <alpine.DEB.2.00.1404080801250.28550-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
@ 2014-04-10 14:31     ` Karan Singh
  0 siblings, 0 replies; 6+ messages in thread
From: Karan Singh @ 2014-04-10 14:31 UTC (permalink / raw)
  To: Sage Weil, Alfredo Deza, ceph-users; +Cc: ceph-devel-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 2695 bytes --]

Finally everything worked with ceph version 0.79-125 .

I agree with you , version 0.79 does have erasure-code-profile command set , But This mess was due to ceph init script which was missing "/lib/lsb/init-functions” file which is blocking ceph services to get started.

Thanks Sage / Alfredo for your timely support.

****************************************************************
Karan Singh 
CSC - IT Center for Science,
Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
mobile: +358 503 812758
tel. +358 9 4572001
fax +358 9 4572302
http://www.csc.fi/
****************************************************************

On 08 Apr 2014, at 18:01, Sage Weil <sage-4GqslpFJ+cxBDgjK7y7TUQ@public.gmane.org> wrote:

> On Tue, 8 Apr 2014, Karan Singh wrote:
>> Thanks Developers for 0.79 , happy to see its announcement.
>> 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.
>> 
>> Do we need to wait for 0.80 release to test erasure-code-profile  feature
>> ?? 
>> 
>> 
>> # cat /etc/redhat-release
>> CentOS release 6.4 (Final)
>> 
>> # ceph -v
>> ceph version 0.79 (4c2d73a5095f527c3a2168deb5fa54b3c8991a6e)
>> 
>> # ceph osd erasure-code-profile
>> no valid command found; 10 closest matches:
> 
> Did you restart the ceph-mon daemons?
> 
> sage
> 
> 
>> 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
>> #
>> 
>> 
>> 
>> ****************************************************************
>> Karan Singh 
>> CSC - IT Center for Science,
>> Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
>> mobile: +358 503 812758
>> tel. +358 9 4572001
>> fax +358 9 4572302
>> http://www.csc.fi/
>> ****************************************************************


[-- Attachment #1.2: Type: text/html, Size: 6629 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-10 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08  8:57 Ceph v0.79 Firefly RC :: erasure-code-profile command set not present Karan Singh
     [not found] ` <3423E02F-D2A2-4E7A-99BF-9B277FF3AB19-Gn+qtVAUx6s@public.gmane.org>
2014-04-08  9:28   ` Mark Kirkwood
     [not found]     ` <5343C143.70803-6STWZtX7tXAqAMOr+u8IRA@public.gmane.org>
2014-04-08  9:44       ` Karan Singh
     [not found]         ` <6CD10D8D-16D8-4BFE-B270-D14E11D9FCF7-Gn+qtVAUx6s@public.gmane.org>
2014-04-08 10:12           ` Mark Kirkwood
2014-04-08 15:01 ` [ceph-users] " Sage Weil
     [not found]   ` <alpine.DEB.2.00.1404080801250.28550-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
2014-04-10 14:31     ` Karan Singh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.