It look like I was hit by this bug:

https://www.mail-archive.com/users@ovirt.org/msg73097.html

I applied this patch : https://github.com/oVirt/ovirt-engine/commit/f039053bf4903bc6f42babc7514c682408260bf7
and everything worked after that.

The file version was:
$ rpm -qf /usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml 
ovirt-engine-tools-4.5.6-1.el9.noarch

And not 4.7.

Le 16 oct. 2024 à 17:15, Fabrice Bacchella via Users <users@ovirt.org> a écrit :

Hi,

I’m migrating to oVirst 4.7 and RHEL9.

The engine is up and running but I have problems testing adding new hosts.

It fails running the command:

    sudo vdsm-tool ovn-config  $IP $FQDN.

The message is

    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py", line 118, in get_network
        return networks[net_name]
    KeyError: '$FQDN'

And indeed if I print net_caps in the method net_caps of ovn_config, it says:

     {'networks': {} ...

I have been unable to understand where this information is coming from, what is missing in my host ? Are they the networks as configured in the engine ?
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4P3EHTC7ZYWIRKFBXXUH4RS6J7Q2DR2D/