Bug #27950
closedBroken agent postinst on RPM servers
Description
When installing a server on RHEL9 (ans likyly all other RPM-based systems), the postinst hangs and consumes a lot of resources, with a lot of rudder agent update processes, started in a loop until the installation crashes (too to OOM killer).
This is due to the changes made in #27687 to accomodate the HTTPS-only bootstrap process. The problem is that the policy reset cannot be made, and the creterie for avoiding the loop is the presence of a promises.cf file.
The root cause lies in differences of package installation behavior of dependencies. With dpkg, the server file are installed before the agent postinst is started, allowing the policies reset to work as expected. On RPM systems, the initial-promises folder used on root is not there, leading to a loop.
Updated by Alexis Mousset 11 months ago
- Related to Architecture #27687: We should not use bootstrap policies in HTTPS mode added
Updated by Alexis Mousset 11 months ago
- Description updated (diff)
- Category set to Agent
- Target version set to 9.0.2
Updated by Alexis Mousset 11 months ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset 11 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder-agent/pull/446
Updated by Alexis Mousset 11 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-agent|12e593a4f8e7d9fef5ab981747869f62eb146576.
Updated by Martin HART 10 months ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ 10 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 9.0.2 which was released today.