[ovirt-devel] Problem installing a new DB

Kobi Ianko kobi at redhat.com
Tue Jul 8 11:01:33 UTC 2014


running with debug show this message:
***L:ERROR Internal error: type object 'Stages' has no attribute 'DB_CONNECTION_SETUP'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 94, in main
    installer.execute()
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 159, in execute
    sys.exc_info()[2],
  File "/usr/lib/python2.7/site-packages/otopi/util.py", line 93, in raiseExceptionInformation
    exec('raise info[1], None, info[2]')
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 153, in execute
    self.context.loadPlugins()
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 497, in loadPlugins
    self._loadPluginGroups(plugindir, needgroups, loadedgroups)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 123, in _loadPluginGroups
    self._loadPlugins(path, path, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 80, in _loadPlugins
    self._loadPlugins(base, d, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 80, in _loadPlugins
    self._loadPlugins(base, d, groupname)
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 111, in _loadPlugins
    os.path.basename(path),
  File "/usr/lib/python2.7/site-packages/otopi/util.py", line 117, in loadModule
    mod_desc
  File "/home/kianku/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/db/__init__.py", line 25, in <module>
    from . import connection
  File "/home/kianku/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/db/connection.py", line 39, in <module>
    class Plugin(plugin.PluginBase):
  File "/home/kianku/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/db/connection.py", line 104, in Plugin
    name=osetupcons.Stages.DB_CONNECTION_SETUP,
PluginLoadException: type object 'Stages' has no attribute 'DB_CONNECTION_SETUP'


----- Original Message -----
> From: "Simone Tiraboschi" <stirabos at redhat.com>
> To: "Kobi Ianko" <kobi at redhat.com>
> Cc: "engine-devel at ovirt.org" <devel at ovirt.org>
> Sent: Tuesday, July 8, 2014 1:57:44 PM
> Subject: Re: [ovirt-devel] Problem installing a new DB
> 
> Can you please run
> OTOPI_DEBUG=1 $HOME/ovirt-engine/bin/engine-setup
> 
> thanks,
> Simone
> 
> ----- Original Message -----
> From: "plysan" <plysab at gmail.com>
> To: "Kobi Ianko" <kobi at redhat.com>
> Cc: "engine-devel at ovirt.org" <devel at ovirt.org>
> Sent: Tuesday, July 8, 2014 12:54:05 PM
> Subject: Re: [ovirt-devel] Problem installing a new DB
> 
> Hi Kobi:
> 
> Maybe your installed otopi version is not the version that ovirt-engine.spec
> declares.
> 
> thanks!
> 
> 
> 2014-07-08 18:48 GMT+08:00 Kobi Ianko < kobi at redhat.com > :
> 
> 
> Did any of you encountered this problem?
> 
> $ $HOME/ovirt-engine/bin/engine-setup
> ***L:ERROR Internal error: type object 'Stages' has no attribute
> 'DB_CONNECTION_SETUP'
> 
> Do you know how to work around it/fix it?
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 



More information about the Devel mailing list