rhn-entitlement-report fails with a traceback

Solution In Progress - Updated -

Issue

backtrace:
:rhn-entitlement-report:38:printAcrossSatelliteUsage:TypeError: 'NoneType' object is not iterable
:
:Traceback (most recent call last):
:  File "/usr/bin/rhn-entitlement-report", line 100, in <module>
:    main()
:  File "/usr/bin/rhn-entitlement-report", line 21, in main
:    printAcrossSatelliteUsage();
:  File "/usr/bin/rhn-entitlement-report", line 38, in printAcrossSatelliteUsage
:    for item in list:
:TypeError: 'NoneType' object is not iterable
:
:Local variables in innermost frame:
:query: 'SELECT cfo.label,SUM(cfo.max_members) as total,SUM(cfo.current_members) as used,(SELECT (cfo2.max_members) - (cfo2.current_members) FROM rhnChannelFamilyOverview cfo2 WHERE cfo2.label = cfo.label AND cfo2.org_id = 1) as available,SUM(cfo.fve_max_members) as total_flex,SUM(cfo.fve_current_members) as used_flex,(SELECT (cfo2.fve_max_members) - (cfo2.fve_current_members) FROM rhnChannelFamilyOverview cfo2 WHERE cfo2.label = cfo.label AND cfo2.org_id = 1) as available_flex FROM rhnChannelFamilyOverview cfo WHERE cfo.max_members is not null and (cfo.current_members !=0 or cfo.fve_current_members!=0) GROUP BY cfo.label, cfo.name HAVING (SUM(cfo.max_members) is not null) ORDER by cfo.name DESC'
:list: None

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content