Timeouts when displaying any actions in the schedule tab of the web-UI after migrating to 4.2
This document (000020374) is provided subject to the disclaimer at the end of this document.
SUSE Manager 4.2
After an apparently successful migration of SUSE Manager from a previous version (4.0 or 4.1) to 4.2, some timeouts messages can be found when browsing to any of the actions of the "Schedule" menu on the left column of the web-UI, such as "pending actions", "failed actions" or "completed actions". The exact message of the error says "Request has timed out, please reload the page". The same error can be found in other sections of the web-UI, such as "System list" -> "Requiring reboot", and could be in other places without having been detected yet. The problem makes the sections unusable.
Customers should run as root the following command.
In case the problems are not fixed immediately, a reboot of the services would be suggested afterwards:
In the customer cases seen so far, Postgres was throwing messages to the logs regarding a query being forcibly closed, presumably this query was taking too long. This problem started happening only after 9.8, very likely after the migration. The query uses rhnUserActionOverview view and the web_contact table, which had a wrong value of 0 rows of length. The solution suggested triggers a postgres statistics refresh, and has been included as a part of the next maintenance update (which means in the very near future customers should not need to apply this workaround manually), as it also helps with the performance after many writes in the database (which is particularly important after the migration).
Reported to Engineering
Customer should expect the fix being automatically applied to versions 4.2.2 and higher.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020374
- Creation Date:
- Modified Date:02-Sep-2021
< Back to Support Search
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org