Bug 1175175
| Summary: | rhevm-setup-plugins is missing some dependencies | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yedidyah Bar David <didi> | |
| Component: | rhevm-setup-plugins | Assignee: | Yedidyah Bar David <didi> | |
| Status: | CLOSED ERRATA | QA Contact: | Petr Matyáš <pmatyas> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 3.5.0 | CC: | gklein, lsurette, nyechiel, sbonazzo, ykaul | |
| Target Milestone: | ovirt-3.6.0-rc | Keywords: | ZStream | |
| Target Release: | 3.6.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1175289 (view as bug list) | Environment: | ||
| Last Closed: | 2016-03-09 19:56:43 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: | 1175289, 1234948 | |||
Workaround: remove it manually if not needed. Note to QE. To verify, the following, on a clean new machine, should work: # yum install rhevm-setup-plugins rhevm-setup-base # engine-setup A reproduction (meaning, without the patches for this bug) will not install the engine, and engine-setup will fail. A verification will currently (3.5) pull the entire engine and succeed. In a future version we might ease some dependencies, so that it will only pull in engine-setup, and not the engine, so that if user replies 'No' to 'Configure Engine?', engine packages are never downloaded or installed. In such a future version we should also make sure rhevm-setup-plugins won't fail in other ways later. I installed ovirt-engine-setup and ovirt-engine-dwh-setup
Removed ovirt-engine and ovirt-engine-setup
Setup still fails due to PluginLoadException: No module named engine
***L:ERROR Internal error: No module named engine
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/__main__.py", line 103, in main
installer.execute()
File "/usr/lib/python2.6/site-packages/otopi/main.py", line 162, in execute
sys.exc_info()[2],
File "/usr/lib/python2.6/site-packages/otopi/util.py", line 96, in raiseExceptionInformation
exec('raise info[1], None, info[2]')
File "/usr/lib/python2.6/site-packages/otopi/main.py", line 156, in execute
self.context.loadPlugins()
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 537, in loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 126, in _loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 83, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 114, in _loadPlugins
os.path.basename(path),
File "/usr/lib/python2.6/site-packages/otopi/util.py", line 120, in loadModule
mod_desc
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/vmconsole_proxy_helper/__init__.py", line 26, in <module>
from . import pki
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/vmconsole_proxy_helper/pki.py", line 31, in <module>
from ovirt_engine_setup.engine import constants as oenginecons
PluginLoadException: No module named engine
ovirt-engine-dwh-3.6.0-0.0.master.20150617151108.20150617150804.gitfccbb7a.el6.noarch
ovirt-engine-setup-base-3.6.0-0.0.master.20150628172322.git3c12761.el6.noarch
Tou can't test this with ovirt. Moving back to modified, waiting for a rhevm build (In reply to Petr Matyáš from comment #5) > I installed ovirt-engine-setup and ovirt-engine-dwh-setup > Removed ovirt-engine and ovirt-engine-setup > Setup still fails due to PluginLoadException: No module named engine > > ***L:ERROR Internal error: No module named engine > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/otopi/__main__.py", line 103, in > main > installer.execute() > File "/usr/lib/python2.6/site-packages/otopi/main.py", line 162, in execute > sys.exc_info()[2], > File "/usr/lib/python2.6/site-packages/otopi/util.py", line 96, in > raiseExceptionInformation > exec('raise info[1], None, info[2]') > File "/usr/lib/python2.6/site-packages/otopi/main.py", line 156, in execute > self.context.loadPlugins() > File "/usr/lib/python2.6/site-packages/otopi/context.py", line 537, in > loadPlugins > self._loadPluginGroups(plugindir, needgroups, loadedgroups) > File "/usr/lib/python2.6/site-packages/otopi/context.py", line 126, in > _loadPluginGroups > self._loadPlugins(path, path, groupname) > File "/usr/lib/python2.6/site-packages/otopi/context.py", line 83, in > _loadPlugins > self._loadPlugins(base, d, groupname) > File "/usr/lib/python2.6/site-packages/otopi/context.py", line 114, in > _loadPlugins > os.path.basename(path), > File "/usr/lib/python2.6/site-packages/otopi/util.py", line 120, in > loadModule > mod_desc > File > "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ > vmconsole_proxy_helper/__init__.py", line 26, in <module> > from . import pki > File > "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ > vmconsole_proxy_helper/pki.py", line 31, in <module> > from ovirt_engine_setup.engine import constants as oenginecons > PluginLoadException: No module named engine > > ovirt-engine-dwh-3.6.0-0.0.master.20150617151108.20150617150804.gitfccbb7a. > el6.noarch > ovirt-engine-setup-base-3.6.0-0.0.master.20150628172322.git3c12761.el6.noarch This error message is different from the one in the description, so it's a different bug. Please open one. As the message says, it's a bug in vmconsole_proxy_helper's setup plugin, which needs the engine's but does not require it. Pushed a fix [1]. Thanks for the report! [1] https://gerrit.ovirt.org/42997 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0395.html |
Description of problem: rhevm-setup-plugins needs stuff from the engine but does not require anything Version-Release number of selected component (if applicable): 3.5 How reproducible: always Steps to Reproduce: 1. yum install rhevm rhevm-dwh 2. yum remove rhevm 3. OTOPI_DEBUG=1 engine-setup Actual results: ***L:ERROR Internal error: No module named engine Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/__main__.py", line 94, in main installer.execute() File "/usr/lib/python2.6/site-packages/otopi/main.py", line 159, in execute sys.exc_info()[2], File "/usr/lib/python2.6/site-packages/otopi/util.py", line 93, in raiseExceptionInformation exec('raise info[1], None, info[2]') File "/usr/lib/python2.6/site-packages/otopi/main.py", line 153, in execute self.context.loadPlugins() File "/usr/lib/python2.6/site-packages/otopi/context.py", line 528, in loadPlugins self._loadPluginGroups(plugindir, needgroups, loadedgroups) File "/usr/lib/python2.6/site-packages/otopi/context.py", line 123, in _loadPluginGroups self._loadPlugins(path, path, groupname) File "/usr/lib/python2.6/site-packages/otopi/context.py", line 80, in _loadPlugins self._loadPlugins(base, d, groupname) File "/usr/lib/python2.6/site-packages/otopi/context.py", line 80, in _loadPlugins self._loadPlugins(base, d, groupname) File "/usr/lib/python2.6/site-packages/otopi/context.py", line 111, in _loadPlugins os.path.basename(path), File "/usr/lib/python2.6/site-packages/otopi/util.py", line 117, in loadModule mod_desc File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/rhevm-setup-plugins/distro-rhel/__init__.py", line 27, in <module> from . import core File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/rhevm-setup-plugins/distro-rhel/core.py", line 31, in <module> from ovirt_engine_setup import rhevm_constants as rhevmcons File "/usr/share/ovirt-engine/setup/ovirt_engine_setup/rhevm_constants.py", line 35, in <module> from ovirt_engine_setup.engine import constants as oenginecons PluginLoadException: No module named engine Expected results: rhevm-setup-plugins is removed in step 2 and engine-setup succeeds Additional info: Need to check if we have other deps