[ovirt-devel] otopi on PPC (Was: [ACTION REQUIRED] upgrade to Fedora 27 for otopi on master)

Yedidyah Bar David didi at redhat.com
Sun Mar 4 06:46:06 UTC 2018


(Changed subject)

On Fri, Mar 2, 2018 at 1:17 AM, Eli Mesika <emesika at redhat.com> wrote:
> I have upgraded to fc27
> I am not able to add a host to a PPC cluster : "no otopi module ..."

Where do you get this error?

>
> otopi is installed

On the engine? Host? Both? Generally it's enough to have it on the engine.

>
> rpm -qa |grep otopi
> otopi-java-1.8.0-0.0.master.20180228112959.git6eccc31.fc27.noarch
> otopi-common-1.8.0-0.0.master.20180228112959.git6eccc31.fc27.noarch
> python2-otopi-devtools-1.8.0-0.0.master.20180228112959.git6eccc31.fc27.noarch
> python2-otopi-1.8.0-0.0.master.20180228112959.git6eccc31.fc27.noarch
>
> Any ideas ?

I have no experience with PPC, sorry.
But in theory it should work the same, so let's try to debug "as usual".

Thanks and best regards,

>
>
> On Wed, Feb 28, 2018 at 7:01 PM, Greg Sheremeta <gshereme at redhat.com> wrote:
>>
>> [changing subject]
>>
>> Looks like we all have to upgrade Fedora devel machines to Fedora 27.
>>
>> Greg
>>
>> On Wed, Feb 28, 2018 at 11:05 AM, Yedidyah Bar David <didi at redhat.com>
>> wrote:
>>>
>>> (Adding devel, was asked twice already)
>>>
>>> On Wed, Feb 28, 2018 at 4:52 PM, Eli Mesika <emesika at redhat.com> wrote:
>>> > Hi Didi
>>> >
>>> > I am getting :
>>> >
>>> >
>>> > ***L:ERROR Internal error: type object 'Stages' has no attribute
>>> > 'ANSWER_FILE_GENERATED'
>>> > Traceback (most recent call last):
>>> >   File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 88,
>>> > in
>>> > main
>>> >     installer.execute()
>>> >   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 153, in
>>> > execute
>>> >     sys.exc_info()[2],
>>> >   File "/usr/lib/python2.7/site-packages/otopi/util.py", line 81, in
>>> > raiseExceptionInformation
>>> >     exec('raise info[1], None, info[2]')
>>> >   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 147, in
>>> > execute
>>> >     self.context.loadPlugins()
>>> >   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 859,
>>> > in
>>> > loadPlugins
>>> >     self._loadPluginGroups(plugindir, needgroups, loadedgroups)
>>> >   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 113,
>>> > in
>>> > _loadPluginGroups
>>> >     self._loadPlugins(path, path, groupname)
>>> >   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70, in
>>> > _loadPlugins
>>> >     self._loadPlugins(base, d, groupname)
>>> >   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70, in
>>> > _loadPlugins
>>> >     self._loadPlugins(base, d, groupname)
>>> >   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 101,
>>> > in
>>> > _loadPlugins
>>> >     os.path.basename(path),
>>> >   File "/usr/lib/python2.7/site-packages/otopi/util.py", line 105, in
>>> > loadModule
>>> >     mod_desc
>>> >   File
>>> >
>>> > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/core/__init__.py",
>>> > line 24, in <module>
>>> >     from . import answerfile
>>> >   File
>>> >
>>> > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/core/answerfile.py",
>>> > line 38, in <module>
>>> >     class Plugin(plugin.PluginBase):
>>> >   File
>>> >
>>> > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/core/answerfile.py",
>>> > line 60, in Plugin
>>> >     otopicons.Stages.ANSWER_FILE_GENERATED,
>>> > PluginLoadException: type object 'Stages' has no attribute
>>> > 'ANSWER_FILE_GENERATED'
>>> >
>>>
>>> Please update otopi.
>>>
>>> If you are on fedora, you'll need to upgrade to fc27 first.
>>>
>>> Good luck,
>>> --
>>> Didi
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>>
>



-- 
Didi


More information about the Devel mailing list