Il giorno ven 6 ago 2021 alle ore 13:46 Martin Perina <mperina@redhat.com> ha scritto:


On Fri, Aug 6, 2021 at 11:27 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:


Il giorno ven 6 ago 2021 alle ore 09:25 Martin Perina <mperina@redhat.com> ha scritto:


On Thu, Aug 5, 2021 at 6:51 PM Michal Skrivanek <michal.skrivanek@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:


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

Adjusted ovirt-openvswitch to consume ovn-2021 and pushed a few fixes here and there: https://gerrit.ovirt.org/q/topic:%22c9s%22
Result is that vdsm is now installable on CentOS Stream 9 for x86_64:

Install CentOS Stream 9 from ISO at https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/BaseOS/x86_64/iso/
$ sudo dnf copr enable sbonazzo/oVirt_on_CentOS_Stream_9_preview
$ sudo dnf install vdsm

Everything has been built also for aarch64 but I have no way of giving it a run so if someone from the community would like to pick it from here, it would be great.

ppc64le and s390x builders are not available on COPR yet.

We still have some deps missing for a full host installation but you can play with it with vdsm.

package: glusterfs-ganesha-9.3-2.el9.x86_64 from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    nfs-ganesha-gluster >= 2.7.6
    nfs-ganesha-selinux >= 2.7.6
package: maven-surefire-plugin-3.0.0~M4-4.el9.noarch from crb-pre-release
  unresolved deps:
    (maven-surefire-provider-junit5 = 3.0.0~M4-4.el9 if junit5)
package: ovirt-host-4.5.0-0.0.el9.x86_64 from copr:copr.fedorainfracloud.org:sbonazzo:oVirt_on_CentOS_Stream_9_preview
  unresolved deps:
    cockpit-ovirt-dashboard
    ovirt-hosted-engine-setup
    ovirt-provider-ovn-driver
package: ovirt-host-dependencies-4.5.0-0.0.el9.x86_64 from copr:copr.fedorainfracloud.org:sbonazzo:oVirt_on_CentOS_Stream_9_preview
  unresolved deps:
    python3-os-brick
    collectd
    ceph-common
    collectd-disk
    collectd-netlink
    collectd-virt
    collectd-write_http
    collectd-write_syslog
package: python-stevedore-3.3.0-1.el9.src from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    python3-testrepository
package: python3-ipython+notebook-7.20.0-3.el9.noarch from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    python3.9dist(ipywidgets)
    python3.9dist(notebook)
package: python3-pandas-1.2.1-3.el9.x86_64 from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    python3-Bottleneck
package: python3-stevedore-3.3.0-1.el9.noarch from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    python3-importlib-metadata >= 1.7.0
package: redhat-lsb-desktop-4.1-54.el9.x86_64 from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    qt(x86-64)
    qt-x11(x86-64)
    qt3(x86-64)
package: redhat-lsb-languages-4.1-54.el9.x86_64 from copr:copr.fedorainfracloud.org:sbonazzo:EL9Collection
  unresolved deps:
    perl(Locale::Codes)
    perl(Locale::Codes::Constants)
    perl(Pod::LaTeX)
    perl(Pod::Plainer)
    perl(B::Lint)
    perl(Class::ISA)
    perl(File::CheckTree)
Error: Repoclosure ended with unresolved dependencies.

We have a jenkins agent ready for CentOS Stream 9 on x86_64:  https://jenkins.ovirt.org/computer/vm0001.workers-phx.ovirt.org/
And we have mock config ready: https://gerrit.ovirt.org/c/jenkins/+/115902
But it's currently failing some pre-flight checks due to package renaming / changes.


 



 

On 5. 8. 2021, at 18:17, Sandro Bonazzola <sbonazzo@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

sbonazzo@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.


--