Bug #23482
closedError when trying to add a JSON property to node
Description
May be a duplicate of #23472, although #23472 is about groups.
Trying to add a JSON property to a node results in error as seen in attached screenshot.
rudder-agent/bullseye,now 8.0.0~beta3~git202309220211-debian11 amd64 [installed,automatic]
rudder-api-client/bullseye,now 8.0.0~beta3~git202309220211-debian11 amd64 [installed]
rudder-relay/bullseye,now 8.0.0~beta3~git202309220211-debian11 amd64 [installed,automatic]
rudder-server/bullseye,now 8.0.0~beta3~git202309210211-debian11 amd64 [installed]
Files
Updated by Michel BOUISSOU about 1 year ago
- Related to Bug #23472: error when create, modify or delete a properties on group added
Updated by Michel BOUISSOU about 1 year ago
- File save_prop_error_230922b.png save_prop_error_230922b.png added
- File save_prop_error_230922c.png save_prop_error_230922c.png added
Some things look really inconsistent :
- Will fail with « Error when saving node properties, details: The server had a problem, try again later »
=> Apparently when the property name is somewhat long or contains "_" underscores
- May display a message : “JSON check is enabled but the value format is invalid” AND however succeed saving the property.
- May succeed if trying the same value with a property name shorter, without underscores.
Updated by Michel BOUISSOU about 1 year ago
- Severity changed from Critical - prevents main use of Rudder | no workaround | data loss | security to Minor - inconvenience | misleading | easy workaround
- Priority changed from 172 to 128
It appears that the root cause was pasting a property name containing an invisible leading space.
Removing the leading space, things are back in order.
However the produced error message is really misleading, so I leave the bug open and decrease its severity to “minor”.
Updated by Raphael GAUTHIER about 1 year ago
- Related to Bug #23454: Cannot override global property in Rudder 8.0 beta 3 added
Updated by Raphael GAUTHIER about 1 year ago
- Status changed from New to In progress
- Assignee set to Raphael GAUTHIER
Updated by Raphael GAUTHIER about 1 year ago
- Status changed from In progress to Pending technical review
- Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/5055
Updated by Raphael GAUTHIER about 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|e39607fac781ce26a5505850c823e211fd41d2db.
Updated by Vincent MEMBRÉ about 1 year ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.0.0~beta3 which was released today.