<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2019 at 12:50 PM Austin Macdonald <<a href="mailto:amacdona@redhat.com">amacdona@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">There is some additional work to be done with the installer</div><div dir="ltr"><a href="https://pulp.plan.io/issues/4187#note-3" target="_blank">https://pulp.plan.io/issues/4187#note-3</a></div><div dir="ltr"><br></div><div>I've created a new story for the installer to allow a user to override the default and specify whatever name they choose for each component.</div><div><a href="https://pulp.plan.io/issues/4497" target="_blank">https://pulp.plan.io/issues/4497</a></div></div></div></blockquote><div><br></div><div>Sorry to be a bit of nacker here, but I don't want to set my own naming conventions. And, as a project, I wouldn't want users overriding that either. The less opinionated you are the harder the supportability, as you are introducing variations that any user or developer has to parse to understand the issue.</div><div><br></div><div>The changing of Pulp 2's service names seems the least invasive as they would be changed in the RPM spec files and automatically updated when that version was installed. This gives Pulp 3+ the cleanest flexibility going forward and more clearly identifies legacy components.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2019 at 12:32 PM Eric Helms <<a href="mailto:ehelms@redhat.com" target="_blank">ehelms@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">If I read the solution as hyphens vs underscores as implemented in ansible-pulp3 today then yes, it's still very confusing which is which.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2019, 12:25 PM David Davis <<a href="mailto:daviddavis@redhat.com" target="_blank">daviddavis@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">I agree with rchan and am thus leaning towards option 2. </div><div dir="ltr"><br></div><div dir="ltr">Just to be clear though, we renamed pulp 3’s services recently to avoid conflict[0] with pulp 2. However, it sounds like this solution isn’t good enough as it’s hard for users to identify which set of services go with which version of pulp?<div><br><div><div dir="ltr" class="gmail-m_8290807578166128791gmail-m_-2517033003992550971m_913265981038766319gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>[0] <a href="https://pulp.plan.io/issues/4187" rel="noreferrer" target="_blank">https://pulp.plan.io/issues/4187</a><br></div><div><br></div><div>David<br></div></div></div></div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2019 at 11:55 AM Robin Chan <<a href="mailto:rchan@redhat.com" rel="noreferrer" target="_blank">rchan@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>See comment below on option 2.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2019 at 11:31 AM Eric Helms <<a href="mailto:ehelms@redhat.com" rel="noreferrer" target="_blank">ehelms@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Howdy,<div><br></div><div>In some migration of Pulp 2 to Pulp 3 cases, both will need to be ran side-by-side on the same box. Given that pulp workers and pulp resource manager are the same concept in both, this leads to their systemd resources being named the same (or in today's case so slightly different enough you can't tell them apart). </div><div><br></div><div>I'd like to propose a change to the service names to facilitate this situation.</div><div><br></div><div><br></div><div>Option 1: Include Pulp version in Pulp 3 services</div><div><br></div><div>Example: pulp3-resource-manager</div><div><br></div><div>Pro: Explicit naming and understanding of new services.</div><div><br></div><div>Con: This locks services names to Pulp version, which will be odd with semantic versioning if 4 or 5 comes along.</div><div><br></div><div><br></div><div>Option 2: Re-name Pulp 2 services to pulp2-</div><div><br></div><div>Example: pulp2-resource-manager</div><div><br></div><div>Pro: Explicitly identifies pulp2 services, easy to retro-fit by users onto their setups or through RPM releases.</div><div><br></div><div>Con: Requires users to have upgraded to at least a particular Pulp2 version to migrate to Pulp 3 (this may be required anyway).</div></div></blockquote><div>[rchan] My expectation is that we will levy this requirement on upgrades/migrations anyway, so I don't think this con applies for this suggestion.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" rel="noreferrer" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote></div></div>
_______________________________________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" rel="noreferrer" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote></div>
</blockquote></div></div>