Bug 663038
Summary: | ZeroDivisionError: float division occurs in subscription-manager-gui | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> | ||||
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> | ||||
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.1 | CC: | jmolet | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-05-19 13:38:11 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: | 639436 | ||||||
Attachments: |
|
Description
John Sefler
2010-12-14 14:37:18 UTC
I get the same thing when subscribing to a subscription with 1 bundled product. I was registered as rh-alpha-107 against the candlepin1.devlab.phx1.redhat.com server. versions: subscription-manager-gnome-0.93.3-1.git.19.7e709b6.fc14.x86_64 subscription-manager-0.93.3-1.git.19.7e709b6.fc14.x86_64 Fixed in 748ae3a3d7515c830bfa32d7d0885b94f1868747 [root@jsefler-dev2-1 ~]# rpm -q subscription-manager-gnome subscription-manager-gnome-0.93.8-1.git.2.f33b290.el6.x86_64 [root@jsefler-dev2-1 ~]# grep -A1 Server /etc/rhsm/rhsm.conf # Server hostname: hostname=candlepin1.devlab.phx1.redhat.com -- # Server prefix: prefix=/candlepin -- # Server port: port=443 -- # Server CA certificate location: ca_cert_dir=/etc/rhsm/ca/ [root@jsefler-dev2-1 ~]# subscription-manager-gui & [1] 15564 HAVING STARTED THE GUI, I WILL NOW... register as XEOPS/redhat and click All Available Subscriptions / Search / provide software not yet installed / select first subscription / Subscribe / choose first contract / Subscribe [root@jsefler-dev2-1 ~]# Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. 33250200-93a9-45bf-a623-4fdd0f1800a4 jsefler-dev2-1.usersys.redhat.com (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown attribute `swapped' for <signal>. (subscription-manager-gui:15564): libglade-WARNING **: unknown property `mnemonics_visible' for class `GtkWindow' No handlers could be found for logger "rhsm.certificate" [root@jsefler-dev2-1 ~]# tail -f /var/log/rhsm/rhsm.log 2010-12-21 14:57:57,292 [INFO] perform() @certlib.py:137 - certs updated: Total updates: 1 Found (local) serial# [] Expected (UEP) serial# [171292961478153239] Added (new) [sn:171292961478153239 (RHN Provisioning + Management,) @ /etc/pki/entitlement/171292961478153239.pem] Deleted (rogue): <NONE> Expired (not deleted): <NONE> Expired (deleted): <NONE> 2010-12-21 14:57:57,301 [DEBUG] refresh() @managerlib.py:467 - Refreshing pools from server... 2010-12-21 14:57:59,330 [DEBUG] __init__() @certlib.py:639 - Sorting product and entitlement cert status for: 2010-12-21 14:57:59.330244 2010-12-21 14:57:59,330 [DEBUG] _populate_all_products() @certlib.py:657 - Installed product IDs: [] 2010-12-21 14:57:59,333 [DEBUG] __init__() @certlib.py:648 - valid entitled products: [] 2010-12-21 14:57:59,333 [DEBUG] __init__() @certlib.py:649 - expired entitled products: [] 2010-12-21 14:57:59,337 [DEBUG] __init__() @certlib.py:639 - Sorting product and entitlement cert status for: 2010-12-21 14:57:59.337898 2010-12-21 14:57:59,338 [DEBUG] _populate_all_products() @certlib.py:657 - Installed product IDs: [] 2010-12-21 14:57:59,340 [DEBUG] __init__() @certlib.py:648 - valid entitled products: [] 2010-12-21 14:57:59,340 [DEBUG] __init__() @certlib.py:649 - expired entitled products: [] 2010-12-21 14:57:59,344 [DEBUG] __init__() @certlib.py:639 - Sorting product and entitlement cert status for: 2010-12-21 14:57:59.344865 2010-12-21 14:57:59,345 [DEBUG] _populate_all_products() @certlib.py:657 - Installed product IDs: [] 2010-12-21 14:57:59,347 [DEBUG] __init__() @certlib.py:648 - valid entitled products: [] 2010-12-21 14:57:59,347 [DEBUG] __init__() @certlib.py:649 - expired entitled products: [] 2010-12-21 14:57:59,352 [DEBUG] __init__() @certlib.py:639 - Sorting product and entitlement cert status for: 2010-12-21 14:57:59.351973 2010-12-21 14:57:59,352 [DEBUG] _populate_all_products() @certlib.py:657 - Installed product IDs: [] 2010-12-21 14:57:59,354 [DEBUG] __init__() @certlib.py:648 - valid entitled products: [] 2010-12-21 14:57:59,355 [DEBUG] __init__() @certlib.py:649 - expired entitled products: [] 2010-12-21 14:57:59,359 [DEBUG] __init__() @certlib.py:639 - Sorting product and entitlement cert status for: 2010-12-21 14:57:59.359361 2010-12-21 14:57:59,359 [DEBUG] _populate_all_products() @certlib.py:657 - Installed product IDs: [] 2010-12-21 14:57:59,362 [DEBUG] __init__() @certlib.py:648 - valid entitled products: [] 2010-12-21 14:57:59,362 [DEBUG] __init__() @certlib.py:649 - expired entitled products: [] 2010-12-21 14:57:59,366 [DEBUG] __init__() @certlib.py:639 - Sorting product and entitlement cert status for: 2010-12-21 14:57:59.366574 2010-12-21 14:57:59,366 [DEBUG] _populate_all_products() @certlib.py:657 - Installed product IDs: [] 2010-12-21 14:57:59,369 [DEBUG] __init__() @certlib.py:648 - valid entitled products: [] 2010-12-21 14:57:59,369 [DEBUG] __init__() @certlib.py:649 - expired entitled products: [] 2010-12-21 14:57:59,453 [DEBUG] refresh() @managerlib.py:482 - found 42 pools: 2010-12-21 14:57:59,454 [DEBUG] refresh() @managerlib.py:483 - 33 compatible 2010-12-21 14:57:59,454 [DEBUG] refresh() @managerlib.py:484 - 9 incompatible ALL LOOKS GOOD. NO MORE DIVIDE BY ZERO ERROR AND THE SUBSCRIBED POOL IS ADDED TO MySubscriptions. See attached screenshot MOVING TO VERIFIED. Created attachment 470073 [details]
MySubscriptions after having subscribed to a subscription with 0 bundled products
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |