Bug 1329216 - 2.0: crush_rule API: PATCHing the "op" with any value other than "take" results in "server error (500)"
Summary: 2.0: crush_rule API: PATCHing the "op" with any value other than "take" resul...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 3.0
Assignee: Boris Ranto
QA Contact: ceph-qe-bugs
Bara Ancincova
URL:
Whiteboard:
Depends On:
Blocks: 1322504 1383917 1412948
TreeView+ depends on / blocked
 
Reported: 2016-04-21 12:32 UTC by Harish NV Rao
Modified: 2017-07-19 13:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.The Calamari API returns the "server error (500)" error when changing the `take` step When changing a CRUSH rule, modifying the `take` step type to any other value than `take` causes the Calamari API to return the "server error (500)" error. To avoid this issue, do not change the `take` step to any other value.
Clone Of:
Environment:
Last Closed: 2017-07-19 13:25:25 UTC


Attachments (Terms of Use)

Description Harish NV Rao 2016-04-21 12:32:09 UTC
Description of problem:

 crush_rule API: PATCHing the "op" with any value other than "take" results in "server error (500)"

Version-Release number of selected component (if applicable):
10.1.1-1.el7cp
calamari-server-1.4.0-0.3.rc7.el7cp.x86_64
salt-2015.5.5-1.el7.noarch
salt-minion-2015.5.5-1.el7.noarch


How reproducible:always


Steps to Reproduce:
1. From the django rest framework, issue a PATCH by providing any value other than "take" for "op".
 :
 :
 "steps": [
        {
            "item_name": "default", 
            "item": -1, 
            "op": "taken"
        }, 
 :
 :

Actual results:
server error (500)

Expected results:
An error message indicating invalid value for "op"

Additional info:

Comment 2 Christina Meno 2016-04-21 17:17:22 UTC
I will check to see why it's crashing

Comment 8 Christina Meno 2017-07-19 13:25:25 UTC
calamari won't ship in rhcs 3.0


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