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, 3 months
Error Java SDK Issue??
by Geschwentner, Patrick
Dear Ladies and Gentlemen!
I am currently working with the java-sdk and I encountered a problem.
If I would like to retrieve the disk details, I get the following error:
Disk currDisk = ovirtConnection.followLink(diskAttachment.disk());
The Error is occurring in this line:
[cid:image001.png@01D44537.AF127FD0]
The getResponst looks quiet ok. (I inspected: [cid:image002.png@01D44537.AF127FD0] and it looks ok).
Error:
wrong number of arguments
The code is quiet similar to what you published on github (https://github.com/oVirt/ovirt-engine-sdk-java/blob/master/sdk/src/test/j... ).
Can you confirm the defect?
Best regards
Patrick
3 years, 7 months
Why is vdsm enabled by default?
by Yedidyah Bar David
If I do e.g.:
1. Install CentOS
2. yum install ovirt-releaseSOMETHING
3. yum install vdsm
Then reboot the machine, vdsm starts, and for this, it does all kinds of
things to the system (such as configure various services using vdsm-tool
etc.). Are we sure we want/need this? Why would we want vdsm
configured/running at all at this stage, before being added to an engine?
In particular, if (especially during development) we have a bug in this
configuration process, and then fix it, it might not be enough to upgrade
vdsm - the tooling will then also have to fix the changes done by the buggy
previous version, or require a full machine reinstall.
Thanks and best regards,
--
Didi
4 years, 7 months
net_mlx5 libibverbs.so.1 noise
by Yedidyah Bar David
Hi all,
I upgraded my CentOS8 engine machine, and now whenever I run a shell
(e.g. ssh, or another window in tmux), I get:
net_mlx5: cannot load glue library: libibverbs.so.1: cannot open
shared object file: No such file or directory
net_mlx5: cannot initialize PMD due to missing run-time dependency on
rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open
shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time
dependency on rdma-core libraries (libibverbs, libmlx4)
net_mlx5: cannot load glue library: libibverbs.so.1: cannot open
shared object file: No such file or directory
net_mlx5: cannot initialize PMD due to missing run-time dependency on
rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open
shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time
dependency on rdma-core libraries (libibverbs, libmlx4)
Not sure if this is a new known issue. It happened in the past, and
was fixed, but apparently got broken again. Now commented about this
on the old bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1642945#c9
Workaround:
dnf install libibverbs.so.1 libmlx5
Best regards,
--
Didi
4 years, 8 months
[CQ 20589] engine reports storage domain does not exist
by Sandro Bonazzola
https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/20589/
Engine fails at:
2020-02-25 02:53:53,144-05 DEBUG
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainInfoVDSCommand]
(default task-1) [56f93c90-3868-43f8-920f-bc1fccc72a27] Exception:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to
HSMGetStorageDomainInfoVDS, error = Storage domain does not exist:
('8c9f3762-3bf1-48fa-9237-b6587d0268ab',), code = 358
https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/20589/arti...
corresponding failure in VDSM is:
2020-02-25 02:53:53,128-0500 ERROR (jsonrpc/7)
[storage.TaskManager.Task]
(Task='752b540e-fbfc-4602-8eeb-3c357fb7f5a2') Unexpected error
(task:874)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line
881, in _run
return fn(*args, **kargs)
File "<decorator-gen-129>", line 2, in getStorageDomainInfo
File "/usr/lib/python3.6/site-packages/vdsm/common/api.py", line 50, in method
ret = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/storage/hsm.py", line
2752, in getStorageDomainInfo
dom = self.validateSdUUID(sdUUID)
File "/usr/lib/python3.6/site-packages/vdsm/storage/hsm.py", line
309, in validateSdUUID
sdDom = sdCache.produce(sdUUID=sdUUID)
File "/usr/lib/python3.6/site-packages/vdsm/storage/sdc.py", line
115, in produce
domain.getRealDomain()
File "/usr/lib/python3.6/site-packages/vdsm/storage/sdc.py", line
51, in getRealDomain
return self._cache._realProduce(self._sdUUID)
File "/usr/lib/python3.6/site-packages/vdsm/storage/sdc.py", line
139, in _realProduce
domain = self._findDomain(sdUUID)
File "/usr/lib/python3.6/site-packages/vdsm/storage/sdc.py", line
156, in _findDomain
return findMethod(sdUUID)
File "/usr/lib/python3.6/site-packages/vdsm/storage/sdc.py", line
186, in _findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
vdsm.storage.exception.StorageDomainDoesNotExist: Storage domain does
not exist: ('8c9f3762-3bf1-48fa-9237-b6587d0268ab',)
2020-02-25 02:53:53,128-0500 INFO (jsonrpc/7)
[storage.TaskManager.Task]
(Task='752b540e-fbfc-4602-8eeb-3c357fb7f5a2') aborting: Task is
aborted: "value=Storage domain does not exist:
('8c9f3762-3bf1-48fa-9237-b6587d0268ab',) abortedcode=358" (task:1184)
2020-02-25 02:53:53,128-0500 ERROR (jsonrpc/7) [storage.Dispatcher]
FINISH getStorageDomainInfo error=Storage domain does not exist:
('8c9f3762-3bf1-48fa-9237-b6587d0268ab',) (dispatcher:83)
2020-02-25 02:53:53,129-0500 INFO (jsonrpc/7) [jsonrpc.JsonRpcServer]
RPC call StorageDomain.getInfo failed (error 358) in 0.28 seconds
(__init__:312)
https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/20589/arti...
Corresponding var log messages:
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:2: Attached
scsi generic sg8 type 0
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:2: alua:
port group 00 state A non-preferred supports TOlUSNA
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: scsi 3:0:0:1:
Direct-Access LIO-ORG lun1_bdev 4.0 PQ: 0 ANSI: 5
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:2: [sdi]
41943040 512-byte logical blocks: (21.5 GB/20.0 GiB)
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: scsi 3:0:0:1: alua:
supports implicit and explicit TPGS
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: scsi 3:0:0:1: alua:
device naa.600140541e20cc9dba94e4fa46a57322 port group 0 rel port 1
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:2: [sdi]
Write Protect is off
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:2: [sdi]
Write cache: enabled, read cache: enabled, supports DPO and FUA
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:1: Attached
scsi generic sg9 type 0
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:1: alua:
port group 00 state A non-preferred supports TOlUSNA
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:1: [sdj]
41943040 512-byte logical blocks: (21.5 GB/20.0 GiB)
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:0: [sdf]
Attached SCSI disk
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:1: [sdj]
Write Protect is off
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:1: [sdj]
Write cache: enabled, read cache: enabled, supports DPO and FUA
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:4: [sdg]
Attached SCSI disk
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:3: [sdh]
Attached SCSI disk
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:2: [sdi]
Attached SCSI disk
Feb 25 02:53:52 lago-basic-suite-master-host-0 kernel: sd 3:0:0:1: [sdj]
Attached SCSI disk
Feb 25 02:53:52 lago-basic-suite-master-host-0 systemd[1]: Started Session
c67 of user root.
Feb 25 02:53:52 lago-basic-suite-master-host-0 systemd[1]: Starting LVM
event activation on device 8:128...
Feb 25 02:53:52 lago-basic-suite-master-host-0 lvm[30164]: pvscan[30164]
PV /dev/sdi online, VG 8c9f3762-3bf1-48fa-9237-b6587d0268ab is complete.
Feb 25 02:53:52 lago-basic-suite-master-host-0 lvm[30164]: pvscan[30164]
VG 8c9f3762-3bf1-48fa-9237-b6587d0268ab skip autoactivation.
Feb 25 02:53:52 lago-basic-suite-master-host-0 systemd[1]: Started LVM
event activation on device 8:128.
https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/20589/arti...
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.*
4 years, 9 months