abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py' occurred on a Red Hat Enterprise Virtualization 3.0 host

Solution Verified - Updated -

Issue

There are two closely related symptoms to this problem.

  1. After installing the rhn-virtualization-host and rhn-virtualization-common rpms on a RHEL6 host that is part of a Red Hat Enterprise Virtualization (RHEV) 3.0 cluster, the host system may start to consume an excessive amount of memory, repetitively reporting the following to /var/log/messages;

    ...............
    Sep 17 13:54:01 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 13:56:02 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 13:58:02 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 14:00:01 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 14:02:02 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 14:04:02 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 14:06:02 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 14:08:02 RHV-AES-114 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    ...............
    

    There will be several pairs of CROND and /usr/share/rhn/virtualization/poller.py processes running;

    F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
    .............
    5     0 32631  3891  20   0 140088  1020 pipe_w S    ?          0:00 CROND
    4     0 32633 32631  20   0 271892  6720 unix_w Ss   ?          0:00 python /usr/share/rhn/virtualization/poller.py
    5     0 32647  3891  20   0 140088  1276 pipe_w S    ?          0:00 CROND
    4     0 32649 32647  20   0 271892 20060 unix_w Ss   ?          0:00 python /usr/share/rhn/virtualization/poller.py
    5     0 32693  3891  20   0 140088  1300 pipe_w S    ?          0:00 CROND
    4     0 32695 32693  20   0 271888 20104 unix_w Ss   ?          0:00 python /usr/share/rhn/virtualization/poller.py
    .............
    

    The following mail will be sent to the root user every time that /usr/share/rhn/virtualization/poller.py runs;

    Traceback (most recent call last):
      File "/usr/share/rhn/virtualization/poller.py", line 290, in <module>
        domain_list = poll_through_vdsm()
      File "/usr/share/rhn/virtualization/poller.py", line 140, in poll_through_vdsm
        import localvdsm
      File "/usr/share/rhn/virtualization/localvdsm.py", line 35, in <module>
        raise ImportError('local vdsm not found')
    ImportError: local vdsm not found
    
  2. After installing the rhn-virtualization-host and rhn-virtualization-common rpms on a RHEL6 host that is part of a Red Hat Enterprise Virtualization (RHEV) 3.0 cluster, the host system may start to repetitively report the following message sequence to /var/log/messages;

    Sep 17 16:22:10 dhcp-190-228 abrtd: Sending an email...
    Sep 17 16:22:10 dhcp-190-228 abrtd: Email was sent to: root@localhost
    Sep 17 16:22:10 dhcp-190-228 abrtd: New problem directory /var/spool/abrt/pyhook-2012-09-17-16:22:01-53703, processing
    Sep 17 16:24:02 dhcp-190-228 abrt: detected unhandled Python exception in '/usr/share/rhn/virtualization/poller.py'
    Sep 17 16:24:02 dhcp-190-228 abrtd: New client connected
    Sep 17 16:24:02 dhcp-190-228 abrtd: Directory 'pyhook-2012-09-17-16:24:02-55753' creation detected
    Sep 17 16:24:02 dhcp-190-228 abrt-server[55761]: Saved Python crash dump of pid 55753 to /var/spool/abrt/pyhook-2012-09-17-16:24:02-55753
    

    The /usr/share/rhn/virtualization/poller.py and associated cron processes terminate as expected. No excessive memory usage should be observed.

    Again, the following mail will be sent to the root user every time that /usr/share/rhn/virtualization/poller.py runs;

    Traceback (most recent call last):
      File "/usr/share/rhn/virtualization/poller.py", line 290, in <module>
        domain_list = poll_through_vdsm()
      File "/usr/share/rhn/virtualization/poller.py", line 140, in poll_through_vdsm
        import localvdsm
      File "/usr/share/rhn/virtualization/localvdsm.py", line 35, in <module>
        raise ImportError('local vdsm not found')
    ImportError: local vdsm not found
    

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.0
  • Red Hat Enterprise Linux (RHEL) 6.3
  • vdsm-4.9-113.3
  • rhn-virtualization-host-5.4.14-9
  • rhn-virtualization-common-5.4.14-9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.