Bug 1310564 - DELETE request for a pool errors out with "405 METHOD NOT ALLOWED"
Summary: DELETE request for a pool errors out with "405 METHOD NOT ALLOWED"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Calamari
Version: 1.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 1.3.3
Assignee: Christina Meno
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1291304
TreeView+ depends on / blocked
 
Reported: 2016-02-22 09:07 UTC by Shubhendu Tripathi
Modified: 2016-03-01 11:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-01 11:17:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Shubhendu Tripathi 2016-02-22 09:07:49 UTC
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 11:17:02 UTC
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.