----- Original Message -----
From: "Kobi Ianko" <kobi(a)redhat.com>
To: "Yedidyah Bar David" <didi(a)redhat.com>
Cc: "engine-devel(a)ovirt.org" <devel(a)ovirt.org>
Sent: Tuesday, July 8, 2014 2:41:29 PM
Subject: Re: [ovirt-devel] Problem installing a new DB
----- Original Message -----
> From: "Yedidyah Bar David" <didi(a)redhat.com>
> To: "Kobi Ianko" <kobi(a)redhat.com>
> Cc: "engine-devel(a)ovirt.org" <devel(a)ovirt.org>
> Sent: Tuesday, July 8, 2014 2:23:42 PM
> Subject: Re: [ovirt-devel] Problem installing a new DB
>
> ----- Original Message -----
> > From: "Kobi Ianko" <kobi(a)redhat.com>
> > To: "Simone Tiraboschi" <stirabos(a)redhat.com>
> > Cc: "engine-devel(a)ovirt.org" <devel(a)ovirt.org>
> > Sent: Tuesday, July 8, 2014 2:01:33 PM
> > Subject: Re: [ovirt-devel] Problem installing a new DB
> >
> > 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'
>
> (from your other reply:)
>
> > fetch and rebase did not solve it
>
> Weird. Do you actually see this last line in the mentioned file? Did you
> install again?
looking at
/home/kianku/ovirt-engine/share/ovirt-engine/setup/plugins/ovirt-engine-common/base/db/connection.py
I don't see the line in the file, is there some caching/tmp ?
Perhaps .pyc/.pyo ?
--
Didi