[VDSM] flake8 fails - testing .local/share/virtualenv?!
by Nir Soffer
Looks like something is installing stuff in .local/ inside the project
source directory,
and flake8 fails since we run it like this:
$ python /home/jenkins/workspace/vdsm_standard-check-patch/vdsm/tests/profile
flake8 flake8 --statistics . build-aux/vercmp contrib/logdb
contrib/logstat contrib/lvs-stats contrib/profile-stats
init/daemonAdapter lib/vdsm/storage/curl-img-wrap
lib/vdsm/storage/fc-scan static/libexec/vdsm/get-conf-item
static/usr/bin/vdsm-tool
And it tries to check files in .local/:
[2020-04-22T13:55:27.086Z]
/home/jenkins/workspace/vdsm_standard-check-patch/vdsm/.tox/flake8/lib/python3.7/site-packages/pycodestyle.py:113:
FutureWarning: Possible nested set at position 1
[2020-04-22T13:55:27.086Z] EXTRANEOUS_WHITESPACE_REGEX =
re.compile(r'[[({] | []}),;:]')
[2020-04-22T13:57:04.906Z]
./.local/share/virtualenv/seed-app-data/v1.0.1/3.7/image/CopyPipInstall/setuptools-46.1.3-py3-none-any/pkg_resources/_vendor/appdirs.py:13:80:
E501 line too long (96 > 79 characters)
[2020-04-22T13:57:04.906Z] # - Mac OS X:
http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/i...
[2020-04-22T13:57:04.906Z]
^
[2020-04-22T13:57:04.906Z]
./.local/share/virtualenv/seed-app-data/v1.0.1/3.7/image/CopyPipInstall/setuptools-46.1.3-py3-none-any/pkg_resources/_vendor/appdirs.py:14:80:
E501 line too long (93 > 79 characters)
I remember that we already handled this issue, not sure why it pops again.
We can solve this by more strict search path instead of .
Nir
4 years, 7 months
Calender mouse click event not working
by Ritesh Chikatwar
Hello...
I am using this
*org.gwtbootstrap3.extras.datetimepicker.client.ui.DateTimePicker*
I tried adding these event handlers to the datepicker
--
1. *addChangeDateHandler*(evt -> ValueChangeEvent.fire(dateTimePicker,
dateTimePicker.getValue()));
2. *addValueChangeHandler *to the datepicker even though that didn't work.
3. Also tried .addChangeMonthHandler, .addChangeYearHandler
Any suggestion to make it work will be greatly appreciated.
The link for developed widget Github
<https://github.com/oVirt/ovirt-engine/blob/master/frontend/webadmin/modul...>
.
Any suggestion to make it work will be greatly appreciated.
*Ritesh*
4 years, 7 months
Cluster Console Encryption
by Tommaso - Shellrent
Hi to all.
We are tryng to manage the value of "Enable VNC Encryption" on the
cluster via ansible[or any automatic mode].
Someone got any hint?
Regards
--
--
Shellrent - Il primo hosting italiano Security First
*Tommaso De Marchi*
/COO - Chief Operating Officer/
Shellrent Srl
Via dell'Edilizia, 19 - 36100 Vicenza
Tel. 0444321155 <tel:+390444321155> | Fax 04441492177
4 years, 7 months
Changing vdsm version installed on host
by Vojtech Juranek
Hi,
can anybody give me a hint which component is responsible for installing host
when I add a host in engine UI? Or how to change vdsm version installed this
way on the host?
It installs vdsm-4.40.2:
[root@localhost ~]# rpm -q ovirt-release44-pre
ovirt-release44-pre-4.4.0-0.11.beta4.el8.noarch
[root@localhost ~]# rpm -q vdsm
vdsm-4.40.2-1.el8.x86_64
We need newer version of vdsm (at least 4.40.11) to work properly with imageio
2.0.
vdsm 4.40.13 can be pushed by running dnf update, but it's not very user
friendly (moreover imageio service needs to be restarted after update and it's
not obvious for the user t do so), so I'd like to change it to install 4.40.13
automatically when installing all other ovirt stuff.
Thanks
Vojta
4 years, 7 months
Unable to add vdsm host to ovirt-engine
by Kaustav Majumder
Hi,
While trying to add a new host to a locally deployed
ovirt-engine(gluster-enabled) ansible runner fails to restart vdsm owing to
its dependency on ovirt-imageio.service.
```
"ansible_loop_var" : "item",
"_ansible_no_log" : false,
"item" : "vdsmd.service",
"failed" : true,
"msg" : "Unable to start service vdsmd.service: A dependency job
for vdsmd.service failed. See 'journalctl -xe' for details.\n",
"changed" : false,
```
Checking less /var/log/ovirt-imageio/daemon.log
```
2020-04-21 06:46:21,539 INFO (MainThread) [server] Starting (pid=25592,
version=2.0.5)
2020-04-21 06:46:21,546 ERROR (MainThread) [server] Server failed
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/server.py", line
37, in main
server = Server(cfg)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/server.py", line
76, in __init__
self.remote_service = services.RemoteService(self.config, self.auth)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/services.py", line
79, in __init__
self._secure_server()
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/services.py", line
104, in _secure_server
enable_tls1_1=self._config.tls.enable_tls1_1)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/ssl.py", line 18,
in server_context
purpose=ssl.Purpose.CLIENT_AUTH, cafile=cafile)
File "/usr/lib64/python3.6/ssl.py", line 468, in create_default_context
context.load_verify_locations(cafile, capath, cadata)
ssl.SSLError: [X509] no certificate or crl found (_ssl.c:3771
```
Is there a workaround or am I doing something wrong?
--
Thanks,
Kaustav Majumder
4 years, 7 months
How to install ovirt-engine 4.4? Missing apache-commons-jxpath
by Vojtech Juranek
Hi,
how do I install ovirt-engine 4.4, either pre or master? On CentOS 8 it fails with
oVirt 4.4 Pre-Release 218 kB/s | 706 kB 00:03
Error:
Problem: package ovirt-engine-4.4.0-0.5.beta3.20200408120550.gitf94f968ca81.el8.noarch requires apache-commons-jxpath, but none of the providers can be installed
- cannot install the best candidate for the job
- package apache-commons-jxpath-1.3-29.module_el8.0.0+30+832da3a1.noarch is excluded
On FC30 there is even more broken packages.
Any hints how to fix it?
Thanks
Vojta
4 years, 7 months
Cannot upload disk image
by Artem Hrechanychenko
Hi all,
I'm trying to upload disk image to ovirt
from Events I see next -
"Transfer was stopped by system. Reason: failed to add image ticket to
ovirt-imageio-proxy."
From engine.log
2020-04-10 10:40:39,419-04 INFO
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-9)
[9e43f14b-58a3-429d-a573-0bd8749cb8d8] Transfer was paused by system.
Upload disk 'cirros' (disk id: 'bc2e150f-6050-4cb1-9b88-54b077a4df8b',
image id: 'bc855d6a-b046-4b93-b78b-7bc44b64987f')
I'm new in ovirt world. Can anyone help me with this?
Ovirt-engine logs from /var/log/ovirt-engine attached
ovirt-Version - 4.4.0-0.5.beta3.20200408120550.gitf94f968ca81.el8
4 years, 7 months
q35 changes
by Michal Skrivanek
Eh, so no, still not correct. Steven/Shmuel, I guess it could be your [1] or maybe other related recent patches from you, but OST is now broken (again).
With [2] finally fixing the cluster creation OST now runs with a Q35 seabios (as it was supposed to, but wasn’t until now), and the vm2 which has a custom emulated machine of i440fx-rhel-7.4.0 doesn’t run anymore, because apparently it is launched as a q35 VM for the first time, and then failing restart ever since.
Please fix ASAP
Thanks,
michal
[1] https://gerrit.ovirt.org/#/c/107785/
[2] https://gerrit.ovirt.org/#/c/108237/
4 years, 7 months
Running OST on el8
by Marcin Sobczyk
Hi,
as some of you may know, there has been effort around OST to make it run on
el8.
ATM basic suite should be fully functional in that env. We don't have el8
runs
in CI yet, but for those of you brave enough to try it out by yourself, you
can
download the packages necessary to run OST (lago, lago-ovirt and repoman)
from Sandro's
repository [1]. Please note that these are _not_ official builds (that
especially applies
to repoman), so they may not be 100% functional, but they work for OST.
Regards, Marcin
[1]
https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL8_collection/e...
4 years, 7 months