Project

General

Profile

Actions

Bug #15812

closed

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

Added by Brad Buckingham about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
medium
Triaged:
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 1 (1 open0 closed)

Blocks Katello - Tracker #15825: Sprint 1 : Content-FocusedNewBrad Buckingham

Actions
Actions #1

Updated by Brad Buckingham about 8 years ago

Actions #2

Updated by Justin Sherrill about 8 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
Actions #3

Updated by Justin Sherrill about 8 years ago

  • Translation missing: en.field_release set to 162
  • Difficulty set to medium
Actions #4

Updated by David Davis about 8 years ago

  • Bugzilla link deleted (1215731)
Actions #5

Updated by The Foreman Bot about 8 years ago

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

Updated by David Davis about 8 years ago

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

Also available in: Atom PDF