On Fri, Aug 6, 2021 at 11:27 AM Sandro Bonazzola <sbonazzo(a)redhat.com>
wrote:
Il giorno ven 6 ago 2021 alle ore 09:25 Martin Perina <mperina(a)redhat.com>
ha scritto:
>
>
> On Thu, Aug 5, 2021 at 6:51 PM Michal Skrivanek <
> michal.skrivanek(a)redhat.com> wrote:
>
>> no need to bother with 2.11, we’re upgrading to 2.13(at least) anyway
>>
>
> Most probably we are going to upgrade to 2.15 in oVirt 4.4.9, but we
> still haven't solved all upgrade issues ...
>
The first one I see is that ovn2.15 is missing:
https://cbs.centos.org/koji/packageinfo?packageID=8452
Any clue on where I can get it?
Sandro, upgrade to FDP 2.15 is complicated. One of those issues is that
there is no OVN 2.15, because the package has been renamed to ovn-2021:
https://cbs.centos.org/koji/packageinfo?packageID=8484
But there is no EL9 build, we will need to discuss with FDP/OpenStack team
when they are going to start building for CentOS Stream 9.
So with EL9 I'd prefer to wait until we have a clear and tested upgrade
path for EL8
>
>> On 5. 8. 2021, at 18:17, Sandro Bonazzola <sbonazzo(a)redhat.com> wrote:
>>
>> Hi, I'm trying to rebuild laters ovn rpm from centos build system for el8s to
copr for el9s.
>>
>> It fails for me here:
>>
>> sed -f ./build-aux/extract-odp-netlink-h <
datapath/linux/compat/include/linux/openvswitch.h > include/odp-netlink.h
>> sh -f ./build-aux/extract-odp-netlink-macros-h include/odp-netlink.h >
include/odp-netlink-macros.h
>> PYTHONPATH=./python":"$PYTHONPATH PYTHONDONTWRITEBYTECODE=yes
/usr/bin/python3 ./ovsdb/ovsdb-idlc.in annotate ./vswitchd/vswitch.ovsschema
./lib/vswitch-idl.ann > lib/vswitch-idl.ovsidl.tmp && mv
lib/vswitch-idl.ovsidl.tmp lib/vswitch-idl.ovsidl
>> PYTHONPATH=./python":"$PYTHONPATH PYTHONDONTWRITEBYTECODE=yes
/usr/bin/python3 ./ovsdb/ovsdb-idlc.in c-idl-source lib/vswitch-idl.ovsidl >
lib/vswitch-idl.c.tmp && mv lib/vswitch-idl.c.tmp lib/vswitch-idl.c
>> Traceback (most recent call last):
>> File "/builddir/build/BUILD/ovn2.11-2.11.1/./ovsdb/ovsdb-idlc.in",
line 1581, in <module>
>> func(*args[1:])
>> File "/builddir/build/BUILD/ovn2.11-2.11.1/./ovsdb/ovsdb-idlc.in",
line 442, in printCIDLSource
>> replace_cplusplus_keyword(schema)
>> File "/builddir/build/BUILD/ovn2.11-2.11.1/./ovsdb/ovsdb-idlc.in",
line 179, in replace_cplusplus_keyword
>> for columnName in table.columns:
>> RuntimeError: dictionary keys changed during iteration
>> make: *** [Makefile:8534: lib/vswitch-idl.c] Error 1
>>
>>
>> similar for openvswitch2.11 (this still with parallel make with -j2):
>>
>> Traceback (most recent call last):
>> File
"/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line
1597, in <module>
>> func(*args[1:])
>> File
"/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line
458, in printCIDLSource
>> replace_cplusplus_keyword(schema)
>> File
"/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line
179, in replace_cplusplus_keyword
>> for columnName in table.columns:
>> RuntimeError: dictionary keys changed during iteration
>> make: *** [Makefile:8383: lib/vswitch-idl.c] Error 1
>> make: *** Waiting for unfinished jobs....
>> Traceback (most recent call last):
>> File
"/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line
1597, in <module>
>> func(*args[1:])
>> File
"/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line
185, in printCIDLHeader
>> replace_cplusplus_keyword(schema)
>> File
"/builddir/build/BUILD/ovs-2.11.3/build-shared/../ovsdb/ovsdb-idlc.in", line
179, in replace_cplusplus_keyword
>> for columnName in table.columns:
>> RuntimeError: dictionary keys changed during iteration
>> make: *** [Makefile:8385: lib/vswitch-idl.h] Error 1
>>
>>
>> I thought it could have been due to parallel make so I forced make to
>> run with -j1 but without changing the result.
>> Any clue on how to get the build working?
>>
>> Thanks,
>>
>>
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <
https://www.redhat.com/>
sbonazzo(a)redhat.com
<
https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.