On Tue, Feb 4, 2020 at 3:09 PM <i...@placedusoleil.net> wrote:
>
> I attempted the installation on fully updated Centos 7 with selinux and 
> firewalld disabled.
>
> engine-setup produces the following error:
>
> [root@ovt-00 ~]# engine-setup
> ***L:ERROR Internal error: 'module' object has no attribute 'createPlugins'
> 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 769, 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),
> PluginLoadException: 'module' object has no attribute 'createPlugins'
>
> I would appreciate any advise or hint on how to complete my installation.

For some reason, you have there a broken plugin.
To find it, you can try:

OTOPI_DEBUG=1 engine-setup

If that's indeed a clean and nice system, that's very weird. Did you
change anything manually around otopi/engine-setup/etc?
Added/removed/renamed files? Had problems/corruptions/etc. around
installation/upgrade? Full disk, maybe, at some point?

Something like this can easily reproduce this error:

mkdir /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/test
touch /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/test/__init__.py
engine-setup

Or, for that matter, any __init__.py file there (existing or new)
without a createPlugins method in it.

Best regards,
-- 
Didi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NK5SUDEEZ7TE5WIKV5O47Z4EETPOXRSG/

Reply via email to