Hello Loic, Thanks for you help, I’ve take a look to my crush map and I replace "step chooseleaf indep 0 type osd” by "step choose indep 0 type osd” and all PGs was created successfully.
At. Italo Santos http://italosantos.com.br/ On Tuesday, December 16, 2014 at 8:39 PM, Loic Dachary wrote: > Hi, > > The 2147483647 means that CRUSH did not find enough OSD for a given PG. If > you check the crush rule associated with the erasure coded pool, you will > most probably find why. > > Cheers > > On 16/12/2014 23:32, Italo Santos wrote: > > Hello, > > > > I'm trying to create an erasure pool following > > http://docs.ceph.com/docs/master/rados/operations/erasure-code/, but when I > > try create a pool with a specifc erasure-code-profile ("myprofile") the PGs > > became on incomplete state. > > > > Anyone can help me? > > > > Below the profile I created: > > root@ceph0001:~# ceph osd erasure-code-profile get myprofile > > directory=/usr/lib/ceph/erasure-code > > k=6 > > m=2 > > plugin=jerasure > > technique=reed_sol_van > > > > The status of cluster: > > root@ceph0001:~# ceph health > > HEALTH_WARN 12 pgs incomplete; 12 pgs stuck inactive; 12 pgs stuck unclean > > > > health detail: > > root@ceph0001:~# ceph health detail > > HEALTH_WARN 12 pgs incomplete; 12 pgs stuck inactive; 12 pgs stuck unclean > > pg 2.9 is stuck inactive since forever, current state incomplete, last > > acting [4,10,15,2147483647,3,2147483647,2147483647,2147483647] > > pg 2.8 is stuck inactive since forever, current state incomplete, last > > acting [0,2147483647,4,2147483647,10,2147483647,15,2147483647] > > pg 2.b is stuck inactive since forever, current state incomplete, last > > acting [8,3,14,2147483647,5,2147483647,2147483647,2147483647] > > pg 2.a is stuck inactive since forever, current state incomplete, last > > acting [11,7,2,2147483647,2147483647,2147483647,15,2147483647] > > pg 2.5 is stuck inactive since forever, current state incomplete, last > > acting [12,8,5,1,2147483647,2147483647,2147483647,2147483647] > > pg 2.4 is stuck inactive since forever, current state incomplete, last > > acting [5,2147483647,13,1,2147483647,2147483647,8,2147483647] > > pg 2.7 is stuck inactive since forever, current state incomplete, last > > acting [12,2,10,7,2147483647,2147483647,2147483647,2147483647] > > pg 2.6 is stuck inactive since forever, current state incomplete, last > > acting [9,15,2147483647,4,2,2147483647,2147483647,2147483647] > > pg 2.1 is stuck inactive since forever, current state incomplete, last > > acting [2,4,2147483647,13,2147483647,10,2147483647,2147483647] > > pg 2.0 is stuck inactive since forever, current state incomplete, last > > acting [14,1,2147483647,4,10,2147483647,2147483647,2147483647] > > pg 2.3 is stuck inactive since forever, current state incomplete, last > > acting [14,11,6,2147483647,2147483647,2147483647,2,2147483647] > > pg 2.2 is stuck inactive since forever, current state incomplete, last > > acting [13,5,11,2147483647,2147483647,3,2147483647,2147483647] > > pg 2.9 is stuck unclean since forever, current state incomplete, last > > acting [4,10,15,2147483647,3,2147483647,2147483647,2147483647] > > pg 2.8 is stuck unclean since forever, current state incomplete, last > > acting [0,2147483647,4,2147483647,10,2147483647,15,2147483647] > > pg 2.b is stuck unclean since forever, current state incomplete, last > > acting [8,3,14,2147483647,5,2147483647,2147483647,2147483647] > > pg 2.a is stuck unclean since forever, current state incomplete, last > > acting [11,7,2,2147483647,2147483647,2147483647,15,2147483647] > > pg 2.5 is stuck unclean since forever, current state incomplete, last > > acting [12,8,5,1,2147483647,2147483647,2147483647,2147483647] > > pg 2.4 is stuck unclean since forever, current state incomplete, last > > acting [5,2147483647,13,1,2147483647,2147483647,8,2147483647] > > pg 2.7 is stuck unclean since forever, current state incomplete, last > > acting [12,2,10,7,2147483647,2147483647,2147483647,2147483647] > > pg 2.6 is stuck unclean since forever, current state incomplete, last > > acting [9,15,2147483647,4,2,2147483647,2147483647,2147483647] > > pg 2.1 is stuck unclean since forever, current state incomplete, last > > acting [2,4,2147483647,13,2147483647,10,2147483647,2147483647] > > pg 2.0 is stuck unclean since forever, current state incomplete, last > > acting [14,1,2147483647,4,10,2147483647,2147483647,2147483647] > > pg 2.3 is stuck unclean since forever, current state incomplete, last > > acting [14,11,6,2147483647,2147483647,2147483647,2,2147483647] > > pg 2.2 is stuck unclean since forever, current state incomplete, last > > acting [13,5,11,2147483647,2147483647,3,2147483647,2147483647] > > pg 2.9 is incomplete, acting > > [4,10,15,2147483647,3,2147483647,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.8 is incomplete, acting > > [0,2147483647,4,2147483647,10,2147483647,15,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.b is incomplete, acting > > [8,3,14,2147483647,5,2147483647,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.a is incomplete, acting > > [11,7,2,2147483647,2147483647,2147483647,15,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.5 is incomplete, acting > > [12,8,5,1,2147483647,2147483647,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.4 is incomplete, acting > > [5,2147483647,13,1,2147483647,2147483647,8,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.7 is incomplete, acting > > [12,2,10,7,2147483647,2147483647,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.6 is incomplete, acting > > [9,15,2147483647,4,2,2147483647,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.1 is incomplete, acting > > [2,4,2147483647,13,2147483647,10,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.0 is incomplete, acting > > [14,1,2147483647,4,10,2147483647,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.3 is incomplete, acting > > [14,11,6,2147483647,2147483647,2147483647,2,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > pg 2.2 is incomplete, acting > > [13,5,11,2147483647,2147483647,3,2147483647,2147483647] (reducing pool > > ecpool min_size from 6 may help; search ceph.com/docs > > (http://ceph.com/docs) for 'incomplete') > > > > At. > > > > *Italo Santos* > > http://italosantos.com.br/ > > > > > > > > _______________________________________________ > > ceph-users mailing list > > ceph-users@lists.ceph.com (mailto:ceph-users@lists.ceph.com) > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > > -- > Loïc Dachary, Artisan Logiciel Libre > >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com