Bug 1310564 - DELETE request for a pool errors out with "405 METHOD NOT ALLOWED"
DELETE request for a pool errors out with "405 METHOD NOT ALLOWED"
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: rc
: 1.3.3
Assigned To: Gregory Meno
Depends On:
Blocks: 1291304
  Show dependency treegraph
Reported: 2016-02-22 04:07 EST by Shubhendu Tripathi
Modified: 2016-03-01 06:17 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-03-01 06:17:02 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Shubhendu Tripathi 2016-02-22 04:07:49 EST
Description of problem:
While invoking DELETE for storage pool returns with "405 METHOD NOT ALLOWED"

Version-Release number of selected component (if applicable):

How reproducible:
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

Actual results:
The error "405 METHOD NOT ALLOWED" is thrown from calamari

Expected results:
The deletion of storage pools should work without any error.

Additional info:
Comment 2 Shubhendu Tripathi 2016-03-01 06:17:02 EST
It was an issue how the REST api was invoked.
Works fine now..

Note You need to log in before you can comment on or make changes to this bug.