Bug 1386213 - WebSocket proxy fails installation on separate host
Summary: WebSocket proxy fails installation on separate host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.EngineCommon
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0
Assignee: Simone Tiraboschi
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 12:21 UTC by Sandro Bonazzola
Modified: 2017-05-11 09:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:39:21 UTC
oVirt Team: Integration
rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65567 0 master NEW spec: correctly move engine/constants.py to engine-common package 2016-10-28 10:21:49 UTC

Description Sandro Bonazzola 2016-10-18 12:21:23 UTC
Description of problem:
Trying to install websocket proxy on separate host using master repo:

# yum install ovirt-engine-websocket-proxy -y
# engine-setup

using OTOPIDEBUG=1:

***L:ERROR Internal error: No module named engine
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 153, in execute
    sys.exc_info()[2],
  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/main.py", line 147, in execute
    self.context.loadPlugins()
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 798, in loadPlugins
    self._loadPluginGroups(plugindir, needgroups, loadedgroups)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 113, in _loadPluginGroups
    self._loadPlugins(path, path, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70, in _loadPlugins
    self._loadPlugins(base, d, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 101, in _loadPlugins
    os.path.basename(path),
  File "/usr/lib/python2.7/site-packages/otopi/util.py", line 105, in loadModule
    mod_desc
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/websocket_proxy/__init__.py", line 24, in <module>
    from . import config
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/websocket_proxy/config.py", line 31, in <module>
    from ovirt_engine_setup.engine import constants as oenginecons
PluginLoadException: No module named engine

Comment 1 Red Hat Bugzilla Rules Engine 2016-10-18 12:21:28 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Jiri Belka 2016-12-14 08:33:01 UTC
ok, ovirt-engine-setup-plugin-websocket-proxy-4.1.0-0.2.master.20161213231004.gitfdf720a.el7.centos.noarch


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