Skip to content

Instantly share code, notes, and snippets.

@twaugh
Created January 25, 2016 17:05
Show Gist options
  • Save twaugh/f29af2b5b387bf90c989 to your computer and use it in GitHub Desktop.
Save twaugh/f29af2b5b387bf90c989 to your computer and use it in GitHub Desktop.
This is a traceback I got while testing https://github.com/pulp/pulp_docker/pull/119
Task pulp.server.managers.repo.sync.sync[a7dc43a2-242a-4fce-91e0-0e62d1215c11] raised unexpected: IOError(2, 'No such file or directory')
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 328, in __call__
return super(Task, self).__call__(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/sync.py", line 110, in sync
call_config)
File "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/sync.py", line 164, in _do_sync
sync_report = sync_repo(transfer_repo, conduit, call_config)
File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 495, in wrap_f
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/importer.py", line 85, in sync_repo
return self.sync_step.sync()
File "/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/sync.py", line 87, in sync
self.process_lifecycle()
File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 503, in process_lifecycle
super(PluginStep, self).process_lifecycle()
File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 127, in process_lifecycle
step.process()
File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 204, in process
self._process_block()
File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 246, in _process_block
self.process_main()
File "/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/v1_sync.py", line 268, in process_main
with open(os.path.join(self.working_dir, image_id, 'json')) as json_file:
IOError: [Errno 2] No such file or directory: u'/var/lib/pulp/working/repos/my-repository/importers/docker_importer/tmpuLHPEA/fc2833ee41aeca92af1e02590efec3ddd97f4357434752812015902156e63392/json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment