Re: [ceph-users] I can't create new pool in my cluster.

2017-02-10 Thread choury
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 :
> 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 :
>> # 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 :
>>> What did you exactly do?
>>>
>>> On Fri, Feb 10, 2017 at 11:48 AM, 周威  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


Re: [ceph-users] I can't create new pool in my cluster.

2017-02-09 Thread choury
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 :
> # 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 :
>> What did you exactly do?
>>
>> On Fri, Feb 10, 2017 at 11:48 AM, 周威  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


Re: [ceph-users] I can't create new pool in my cluster.

2017-02-09 Thread choury
# 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 :
> What did you exactly do?
>
> On Fri, Feb 10, 2017 at 11:48 AM, 周威  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


Re: [ceph-users] I can't create new pool in my cluster.

2017-02-09 Thread Shinobu Kinjo
What did you exactly do?

On Fri, Feb 10, 2017 at 11:48 AM, 周威  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


[ceph-users] I can't create new pool in my cluster.

2017-02-09 Thread 周威
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