Bug 1590723

Summary: Running otopi on fedora fails on missing cli object
Product: [oVirt] otopi Reporter: Yuval Turgeman <yturgema>
Component: Plugins.packagersAssignee: Yuval Turgeman <yturgema>
Status: CLOSED UPSTREAM QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: high    
Version: masterCC: bugs, didi, dougsland, lsurette, lsvaty, Rhev-m-bugs, sbonazzo, srevivo, ykaul
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
Target Release: 1.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: otopi-1.8.0_beta1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-16 08:06:03 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: 1460625    
Attachments:
Description Flags
output from otopi with OTOPI_DEBUG none

Description Yuval Turgeman 2018-06-13 09:29:08 UTC
Created attachment 1450827 [details]
output from otopi with OTOPI_DEBUG

Description of problem:
When trying to run otopi on a dnf based system (tested on fc28), the otopi command fails with:
[ ERROR ] DNF 'NoneType' object has no attribute 'demands'

Version-Release number of selected component (if applicable):
Running otopi from master (1.8.0-0.0.master.20180607084123)

Steps to Reproduce:
1. Install otopi on a FC28 machine (make sure some dnf plugins are installed as well, like dnf-plugin-versionlock)
2. run otopi

Actual results:
The command returns an ERROR on a missing attribue

Expected results:
Should finish without and error


Additional info:
Attaching a log with OTOPI_DEBUG=1

Comment 1 Gal Zaidman 2018-06-14 07:18:37 UTC
*** Bug 1589278 has been marked as a duplicate of this bug. ***