Bug 1085835 - [rhevh] Exception AttributeError: "'NoneType' object has no attribute '_libaugeas'"...
Summary: [rhevh] Exception AttributeError: "'NoneType' object has no attribute '_libau...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.5.0
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-09 13:17 UTC by Jiri Belka
Modified: 2016-02-10 20:07 UTC (History)
12 users (show)

Fixed In Version: rhev-hypervisor6-6.6-20141218.0.iso rhev-hypervisor7-7.0-20141218.0.iso
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-11 20:55:27 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (113.08 KB, application/x-gzip)
2014-04-09 13:17 UTC, Jiri Belka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:0160 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 27303 0 master MERGED Find installer exceptions Never

Description Jiri Belka 2014-04-09 13:17:08 UTC
Created attachment 884500 [details]
logs

Description of problem:

no idea what is that, just found it while was trying to understand why i cannot add this host into 3.4 env.

# grep ^Exception /var/log/ovirt.log 
Exception AttributeError: "'NoneType' object has no attribute '_libaugeas'" in <bound method Augeas.__del__ of <augeas.Augeas object at 0x2d53f10>> ignored
Exception AttributeError: "'NoneType' object has no attribute '_libaugeas'" in <bound method Augeas.__del__ of <augeas.Augeas object at 0x2fc5f10>> ignored
Exception AttributeError: "'NoneType' object has no attribute '_libaugeas'" in <bound method Augeas.__del__ of <augeas.Augeas object at 0x2af6f10>> ignored

Version-Release number of selected component (if applicable):
av6.1 / Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140408.0.el6ev)

How reproducible:
???

Steps to Reproduce:
1. install this RHEVH version and check ovirt.log
2.
3.

Actual results:
code issue

Expected results:
no idea

Additional info:

Comment 1 haiyang,dong 2014-04-18 02:59:21 UTC
I could reproduce this bug in Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140408.0.el6ev)

Comment 2 Ryan Barry 2014-04-18 18:49:26 UTC
This doesn't affect functionality, so I'm lowering the severity.

It's sufficient to:

"python -c 'from ovirt.node.config import migrate'"

This is ultimately from instantiating Augeas objects directly in both ovirtfunctions and ovirt.node.utils (as well as ovirt.node.config, which instantiates the wrapper from ovirt.node.utils), and it appears to set a global reference which is already removed when the destructor is called from the other instance.

Conditionally importing gets rid of the exception, but the actual solution will come with the continued migration off ovirtfunctions.

Comment 3 Fabian Deutsch 2014-07-24 16:03:09 UTC
This is a mass change, moving bugs of merged patches into MODIFIED.

Please correct the state, if you think that the move was not justified.

Comment 4 haiyang,dong 2015-01-14 13:04:23 UTC
Test version:
rhev-hypervisor6-6.6-20150112.0
ovirt-node-3.1.0-0.42.20150109gitd06b7c5.el6.noarch

Test steps:
1.[root@dhcp-9-150 admin]# grep ^Exception /var/log/ovirt.log 
[root@dhcp-9-150 admin]# 

Exception AttributeError: "'NoneType' object has no attribute '_libaugeas'" couldn't be found again in /var/log/ovirt.log 

so this bug has been fixed, Change the status into "VERIFIED".

Comment 6 errata-xmlrpc 2015-02-11 20:55:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-0160.html


Note You need to log in before you can comment on or make changes to this bug.