Error: Adding new Host to ovirt-engine
by Ahmad Khiet
Hi,
Can't add new host to ovirt engine, because the following error:
2019-06-12 12:23:09,664 p=4134 u=engine | TASK [ovirt-host-deploy-facts :
Set facts] *************************************
2019-06-12 12:23:09,684 p=4134 u=engine | ok: [10.35.1.17] => {
"ansible_facts": {
"ansible_python_interpreter": "/usr/bin/python2",
"host_deploy_vdsm_version": "4.40.0"
},
"changed": false
}
2019-06-12 12:23:09,697 p=4134 u=engine | TASK [ovirt-provider-ovn-driver
: Install ovs] *********************************
2019-06-12 12:23:09,726 p=4134 u=engine | fatal: [10.35.1.17]: FAILED! =>
{}
MSG:
The conditional check 'cluster_switch == "ovs" or (ovn_central is defined
and ovn_central | ipaddr and ovn_engine_cluster_version is
version_compare('4.2', '>='))' failed. The error was: The ipaddr filter
requires python's netaddr be installed on the ansible controller
The error appears to be in
'/home/engine/apps/engine/share/ovirt-engine/playbooks/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
line 3, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- block:
- name: Install ovs
^ here
2019-06-12 12:23:09,728 p=4134 u=engine | PLAY RECAP
*********************************************************************
2019-06-12 12:23:09,728 p=4134 u=engine | 10.35.1.17 :
ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0
ignored=0
whats missing!?
Thanks
--
Ahmad Khiet
Red Hat <https://www.redhat.com/>
akhiet(a)redhat.com
M: +972-54-6225629
<https://red.ht/sig>
1 year, 4 months
Ovirt Admin VM Portal url Not Loading on the Browser After Successful HE Deployment.
by igwevic70@gmail.com
Hi there,
I need some help here, please.
I am new to ovirt and I am trying to setup ovirt 4.5.4 a test env. I have successfully deployed HE using "hosted-engine --deploy" after days of encountering a lot of issues, but the current issue now is that I can't access the VM Portal ie WebUI, where I can create VM from the Admin portal. One thing I noticed is that during the deployment process, it supplies a temporary url link like "https://ovirt-node-03.projectplus.com:6900/ovirt-engine" to access the web but when the deployment is done, it kills the this url and it becomes unavailable with no web access again
Can someone please please, help me to understand what's going on. I have done this deployment nearly 10x but still getting the same thing, I can just have webui access to the Admin Portal.
Thanks in advance for your help.
Vik.
1 year, 7 months
Invalid value '-1' for 'cpu.max': Invalid argument
by lejeczek
Hi guys.
with latest stable ovirt node, hosted engine setup fails at,
I guess late stage:
...
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the
user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false,
"msg": "Host is not up, please check logs, perhaps also on
the engine machine"}
as setup sits & waits for a while, before it errors out, I
see this in logs:
...
12687 still running (84875)
Invalid value '-1' for 'cpu.max': Invalid argument
12687 still running (84870)
12687 still running (84865)
12687 still running (84860)
Invalid value '-1' for 'cpu.max': Invalid argument
...
and logs continue after engine setup has finished.
I've browsed around but resolutions I found did not help,
also I suspect it might be a bug thus any comments on how to
fix it, are very much appreciated - btw, why BZs reports
should go?
many thanks, L.
1 year, 7 months
Console Disconnect Action
by Shubha Kulkarni
Hello,
I am experimenting with the feature ‘console disconnect action’ . It provides four actions on disconnect.
Lock screen - This is the default option. For all Linux machines and for Windows desktops this locks the currently active user session. For Windows servers, this locks the desktop and the currently active user.
Logout user - For all Linux machines and Windows desktops, this logs out the currently active user session. For Windows servers, the desktop and the currently active user are logged out.
Shutdown virtual machine - Initiates a graceful virtual machine shutdown.
Reboot virtual machine - Initiates a graceful virtual machine reboot.
In my testing, the shutdown and reboot options worked. However, lock screen and logout user option did not work for me.
I looked around and found out that qemu-guest agent has no command to log off a user. I see ovirt-guest-agent has some code to logout user as described below - https://github.com/oVirt/ovirt-guest-agent/blob/master/ovirt-guest-agent/...
However, it turns out that the ovirt-guest-agent is not supported anymore. So I am wondering how the ‘lock screen’ and ‘logout user’ is implemented and whether it is still supported/supposed to work?
Thanks,
Shubha
1 year, 7 months
this is probably a bug: cannot import name 'Callable' from 'collection
by lejeczek
Hi guys
Just to let you know that both stable & testing fail to
setup hosted engine very early in the process, in Centos 9
[ ERROR ] b'[WARNING]: Skipping plugin
(/usr/share/ovirt-hosted-engine-\n'
[ ERROR ]
b'setup/he_ansible/callback_plugins/2_ovirt_logger.py),
cannot load: cannot\n'
[ ERROR ] b"import name 'Callable' from 'collections'\n"
[ ERROR ] b'(/usr/lib64/python3.11/collections/__init__.py)\n'
[ ERROR ] b"ERROR! Unexpected Exception, this is probably a
bug: cannot import name 'Callable' from 'collections'
(/usr/lib64/python3.11/collections/__init__.py)\n"
[ ERROR ] Failed to execute stage 'Environment
customization': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
[ INFO ] Cleaning temporary resources
[ ERROR ] b'[WARNING]: Skipping plugin
(/usr/share/ovirt-hosted-engine-\n'
[ ERROR ]
b'setup/he_ansible/callback_plugins/2_ovirt_logger.py),
cannot load: cannot\n'
[ ERROR ] b"import name 'Callable' from 'collections'\n"
[ ERROR ] b'(/usr/lib64/python3.11/collections/__init__.py)\n'
[ ERROR ] b"ERROR! Unexpected Exception, this is probably a
bug: cannot import name 'Callable' from 'collections'
(/usr/lib64/python3.11/collections/__init__.py)\n"
[ ERROR ] Failed to execute stage 'Clean up': Failed
executing ansible-playbook
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20230511181231.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed
I ain't ! a python programmer, but what the Internet says,
seems to be the case:
from collections import Callable
VS
from collections.abc import Callable
and if it's that trivial indeed, perhaps a quick official
fix then?
many thanks, L.
1 year, 7 months
IO threads versus number of diske mapped to VM
by Jacob M. Nielsen
Hi List
I have trouble to find information regarding how to performance tune my IO on my VM.
We see bad performance max 30 MB/s from the VM to the storage (Posix mounted file system)
We have tested the filesystems locally from the Ovirt host , and we can easy get +500MB/s
Found a parameter
<io>
<threads>2</threads>
</io>
I can't find recommended configuration regarding this parameter.
My question is which value is should use for this , when having 60 high performance disks mapped to my VM
Somebody any answers
tnx
1 year, 7 months