oVirt manager page fails with "500 error" after fresh install of oVirt 4.4.10 manager on Rocky Linux 8.9
by mr_tim_walsh@hotmail.com
I did a clean install of oVirt manager 4.4.10 on a clean Rocky Linux 8.9. I have found I get through installing and running "engine-setup" successfully without errors. The manager web site errors on "500 internal server error" but the Grafana site works without a problem. I seem to be missing one step or one configuration setting.
I'm working with Rocky Linux 8.9 and oVirt 4.4.10 partially to plan for migration, but also because I have older hardware at home I am using to sandbox with. I also plan to test upgrading from CentOS 7.9 with oVirt 4.3.10, so I want to make sure I have a solid installation method Rocky Linux 8.9 and oVirt 4.4.10. (my current method for installing CentOS 7.9 with oVirt 4.3.10 works flawless on hardware, and VMs).
When following the documentation for installing oVirt standalone manager on Enterprise Linux on the oVirt web site:
https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_mana...
There’s a section specific to "RedHat derivatives" – specifically Rocky Linux
https://www.ovirt.org/download/install_on_rhel.html
I followed the steps to the best of my ability. Here are the specific steps I took:
installed Rocky Linux - minimal install, added "system tools"
when that boots up I run these commands in this order:
dnf distro-sync --nobest
dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm
dnf module -y enable javapackages-tools
dnf module -y enable pki-deps
dnf module -y enable postgresql:12
dnf module -y enable mod_auth_openidc:2.3
dnf module -y enable nodejs:14
dnf install -y https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/x86_64/ovirt-engine-app...
(this package gets installed when you run the command: dnf install ovirt-engine-appliance )
dnf install ovirt-engine -y
engine-setup
I found the documentation says to run adding repos first then install release 4.4 RPM but the Java repo errors out, so I install the RPM first. I could do that last and enable Java afterwards like this:
... everything else...
dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm
dnf module -y enable nodejs:14
Again, to summarize: I have followed the documentation to the best of my ability and the process succeeds, but it always fails on 500s on trying to launch the manager. The Grafana web site works fine.
I should note on the same system I can install CentOS 7.9 and oVirt 4.3.10. It succeeds and works flawlessly.
Like I said earlier, I must be missing one step or one configuration setting. Thanks in advance for any help you can provide.
8 months, 2 weeks
Create Vm without Storage Domain
by Shafi Mohammed
Hi Team ,
I am new to Ovirt and have been using KVM off late . I use libvirt (virt
or virsh commands) to create and manage Vms .
I have a pretty basic doubt in OVirt . I was trying to migrate a VM from my
KVM host .I copied my .qcow2 virtual disk to the ovirt host.
I am able to create a Vm after uploading the disk to a new storage domain
and create a VM with the storage domain.
Can I create a VM without using a storage domain ( By directly attaching
the copied .qcow2 disk ) to the Vm
Regards
Shafi
8 months, 2 weeks
oVirt hosts mounting old storage domain even though it's not listed in the engine
by stanleym@missouri.edu
We have an oVirt cluster with multiple hosts that continues to mount an old storage domain we used for ISO images. The engine does not show this old storage domain and I've even looked at the engine sql database and not found this old storage domain. Manually unmounting the ISO storage domain on the hosts doesn't fix it as it will remount within a few minutes. Is there some way to manually make vdsm stop remounting this old path? I didn't know if there is a way to regenerate those files from scratch. We've went through all our VMs and removed the cdroms even trying to get it to stop.
We're going to try rebuilding a host from scratch to see if it's an artifact left on the host versus an artifact that's coming from the engine.
Any help would be appreciated!
8 months, 2 weeks
install node on centos stream 9 fails with message NetworkNotFoundError
by Jirka Simon
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
8 months, 2 weeks
Re: [External] : The table in the database is too large
by ziyi Liu
Is the DB vacuum cleaning thorough?
I tried that a long time ago and it didn't seem to clear much space.
Is the data recorded in DB cyclic or automatically cleared periodically?
Is it necessary to enable global maintenance for DB vacuum?
8 months, 2 weeks
Are there in oVirt any limitations on network interfaces?
by John Mortensen
Hi,
We are experiencing some network limitations on our virtual machines, we have done some initial testing to pinpoint the exact issue.
Hardware:
2 x 25G NICs per physical machine
2 x 100G interlinks between datacenters
iPerf test between two VMs in same host on same cluster and same datacenter reveals ~20GB/s (what is more or less expected)
iPerf test between two VMs in differet host on same cluster and same datacenter reveals ~20GB/s (what is more or less expected)
iPerf test between two VMs in differet host on different cluster and different datacenter reveals ~10GB/s (what is half or less than expected)
There are no firewalls or other identified blockeing equipment between the datacenters.
The only difference, as I see it, are traffic going across the 100G interlinks.
Are there anything that needs to be tuned / setup in the NICs either on the VM or the host to be able to get higher speed between the datacenters?
/John
8 months, 3 weeks
Renaming a datacenter and a cluster
by John Mortensen
Hi,
I was wondering if someone has had the same challenge as I have. Due to new naming constraints we need to rename a few things, namely the following:
1. The "cluster"
2. The "data center"
Looking through the documentation I have been unable to find this described and I am uncertain what consequences a rename can have on the environment.
/John
8 months, 3 weeks
delete old unuseful HostedEngine VM
by Nathanaël Blanchet
Hello
I migrated back a self hosted engine to standalone vm, but I can't
delete the old hosted engine vm and its related hosted storage domain.
I tried to do it into the database (vm_static table) but I had this
error: violates foreign key constraint "fk_snapshot_vm".
How can I clean those two elements, the vm and the storage domain?
--
Nathanaël Blanchet
Administrateur Systèmes et Réseaux
Service Informatique et REseau (SIRE)
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
8 months, 3 weeks
The table in the database is too large
by ziyi Liu
numa_node 6.39GB
vds_interface_statistics 3.08GB
vm_statistics 2.64GB
vds_statistics 1.72GB
vm_interface_statistics 1.54GB
audit_log 1.44GB
disk_image_dynamic 1.22GB
vm_dynamic 1GB
These tables basically have more than 200 rows, how should I reduce the data?
I have 111 hosts and 175 virtual machines
8 months, 3 weeks
Default login Ovirt 4.5.5 node webconsole
by wim@wibits.be
Hello,
I have been trying to install Ovirt 4.5.5 for the very first time but I have been struggling. I install Ovirt using the documentation on the website: https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_eng....
When I install my first node I am unable to access the webconsole on port 9090. I have set the root password and disabled the root lock. I am however unable to login on the webconsole with the root user.
I have searched far and low but I am unable to find the correct information.
Can someone tell me what the default login should be?
Thank you,
Wim
8 months, 3 weeks