Hi Loic, Yes I upgraded the cluster, it is definately not new. I ran into several other issues as well, for instance legacy tunables that had to be changed.
These are the directory contents you asked for: # ls -al /usr/lib64/ceph/erasure-code totaal 776 drwxr-xr-x. 2 root root 4096 12 jun 21:36 . drwxr-xr-x. 3 root root 4096 12 jun 21:36 .. lrwxrwxrwx. 1 root root 22 12 jun 21:36 libec_example.so -> libec_example.so.0.0.0 lrwxrwxrwx. 1 root root 22 12 jun 21:36 libec_example.so.0 -> libec_example.so.0.0.0 -rwxr-xr-x. 1 root root 381240 14 mei 17:44 libec_example.so.0.0.0 lrwxrwxrwx. 1 root root 33 12 jun 21:36 libec_fail_to_initialize.so -> libec_fail_to_initialize.so.0.0.0 lrwxrwxrwx. 1 root root 33 12 jun 21:36 libec_fail_to_initialize.so.0 -> libec_fail_to_initialize.so.0.0.0 -rwxr-xr-x. 1 root root 6032 14 mei 17:44 libec_fail_to_initialize.so.0.0.0 lrwxrwxrwx. 1 root root 31 12 jun 21:36 libec_fail_to_register.so -> libec_fail_to_register.so.0.0.0 lrwxrwxrwx. 1 root root 31 12 jun 21:36 libec_fail_to_register.so.0 -> libec_fail_to_register.so.0.0.0 -rwxr-xr-x. 1 root root 6032 14 mei 17:44 libec_fail_to_register.so.0.0.0 lrwxrwxrwx. 1 root root 20 12 jun 21:36 libec_hangs.so -> libec_hangs.so.0.0.0 lrwxrwxrwx. 1 root root 20 12 jun 21:36 libec_hangs.so.0 -> libec_hangs.so.0.0.0 -rwxr-xr-x. 1 root root 6024 14 mei 17:44 libec_hangs.so.0.0.0 lrwxrwxrwx. 1 root root 23 12 jun 21:36 libec_jerasure.so -> libec_jerasure.so.2.0.0 lrwxrwxrwx. 1 root root 23 12 jun 21:36 libec_jerasure.so.2 -> libec_jerasure.so.2.0.0 -rwxr-xr-x. 1 root root 364696 14 mei 17:44 libec_jerasure.so.2.0.0 lrwxrwxrwx. 1 root root 34 12 jun 21:36 libec_missing_entry_point.so -> libec_missing_entry_point.so.0.0.0 lrwxrwxrwx. 1 root root 34 12 jun 21:36 libec_missing_entry_point.so.0 -> libec_missing_entry_point.so.0.0.0 -rwxr-xr-x. 1 root root 5944 14 mei 17:44 libec_missing_entry_point.so.0.0.0 Kind regards, Erik. On 06/15/2014 09:47 AM, Loic Dachary wrote: > Hi Erik, > > Did you upgrade the cluster or is it a new cluster ? Could you > please ls -l /usr/lib64/ceph/erasure-code ? If you're connected on > irc.oftc.net#ceph today feel free to ping me ( loicd ). > > Cheers > > On 14/06/2014 23:25, Erik Logtenberg wrote: >> Hi, >> >> I'm trying to set up an erasure coded pool, as described in the >> Ceph docs: >> >> http://ceph.com/docs/firefly/dev/erasure-coded-pool/ >> >> Unfortunately, creating a pool like that gives me the following >> error: >> >> # ceph osd pool create ecpool 12 12 erasure Error EINVAL: cannot >> determine the erasure code plugin because there is no 'plugin' >> entry in the erasure_code_profile {}failed to load plugin using >> profile default >> >> I noticed that the default profile appears to be empty: >> >> # ceph osd erasure-code-profile get default # >> >> I tried setting the default profile right, but I'm not allowed: >> >> # ceph osd erasure-code-profile set default plugin=jerasure >> technique=reed_sol_van k=2 m=1 Error EPERM: will not override >> erasure code profile default >> >> So I set a new profile with the same configuration: >> >> # ceph osd erasure-code-profile set k2m1 plugin=jerasure >> technique=reed_sol_van k=2 m=1 # ceph osd erasure-code-profile >> get k2m1 directory=/usr/lib64/ceph/erasure-code k=2 m=1 >> plugin=jerasure technique=reed_sol_van >> >> So, that worked :) >> >> However, I still can't use it to create a pool: >> >> # ceph osd pool create test123 100 100 erasure k2m1 Error EIO: >> failed to load plugin using profile k2m1 >> >> I double checked that the directory is correct, and it is: >> >> # ls -al /usr/lib64/ceph/erasure-code/libec_jerasure.so >> lrwxrwxrwx. 1 root root 23 12 jun 21:36 >> /usr/lib64/ceph/erasure-code/libec_jerasure.so -> >> libec_jerasure.so.2.0.0 >> >> It does contain the jerasure library, so now I'm at a loss. What >> am I doing wrong? By the way, this is ceph-0.80.1. >> >> Thanks, >> >> Erik. _______________________________________________ ceph-users >> mailing list ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com