Project

Profile

Help

Issue #1127

closed

Incorrect error message when sync fails with Permission Denied

Added by igulina@redhat.com over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.7.0 Beta
Platform Release:
OS:
RHEL 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

>> rpm -qa pulp-server
pulp-server-2.7.0-0.4.beta.el7.noarch

Verifying #995
1. Download https://pulp.plan.io/attachments/download/124/repo.tar.gz
2. unzip anywhere, there will be a repo named "zoo5"
3. create rpm repo with --feed=file:///path/to/zoo5
4. sync this repo
5 get error:

Task Failed
Error retrieving metadata: Not found

6. sync with -vv option:

"traceback": "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 394, in call\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in protected_call\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/sync.py\", line 93, in sync\n call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/sync.py\", line 147, in _do_sync\n sync_report = sync_repo(transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 559, in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/importer.py\", line 66, in sync_repo\n report = self._current_sync.run()\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py\", line 178, in run\n # was not able to find any valid url\nPulpCodedException: Error retrieving metadata: Not found\n",

Also available in: Atom PDF