Issue upgrading VDSM in 4.4.9
by ling@aliko.com
Hello, I am trying to perform an oVirt host upgrade and ran into this issue and looking for advice.
If i try to run dnf update vdsm directly:
Problem: cannot install the best update candidate for package vdsm-4.40.80.5-1.el8.x86_64
- nothing provides libvirt-daemon-kvm >= 7.6.0-2 needed by vdsm-4.40.90.3-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
After updating ovirt-release to 4.4.9, this is what I see available for libvirt-daemon:
[root@vmserver02 yum.repos.d]# dnf list libvirt-daemon-kvm
Last metadata expiration check: 2:09:25 ago on Wed 20 Oct 2021 01:28:56 PM PDT.Installed Packageslibvirt-daemon-kvm.x86_64 7.0.0-14.1.el8 @ovirt-4.4-advanced-virtualization
And the advance-virtualization repo points to this:
[ovirt-4.4-advanced-virtualization]
name=Advanced Virtualization packages for $basearch
mirrorlist=http://mirrorlist.centos.org/?arch=$basearch&release=8&repo=vi...
enabled=1
gpgcheck=1
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization
module_hotfixes=1
I am trying this on Centos 8 and also RHEL 8 machines. Both giving the same errors.
Thanks.
3 years, 1 month
hosted-engine deploy - Network error during communication with the Host. (NFS)
by Matyi Szabolcs
Hi,
I get the following error when hosted-engine --deplying:
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
"Network error during communication with the Host.". HTTP r
esponse code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Fault reason is \"Operation Failed\". Fault detail is \"Network
error
during communication with the Host.\". HTTP response code is 400."}
Please specify the storage you would like to use (glusterfs, iscsi, fc,
nfs)[nfs]:
NFS sharing is fine I can mount from VM and also from localhost..
Thanks!
3 years, 1 month
Gluster Install Fail again :(
by admin@foundryserver.com
I have been working on getting this up and running for about a week now and I am totally frustrated. I am not sure even where to begin. Here is the error I get when it fails,
TASK [gluster.features/roles/gluster_hci : Create the GlusterFS volumes] *******
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
failed: [storage1.private.net] (item={'volname': 'engine', 'brick': '/gluster_bricks/engine/engine', 'arbiter': 0}) => {"ansible_loop_var": "item", "changed": false, "item": {"arbiter": 0, "brick": "/gluster_bricks/engine/engine", "volname": "engine"}, "msg": "error running gluster (/usr/sbin/gluster --mode=script volume create engine replica 3 transport tcp storage1.private.net:/gluster_bricks/engine/engine storage2.private.net:/gluster_bricks/engine/engine storage3.private.net:/gluster_bricks/engine/engine force) command (rc=1): volume create: engine: failed: Staging failed on storage3.private.net. Error: Host storage1.private.net not connected\nStaging failed on storage2.private.net. Error: Host storage1.private.net not connected\n"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
failed: [storage1.private.net] (item={'volname': 'data', 'brick': '/gluster_bricks/data/data', 'arbiter': 0}) => {"ansible_loop_var": "item", "changed": false, "item": {"arbiter": 0, "brick": "/gluster_bricks/data/data", "volname": "data"}, "msg": "error running gluster (/usr/sbin/gluster --mode=script volume create data replica 3 transport tcp storage1.private.net:/gluster_bricks/data/data storage2.private.net:/gluster_bricks/data/data storage3.private.net:/gluster_bricks/data/data force) command (rc=1): volume create: data: failed: Staging failed on storage2.private.net. Error: Host storage1.private.net not connected\nStaging failed on storage3.private.net. Error: Host storage1.private.net not connected\n"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
failed: [storage1.private.net] (item={'volname': 'vmstore', 'brick': '/gluster_bricks/vmstore/vmstore', 'arbiter': 0}) => {"ansible_loop_var": "item", "changed": false, "item": {"arbiter": 0, "brick": "/gluster_bricks/vmstore/vmstore", "volname": "vmstore"}, "msg": "error running gluster (/usr/sbin/gluster --mode=script volume create vmstore replica 3 transport tcp storage1.private.net:/gluster_bricks/vmstore/vmstore storage2.private.net:/gluster_bricks/vmstore/vmstore storage3.private.net:/gluster_bricks/vmstore/vmstore force) command (rc=1): volume create: vmstore: failed: Staging failed on storage3.private.net. Error: Host storage1.private.net not connected\nStaging failed on storage2.private.net. Error: Host storage1.private.net is not in 'Peer in Cluster' state\n"}
Here are the facts.
using 4.4.9 of ovirt.
using ovirtnode os
partion for gluster: /dev/vda4 > 4T in unformatted space.
able to ssh into each host on the private.net and known hosts and fqdn passes fine.
On the volume page:
all default settings.
On the bricks page:
JBOD / Blacklist true / storage host storage1.private.net / default lvm except the device is /dev/sda4
I really need to get this setup. The first failure was the filter error, so I edited the /etc/lvm/lvm.conf to comment out the filter line. Then without doing a clean up I reran the deployment and got the above error.
Thanks in advance
Brad
3 years, 1 month
Q: oVirt guest agent + spice-vdagent on Debian 11 Bullseye
by Andrei Verovski
Hi,
Anyone have compiled these deb packages for Debian 11 Bullseye?
oVirt guest agent + spice-vdagent
Packages from Buster can’t be installed on Bullseye because of broken libnl dependencies.
Thanks in advance.
Andrei
3 years, 1 month
Engine VM FQDN will not validate.
by admin@foundryserver.com
Hello,
I am trying to install the Hosted engine using the wizard. I am NOT using the hyper converged. When I add the fqdn of vmengine1.domain.com I get the error. localhost is not a valid address. When I add the host fqdn in the advanced area it validates, if I put the vmengine1.domain.com in the the host section it validates.
Facts:
- I have the domain in dns, confirmed by dig to resolve to the public IP of the host.
- I have the domain in hosts file confirmed by using ping and dig
- I have generated a ssh key for the root user on the host and I have added it to the known hosts file.
- I have logged into via ssh to all forms of addressing, so the known hosts file has been updated.
localhost ecdsa-sha2-nistp256 AAAA
host1 ecdsa-sha2-nistp256 AAAA
host1.localhost ecdsa-sha2-nistp256 AAAA
vmengine.localhost ecdsa-sha2-nistp256 AAAA
host1.domain.com ecdsa-sha2-nistp256 AAAA
vmengine1.domain.com ecdsa-sha2-nistp256 AAAA
The reading suggests that the error doesn't mean what it says, but something about ssh not able to login to the host. I have been able to login to the host with ssh manually from the cli. Any help would be greatly appreciated.
thanks
Brad
3 years, 1 month
The service NetworkManager-wait-online fail to start
by amazirs@hotmail.com
Hello,
i have install new Ovirt node.
The service NetworkManager-wait-online fail to start:
10:21 Failed to start Network Manager Wait Online. systemd
10:21 NetworkManager-wait-online.service: Failed with result 'exit-code'. systemd
10:21 NetworkManager-wait-online.service: Main process exited, code=exited, status=1/FAILURE systemd
10:20 Starting Network Manager Wait Online... systemd
When y try:
sh /usr/lib/systemd/system/NetworkManager-wait-online.service :
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 1: [Unit]: comm
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 2: Manager: com
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 3: syntax error
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 3: `Documentati
I'm desperate to find solution!!
thanks
3 years, 1 month
Snapshot and disk size allocation
by jorgevisentini@gmail.com
Hello everyone.
I would like to know how disk size and snapshot allocation works, because every time I create a new snapshot, it increases 1 GB in the VM's disk size, and when I remove the snap, that space is not returned to Domain Storage.
I'm using the oVirt 4.3.10
How do I reprovision the VM disk?
Thank you all.
3 years, 1 month
Upgrade 4.3 to 4.4 with Python3 : No module named "rpmUtils"
by Richard Chan
Hello.,
Scenario: Upgrading from 4.3 to 4.4
Situation: When running engine-setup on the new (standalone) engine host I
hit
2021-10-28 18:30:47,998+0800 DEBUG otopi.context context._executeMethod:127
Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
2021-10-28 18:30:47,999+0800 DEBUG
otopi.plugins.otopi.packagers.yumpackager yumpackager._boot:187 Cannot
initialize miniyum
Traceback (most recent call last):
File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 179,
in _boot
self._refreshMiniyum()
File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 134,
in _refreshMiniyum
constants.PackEnv.YUM_ENABLED_PLUGINS
File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 61,
in _getMiniYum
from otopi import miniyum
File "/usr/lib/python3.6/site-packages/otopi/miniyum.py", line 17, in
<module>
import rpmUtils.miscutils
ModuleNotFoundError: No module named 'rpmUtils'
I have
# dnf provides \*/miscutils.py
Last metadata expiration check: 4:02:50 ago on Thu 28 Oct 2021 02:40:56 PM.
python3-dnf-4.4.2-11.el8.noarch : Python 3 interface to DNF
Repo : @System
Matched from:
Filename : /usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py
python3-dnf-4.4.2-11.el8.noarch : Python 3 interface to DNF
Repo : baseos
Matched from:
Filename : /usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py
On the original EL7 host with python2 I have
# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
* ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo : base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo : @base
Matched from:
Filename : /usr/lib/python2.7/site-packag# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
* ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo : base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
yum-3.4.3-167.el7.centos.noarch : RPM pa# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
* ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo : base# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
* ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo : base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo : @base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo : @base
Matched from:# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
* ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo : extras
Matched from:
Filename : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py
yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo : base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo : @base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
ckage installer/updater/manager
Repo : @base
Matched from:
Filename : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
es/rpmUtils/miscutils.py
--
Richard Chan
3 years, 1 month
Internal Error
by Tommy Sway
Why is there such an error ?
2021-10-27 06:33:30,996+0800 INFO (jsonrpc/3) [api.host] FINISH getStats
error=<Fault 1: "<type 'exceptions.AttributeError'>:'NoneType' object has no
attribute 'statistics'"> from=::ffff:10.200.211.80,48086 (api:52)
2021-10-27 06:33:30,997+0800 ERROR (jsonrpc/3) [jsonrpc.JsonRpcServer]
Internal server error (__init__:350)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345,
in _handle_request
res = method(**params)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
_dynamicMethod
result = fn(*methodArgs)
File "<string>", line 2, in getStats
File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in
method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1435, in
getStats
multipath=True)}
File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 77, in
get_stats
ret.update(cif.mom.getKsmStats())
File "/usr/lib/python2.7/site-packages/vdsm/momIF.py", line 67, in
getKsmStats
stats = self._mom.getStatistics()['host']
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, in single_request
return self.parse_response(response)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1482, in parse_response
return u.close()
File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "<type 'exceptions.AttributeError'>:'NoneType' object has
no attribute 'statistics'">
2021-10-27 06:33:30,997+0800 INFO (jsonrpc/3) [jsonrpc.JsonRpcServer] RPC
call Host.getStats failed (error -32603) in 0.04 seconds (__init__:312)
3 years, 1 month