Bug 1589278
| Summary: | Traceback in STAGE_SETUP while executing engine-setup on Fedora 28 | ||
|---|---|---|---|
| Product: | [oVirt] otopi | Reporter: | Sandro Bonazzola <sbonazzo> |
| Component: | Core | Assignee: | Gal Zaidman <gzaidman> |
| Status: | CLOSED DUPLICATE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | master | CC: | bugs |
| Target Milestone: | ovirt-4.3.0 | Flags: | rule-engine:
ovirt-4.3+
|
| Target Release: | --- | ||
| 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: | 2018-06-14 07:18:37 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 | ||
*** This bug has been marked as a duplicate of bug 1590723 *** |
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