Bug 1085835

Summary: [rhevh] Exception AttributeError: "'NoneType' object has no attribute '_libaugeas'"...
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.0CC: aberezin, cshao, dfediuck, gklein, gouyang, hadong, huiwa, iheim, leiwang, yaniwang, ycui, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: rhev-hypervisor6-6.6-20141218.0.iso rhev-hypervisor7-7.0-20141218.0.iso Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:55:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

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