Bug 958941 - Errata install - unable to install errata after unregister/register [NEEDINFO]
Summary: Errata install - unable to install errata after unregister/register
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Pulp
Classification: Retired
Component: rpm-support
Version: 2.1 Beta
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 2.3.0
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 950743
TreeView+ depends on / blocked
 
Reported: 2013-05-02 17:50 UTC by Brad Buckingham
Modified: 2013-10-31 14:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-31 14:22:58 UTC
Embargoed:
jsherril: needinfo?


Attachments (Terms of Use)

Description Brad Buckingham 2013-05-02 17:50:51 UTC
Description of problem:

It appears that the consumer can get in to a condition in which it is not possible to install errata without restarting goferd (on the client).

The scenario below is one example where this has been observed; however, it may occur in other situations as well.  Based on discussion with Jeff, this might be related to the repos changing within the redhat.repo; however, that is being investigated.

Version-Release number of selected component (if applicable):
pulp-server-2.1.1-0.9.beta.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. sync a rhel repo (e.g. rhel6)
2. follow the steps outlined in bug 958932 (involving the zoo repo)

3. unregister the client, e.g.
subscription-manager unregister

4. clean the client, e.g.
subscription-manager clean

3. register client, e.g.
subscription-manager register --org ACME_Corporation --environment dev/rhel6_view_2

3. subscribe client, e.g.
subscription-manager subscribe --pool 8a8d01353e56ebfd013e5774d099004a

4. update the redhat.repo, e.g.
yum repolist

6. attempt to install an errata

Actual results:

Packages not updated on the client.  The following errors observed in the client's agent.log:

2013-05-02 13:02:58,876 [INFO][worker-0] dispatch() @ dispatcher.py:646 - request: {'classname': 'Content', 'kws': {}, 'args': [[{'unit_key': {'name': 'vim-minimal-2:7.2.411-1.8.el6.x86_64'}, 'type_id': 'rpm'}], {}], 'method': 'install', 'cntr': None}
2013-05-02 13:02:59,368 [INFO][worker-0] update_progress() @ conduit.py:40 - Progress reported:{'steps': [['Refresh Repository Metadata', None]], 'details': {}}
2013-05-02 13:03:01,350 [INFO][worker-0] update_progress() @ conduit.py:40 - Progress reported:{'steps': [['Refresh Repository Metadata', True]], 'details': {}}
2013-05-02 13:03:01,350 [INFO][worker-0] update_progress() @ conduit.py:40 - Progress reported:{'steps': [['Refresh Repository Metadata', True], ['Downloading Packages', None]], 'details': {}}
2013-05-02 13:03:01,409 [INFO][worker-0] update_progress() @ conduit.py:40 - Progress reported:{'steps': [['Refresh Repository Metadata', True], ['Downloading Packages', False]], 'details': {}}
2013-05-02 13:03:01,423 [ERROR][worker-0] install() @ dispatcher.py:80 - handler failed
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 76, in install
    report = handler.install(conduit, units, dict(options))
  File "/usr/lib/pulp/agent/handlers/rpm.py", line 99, in install
    details = pkg.install(names)
  File "/usr/lib/python2.6/site-packages/pulp_rpm/handler/rpmtools.py", line 128, in install
    yb.processTransaction()
  File "/usr/lib/python2.6/site-packages/pulp_rpm/handler/rpmtools.py", line 554, in processTransaction
    YumBase.processTransaction(self, callback, rpmDisplay=display)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4873, in processTransaction
    pkgs = self._downloadPackages(callback)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4908, in _downloadPackages
    raise Errors.YumDownloadError, errstr
YumDownloadError: [u'Errors were encountered while downloading packages.', '2:vim-minimal-7.2.411-1.8.el6.x86_64: failure: vim-minimal-7.2.411-1.8.el6.x86_64.rpm from ACME_Corporation_rhel6_rhel6_repo: [Errno 256] No more mirrors to try.']
2013-05-02 13:03:01,425 [INFO][worker-0] sendreply() @ rmi.py:156 - 6802f7bb-6fc2-4bc5-9f68-3fdf24c74d38 processed in: 2.575 (seconds)


Expected results:
No errors in log and packages updated on the client.

Additional info:
Note: if goferd is restarted on the client, the errata can be installed from the server.

Comment 2 Justin Sherrill 2013-10-09 16:04:21 UTC
brad, I'm not able to reproduce in my dev setup, and jortel isn't able to himself either,  are you able to still reproduce this?

Comment 3 Michael Hrivnak 2013-10-31 14:22:58 UTC
Closing with Brad's blessing since this is an old bug against an old version of pulp, and it hasn't been reproduced in some time.


Note You need to log in before you can comment on or make changes to this bug.