Bug 1589278 - Traceback in STAGE_SETUP while executing engine-setup on Fedora 28
Summary: Traceback in STAGE_SETUP while executing engine-setup on Fedora 28
Keywords:
Status: CLOSED DUPLICATE of bug 1590723
Alias: None
Product: otopi
Classification: oVirt
Component: Core
Version: master
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.0
: ---
Assignee: Gal Zaidman
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: oVirt_on_Fedora
TreeView+ depends on / blocked
 
Reported: 2018-06-08 15:17 UTC by Sandro Bonazzola
Modified: 2018-06-14 07:18 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-14 07:18:37 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)

Description Sandro Bonazzola 2018-06-08 15:17:21 UTC
Installing ovirt-engine on Fedora 28.

# OTOPI_DEBUG=1 engine-setup

fails with:

("FATAL Internal error (main): 'NoneType' object has no attribute 'demands'",)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 88, in main
    installer.execute()
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 157, in execute
    self.context.runSequence()
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 771, in runSequence
    util.raiseExceptionInformation(infos[0])
  File "/usr/lib/python2.7/site-packages/otopi/util.py", line 81, in raiseExceptionInformation
    exec('raise info[1], None, info[2]')
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 205, in _setup
    with self._minidnf.transaction():
  File "/usr/lib/python2.7/site-packages/otopi/minidnf.py", line 287, in __enter__
    self._managed.beginTransaction()
  File "/usr/lib/python2.7/site-packages/otopi/minidnf.py", line 549, in beginTransaction
    self._base = self._createBase()
  File "/usr/lib/python2.7/site-packages/otopi/minidnf.py", line 341, in _createBase
    base.fill_sack()
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 504, in fill_sack
    self._plugins.run_sack()
  File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 96, in fn
    dnf.util.mapall(operator.methodcaller(method), self.plugins)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 232, in mapall
    return list(map(fn, *seq))
  File "/usr/lib/python2.7/site-packages/dnf-plugins/versionlock.py", line 61, in sack
    if not self.cli.demands.resolving:
AttributeError: 'NoneType' object has no attribute 'demands'


# rpm -qv ovirt-engine otopi-common
ovirt-engine-4.3.0-0.0.master.20180608115732.gita4bbacb7277.fc28.noarch
otopi-common-1.8.0-0.0.master.20180607084123.gitfca1a4c.fc28.noarch

Comment 1 Gal Zaidman 2018-06-14 07:18:37 UTC

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


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