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'
>
> 在 2018年3月1日,下午8:04,Max Cuttins 写道:
>
> 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
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
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. c
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" me
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 wrote:
>
> I get:
>
> #ceph daemon mon.0 config set mon_allow_pool_delete true
> admin_
When dealing with the admin socket you need to be an admin. `sudu` or
`sudo -u ceph` ought to get you around that.
I was able to delete a pool just by using the injectargs that you showed
above.
ceph tell mon.\* injectargs '--mon-allow-pool-delete=true'
ceph osd pool rm pool_name pool_name --yes
and now it worked.
maybe a typo in my first command.
Sorry
Il 01/03/2018 17:28, David Turner ha scritto:
When dealing with the admin socket you need to be an admin. `sudu` or
`sudo -u ceph` ought to get you around that.
I was able to delete a pool just by using the inj