[ovirt-users] Re: RHEL5 guests frequently hang when migrating host.

2018-06-27 Thread Arnaud Lauriou

Hi,

Yes, I've got quite the same issues with RHEL5 guests on oVirt 4.2.3 : 
random guest freeze and oVirt host crash while rebooting a guest !

It seems to be a kernel bug introduce with 7.5 :
https://bugzilla.redhat.com/show_bug.cgi?id=1584775

https://access.redhat.com/solutions/3496461

While waiting for this kernel patch, I use an older kernel version on 
the oVirt host : 3.10.0-693.21.1.el7 works fine with oVirt 4.2.3 and 
RHEL5 guest.


Regards,

Arnaud Lauriou

On 06/27/2018 08:59 AM, Eduardo Mayoral wrote:


Hi,

    I am experiencing that my RHEL5 guests frequently "hang" when 
migrating host. Console is blank, CPU after migration is 100% and as 
far as oVirt is concerned, the VM is OK.


    oVirt is 4.2.3.8-1.el7, on CentOS 7. Hosts are CentOS 7 as well. 
Cluster is in "Intel Westmere family" CPU type.


    Guest is RHEL5, fully patched, kernel 4.2.3.8-1.el7 with 
ovirt-guest-agent installed from EPEL.


    I do not see anything out of place in the ovirt-engine and vdsm 
logs, and the guest logs are simply not there, the stop right before 
the migration,as if the machine had "frozen".


    Powering the VM off and starting it starts the VM correctly. This 
does not happen 100% of the time. If I try to migrate the VM when it 
is freshly started the migration is faster (maybe 5 seconds), and the 
guest OS does not hang.


    Anybody else experiencing something similar? Maybe something 
(timeouts?) that I should tune on the guest OS for RHEL5?


    Thanks!

--

Eduardo Mayoral.




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


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


Re: [ovirt-users] Can't switch ovirt host to maintenance mode : image transfer in progress

2018-05-03 Thread Arnaud Lauriou

Well I found those entries in the pg engine database :
# psql -U engine -W -h localhost -p 5432
Password for user engine:
psql (9.2.23, server 9.5.9)
WARNING: psql version 9.2, server version 9.5.
 Some psql features might not work.
Type "help" for help.

engine=> select message from image_transfers where 
disk_id='a1476ae5-990d-45a7-90bd-c2553f8d08d3';

   message
-
 Pausing due to client error
(1 row)

It seems that those entries have not been deleted from the database.

How can I change the status of those entries ? Do I need to delete them ?

Regards,

Arnaud Lauriou

On 05/03/2018 09:58 AM, Arnaud Lauriou wrote:

Hi,

No upload/download are in progress.
I found old entries in ovirt-engine logs about one year ago. Upload 
for those disks had already been cancelled.

Examples for disk a1476ae5-990d-45a7-90bd-c2553f8d08d3 :

2017-05-03 11:38:48,318+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] 
(org.ovirt.thread.pool-6-thread-15) 
[36f2c7a5-af4b-4565-98c6-033bd95097c8] Updating image upload 
f9f86126-5aa9-4387-9d13-f4c4e3eebf6d (image 
a1476ae5-990d-45a7-90bd-c2553f8d08d3) phase to Cancelled (message: 
'Pausing due to client error')
2017-05-03 11:39:38,129+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] (default 
task-67) [f1052bb9-9196-49c6-b54b-5bd27dde2068] Lock Acquired to 
object 
'EngineLock:{exclusiveLocks='[a1476ae5-990d-45a7-90bd-c2553f8d08d3=<DISK, 
ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName svc-1.1>]', 
sharedLocks='null'}'
2017-05-03 11:39:38,159+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] 
(org.ovirt.thread.pool-6-thread-3) 
[f1052bb9-9196-49c6-b54b-5bd27dde2068] Running command: 
RemoveDiskCommand internal: false. Entities affected :  ID: 
a1476ae5-990d-45a7-90bd-c2553f8d08d3 Type: DiskAction group 
DELETE_DISK with role type USER
2017-05-03 11:39:38,220+02 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] 
(org.ovirt.thread.pool-6-thread-3) [6dc02b63] START, 
DeleteImageGroupVDSCommand( 
DeleteImageGroupVDSCommandParameters:{runAsync='true', 
storagePoolId='344cbcab-2ec4-46ac-b99a-dda4ff7d3e78', 
ignoreFailoverLimit='false', 
storageDomainId='87f2500e-5a17-40b6-b95a-c0b830a499af', 
imageGroupId='a1476ae5-990d-45a7-90bd-c2553f8d08d3', 
postZeros='false', discard='false', forceDelete='false'}), log id: 
127a5b4a
2017-05-03 11:39:39,266+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] 
(org.ovirt.thread.pool-6-thread-3) [6dc02b63] Lock freed to object 
'EngineLock:{exclusiveLocks='[a1476ae5-990d-45a7-90bd-c2553f8d08d3=<DISK, 
ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName svc-1.1>]', 
sharedLocks='null'}


