Hide Forgot
Description of problem: PATCHing the 'name' with non-alphanumeric characters does not work for crush_rule api. It does not fail and does not change the name also. It should either fail or change the name. Version-Release number of selected component (if applicable):10.1.1-1.el7cp How reproducible: always Steps to Reproduce: 1. PATCH the crush_rule api for name with non-alphanumeric characters. e.g., replicated_ruleset_Test_#!@[ ?; 2. PATCH operation completes with: HTTP 202 ACCEPTED Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, DELETE, HEAD, OPTIONS, PATCH { "request_id": "d4aa85ea-56d4-4758-90d7-13b3f128cd55" } 3. Do GET on this crush rule. Actual results: The name is not changed Expected results: Either change the name or do not accept the command Additional info: Works for "-" and "_"
There probably could be more validation on the front end. Harish would you please check the /api/v2/request endpoint after trying this operation? I suspect you'll see the failure there.
calamari won't ship in rhcs 3.0