https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-03-04T17:49:48ZPulpPulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=18992015-03-04T17:49:48Zcduryeecduryee@redhat.com
<ul><li><strong>Tags</strong> <i>Sprint Candidate</i> added</li></ul> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19022015-03-04T17:58:33Zcduryeecduryee@redhat.com
<ul></ul><p>One idea for credentials would be to create a directory under /etc/pulp, like /etc/pulp/credentials.d, and users would create files of the name <repo-id>.credentials. This would allow users to control the file perms.</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19292015-03-04T20:14:57Zbmbouterbmbouter@redhat.com
<ul></ul><p>Assume that we do put the credentials on the filesystem.</p>
<p>How will any given publish know that it should publish via rsync after publishing it to the filesystem?<br>
How will it know what the target of the rsync will be?<br>
Does the published version stay around on the filesystem after being rsync'd?</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19312015-03-04T20:24:21Zdgregor@redhat.comdgregor@redhat.com
<ul></ul><p>bmbouter wrote:</p>
<blockquote>
<p>Assume that we do put the credentials on the filesystem.</p>
<p>How will any given publish know that it should publish via rsync after publishing it to the filesystem?</p>
</blockquote>
<p>The rsync could be a separate distributor. The user would be responsible for publishing with that distributor when they need the content rsynced.</p>
<blockquote>
<p>How will it know what the target of the rsync will be?</p>
</blockquote>
<p>Configuration of the distributor</p>
<blockquote>
<p>Does the published version stay around on the filesystem after being rsync'd?</p>
</blockquote>
<p>Yes (or at least configurable).</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19382015-03-04T20:44:47Zbmbouterbmbouter@redhat.com
<ul></ul><p>I think having it as a separate distributor makes sense. If we are going through the effort of making a new distributor I'll suggest that we save the username/password and/or ssh key info saved right along with the other attributes.</p>
<p>I think this story needs to be rewritten to describe the deliverables of a new distributor.</p>
<p>Is the idea to introduce the distributor first on the server side by implementing it and exposing it with an API call? The API call need some thought and also the docs would need to be updated for this change.</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19392015-03-04T20:48:11Zdgregor@redhat.comdgregor@redhat.com
<ul></ul><p>bmbouter wrote:</p>
<blockquote>
<p>Is the idea to introduce the distributor first on the server side by implementing it and exposing it with an API call? The API call need some thought and also the docs would need to be updated for this change.</p>
</blockquote>
<p>I believe the API call would be the same as publishing other distributors unless I'm missing something. Exposing the distributor through pulp-admin would require additional work, but that's not needed for my particular use cases.</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19482015-03-04T21:30:12Zbcourtbcourt@redhat.com
<ul></ul><p>I would recommend doing the following:</p>
<p>1) Create an rsync step in the step framework via pulp/server/pulp/plugins/util/publish_step.py<br>
2) Define standard options for a distributor that wants to use this step. All information needed for the export should live in the distributor config, similarly to the way that the certificates required for a sync live in the importer config.<br>
3) Create a new distributor for whichever type of repo you want to perform this publish. For example, in pulp_rpm it would be a new distributor class & a subclass of pulp_rpm.plugins.distributors.yum.publish.BaseYumRepoPublisher that adds the rsync step.</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19502015-03-04T21:37:43Zmhrivnakmhrivnak@redhat.com
<ul></ul><p>We've had requests for other storage options, like S3. We should consider a reasonably generic way to solve this problem, assuming that rsync+ssh won't be the only method of moving published content off-box. We might even support bittorrent with the same workflow.</p>
<p>I like the direction Barnaby is going. Whether this is a step that optionally runs at the end of a publish, or a separate distributor that reads content from some other distributor, is up for debate. The latter has a lot of appeal, but we need to think carefully about how one distributor can reference the output of another in a consistent way.</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19532015-03-04T21:42:11Zcduryeecduryee@redhat.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/1953/diff?detail_id=880">diff</a>)</li></ul> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=19662015-03-05T04:54:30Zmhrivnakmhrivnak@redhat.com
<ul></ul><p>Having given this more thought, I am going to argue tomorrow (Thursday) that we should wait on this feature and do it as part of something much broader, that would likely form the basis of pulp 3.0.</p>
<p>In a nutshell, I think we should consider a publication (the result of a publish operation) to be a first-class object in pulp that users can interact with. They could setup a formal promotion pipeline between repos that would ensure all content in A gets promoted to B in one simple operation, and that A's most recent publication would itself be part of that promotion. Then we can also address the option of making a publication available via rsync, boto to S3, bittorrent, etc. as a front-and-center operation against a publication. I'll share more details in a separate email.</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=20542015-03-06T15:02:14Zmhrivnakmhrivnak@redhat.com
<ul><li><strong>Tags</strong> deleted (<del><i>Sprint Candidate</i></del>)</li></ul> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=20632015-03-06T15:44:40Zdgregor@redhat.comdgregor@redhat.com
<ul></ul><p>mhrivnak wrote:</p>
<blockquote>
<p>Having given this more thought, I am going to argue tomorrow (Thursday) that we should wait on this feature and do it as part of something much broader, that would likely form the basis of pulp 3.0.</p>
<p>In a nutshell, I think we should consider a publication (the result of a publish operation) to be a first-class object in pulp that users can interact with. They could setup a formal promotion pipeline between repos that would ensure all content in A gets promoted to B in one simple operation, and that A's most recent publication would itself be part of that promotion. Then we can also address the option of making a publication available via rsync, boto to S3, bittorrent, etc. as a front-and-center operation against a publication. I'll share more details in a separate email.</p>
</blockquote>
<p>This pipeline idea could also play well with <a href="https://pulp.plan.io/issues/304" class="external">https://pulp.plan.io/issues/304</a> (directly importing exported ISOs)</p> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=355292019-04-05T14:46:42Zamacdona@redhat.comaustin@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 3</i> added</li></ul> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=431512019-04-26T20:40:17Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> deleted (<del><i>Pulp 3</i></del>)</li></ul> Pulp - Story #147: As a pulp user, I would like to publish to an rsync targethttps://pulp.plan.io/issues/147?journal_id=616182020-08-31T14:23:14Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WONTFIX</i></li></ul><p>This is a pulp2 issue, pulp2 is in maintenance mode, only critical bugfixes are accepted</p>