Project

Profile

Help

Issue #1556

closed

Not able install rpm from an uploaded repo

Added by pthomas@redhat.com about 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Not able to install rpm from a repo with rpm uploaded and pulished

1. Create a repo
2. Upload a rpm and publish the repo
3. Register a consumer/bind the repo to the the consumer
4. Run rpm install

[root@mgmt6 ~]# pulp-admin rpm consumer package install run   --consumer-id mypulp -n pulp-dot
Install task created with id [ 1c306224-ef7e-4668-ace2-de40fea2b1bb ]

This command may be exited via ctrl+c without affecting the request.

Refresh Repository Metadata             [ OK ]
Downloading Packages                    [ FAILED ]

Install Failed

[u'Errors were encountered while downloading packages.',
u'pulp-dot-2.0-test-0.1.2-1.fc11.x86_64: failure:
4995dc91-dd73-4d22-9f7b-df22e4666511 from upload: [Errno 256] No more mirrors to
try.']
Jan 19 16:57:49 mgmt6 pulp: pulp.server.agent.direct.services:INFO: (23478-98976) {'reboot': {'scheduled': False, 'details': {}}, 'details': {'rpm': {'details': {'message': "[u'Errors were encountered while downloading packages.', u'pulp-dot-2.0-test-0.1.2-1.fc11.x86_64: failure: 4995dc91-dd73-4d22-9f7b-df22e4666511 from upload: [Errno 256] No more mirrors to try.']", 'trace': 'Traceback (most recent call last):\n\n  File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 61, in install\n    _report = handler.install(conduit, units, dict(options))\n\n  File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 100, in install\n    details = pkg.install(names)\n\n  File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 159, in install\n    yb.processTransaction()\n\n  File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 604, in processTransaction\n    YumBase.processTransaction(self, callback, rpmDisplay=display)\n\n  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 5046, in processTransaction\n    pkgs = self._downloadPackages(callback)\n\n  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 5081, in _downloadPackages\n    raise Errors.YumDownloadError, errstr\n\nYumDownloadError: [u\'Errors were encountered while downloading packages.\', u\'pulp-dot-2.0-test-0.1.2-1.fc11.x86_64: failure: 4995dc91-dd73-4d22-9f7b-df22e4666511 from upload: [Errno 256] No more mirrors to try.\']\n'}, 'succeeded': False}}, 'succeeded': False, 'num_changes': 0}
>

Also available in: Atom PDF