Why those uploads are display now ? Do I need to run engine-setup again ?
How can I remove them definitely ?

Regards,

Arnaud

On 05/02/2018 11:49 AM, Fred Rolland wrote:

Hi,

Maybe you tried to upload/download images, and these are still running.
Go to the disks tab and see if you have Upload/Download operations in 
progress cancel them.

You have the option to cancel in the Download/Upload buttons.

Regards,
Fred

On Wed, May 2, 2018 at 11:29 AM, Arnaud Lauriou 
<arnaud.laur...@irisa.fr <mailto:arnaud.laur...@irisa.fr>> wrote:


Hi,

While upgrading host from ovirt 4.1.9 to ovirt 4.2.2, got one
ovirt host which I can't move to maintenance mode for the
following reason :
2018-05-02 10:16:18,789+02 WARN
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
(default task-27) [193c3d45-5b25-4ccf-9d2c-5b792e99b9fe]
Validation of action 'MaintenanceNumberOfVdss' failed for user
admin@internal-authz. Reasons:

VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENANCE_HOST_WITH_RUNNING_IMAGE_TRANSFERS,$host
x,$disks
a1476ae5-990d-45a7-90bd-c2553f8d08d3,
b2616eef-bd13-4d9b-a513-52445ebaedb6,
13152865-2753-407a-a0e1-425e09889d92,$disks_COUNTER 3

I don't know what are those 3 images transfers in progress, there
is no VM running on this host.
I try to list old task running on it with the taskcleaner.sh
script on the engine : found nothing.

How can I delete or remove those entries ?

Regards,

Arnaud Lauriou
___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>






___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't switch ovirt host to maintenance mode : image transfer in progress

2018-05-03 Thread Arnaud Lauriou

Hi,

No upload/download are in progress.
I found old entries in ovirt-engine logs about one year ago. Upload for 
those disks had already been cancelled.

Examples for disk a1476ae5-990d-45a7-90bd-c2553f8d08d3 :

2017-05-03 11:38:48,318+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] 
(org.ovirt.thread.pool-6-thread-15) 
[36f2c7a5-af4b-4565-98c6-033bd95097c8] Updating image upload 
f9f86126-5aa9-4387-9d13-f4c4e3eebf6d (image 
a1476ae5-990d-45a7-90bd-c2553f8d08d3) phase to Cancelled (message: 
'Pausing due to client error')
2017-05-03 11:39:38,129+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] (default 
task-67) [f1052bb9-9196-49c6-b54b-5bd27dde2068] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[a1476ae5-990d-45a7-90bd-c2553f8d08d3=<DISK, 
ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName svc-1.1>]', 
sharedLocks='null'}'
2017-05-03 11:39:38,159+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] 
(org.ovirt.thread.pool-6-thread-3) 
[f1052bb9-9196-49c6-b54b-5bd27dde2068] Running command: 
RemoveDiskCommand internal: false. Entities affected :  ID: 
a1476ae5-990d-45a7-90bd-c2553f8d08d3 Type: DiskAction group DELETE_DISK 
with role type USER
2017-05-03 11:39:38,220+02 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] 
(org.ovirt.thread.pool-6-thread-3) [6dc02b63] START, 
DeleteImageGroupVDSCommand( 
DeleteImageGroupVDSCommandParameters:{runAsync='true', 
storagePoolId='344cbcab-2ec4-46ac-b99a-dda4ff7d3e78', 
ignoreFailoverLimit='false', 
storageDomainId='87f2500e-5a17-40b6-b95a-c0b830a499af', 
imageGroupId='a1476ae5-990d-45a7-90bd-c2553f8d08d3', postZeros='false', 
discard='false', forceDelete='false'}), log id: 127a5b4a
2017-05-03 11:39:39,266+02 INFO 
[org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] 
(org.ovirt.thread.pool-6-thread-3) [6dc02b63] Lock freed to object 
'EngineLock:{exclusiveLocks='[a1476ae5-990d-45a7-90bd-c2553f8d08d3=<DISK, 
ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName svc-1.1>]', 
sharedLocks='null'}


