Bug #23482
closed
Error when trying to add a JSON property to node
Added by Michel BOUISSOU about 1 year ago.
Updated about 1 year ago.
Category:
Web - Nodes & inventories
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
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
- Related to Bug #23472: error when create, modify or delete a properties on group 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.
- 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”.
- Related to Bug #23454: Cannot override global property in Rudder 8.0 beta 3 added
- Status changed from New to In progress
- Assignee set to Raphael GAUTHIER
- 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
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.0.0~beta3 which was released today.
Also available in: Atom
PDF