[ovirt-devel] [rhev-devel] Fwd: [ACTION REQUIRED] upgrade to Fedora 27 for otopi on master

Yedidyah Bar David didi at redhat.com
Thu Mar 1 07:09:17 UTC 2018


(Re-adding devel)

On Thu, Mar 1, 2018 at 4:52 AM, Greg Sheremeta <gshereme at redhat.com> wrote:
> Setup worked for me immediately after upgrade. I'll forward you my repos in
> a separate email.
>
> This was an interesting sequence:
>
> greg at dauntless:/etc/yum.repos.d % sudo dnf update otopi -y
> Failed to synchronize cache for repo 'region51-chrome-gnome-shell',
> disabling.
> Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
> Last metadata expiration check: 0:29:21 ago on Wed 28 Feb 2018 09:16:13 PM
> EST.
> Package otopi available, but not installed.
> No match for argument: otopi
> Error: No packages marked for upgrade.
> greg at dauntless:/etc/yum.repos.d % sudo dnf install otopi -y
> Failed to synchronize cache for repo 'region51-chrome-gnome-shell',
> disabling.
> Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
> Last metadata expiration check: 0:29:36 ago on Wed 28 Feb 2018 09:16:13 PM
> EST.
> Package python2-otopi-1.8.0-0.0.master.20180228112959.git6eccc31.fc27.noarch
> is already installed, skipping.
> Dependencies resolved.
> Nothing to do.
> Complete!

Adding Yuval for review.

Yuval recently re-introduced python3 support to otopi, and following the
fedora python packaging guidelines. Yuval, reading the guidelines again,
it seems like it's valid to keep the package name 'otopi' and make it
Provide: python2-otopi, instead of the opposite. WDYT?

>
>
>
> On Wed, Feb 28, 2018 at 5:20 PM, Alexander Wels <awels at redhat.com> wrote:
>>
>> On Wednesday, February 28, 2018 12:02:11 PM EST Greg Sheremeta wrote:
>>
>> > ---------- Forwarded message ----------
>>
>> > From: Greg Sheremeta <gshereme at redhat.com>
>>
>> > Date: Wed, Feb 28, 2018 at 12:01 PM
>>
>> > Subject: [ACTION REQUIRED] upgrade to Fedora 27 for otopi on master
>>
>> > To: Yedidyah Bar David <didi at redhat.com>
>>
>> > Cc: Eli Mesika <emesika at redhat.com>, devel <devel at ovirt.org>
>>
>> >
>>
>> >
>>
>> > [changing subject]
>>
>> >
>>
>> > Looks like we all have to upgrade Fedora devel machines to Fedora 27.
>>
>> >
>>
>> > Greg
>>
>> >
>>
>>
>>
>> I upgraded to F27 and now I am getting something about:
>>
>>
>>
>> [awels at awels ovirt-engine]$ ./bin/engine-setup
>> ***L:ERROR Internal error: No module named ovirt_setup_lib
>>
>> I tried removing ovirt-engine, and re-installing it, and dnf is telling
>> me:
>>
>>
>>
>> Error:
>> Problem: conflicting requests
>>  - nothing provides rubygem-fluent-plugin-rewrite-tag-filter needed by
>> ovirt-engine-4.3.0-0.0.master.20180225182524.git8b8f3a52a6.fc27.noarch
>>  - nothing provides rubygem-fluent-plugin-rewrite-tag-filter needed by
>> ovirt-engine-4.3.0-0.0.master.20180226201906.git5831910bef.fc27.noarch
>>  - nothing provides rubygem-fluent-plugin-rewrite-tag-filter needed by
>> ovirt-engine-4.3.0-0.0.master.20180227170348.git8b617da448.fc27.noarch
>>
>> What am I missing repo wise?
>>
>>
>>
>> > 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