Why those uploads are display now ? Do I need to run engine-setup again ?
How can I remove them definitely ?

Regards,

Arnaud

On 05/02/2018 11:49 AM, Fred Rolland wrote:

Hi,

Maybe you tried to upload/download images, and these are still running.
Go to the disks tab and see if you have Upload/Download operations in 
progress cancel them.

You have the option to cancel in the Download/Upload buttons.

Regards,
Fred

On Wed, May 2, 2018 at 11:29 AM, Arnaud Lauriou 
<arnaud.laur...@irisa.fr <mailto:arnaud.laur...@irisa.fr>> wrote:


Hi,

While upgrading host from ovirt 4.1.9 to ovirt 4.2.2, got one
ovirt host which I can't move to maintenance mode for the
following reason :
2018-05-02 10:16:18,789+02 WARN
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
(default task-27) [193c3d45-5b25-4ccf-9d2c-5b792e99b9fe]
Validation of action 'MaintenanceNumberOfVdss' failed for user
admin@internal-authz. Reasons:

VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENANCE_HOST_WITH_RUNNING_IMAGE_TRANSFERS,$host
x,$disks
a1476ae5-990d-45a7-90bd-c2553f8d08d3,
b2616eef-bd13-4d9b-a513-52445ebaedb6,
13152865-2753-407a-a0e1-425e09889d92,$disks_COUNTER 3

I don't know what are those 3 images transfers in progress, there
is no VM running on this host.
I try to list old task running on it with the taskcleaner.sh
script on the engine : found nothing.

How can I delete or remove those entries ?

    Regards,

Arnaud Lauriou
___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Can't switch ovirt host to maintenance mode : image transfer in progress

2018-05-02 Thread Arnaud Lauriou

Hi,

While upgrading host from ovirt 4.1.9 to ovirt 4.2.2, got one ovirt host 
which I can't move to maintenance mode for the following reason :
2018-05-02 10:16:18,789+02 WARN 
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default 
task-27) [193c3d45-5b25-4ccf-9d2c-5b792e99b9fe] Validation of action 
'MaintenanceNumberOfVdss' failed for user admin@internal-authz. Reasons: 
VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENANCE_HOST_WITH_RUNNING_IMAGE_TRANSFERS,$host 
x,$disks

a1476ae5-990d-45a7-90bd-c2553f8d08d3,
b2616eef-bd13-4d9b-a513-52445ebaedb6,
13152865-2753-407a-a0e1-425e09889d92,$disks_COUNTER 3

I don't know what are those 3 images transfers in progress, there is no 
VM running on this host.
I try to list old task running on it with the taskcleaner.sh script on 
the engine : found nothing.


How can I delete or remove those entries ?

Regards,

Arnaud Lauriou
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovs-vswitchd high cpu usage

2017-05-12 Thread Arnaud Lauriou

Well its seems that I had config mismatch between 4.0.6 et 4.11, old
ovs-vswitchd process was still running.
I found the solution to my problem : reboot oVirt host and everything
works fine now.

On 05/12/2017 04:12 PM, Arnaud Lauriou wrote:

I'm responding to myself !
For vdsm, it's seems that ovsdb-server needs to be up, not ovs-vswitchd.

However, is there a way to reduce cpu load of ovs-vswitchd process ?

Regards,

Arnaud

On 05/12/2017 03:29 PM, Arnaud Lauriou wrote:

Hi,

Just updated last week ovirt hosts from 4.0.6 to 4.1.1 and I noticed 
ovs-vswitchd

high cpu usage, around 100%.

My cluster switch type is in legacy mode, so I decided to stop 
ovs-vswitchd process

on each ovirt host.

