Hello,

When installing the self-hosted engine using rocky 9 as a host (using nightly 
builds), the install gets as far as running the below ansible task from 
ovirt-engine

    - name: Configure OVN for oVirt
      ansible.builtin.command: >
          vdsm-tool ovn-config {{ ovn_central }} {{ ovn_tunneling_interface }} 
{{ ovn_host_fqdn }}

This command gets executed as vdsm-tool ovn-config 192.168.57.4 
hostname.my.project.com

and fails with error 

      "stderr" : "Traceback (most recent call last):\n  File 
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line 117, in 
get_network\n    return networks[net_name]\nKeyError: 
'virt-1.local.hyp.twinstream.com'\n\nDuring handling of the above exception, 
another exception occurred:\n\nTraceback (most recent call last):\n  File 
\"/usr/bin/vdsm-tool\", line 195, in main\n    return 
tool_command[cmd][\"command\"](*args)\n  File 
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line 63, in 
ovn_config\n    ip_address = get_ip_addr(get_network(network_caps(), 
net_name))\n  File 
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line 119, in 
get_network\n    raise 
NetworkNotFoundError(net_name)\nvdsm.tool.ovn_config.NetworkNotFoundError: 
hostname.my.project.com"

Running `vdsm-tool list-nets` on the host gives an empty list. 

`ip a` gives 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether 52:54:00:6d:16:65 brd ff:ff:ff:ff:ff:ff
    altname enp0s6
    altname ens6
    inet 192.168.121.29/24 brd 192.168.121.255 scope global dynamic 
noprefixroute eth0
       valid_lft 2482sec preferred_lft 2482sec
    inet6 fe80::5054:ff:fe6d:1665/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether 52:54:00:6b:f4:7b brd ff:ff:ff:ff:ff:ff
    altname enp0s7
    altname ens7
    inet 192.168.56.151/24 brd 192.168.56.255 scope global noprefixroute eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe6b:f47b/64 scope link 
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master 
bond0 state UP group default qlen 1000
    link/ether 52:54:00:8f:40:45 brd ff:ff:ff:ff:ff:ff
    altname enp0s8
    altname ens8
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether 52:54:00:2f:27:9d brd ff:ff:ff:ff:ff:ff
    altname enp0s9
    altname ens9
6: eth4: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master 
bondstorage state UP group default qlen 1000
    link/ether 52:54:00:b8:9b:d7 brd ff:ff:ff:ff:ff:ff
    altname enp0s10
    altname ens10
7: eth5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether 52:54:00:c2:9a:bd brd ff:ff:ff:ff:ff:ff
    altname enp0s11
    altname ens11
8: eth6: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master 
bondvm state UP group default qlen 1000
    link/ether 52:54:00:ed:f7:cc brd ff:ff:ff:ff:ff:ff
    altname enp0s12
    altname ens12
9: eth7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether 52:54:00:de:8a:48 brd ff:ff:ff:ff:ff:ff
    altname enp0s13
    altname ens13
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP group default qlen 1000
    link/ether 52:54:00:8f:40:45 brd ff:ff:ff:ff:ff:ff
    inet 192.168.57.4/24 brd 192.168.57.255 scope global noprefixroute bond0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe8f:4045/64 scope link 
       valid_lft forever preferred_lft forever
11: bondvm: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP group default qlen 1000
    link/ether 52:54:00:ed:f7:cc brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:feed:f7cc/64 scope link 
       valid_lft forever preferred_lft forever
12: bondstorage: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc 
noqueue state UP group default qlen 1000
    link/ether 52:54:00:b8:9b:d7 brd ff:ff:ff:ff:ff:ff
    inet 192.168.59.4/24 brd 192.168.59.255 scope global noprefixroute 
bondstorage
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:feb8:9bd7/64 scope link 
       valid_lft forever preferred_lft forever
13: bondvm.20@bondvm: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP group default qlen 1000
    link/ether 52:54:00:ed:f7:cc brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:feed:f7cc/64 scope link 
       valid_lft forever preferred_lft forever
15: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
group default qlen 1000
    link/ether 52:54:00:b2:5f:e2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.222.1/24 brd 192.168.222.255 scope global virbr0
       valid_lft forever preferred_lft forever
16: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master 
virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:16:3e:34:3d:ea brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe34:3dea/64 scope link 
       valid_lft forever preferred_lft forever
47: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group 
default qlen 1000
    link/ether 6e:27:5f:fa:e3:3a brd ff:ff:ff:ff:ff:ff
48: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group 
default qlen 1000
    link/ether 12:7c:d9:2e:cf:26 brd ff:ff:ff:ff:ff:ff
49: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default 
qlen 1000
    link/ether a2:35:6e:5e:4c:60 brd ff:ff:ff:ff:ff:ff

bond0 was selected as the ovirtmgmt bridge NIC. It currently only has one 
member interface eth2 using balance-xor. In the ovirt management console I can 
the see host in a down state and given the rest of the playbook ran which 
requires ssh connectivity between hosted-engine and host, I believe the network 
is generally setup correctly.

No other immediate errors I can. As vdsm-tool ovn-config expects a network to 
exist with value of the hostname, what is meant to be creating this on the host?

Thanks,
Huw
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/IDLGSBQFX35EHHGBE2FLPVZANTL7U7BL/

Reply via email to