Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1329216 - 2.0: crush_rule API: PATCHing the "op" with any value other than "take" results in "server error (500)"
2.0: crush_rule API: PATCHing the "op" with any value other than "take" resul...
Status: CLOSED WONTFIX
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari (Show other bugs)
2.0
Unspecified Unspecified
unspecified Severity high
: rc
: 3.0
Assigned To: Boris Ranto
ceph-qe-bugs
Bara Ancincova
:
Depends On:
Blocks: 1322504 1383917 1412948
  Show dependency treegraph
 
Reported: 2016-04-21 08:32 EDT by Harish NV Rao
Modified: 2017-07-19 09:25 EDT (History)
5 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-19 09:25:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Harish NV Rao 2016-04-21 08:32:09 EDT
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 Gregory Meno 2016-04-21 13:17:22 EDT
I will check to see why it's crashing
Comment 8 Gregory Meno 2017-07-19 09:25:25 EDT
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.