Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

数分ごとに root メールで :utils.py:42:<module>:ImportError: cannot import name Versions メッセージが表示される

Solution Verified - Updated -

Issue

  • root メールにバックトレースを含む以下の通知が表示されます。
abrt_version:   2.0.8
cmdline:        /usr/bin/python /usr/libexec/rhsmcertd-worker --autoheal
event_log:      
executable:     /usr/libexec/rhsmcertd-worker
hostname:       host_name.server.com
kernel:         2.6.32-504.16.2.el6.x86_64
last_occurrence: 1448903527
machineid:      sosreport_uploader-dmidecode=cc5bd78b2912480bede89e0dbb30171717d903ab23e3d1690a0c4d12982c1b8f
pkg_arch:       x86_64
pkg_epoch:      0
pkg_name:       subscription-manager
pkg_release:    9.el6_6
pkg_version:    1.12.14
time:           Tue 27 Oct 2015 05:11:35 AM UTC
uid:            0
username:       root

sosreport.tar.xz: Binary file, 1402360 bytes

backtrace:
:utils.py:42:<module>:ImportError: cannot import name Versions
:
:Traceback (most recent call last):
:  File "/usr/libexec/rhsmcertd-worker", line 27, in <module>
:    from subscription_manager.injectioninit import init_dep_injection
:  File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 18, in <module>
:    from subscription_manager.cache import ProductStatusCache, EntitlementStatusCache, OverrideStatusCache, \
:  File "/usr/share/rhsm/subscription_manager/cache.py", line 33, in <module>
:    from subscription_manager.jsonwrapper import PoolWrapper
:  File "/usr/share/rhsm/subscription_manager/jsonwrapper.py", line 18, in <module>
:    from subscription_manager.utils import is_true_value
:  File "/usr/share/rhsm/subscription_manager/utils.py", line 42, in <module>
:    from rhsm.version import Versions
:ImportError: cannot import name Versions

Environment

  • Red Hat Enterprise Linux 6.x

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