[ovirt-users] Re: Couldn't connect to VDSM within 60 seconds

2022-04-08 Thread pasquale.borrelli--- via Users
In the previous post I meant "Sandro", sorry for the mistake!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XEIPSJA27BCHY7PMZD2RRBEMHF3SQOZJ/


[ovirt-users] Re: Couldn't connect to VDSM within 60 seconds

2022-04-08 Thread pasquale.borrelli--- via Users
Dear Marco,

the information you request are as follows:
glusterfs.x86_64 8.6-2.el8s @ovirt-4.4-centos-gluster8  
  
ovirt-release44.noarch 4.4.10.2-1.el8 @@commandline 
 
vdsm.x86_64 4.40.100.2-1.el8 @ovirt-4.4
centos-release 8.5.2111

In addition, this is the output of /var/log/messages (in loop):
pr  8 10:14:51 localhost journal[50186]: ovirt-ha-broker 
ovirt_hosted_engine_ha.broker.broker.Broker ERROR Failed initializing the 
broker: Couldn't  connect to VDSM within 60 seconds
Apr  8 10:14:51 localhost journal[50186]: ovirt-ha-broker 
ovirt_hosted_engine_ha.broker.broker.Broker ERROR Traceback (most recent call 
last):#012  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/broker.py", 
line 64, in run#012self.storage_broker_instance = 
self._get_storage_broker()#012  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/broker.py", 
line 143, in _get_storage_broker#012return 
storage_broker.StorageBroker()#012  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
 line 97, in __init_#012self._backend.connect()#012  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py",
 line 370, in connect#012connection = 
util.connect_vdsm_json_rpc(logger=self._logger)#012  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", line 
474, in connect_vdsm_json_rpc#012__vdsm_json_rpc_connect(logger, 
timeout)#012  File "/usr/lib/python3.6/sit
 e-packages/ovirt_hosted_engine_ha/lib/util.py", line 415, in 
__vdsm_json_rpc_connect#012timeout=VDSM_MAX_RETRY * 
VDSM_DELAY#012RuntimeError: Couldn't  connect to VDSM within 60 seconds
Apr  8 10:14:51 localhost journal[50186]: ovirt-ha-broker 
ovirt_hosted_engine_ha.broker.broker.Broker ERROR Trying to restart the broker
Apr  8 10:14:51 localhost platform-python[50186]: detected unhandled Python 
exception in '/usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker'
Apr  8 10:14:52 localhost systemd[1]: ovirt-ha-broker.service: Main process 
exited, code=exited, status=1/FAILURE
Apr  8 10:14:52 localhost systemd[1]: ovirt-ha-broker.service: Failed with 
result 'exit-code'.
Apr  8 10:14:52 localhost abrt-server[50224]: Deleting problem directory 
Python3-2022-04-08-10:14:52-50186 (dup of Python3-2022-04-05-10:41:27-1439)
Apr  8 10:14:52 localhost systemd[1]: ovirt-ha-broker.service: Service 
RestartSec=100ms expired, scheduling restart.
Apr  8 10:14:52 localhost systemd[1]: ovirt-ha-broker.service: Scheduled 
restart job, restart counter is at 980.
Apr  8 10:14:52 localhost systemd[1]: Stopped oVirt Hosted Engine High 
Availability Communications Broker.
Apr  8 10:14:52 localhost systemd[1]: Started oVirt Hosted Engine High 
Availability Communications Broker.
Apr  8 10:14:52 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:53 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:54 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:54 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:55 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:55 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:56 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:56 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:57 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:57 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:58 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'
Apr  8 10:14:58 localhost vdsm[47879]: WARN Unrecognized protocol: 
b'\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03'

