Member-only story
Ceph: Let’s delete everything, Part 1
Deleting Ceph Object Gateway
So far we created, created and created. Now delete everything.
We deployed a Ceph cluster and create pools and rbd images, file systems and object gateways. But we never delete anything yet. Now, we want to delete everything.
Ceph Object Gateway
Let’s start with object gateway. First we will delete buckets. From the Ceph dashboard, we can check list of buckets.
We can also delete buckets in the dashboard itself. To delete test-bucket bucket using command, we can use the following command.
sudo radosgw-admin bucket rm --bucket="test-bucket"
Now, let’s delete users. We can use the dashboard for user deletion.
To get a user list on terminal, use
sudo radosgw-admin user list
To delete users, use radosgw user rm.
sudo radosgw-admin user rm --uid=rgw-dev
sudo radosgw-admin user rm --uid=rgw_system
We did not delete the dashboard user. This user was automatically created when we…