Bug 843784

Summary: Make ovirtfunctions.py top-level code conditional
Product: [Retired] oVirt Reporter: Fabian Deutsch <fdeutsch>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, jboggs, mburns, mgoldboi, ovirt-bugs, ovirt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.7.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-28 15:08:23 UTC Type: Bug
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: 843777    

Description Fabian Deutsch 2012-07-27 11:18:16 UTC
Description of problem:
Currently there is top-level code in the ovirtfunctions.py file which is executed when this module get's imported, this is a problem for some checks - mainly because this code relies on runtime informations (e.g. /etc/default/node).

Comment 1 Fabian Deutsch 2013-11-28 15:08:23 UTC

*** This bug has been marked as a duplicate of bug 1008934 ***