This morning, when trying to run a new VM and I've got the following 
error message :
Exit message: (21, 'Executing commands failed: ovs-vsctl: 
unix:/var/run/openvswitch/db.sock: database connection failed (No 
such file or directory)')


Even if the cluster is in legacy mode, it seems that ovs-vswitchd 
needs to be up and running for vdsm.


So, how can reduce the cpu usage of ovs-vswitchd process ?

Regards,

Arnaud
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovs-vswitchd high cpu usage

2017-05-12 Thread Arnaud Lauriou

I'm responding to myself !
For vdsm, it's seems that ovsdb-server needs to be up, not ovs-vswitchd.

However, is there a way to reduce cpu load of ovs-vswitchd process ?

Regards,

Arnaud

On 05/12/2017 03:29 PM, Arnaud Lauriou wrote:

Hi,

Just updated last week ovirt hosts from 4.0.6 to 4.1.1 and I noticed 
ovs-vswitchd

high cpu usage, around 100%.

My cluster switch type is in legacy mode, so I decided to stop 
ovs-vswitchd process

on each ovirt host.

This morning, when trying to run a new VM and I've got the following 
error message :
Exit message: (21, 'Executing commands failed: ovs-vsctl: 
unix:/var/run/openvswitch/db.sock: database connection failed (No such 
file or directory)')


Even if the cluster is in legacy mode, it seems that ovs-vswitchd 
needs to be up and running for vdsm.


So, how can reduce the cpu usage of ovs-vswitchd process ?

Regards,

Arnaud
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovs-vswitchd high cpu usage

2017-05-12 Thread Arnaud Lauriou

Hi,

Just updated last week ovirt hosts from 4.0.6 to 4.1.1 and I noticed 
ovs-vswitchd

high cpu usage, around 100%.

My cluster switch type is in legacy mode, so I decided to stop 
ovs-vswitchd process

on each ovirt host.

This morning, when trying to run a new VM and I've got the following 
error message :
Exit message: (21, 'Executing commands failed: ovs-vsctl: 
unix:/var/run/openvswitch/db.sock: database connection failed (No such 
file or directory)')


Even if the cluster is in legacy mode, it seems that ovs-vswitchd needs 
to be up and running for vdsm.


So, how can reduce the cpu usage of ovs-vswitchd process ?

Regards,

Arnaud
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] engine-setup not configuring ovirt-imageio-proxy

2017-04-26 Thread Arnaud Lauriou

Hi,

I'm trying to configure ovirt-imageio-proxy through engine-setup but 
configuration is skipped :


--== CONFIGURATION PREVIEW ==--

Default SAN wipe after delete   : False
Firewall manager: firewalld
Update Firewall : True
...
Configure Image I/O Proxy   : False
Configure VMConsole Proxy   : True
Configure WebSocket Proxy   : True

I have tried to run engine-setup with option 
'--reconfigure-optional-components' but this option has no effects.


ovirt-imageio-proxy package is installed on this engine host :
# yum list ovirt-imageio-proxy
Installed Packages
ovirt-imageio-proxy.noarch 1.0.0-0.201701151456.git89ae3b4.el7.centos 
@ovirt-4.1


What can I do to force engine-setup to configure ovirt-imageio-proxy ?

Regards,

Arnaud
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrade datacenter from 3.6 to 4.0

2016-08-26 Thread Arnaud Lauriou
Upgrade done. In my case, the engine was already updated to the latest 
4.x release before the hosts.

Following marks 1 and 2 works fine.
After upgrading the cluster compatibility version, got message to reboot 
all the VMs.

Don't know if I really have to do that.


On 08/23/2016 02:28 PM, Barak Korren wrote:


The following process worked for me:
1. ensure all hosts are running el7 or above, and all clusters had 
been upgraded to 3.6 level
2. upgrade vdsm to 4.x on all hosts (assuming you are not using 
ovirt-node) by switching to maintainance upgrading and activating one 
by one to avoid VM downtime.
3. Upgrade engine by following one of the documented procedures (we 
just inatalled a new machine for it and switched DNS after 
backup/restore).
4. Once satisfied that illing back to 3.6 engine will not be needed - 
upgrade cluster level.



בתאריך 23 באוג׳ 2016 12:43,‏ "Arnaud Lauriou" <arnaud.laur...@irisa.fr 
<mailto:arnaud.laur...@irisa.fr>> כתב:


Hi,

What is the best way to upgrade a datacenter from ovirt 3.6 to 4.0 ?
Upgrade engine, hosts then cluster ?
If right, how do you upgrade a host running ovirt 3.6.7 ? Simple
upgrade or fresh install ?
During the update process of a cluster, some hosts will be in
3.6.7 and others in 4.0.2, is it a problem for migrating VMs ?

Found docs about engine upgrade but not a lot about host and cluster.

Thanks,

Arnaud
___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Upgrade datacenter from 3.6 to 4.0

2016-08-23 Thread Arnaud Lauriou

Hi,

What is the best way to upgrade a datacenter from ovirt 3.6 to 4.0 ?
Upgrade engine, hosts then cluster ?
If right, how do you upgrade a host running ovirt 3.6.7 ? Simple upgrade 
or fresh install ?
During the update process of a cluster, some hosts will be in 3.6.7 and 
others in 4.0.2, is it a problem for migrating VMs ?


Found docs about engine upgrade but not a lot about host and cluster.

Thanks,

Arnaud
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users