It seems that both ovirt-ha-broker and ovirt-ha-agent trying to restart :( 

Thank you!
Pasquale
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3EL2J6OPOCAVSSSJUBNXBC3JGWLMPQLO/


[ovirt-users] Re: VM failed to start when host's network is down

2022-04-08 Thread Sandro Bonazzola
Il giorno lun 28 mar 2022 alle ore 07:46 lizhij...@fujitsu.com <
lizhij...@fujitsu.com> ha scritto:

> Post again after subscribing the mail list.
>
>
> Hi guys
>
> I have an all in one ovirt environment which node installed both
> vdsm and ovirt-engine.
>

Hi All In One feature was deprecated in 3.6 and dropped in 4.0.
Please use hosted engine deployment instead.

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CRTVCFHBKJ32V6FTNDW2EPSC2VIB4ZTS/


[ovirt-users] Re: Wait for the engine to come up on the target vm

2022-04-08 Thread Sandro Bonazzola
Il giorno mar 29 mar 2022 alle ore 11:21 Vladimir Belov 
ha scritto:

>
> I'm trying to deploy oVirt from a self-hosted engine, but at the last step
> I get an engine startup error.
>

[cut]

Can you please provide output of:
```
dnf -q list installed centos-release\* ovirt-release\* ovirt-engine
redhat-release
vdsm glusterfs qemu\*
```


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7QJ67IIWM4H4FBVRC2VEPISPDR6PDX52/


[ovirt-users] Re: Gluster storage and TRIM VDO

2022-04-08 Thread Oleh Horbachov
I have 6 hosts in oVirt cluster with same install and affected only one

Best regards,
Oleh Horbachov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LRHWE2YTMYVMTIPWP6AWFIGTPYWZSXRU/


[ovirt-users] Re: Mac addresses pool issues

2022-04-08 Thread Sandro Bonazzola
Il giorno mer 30 mar 2022 alle ore 17:06 Nicolas MAIRE 
ha scritto:

> Hi,
>
> We're encountering some issues on one of our production clusters running
> oVirt 4.2.


[cut]


> I'm quite new to oVirt (only been using it for one year) so any help would
> be greatly appreciated.
>

Hi,
oVirt 4.2 reached end of life about 3 years ago when oVirt 4.3.0 was
released (February 2019).
We are going to release oVirt 4.5 in about 2 weeks then even oVirt 4.4 will
reach End of Life.
The best suggestion I can give is to upgrade as soon as practical.

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RRCTVMIJBMK7JC2CQYIEIXJUYPDKK7SS/


[ovirt-users] Re: Gluster storage and TRIM VDO

2022-04-08 Thread Oleh Horbachov
Hello. The issue is at same time difficult and easy to reproduce. 
Easy because I can reproduce 1 time from 3-4 run
Difficult because I cant to catch start and stop the issue 
Answers to your questions
1. In general disks responsive during the fstrim
2. I run trigger every week but ih different day of week for each storage
3. I use nvme disks.

I tried to do reproduce the issue manually and found following
1. Affected only for one host of storage cluster (i think because main mount 
point) 
2. In ovirt events found
"Host ovirt-host-03 cannot access the Storage Domain(s) glusterfs-data attached 
to the Data Center Computing. Setting Host state to Non-Operational." and after 
that event oVirt started migration from host-03

I think the issue is VDSM
In additional found at host  ovirt-host-03 in vdsm.log few errors at time 
during fstrim like 
"ERROR (monitor/2ac7658) [storage.Monitor] Error checking domain 
2ac76580-2182-470d-b886-d3d2e28d05b3 (monitor:453)"
2ac... - uuid gluster domain

I have 6 hosts in cluster with same install and affected only one
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YQPM6245G7QLCUJIDAEUT2QNZT2M5J6D/


[ovirt-users] Re: How to create User in web ui?

2022-04-08 Thread Sandro Bonazzola
Il giorno mer 6 apr 2022 alle ore 11:25  ha scritto:

> Hello,
>
> in ovirt guide, we need to create user by ovirt-aaa-jdbc-tool
>
> and we can add only users created by ovirt-aaa-jdbc-tool.
>
> Is there any way to create user in web ui?
>

@Artur Socha  maybe you can provide some info here.
I guess this involves keycloak usage.
Please ensure this is well covered in the admin guide.


>
>
> and if not, is there any reason to block creating user in web ui?
>
> Thank you.
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/F7QVNJAZ4JGQMMSHE7RDF6ZGA7UBT3FK/
>


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/M2CGVF7PWLGOS6QUNT6GZ3XC76X7BTOB/


[ovirt-users] Re: Couldn't connect to VDSM within 60 seconds

2022-04-08 Thread Sandro Bonazzola
Il giorno mar 5 apr 2022 alle ore 16:42 pasquale.borrelli--- via Users <
users@ovirt.org> ha scritto:

> Hi,
>
> we have 3 hosts and a self-hosted engine VM (ovirt version 4.4.).



Hi Pasquale, can you please provide output of
```
dnf -q list installed centos-release\* ovirt-release\* ovirt-engine
redhat-release
vdsm glusterfs
```

"ovirt version 4.4" is not enough for identifying the version you're
running.

thanks,


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VLJWP6FYP66Q2UXXGFDIH6QMUVPV5ADM/


[ovirt-users] Re: Duplicate nameserver in Host causing unassigned state when adding. possible bug?

2022-04-08 Thread Sandro Bonazzola
Il giorno ven 8 apr 2022 alle ore 08:24 ravi k  ha
scritto:

> Hello all,
>
> We are running oVirt 4.3.10.4-1.0.22.el7.


[cut]


>
> Should I raise this as a bug? I'm of the opinion that it should be because
> if it's not breaking the host's functionality then it should be ok.
>

Please don't. It will be closed with the resolution End Of Life.
oVirt 4.3 reached end of life about 2 years ago when oVirt 4.4.0 was
released (May 2020).
We are going to release oVirt 4.5 in about 2 weeks then even oVirt 4.4 will
reach End of Life.
Please upgrade as soon as practical. Once 4.5 will be out also issues
related to upgrading from 4.3 to 4.4 will be dismissed as End Of Life.

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PT43OCWBVPAF2YVDF5FOCXOK54GRMS5Y/


[ovirt-users] Duplicate nameserver in Host causing unassigned state when adding. possible bug?

2022-04-08 Thread ravi k
Hello all,

We are running oVirt 4.3.10.4-1.0.22.el7. I noticed an interesting issue or a 
possible bug yesterday. I was trying to add a host when I noticed that it was 
failing and the host status was going into 'unassigned' state. 

I saw the below error in the engine log. 

/var/log/ovirt-engine/engine.log
2022-04-07 15:17:07,739+04 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
 (EE-ManagedThreadFactory-engine-Thread-24723) [4917a348] HostName = olvsrv005u
2022-04-07 15:17:07,739+04 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
 (EE-ManagedThreadFactory-engine-Thread-24723) [4917a348] Failed in 
'CollectVdsNetworkDataAfterInstallationVDS' method, for vds: 'olvsrv005u'; 
host: '10.119.6.232': CallableStatementCallback; SQL [{call insertnameserver(?, 
?, ?)}ERROR: duplicate key value violates unique constraint "name_server_pkey"
  Detail: Key (dns_resolver_configuration_id, 
address)=(459b68e6-b684-4cf6-8834-755249a6bd3a, 10.119.10.212) already exists.
  Where: SQL statement "INSERT INTO
name_server(
  address,
  position,
  dns_resolver_configuration_id)
VALUES (
  v_address,
  v_position,
  v_dns_resolver_configuration_id)"
PL/pgSQL function insertnameserver(uuid,character varying,smallint) line 3 at 
SQL statement; nested exception is org.postgresql.util.PSQLException: ERROR: 
duplicate key value violates unique constraint "name_server_pkey"
  Detail: Key (dns_resolver_configuration_id, 
address)=(459b68e6-b684-4cf6-8834-755249a6bd3a, 10.119.10.212) already exists.

Then I checked the resolv.conf on the host

[root@olvsrv005u ~]# cat /etc/resolv.conf
# Version: 1.00
search uat.abc.com

nameserver 10.119.10.212
nameserver 10.119.10.212

Well, ideally it's of no use having duplicate nameserver. But it was not 
affecting the functionality of the host. However it was failing the addition of 
the host, probably because it was failing when updating the host's config in 
the engine DB due to the duplicate nameserver.

To test this I commented the duplicate value and checked. The host is now added 
successfully. 

2022-04-07 15:33:37,301+04 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoAsyncVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [] START, 
GetHardwareInfoAsyncVDSCommand(HostName = olvsrv005u, VdsIdA
ndVdsVDSCommandParametersBase:{hostId='459b68e6-b684-4cf6-8834-755249a6bd3a', 
vds='Host[olvsrv005u,459b68e6-b684-4cf6-8834-755249a6bd3a]'}), log id: 52e7ec52
2022-04-07 15:33:37,301+04 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoAsyncVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [] FINISH, 
GetHardwareInfoAsyncVDSCommand, return: , log id: 52e7ec52
2022-04-07 15:33:37,356+04 INFO  
[org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [3de72cb7] Running command: 
SetNonOperationalVdsCommand internal: true. Entities affected :
ID: 459b68e6-b684-4cf6-8834-755249a6bd3a Type: VDS
2022-04-07 15:33:37,360+04 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [3de72cb7] START, 
SetVdsStatusVDSCommand(HostName = olvsrv005u, SetVdsStatusVDSCommandPa
rameters:{hostId='459b68e6-b684-4cf6-8834-755249a6bd3a', 
status='NonOperational', nonOperationalReason='NETWORK_UNREACHABLE', 
stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 1bfc90a3
2022-04-07 15:33:37,363+04 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [3de72cb7] FINISH, 
SetVdsStatusVDSCommand, return: , log id: 1bfc90a3
2022-04-07 15:33:37,404+04 ERROR 
[org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [3de72cb7] Host 
'olvsrv005u' is set to Non-Operational, it is missing the following networks

Should I raise this as a bug? I'm of the opinion that it should be because if 
it's not breaking the host's functionality then it should be ok. 

Regards,
Ravi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AG2YNGDUGRJR5C3KITMIGPGUJ4LRCF3Y/