Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1365776

Summary: otopi fails with python3 due to uninitialized variable 'm'
Product: [oVirt] otopi Reporter: Yedidyah Bar David <didi>
Component: CoreAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Yedidyah Bar David <didi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: masterCC: bugs, oourfali, sbonazzo, ylavi
Target Milestone: ovirt-4.1.0-betaKeywords: CodeChange
Target Release: 1.6.0Flags: rule-engine: ovirt-4.1+
ylavi: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 12:42:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1379402    

Description Yedidyah Bar David 2016-08-10 08:13:38 UTC
Description of problem:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/otopi/__main__.py", line 88, in main
    installer.execute()
  File "/usr/lib/python3.5/site-packages/otopi/main.py", line 151, in execute
    self.context.buildSequence()
  File "/usr/lib/python3.5/site-packages/otopi/context.py", line 665, in buildSequence
    self._sequence = self._toposortBuildSequence()
  File "/usr/lib/python3.5/site-packages/otopi/context.py", line 539, in _toposortBuildSequence
    m['stage'] == method['stage'] and
UnboundLocalError: local variable 'm' referenced before assignment

Comment 1 Pavel Stehlik 2016-08-26 15:44:52 UTC
CodeChange - thus nothing for QE.

Comment 2 Gil Klein 2017-01-17 12:42:34 UTC
Closed based on comment #1