Actions
Bug #10547
closedCannot insert a directive via the API in Rudder 4.1
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
36
Name check:
Fix check:
Regression:
Description
cat /tmp/xy {"displayName": "Manage keys-values in file /tmp/manage-key-value", "parameters": {"section": {"sections": [{"section": {"sections": [{"section": {"name": "File", "vars": [{"var": {"name": "MANAGE_KEY_VALUE_FILEPATH", "value": "/tmp/manage-key-value"}}, {"var": {"name": "MANAGE_KEY_VALUE_KEY", "value": "key"}}, {"var": {"name": "MANAGE_KEY_VALUE_SEPARATOR", "value": "="}}, {"var": {"name": "MANAGE_KEY_VALUE_VALUE", "value": "value"}}]}}], "name": "File to manage"}}], "name": "sections"}}, "techniqueName": "manageKeyValueFile", "shortDescription": "", "techniqueVersion": "1.0", "longDescription": "Set key=value in this file"} curl https://localhost:8381/rudder/api/latest/directives -H "X-API-Version: latest" -H "X-API-Token: rQkfnBmpqIjdreVh8FjaKmO4mv6at2xd" -k -X PUT -d @/tmp/xy -H "Content-Type: application/json" -> 404: Could not extract values from request. <pre> There is no apache error log, no webapp log and one access log <pre> 10.0.2.2 - - [31/Mar/2017:14:29:58 +0000] "PUT /rudder/api/latest/directives HTTP/1.1" 404 1850 "-" "curl/7.38.0" </pre> Note that the same request works on 4.0
Updated by Benoît PECCATTE over 7 years ago
- Description updated (diff)
- Category set to API
- Target version set to 4.1.1
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/1622
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|fb1f7abb59a793ef2cfac70b2111770d1d2c7216.
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.1 which was released today.
- 4.1.1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions