Hello there.
so I found that the similar issue was already reported here,
reason is that during th einstalation tasks from playbook
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml
in task
```- name: Configure OVN for oVirt
ansible.builtin.command: >
vdsm-tool ovn-config {{ ovn_central }} {{
ovn_tunneling_interface }} {{ ovn_host_fqdn }}
```
variable {{ ovn_central }} is empty. then vdsm-tool ovn-confighas only
2 parameters and it fails.
Jirka
On 3/11/24 11:34, Jirka Simon wrote:
Hello oVirt community.
i just tried to add a new host(wh refresh) to our cluster with
installed Centos Stream 9, bud ovirt installation fails with message
network not found.
there are 4 NICs (2SPF one of them is configured) and 2 ethenrent
which are not configured and are down
here is end instalation log. any hint what can I check ?
2024-03-11 11:21:44 CET - {
"uuid" : "c43fec42-2838-4319-8f00-adaf24351341",
"counter" : 412,
"stdout" : "fatal: [ovirt1.domain.tld]: FAILED! =>
{\"changed\":
true, \"cmd\": [\"vdsm-tool\", \"ovn-config\",
\"10.36.191.11\",
\"ovirt1.domain.tld\"], \"delta\": \"0:00:02.236199\",
\"end\":
\"2024-03-11 11:21:43.909643\", \"msg\": \"non-zero
return code\", \"rc\": 1, \"start\": \"2024-03-11
11:21:41.673444\",
\"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]\\n
KeyError: 'ovirt1.domain.tld'\\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\\\"](*arg
s)\\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 11
9, in get_network\\n raise
NetworkNotFoundError(net_name)\\nvdsm.tool.ovn_config.NetworkNotFoundError:
ovirt1.domain.tld\", \"stderr_lines\": [\"Traceback (most recent call
last):\", \" File
\\\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_conf
ig.py\\\", line 117, in get_network\", \" return
networks[net_name]\", \"KeyError: 'ovirt1.domain.tld'\",
\"\",
\"During handling of the above exception, another exception
occurred:\", \"\", \"Traceback (most recent call last):\",
\" File
\\\"/us
r/bin/vdsm-tool\\\", line 195, in main\", \" return
tool_command[cmd][\\\"command\\\"](*args)\", \" File
\\\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\\\", line
63, in ovn_config\", \" ip_address = get_ip_addr(get_network(network_c
aps(), net_name))\", \" File
\\\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\\\", line
119, in get_network\", \" raise NetworkNotFoundError(net_name)\",
\"vdsm.tool.ovn_config.NetworkNotFoundError: ovirt1.domain.tld\"],
\"stdout\": \
"\", \"stdout_lines\": []}",
"start_line" : 414,
"end_line" : 415,
"runner_ident" : "ca3d44fb-7482-481b-97d3-66f2ba7c9d0b",
"event" : "runner_on_failed",
"pid" : 1520750,
"created" : "2024-03-11T10:21:43.926054",
"parent_uuid" : "00163e21-72be-4886-1543-000000000042",
"event_data" : {
"playbook" : "ovirt-host-deploy.yml",
"playbook_uuid" : "4aa34ee9-1be3-4377-a573-ef33d837d406",
"play" : "all",
"play_uuid" : "00163e21-72be-4886-1543-000000000002",
"play_pattern" : "all",
"task" : "Configure OVN for oVirt",
"task_uuid" : "00163e21-72be-4886-1543-000000000042",
"task_action" : "ansible.builtin.command",
"task_args" : "",
"task_path" :
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml:43",
"role" : "ovirt-provider-ovn-driver",
"host" : "ovirt1.domain.tld",
"remote_addr" : "ovirt1.domain.tld",
"res" : {
"changed" : true,
"stdout" : "",
"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:
'ovirt1.domain.tld'\n\nDuring handling of the above exceptio
n, 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 ov
n_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.NetworkNotFoundE
rror: ovirt1.domain.tld",
"rc" : 1,
"cmd" : [ "vdsm-tool", "ovn-config",
"10.36.191.11",
"ovirt1.domain.tld" ],
"start" : "2024-03-11 11:21:41.673444",
"end" : "2024-03-11 11:21:43.909643",
"delta" : "0:00:02.236199",
"msg" : "non-zero return code",
"invocation" : {
"module_args" : {
"_raw_params" : "vdsm-tool ovn-config 10.36.191.11
ovirt1.domain.tld\n",
"_uses_shell" : false,
"expand_argument_vars" : true,
"stdin_add_newline" : true,
"strip_empty_ends" : true,
"argv" : null,
"chdir" : null,
"executable" : null,
"creates" : null,
"removes" : null,
"stdin" : null
}
},
"stdout_lines" : [ ],
"stderr_lines" : [ "Traceback (most recent call last):", "
File
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line
117, in get_network", " return networks[net_name]", "KeyError:
'ovirt1.domain.tld'", "", "During handling of
the above exception, another exception occurred:", "", "Traceback
(most recent call last):", " File \"/usr/bin/vdsm-tool\", line 195,
in main", " return tool_command[cmd][\"command\"](*args)",
" File
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn
_config.py\", line 63, in ovn_config", " ip_address =
get_ip_addr(get_network(network_caps(), net_name))", " File
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line
119, in get_network", " raise NetworkNotFoundError(net_name)", "v
dsm.tool.ovn_config.NetworkNotFoundError: ovirt1.domain.tld" ],
"_ansible_no_log" : false
},
"start" : "2024-03-11T10:21:41.493826",
"end" : "2024-03-11T10:21:43.925759",
"duration" : 2.431933,
"ignore_errors" : null,
"event_loop" : null,
"uuid" : "c43fec42-2838-4319-8f00-adaf24351341"
}
}
2024-03-11 11:21:44 CET - {
"uuid" : "c43fec42-2838-4319-8f00-adaf24351341",
"counter" : 412,
"stdout" : "fatal: [ovirt1.domain.tld]: FAILED! =>
{\"changed\":
true, \"cmd\": [\"vdsm-tool\", \"ovn-config\",
\"10.36.191.11\",
\"ovirt1.domain.tld\"], \"delta\": \"0:00:02.236199\",
\"end\":
\"2024-03-11 11:21:43.909643\", \"msg\": \"non-zero
return code\", \"rc\": 1, \"start\": \"2024-03-11
11:21:41.673444\",
\"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]\\n
KeyError: 'ovirt1.domain.tld'\\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\\\"](*arg
s)\\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 11
9, in get_network\\n raise
NetworkNotFoundError(net_name)\\nvdsm.tool.ovn_config.NetworkNotFoundError:
ovirt1.domain.tld\", \"stderr_lines\": [\"Traceback (most recent call
last):\", \" File
\\\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_conf
ig.py\\\", line 117, in get_network\", \" return
networks[net_name]\", \"KeyError: 'ovirt1.domain.tld'\",
\"\",
\"During handling of the above exception, another exception
occurred:\", \"\", \"Traceback (most recent call last):\",
\" File
\\\"/us
r/bin/vdsm-tool\\\", line 195, in main\", \" return
tool_command[cmd][\\\"command\\\"](*args)\", \" File
\\\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\\\", line
63, in ovn_config\", \" ip_address = get_ip_addr(get_network(network_c
aps(), net_name))\", \" File
\\\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\\\", line
119, in get_network\", \" raise NetworkNotFoundError(net_name)\",
\"vdsm.tool.ovn_config.NetworkNotFoundError: ovirt1.domain.tld\"],
\"stdout\": \
"\", \"stdout_lines\": []}",
"start_line" : 414,
"end_line" : 415,
"runner_ident" : "ca3d44fb-7482-481b-97d3-66f2ba7c9d0b",
"event" : "runner_on_failed",
"pid" : 1520750,
"created" : "2024-03-11T10:21:43.926054",
"parent_uuid" : "00163e21-72be-4886-1543-000000000042",
"event_data" : {
"playbook" : "ovirt-host-deploy.yml",
"playbook_uuid" : "4aa34ee9-1be3-4377-a573-ef33d837d406",
"play" : "all",
"play_uuid" : "00163e21-72be-4886-1543-000000000002",
"play_pattern" : "all",
"task" : "Configure OVN for oVirt",
"task_uuid" : "00163e21-72be-4886-1543-000000000042",
"task_action" : "ansible.builtin.command",
"task_args" : "",
"task_path" :
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml:43",
"role" : "ovirt-provider-ovn-driver",
"host" : "ovirt1.domain.tld",
"remote_addr" : "ovirt1.domain.tld",
"res" : {
"changed" : true,
"stdout" : "",
"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:
'ovirt1.domain.tld'\n\nDuring handling of the above exceptio
n, 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 ov
n_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.NetworkNotFoundE
rror: ovirt1.domain.tld",
"rc" : 1,
"cmd" : [ "vdsm-tool", "ovn-config",
"10.36.191.11",
"ovirt1.domain.tld" ],
"start" : "2024-03-11 11:21:41.673444",
"end" : "2024-03-11 11:21:43.909643",
"delta" : "0:00:02.236199",
"msg" : "non-zero return code",
"invocation" : {
"module_args" : {
"_raw_params" : "vdsm-tool ovn-config 10.36.191.11
ovirt1.domain.tld\n",
"_uses_shell" : false,
"expand_argument_vars" : true,
"stdin_add_newline" : true,
"strip_empty_ends" : true,
"argv" : null,
"chdir" : null,
"executable" : null,
"creates" : null,
"removes" : null,
"stdin" : null
}
},
"stdout_lines" : [ ],
"stderr_lines" : [ "Traceback (most recent call last):", "
File
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line
117, in get_network", " return networks[net_name]", "KeyError:
'ovirt1.domain.tld'", "", "During handling of
the above exception, another exception occurred:", "", "Traceback
(most recent call last):", " File \"/usr/bin/vdsm-tool\", line 195,
in main", " return tool_command[cmd][\"command\"](*args)",
" File
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn
_config.py\", line 63, in ovn_config", " ip_address =
get_ip_addr(get_network(network_caps(), net_name))", " File
\"/usr/lib/python3.9/site-packages/vdsm/tool/ovn_config.py\", line
119, in get_network", " raise NetworkNotFoundError(net_name)", "v
dsm.tool.ovn_config.NetworkNotFoundError: ovirt1.domain.tld" ],
"_ansible_no_log" : false
},
"start" : "2024-03-11T10:21:41.493826",
"end" : "2024-03-11T10:21:43.925759",
"duration" : 2.431933,
"ignore_errors" : null,
"event_loop" : null,
"uuid" : "c43fec42-2838-4319-8f00-adaf24351341"
}
}
Thank you
Jirka
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/QAOTIMELLHJ...