Actions
Task #5787
closedHave workers auto-set their own names to not require users to set them
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 62
Quarter:
Description
Problem¶
Managing worker names is not really important to users, but they have to think about it
Solution¶
1) Remove the -n reserved-resource-worker-%i@%%h
from https://github.com/pulp/ansible-pulp/blob/master/roles/pulp-workers/templates/pulpcore-worker%40.service.j2#L18 and the documentation.
2) Have the worker set it's own name here and if it's not named as "resource-manager" then make the worker name "pulpcore-worker-UUID" where UUID is a uuid4().
Actions
Workers now auto-name {pid}@{hostname}
Requiring users to specify a name for task workers was difficult and not productive. Having workers auto-name as {pid}@{hostname} is much easier to operate.
This also updates the docs to match.
https://pulp.plan.io/issues/5787 closes #5787