Hide Forgot
Description of problem: Kickstarting against a repo set to on demand for its download policy does not work. The kickstart will fail with: error populating transaction after 10 retries: failure Seems to work fine against an http:// repo. More details here: https://pulp.plan.io/issues/2276 Version-Release number of selected component (if applicable): 6.2.2 (pulp 2.8.7) How reproducible: always Steps to Reproduce: 1. Create a repository pointing somewhere on the filesystem (file:///foo/bar) that contains a kickstart tree 2. Sync the repo 3. Try to kickstart against the tree Actual results: Failure Expected results: Success Additional info:
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
TL;DR from the upstream bug: the design of on-demand content access requires HTTP, so this cannot be supported. If things could fail more gracefully, please comment on the upstream bug with ideas.
Jeff, check out the upstream issue and the questions there. Thanks!
Done.
Justin, it sounds like we'll only make these changes upstream: - document the limitation - enforce the limit with validation I'm not sure Katello or Satellite should depend on either of those. It would probably be best for Katello to also enforce the limit with its own validation. Would you agree? Given all that, I think there are probably no steps for Pulp to take that impact downstream, so this issue can be either closed, or converted to track a Katello validation change. What do you think?
Katello is made to handle pulp validation errors, but the messaging would be better if it were caught in katello. So yes, i'd agree!
Ok, thanks. I'll change the component, remove the pulp redmine issue, and let you katello folks ponder next steps.
re-removing per discussion with @dkliban
Connecting redmine issue http://projects.theforeman.org/issues/22769 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22769 has been resolved.
BZ is resolved as per comment#17 and is no longer blocked on Pulp, thus removing the Pulp issue.
Verifed on Sat 6.4 snap 7, a warning is displayed when attempting to create a repo with file:// url and on demand or background policy, same when editing the policy for existing file repo
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927