Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1075669

Summary: [abrt] yum: injectioninit.py:58:init_dep_injection:AttributeError: 'module' object has no attribute 'POOLTYPE_CACHE'
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Hudlicky <ohudlick>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: bkearney, dgoodwin, james.antill, jzeleny
Target Milestone: rc   
Target Release: 7.1   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:75d58eb0375625096e37980c425ae4c0d017fa33
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-04 14:21:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1005618    
Attachments:
Description Flags
File: backtrace
none
File: environ
none
File: sosreport.tar.xz none

Description Ondrej Hudlicky 2014-03-12 14:47:39 UTC
Description of problem:
Updating to latest RHEL7 
# yum -y  update yum
.............
# yum -y update 
.............
  Cleanup    : glibc-2.17-47.el7.x86_64                          2687/2688 
  Cleanup    : ncurses-base-5.9-12.20130511.el7.noarch         2688/2688
Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 355, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 771, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1881, in runTransaction
    self.plugins.run('posttrans')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/product-id.py", line 53, in posttrans_hook
    conduit.registerPackageName("subscription-manager")
  File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 58, in init_dep_injection
    inj.provide(inj.POOLTYPE_CACHE, PoolTypeCache, singleton=True)
AttributeError: 'module' object has no attribute 'POOLTYPE_CACHE'
traceback appeared at the end of cleaup phase

Version-Release number of selected component:
yum-3.4.3-114.el7

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python /bin/yum update --skip-broken
dso_list:       subscription-manager-1.10.14-4.el7.x86_64
executable:     /bin/yum
kernel:         3.10.0-54.0.1.el7.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
injectioninit.py:58:init_dep_injection:AttributeError: 'module' object has no attribute 'POOLTYPE_CACHE'

Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 355, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 771, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1881, in runTransaction
    self.plugins.run('posttrans')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/product-id.py", line 53, in posttrans_hook
    conduit.registerPackageName("subscription-manager")
  File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 58, in init_dep_injection
    inj.provide(inj.POOLTYPE_CACHE, PoolTypeCache, singleton=True)
AttributeError: 'module' object has no attribute 'POOLTYPE_CACHE'

Local variables in innermost frame:

Comment 1 Ondrej Hudlicky 2014-03-12 14:47:42 UTC
Created attachment 873601 [details]
File: backtrace

Comment 2 Ondrej Hudlicky 2014-03-12 14:47:48 UTC
Created attachment 873602 [details]
File: environ

Comment 3 Ondrej Hudlicky 2014-03-12 14:50:09 UTC
Created attachment 873617 [details]
File: sosreport.tar.xz

Comment 5 RHEL Program Management 2014-03-22 05:48:26 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 6 Bryan Kearney 2014-07-30 19:22:42 UTC
Acking 7.1

Comment 7 Devan Goodwin 2014-11-04 14:21:13 UTC

*** This bug has been marked as a duplicate of bug 1149095 ***