Clean up code + ansible scripts
General
Escalation
General
Escalation
Description
How to test
Docker way upgrade tests needed
How to document
None
Activity
Show:
Puneet Kala December 16, 2024 at 9:30 AM
Closing this, if something is broken in upgrade, we will log a bug about this and work on it, closing this
Done
Details
Details
Assignee
Unassigned
UnassignedReporter
Nurlan Moldomurov
Nurlan MoldomurovPriority
Labels
Needs QA
Yes
Needs Doc
No
Planned Version/s
Fix versions
Story Points
3
Due date
Jan 31, 2025
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created October 31, 2023 at 1:45 PM
Updated January 31, 2025 at 2:46 PM
Resolved December 16, 2024 at 9:31 AM
We need to cleanup ansible scripts to remove any usage of root user during runtime.
This relates only to the `runtime` playbooks and tasks, therefore the `build time` ones can be run by the root user as needed. That said, `upgrade` scripts are in the scope of this ticket.
Apart from that, there is quite some legacy, that is no longer relevant or even used. That needs to be cleaned up too.
Out of scope:
Remove pmm-update usage and replace pmm-update-perform-init to run ansible from pmm-managed-init on server start. (extracted to a separate ticket PMM-13483)