I've figured out the reason and committed a patch
https://github.com/ceph/ceph/pull/13357

2017-02-10 11:08 GMT+08:00 choury <zhouwei...@gmail.com>:
> I can find some log in ceph-mon.log  about this:
>
>> 2017-02-10 10:47:54.264026 7f6a6eff4700  0 mon.ceph-test2@1(peon) e9 
>> handle_command mon_command({"prefix": "osd pool create", "pg_num": 128, 
>> "pool": "test"} v 0) v1
>> 2017-02-10 10:47:54.264132 7f6a6eff4700  0 log_channel(audit) log [INF] : 
>> from='client.? 10.50.83.69:0/2498128365' entity='client.admin' 
>> cmd=[{"prefix": "osd pool create", "pg_num": 128, "pool": "test"}]: dispatch
>
> 2017-02-10 10:59 GMT+08:00 choury <zhouwei...@gmail.com>:
>> # ceph osd pool create test 128
>> Error EINVAL: error running crushmap through crushtool: (1) Operation
>> not permitted
>>
>> # rados mkpool test
>> error creating pool test: (22) Invalid argument
>>
>> 2017-02-10 10:53 GMT+08:00 Shinobu Kinjo <ski...@redhat.com>:
>>> What did you exactly do?
>>>
>>> On Fri, Feb 10, 2017 at 11:48 AM, 周威 <zhouwei...@gmail.com> wrote:
>>>> The version I'm using is 0.94.9
>>>>
>>>> And when I want to create a pool, It shows:
>>>>
>>>> Error EINVAL: error running crushmap through crushtool: (1) Operation
>>>> not permitted
>>>>
>>>> What's wrong about this?
>>>> _______________________________________________
>>>> 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

Reply via email to