Bug #8163
closedError when clicking on Node details
Description
Just upgraded a lab server to 3.1.8, clicked on the first node in the list, and the browser-popup told me the server could not be contacted.
In the webapp logs I found this lines:
[2016-04-08 11:54:27] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /ajax_request/F439148153336UM0RAG-00/ net.liftweb.json.JsonParser$ParseException: unknown token d Near: 7d2 [2016-04-08 11:54:29] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /ajax_request/F439148153336UM0RAG-00/ net.liftweb.json.JsonParser$ParseException: unknown token d Near: 7d2
Any idea?
Updated by Janos Mattyasovszky over 8 years ago
This I have found with "7d2" in the logs:
Pre-Update (still on 3.1.4):
./2016_04_06.stderrout.log:[2016-04-07 00:25:35] INFO com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'servername-7d28f523-c0ea-45c1-88a7-ad2f342e09e4.ocs' ./2016_04_06.stderrout.log:[2016-04-07 00:25:37] INFO com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'servername-7d28f523-c0ea-45c1-88a7-ad2f342e09e4.ocs' parsed in 1 second and 217 milliseconds, now checking signature ./2016_04_07.stderrout.log:[2016-04-08 00:25:45] INFO com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'servername-7d28f523-c0ea-45c1-88a7-ad2f342e09e4.ocs' ./2016_04_07.stderrout.log:[2016-04-08 00:25:46] INFO com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'servername-7d28f523-c0ea-45c1-88a7-ad2f342e09e4.ocs' parsed in 915 milliseconds, now checking signature ./2016_04_08.stderrout.log.095050642:[2016-04-08 11:45:05] INFO com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [e37f6a1c-b9fb-4255-bc7a-02bd30b3287e, cb82f211-cbf0-4bb0-8059-1c2776432e76, 7d28f523-c0ea-45c1-88a7-ad2f342e09e4, 296ab77f-19da-4e28-9b72-fbaceefdfc2d, root, 996295be-71e7-4b3e-9f00-d058b0529c14] ./2016_04_08.stderrout.log.095050642:[2016-04-08 11:45:16] INFO com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [e37f6a1c-b9fb-4255-bc7a-02bd30b3287e, cb82f211-cbf0-4bb0-8059-1c2776432e76, 7d28f523-c0ea-45c1-88a7-ad2f342e09e4, 296ab77f-19da-4e28-9b72-fbaceefdfc2d, root, 996295be-71e7-4b3e-9f00-d058b0529c14] ./2016_04_08.stderrout.log.095050642:[2016-04-08 11:45:23] INFO com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl - Configuration of following nodes were updated, their promises are going to be written: [e37f6a1c-b9fb-4255-bc7a-02bd30b3287e, cb82f211-cbf0-4bb0-8059-1c2776432e76, 7d28f523-c0ea-45c1-88a7-ad2f342e09e4, 296ab77f-19da-4e28-9b72-fbaceefdfc2d, root, 996295be-71e7-4b3e-9f00-d058b0529c14] ./2016_04_08.stderrout.log.095050642:/bin/chmod: cannot access `/var/rudder/share/7d28f523-c0ea-45c1-88a7-ad2f342e09e4/rules.new/cfengine-community': No such file or directory
Post-Update (on 3.1.8):
./2016_04_08.stderrout.log:Near: 7d2 ./2016_04_08.stderrout.log:Near: 7d2
This 'servername' with the GUID '7d28f523-c0ea-45c1-88a7-ad2f342e09e4' is also the node I clicked on the GUI.
After clicking again, it did not behave this way and loaded the page for that node.
Updated by Vincent MEMBRÉ over 8 years ago
Did it happened right after the update ?
Maybe some javascript was not updated ...
Did the error popup appear on the "Node details" page, or did was it displayed on the "Nodes List" pahe
Updated by Janos Mattyasovszky over 8 years ago
It happened right after I clicked on the magnification icon, while loading the node details page.
It did not happen after that.
I will click around some more, and if I cannot reproduce it, I will close it and blaim it on JS not being updated ;-)
Updated by Nicolas CHARLES over 8 years ago
- Category set to Web - Nodes & inventories
- Target version set to 3.1.10
i upgraded from 3.0.15 to 3.1.9, and got the same issue
[2016-04-13 10:19:00] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /ajax_request/F670092826326KVNSGP-00/ net.liftweb.json.JsonParser$ParseException: expected boolean Near: f14
URL is
https://192.168.42.2/rudder/secure/nodeManager/searchNodes#{"nodeId":"f14492fa-782c-424c-8886-86aa1d418e38","query":{"select":"node","composition":"And","where":[{"objectType":"node","attribute":"OS","comparator":"eq","value":"Linux"}]}}
reloading the page solves the issue
I strongly suspect a bad JS cache, as it happend only on Chrome
Updated by Nicolas CHARLES over 8 years ago
- Status changed from New to Rejected
I'm rejecting it, as it occurs only once, with browser that already saw the failing page.
Updated by Benoît PECCATTE over 7 years ago
- Found in version(s) old deleted (
3.1.8)