Bug 1590723 - Running otopi on fedora fails on missing cli object
Summary: Running otopi on fedora fails on missing cli object
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: otopi
Classification: oVirt
Component: Plugins.packagers
Version: master
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.0
: 1.8.0
Assignee: Yuval Turgeman
QA Contact: Lukas Svaty
URL:
Whiteboard:
: 1589278 (view as bug list)
Depends On:
Blocks: oVirt_on_Fedora
TreeView+ depends on / blocked
 
Reported: 2018-06-13 09:29 UTC by Yuval Turgeman
Modified: 2019-04-28 09:12 UTC (History)
9 users (show)

Fixed In Version: otopi-1.8.0_beta1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-16 08:06:03 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)
output from otopi with OTOPI_DEBUG (2.54 KB, text/plain)
2018-06-13 09:29 UTC, Yuval Turgeman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 92188 0 master MERGED minidnf: add cli object when initializing plugins 2018-06-14 09:46:21 UTC

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. ***


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