Red Hat Bugzilla – Bug 1310564
DELETE request for a pool errors out with "405 METHOD NOT ALLOWED"
Last modified: 2016-03-01 06:17:02 EST
Description of problem:
While invoking DELETE for storage pool returns with "405 METHOD NOT ALLOWED"
Version-Release number of selected component (if applicable):
Trying to invoke, DELETE http://<mon node>:8002/api/<ver>/cluster/<fsid>/pool/<id> from USM ceph provider. USM ceph provider invokes a dummy URL first to get the CSRF token for the calamari server and passes the same for this request.
The simulation steps are as below -
1. Create a cluster using MON and OSD nodes
2. Create a storage pool in the cluster
3. Try to delete the storage pool
The error "405 METHOD NOT ALLOWED" is thrown from calamari
The deletion of storage pools should work without any error.
It was an issue how the REST api was invoked.
Works fine now..