Fix duplicate headless services - #473
Conversation
These are <role>-<job>-set and <role>-set. When using the `service_name` key in an specific job, in order to rename the svc´s, having both headless svc´s will lead to duplicate svc´s . Also, the <role>-<job>-set is not widely used, and only a reference to it is found in: - https://github.com/SUSE/scf/blob/develop/container-host-files/etc/scf/config/role-manifest.yml#L2241
|
✅ Hey qu1queee! The commit authors and yourself have already signed the CLA. |
|
I would like to see a CI build of SCF that passes tests with this change to fissile before merging it into |
|
This will not work when renaming the services for |
|
Yes, this will require additional work. This name conflict is the reason we renamed some roles, e.g. |
|
The |
Current setup will generate two headless svc´s, these are
<role>-<job>-setand<role>-set.When using the
service_namekey in an specific job, in order to rename the svc´s, having both headless svc´s will lead to duplicate svc´s .A more precise example is the
natsrole. Without using theservice_namekey in aninstance_groupjob, the headless svcs will be:When using the
service_namekey, to enforce the name ofuaa. the headless svcs will be:which will lead to the svc´s duplication.
After speaking with @viovanov about this, he mentioned that the the
<role>-<job>-setsvc, is not widely used, and only a reference to it is found in:Therefore this PR to remove the
<role>-<job>-setsvc .