Problem installing a new DB

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?

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

Can you please run OTOPI_DEBUG=1 $HOME/ovirt-engine/bin/engine-setup thanks, Simone ----- Original Message ----- From: "plysan" <plysab@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

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@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

----- Original Message -----
From: "Kobi Ianko" <kobi@redhat.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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? A change dropping this line was merged a month ago. -- Didi

----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@redhat.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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 ?
A change dropping this line was merged a month ago. -- Didi _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

----- Original Message -----
From: "Kobi Ianko" <kobi@redhat.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@redhat.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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

----- Original Message -----
From: "Simone Tiraboschi" <stirabos@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@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?
Was probably fixed recently - you can try latest master. what version do you use? If 3.5.0 beta, reports setup was broken there. If you do not want that, remove the package ovirt-engine-reports-setup. Perhaps dwh too. -- Didi

----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: "Kobi Ianko" <kobi@redhat.com>, "engine-devel@ovirt.org" <devel@ovirt.org> Sent: Tuesday, July 8, 2014 2:05:05 PM Subject: Re: [ovirt-devel] Problem installing a new DB
----- Original Message -----
From: "Simone Tiraboschi" <stirabos@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@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?
Was probably fixed recently - you can try latest master. what version do you use?
fetch and rebase did not solve it
If 3.5.0 beta, reports setup was broken there. If you do not want that, remove the package ovirt-engine-reports-setup. Perhaps dwh too. I don't have a package named ovirt-engine-reports-setup according to yum -- Didi _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

could you put your output of cat $OVIRT_GIT_REPO/ovirt-engine.spec |grep otopi and rpm -qa |grep otopi thanks. 2014-07-08 19:15 GMT+08:00 Kobi Ianko <kobi@redhat.com>:
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: "Kobi Ianko" <kobi@redhat.com>, "engine-devel@ovirt.org" < devel@ovirt.org> Sent: Tuesday, July 8, 2014 2:05:05 PM Subject: Re: [ovirt-devel] Problem installing a new DB
----- Original Message -----
From: "Simone Tiraboschi" <stirabos@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@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?
Was probably fixed recently - you can try latest master. what version do you use?
fetch and rebase did not solve it
If 3.5.0 beta, reports setup was broken there. If you do not want that, remove the package ovirt-engine-reports-setup. Perhaps dwh too. I don't have a package named ovirt-engine-reports-setup according to yum -- Didi _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

----- Original Message -----
From: "plysan" <plysab@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@ovirt.org> Sent: Tuesday, July 8, 2014 2:23:33 PM Subject: Re: [ovirt-devel] Problem installing a new DB
could you put your output of
cat $OVIRT_GIT_REPO/ovirt-engine.spec |grep otopi what is the OVIRT_GIT_REPO?
and
rpm -qa |grep otopi [kianku@kobi-lap ovirt-engine]$ rpm -qa | grep otopi otopi-java-1.2.0-0.2.master.20140121.git84f0852.fc19.noarch otopi-1.2.0-0.2.master.20140121.git84f0852.fc19.noarch
thanks.
2014-07-08 19:15 GMT+08:00 Kobi Ianko <kobi@redhat.com>:
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Simone Tiraboschi" <stirabos@redhat.com> Cc: "Kobi Ianko" <kobi@redhat.com>, "engine-devel@ovirt.org" < devel@ovirt.org> Sent: Tuesday, July 8, 2014 2:05:05 PM Subject: Re: [ovirt-devel] Problem installing a new DB
----- Original Message -----
From: "Simone Tiraboschi" <stirabos@redhat.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@gmail.com> To: "Kobi Ianko" <kobi@redhat.com> Cc: "engine-devel@ovirt.org" <devel@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@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?
Was probably fixed recently - you can try latest master. what version do you use?
fetch and rebase did not solve it
If 3.5.0 beta, reports setup was broken there. If you do not want that, remove the package ovirt-engine-reports-setup. Perhaps dwh too. I don't have a package named ovirt-engine-reports-setup according to yum -- Didi _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (4)
-
Kobi Ianko
-
plysan
-
Simone Tiraboschi
-
Yedidyah Bar David