Project

General

Profile

Bug #15812

Syncing a PULP_MANIFEST puppet repo over file:// fails with No such file or directory: u'///dir/modules.json'

Added by Brad Buckingham almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1215731
Description of problem:

Following http://www.katello.org/docs/2.1/user_guide/puppet_integration/index.html
to generate a PULP_MANIFEST style repo and sync it works fine unless you use a file:// url to perform the sync.
If you do, the sync errors with:
"FileRetrievalException: [Errno 2] No such file or directory: u'///var/www/html/puppetsync/modules.json'",
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 328, in call
return super(Task, self).__call__(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/celery/app/trace.py", line 437, in protected_call
return self.run(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py", line 114, in sync
raise PulpExecutionException(_('Importer indicated a failed response'))
Version-Release number of selected component (if applicable):
pulp-server-2.6.0.1-1.beta.1.el6_6sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. Use pulp-puppet-module-builder to generate a PULP_MANIFEST style puppet repo
2. Attempt to sync the repo using a file:// url
Actual results:
Failure
Expected results:
Success
Additional info:

Related issues

Blocks Katello - Tracker #15825: Sprint 1 : Content-FocusedNew2016-07-24

Associated revisions

Revision d72f8c10 (diff)
Added by David Davis almost 3 years ago

Fixes #15812 - How to set selinux labels on puppet repos

Revision 54916095
Added by David Davis almost 3 years ago

Merge pull request #291 from daviddavis/temp/20160812134145

Fixes #15812 - How to set selinux labels on repos

History

#1 Updated by Brad Buckingham almost 3 years ago

#2 Updated by Justin Sherrill almost 3 years ago

  • Subject changed from Syncing a PULP_MANIFEST puppet repo over file:// fails with No such file or directory: u'///dir/modules.json' to Syncing a PULP_MANIFEST puppet repo over file:// fails with No such file or directory: u'///dir/modules.json'
  • Priority changed from High to Normal

#3 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 162
  • Difficulty set to medium

#4 Updated by David Davis almost 3 years ago

  • Bugzilla link deleted (1215731)

#5 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello.org/pull/291 added

#6 Updated by David Davis almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF