Bug 1680577 - engine-setup on a separate dwh machine fails due to missing cinderlib constants
Summary: engine-setup on a separate dwh machine fails due to missing cinderlib constants
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.EngineCommon
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.3.2
: ---
Assignee: Yedidyah Bar David
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 10:56 UTC by Yedidyah Bar David
Modified: 2019-03-19 10:03 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-4.3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-19 10:03:22 UTC
oVirt Team: Integration
Embargoed:
pm-rhel: ovirt-4.3+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 98027 0 master MERGED packaging: setup: Do not use cinderlib constants in common 2020-08-23 20:02:40 UTC

Description Yedidyah Bar David 2019-02-25 10:56:36 UTC
Description of problem:

Current master branch engine-setup fails, on a machine without the engine (e.g. separate dwh machine), with:

# engine-setup --offline
***L:ERROR Internal error: No module named cinderlib
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 83, in main
    installer.execute()
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 147, in execute
    sys.exc_info()[2],
  File "/usr/lib/python2.7/site-packages/otopi/util.py", line 86, in raiseExceptionInformation
    exec('raise info[1], None, info[2]')
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 141, in execute
    self.context.loadPlugins()
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 766, in loadPlugins
    self._loadPluginGroups(plugindir, needgroups, loadedgroups)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 112, in _loadPluginGroups
    self._loadPlugins(path, path, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 69, in _loadPlugins
    self._loadPlugins(base, d, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 69, in _loadPlugins
    self._loadPlugins(base, d, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 100, in _loadPlugins
    os.path.basename(path),
  File "/usr/lib/python2.7/site-packages/otopi/util.py", line 121, in loadModule
    mod_desc
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/ovirt-engine-common/core/__init__.py", line 24, in <module>
    from . import misc
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/ovirt-engine-common/core/misc.py", line 25, in <module>
    from ovirt_engine_setup.cinderlib import constants as oclcons
PluginLoadException: No module named cinderlib

Comment 1 Lucie Leistnerova 2019-03-06 17:00:38 UTC
DWH on separate machine installed successfully.

verified in ovirt-engine-dwh-setup-4.3.0-1.el7ev.noarch with ovirt-engine-setup-base-4.3.2-0.1.el7.noarch

Comment 2 Sandro Bonazzola 2019-03-19 10:03:22 UTC
This bugzilla is included in oVirt 4.3.2 release, published on March 19th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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