Pulp3's systemd unit names should not conflict with Pulp2's systemd unit names
Pulp2 uses the following systemd unit names: 'pulp_resource_manager', 'pulp_workers' among others.
Pulp3 also needs those same components and uses 'pulp_resource_manager' and 'pulp_workers' also. per the docs
Solution: Have Pulp3 change¶
Pulp would switch to 'pulp3_resource_manager' and 'pulp3_worker@1', pulp3_worker@2.
Solution: Have Pulp2 change¶
Pulp would switch to 'pulp2_resource_manager' and 'pulp2_workers'.
Solution: Leave them conflicting and the user avoids through configuration¶
This option would have a documentation note that if these systemd names conflict with your system, perhaps due to a Pulp2 install already there, that you can rename the unit names and that is OK.
Also we would need to add a variable for this to the Ansible installer so automated installs could also do the same thing.
Update to latest ansible-pulp3
This is primarily to pick up the systemd name changes that came with this change https://github.com/pulp/ansible-pulp3/pull/75/files
#3 Updated by email@example.com over 1 year ago
IMO we should do both Option 1 and Option 3.
The default should not conflict with Pulp2, but users should also be able configure it. Completing Option 1 should be an RC blocker, but completing Option 3 should be added as a separate story and does not need to be an RC blocker, and will be backwards compatible.
#7 Updated by firstname.lastname@example.org over 1 year ago
Using hyphens for names in Linux is far more conventional and convenient that underscores. Let's resolve the conflict and improve the naming all at once by naming the pulp3 services: pulp-resource-manager and pulp-worker@1 and not rename pulp2 services.
#13 Updated by email@example.com over 1 year ago
- Status changed from ASSIGNED to POST
#17 Updated by firstname.lastname@example.org over 1 year ago
Applied in changeset ansible-pulp3|bed4454648947132e2e588d62183737b0f195cb9.
#19 Updated by email@example.com over 1 year ago
Applied in changeset pulp_file:5c690a5d292e56bd1829aff7ee2c53df6d00345f.
#20 Updated by firstname.lastname@example.org over 1 year ago
Applied in changeset plugin_template|bfa275912708357be33b66047544cebd30cd982d.
#24 Updated by email@example.com over 1 year ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_docker:pulp_docker|db43c4ce9b62d36a3acf20ef62ca046c9cc7cbe9.
#27 Updated by firstname.lastname@example.org over 1 year ago
Applied in changeset pulp_python:69696b6774cd34691ff5e20c4dfea61a0e681f00.
#29 Updated by email@example.com over 1 year ago
Applied in changeset pulp_docker:db43c4ce9b62d36a3acf20ef62ca046c9cc7cbe9.
#31 Updated by firstname.lastname@example.org over 1 year ago
Applied in changeset ansible_plugin:pulp_ansible|084175d1c428d5ad6821b510ff86354def3fa684.
Please register to edit this issue