Hi,

connect to the ceph-node1 machine and run : ceph daemon mon.ceph-node1 config 
set mon_allow_pool_delete true

You are just using the wrong parameter as an ID

JC

> On Mar 1, 2018, at 07:41, Max Cuttins <m...@phoenixweb.it> wrote:
> 
> I get:
> 
> #ceph daemon mon.0 config set mon_allow_pool_delete true
> admin_socket: exception getting command descriptions: [Errno 13] Permission 
> denied
> 
> 
> Il 01/03/2018 14:00, Eugen Block ha scritto:
>> It's not necessary to restart a mon if you just want to delete a pool, even 
>> if the "not observed" message appears. And I would not recommend to 
>> permanently enable the "easy" way of deleting a pool. If you are not able to 
>> delete the pool after "ceph tell mon ..." try this:
>> 
>> ceph daemon mon.<YOUR_MON> config set mon_allow_pool_delete true
>> 
>> and then retry deleting the pool. This works for me without restarting any 
>> services or changing config files.
>> 
>> Regards
>> 
>> 
>> Zitat von Ronny Aasen <ronny+ceph-us...@aasen.cx>:
>> 
>>> On 01. mars 2018 13:04, Max Cuttins wrote:
>>>> I was testing IO and I created a bench pool.
>>>> 
>>>> But if I tried to delete I get:
>>>> 
>>>>    Error EPERM: pool deletion is disabled; you must first set the
>>>>    mon_allow_pool_delete config option to true before you can destroy a
>>>>    pool
>>>> 
>>>> So I run:
>>>> 
>>>>    ceph tell mon.\* injectargs '--mon-allow-pool-delete=true'
>>>>    mon.ceph-node1: injectargs:mon_allow_pool_delete = 'true' (not
>>>>    observed, change may require restart)
>>>>    mon.ceph-node2: injectargs:mon_allow_pool_delete = 'true' (not
>>>>    observed, change may require restart)
>>>>    mon.ceph-node3: injectargs:mon_allow_pool_delete = 'true' (not
>>>>    observed, change may require restart)
>>>> 
>>>> I restarted all the nodes.
>>>> But the flag has not been observed.
>>>> 
>>>> Is this the right way to remove a pool?
>>> 
>>> i think you need to set the option in the ceph.conf of the monitors.
>>> and then restart the mon's one by one.
>>> 
>>> afaik that is by design.
>>> https://blog.widodh.nl/2015/04/protecting-your-ceph-pools-against-removal-or-property-changes/
>>>  
>>> 
>>> kind regards
>>> Ronny Aasen
>>> _______________________________________________
>>> 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 mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to