[ovirt-users] migration failed no available host found ....

Michal Skrivanek michal.skrivanek at redhat.com
Mon Feb 15 12:50:55 UTC 2016


> On 15 Feb 2016, at 12:00, Jean-Pierre Ribeauville <jpribeauville at axway.com> wrote:
> 
> Hi,
>  
> You hit the target !!!
>  
> I enable overcommitting on the destination , then I’m able to migrate towards it.
>  
> Now I’ve to clarify my  Guests memory requirements.
>  
> Thx for your help.
>  
> Regards,
>  
> J.P.
>  
> _____________________________________________
> De : Jean-Pierre Ribeauville 
> Envoyé : lundi 15 février 2016 11:03
> À : 'ILanit Stein'
> Cc : users at ovirt.org <mailto:users at ovirt.org>
> Objet : RE: [ovirt-users] migration failed no available host found ....
>  
>  
> Hi,
>  
> Within the ovirt GUI , I got this :
>  
> Max free Memory for scheduling new VMs : 0 Mb
>  
> It seems to be the root cause of my issue .
>  
> Vmstat -s ran on the destination host returns :
>  
> [root at ldc01omv01 vdsm]# vmstat -s
>      49182684 K total memory
>       4921536 K used memory
>       5999188 K active memory
>       1131436 K inactive memory
>      39891992 K free memory
>          2344 K buffer memory
>       4366812 K swap cache
>      24707068 K total swap
>             0 K used swap
>      24707068 K free swap
>       3090822 non-nice user cpu ticks
>          8068 nice user cpu ticks
>       2637035 system cpu ticks
>     804915819 idle cpu ticks
>        298074 IO-wait cpu ticks
>             6 IRQ cpu ticks
>          5229 softirq cpu ticks
>             0 stolen cpu ticks
>      58678411 pages paged in
>      78586581 pages paged out
>             0 pages swapped in
>             0 pages swapped out
>     541412845 interrupts
>    1224374736 CPU context switches
>    1455276687 boot time
>        476762 forks
> [root at ldc01omv01 vdsm]#
>  
>  
> Is it vdsm that returns this info to ovirt ?
>  
> I tried a migration this morning at 10/04.
>  
> I attached  vdsm destination log .
>  
> << Fichier: vdsm.log >> 
>  
> Is it worth to increase of level of destination log ?
>  
>  
> Thx for help.
>  
> Regards,
>  
> J.P.
>  
> -----Message d'origine-----
> De : ILanit Stein [mailto:istein at redhat.com <mailto:istein at redhat.com>] 
> Envoyé : dimanche 14 février 2016 10:05
> À : Jean-Pierre Ribeauville
> Cc : users at ovirt.org <mailto:users at ovirt.org>
> Objet : Re: [ovirt-users] migration failed no available host found ....
>  
> Hi Jean-Pierre,
>  
> Seems by the log you've sent that the destination host, ldc01omv01, is filtered out, cause of lake of memory.
> Is there enough memory on the destination, to run this VM?
>  
> Would you please send the source/destination hosts /var/log/vdsm/vdsm.log, /var/log/libvirt/qemu/VM_RHEL7-2, and /var/log/vdsm/libvirt.log, to provide more details.
>  
> Thanks,
> Ilanit.
>  
> ----- Original Message -----
> From: "Jean-Pierre Ribeauville" <jpribeauville at axway.com <mailto:jpribeauville at axway.com>>
> To: users at ovirt.org <mailto:users at ovirt.org>
> Sent: Friday, February 12, 2016 4:59:20 PM
> Subject: [ovirt-users] migration failed no available host found ....
>  
>  
>  
> Hi, 
>  
>  
>  
> When trying to migrate a Guest between two nodes of a cluster (from node1 to ldc01omv01) , I got this error ( in ovirt/engine.log file) : 
>  
>  
>  
> 2016-02-12 15:05:31,485 INFO [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (ajp-/127.0.0.1:8702-4) [ff31b86] Candidate host ldc01omv01 (09bb3024-170f-48a1-a78a-951a2c61c680) was filtered out by VAR__FILTERTYPE__INTERNAL filter Memory 
>  
> 2016-02-12 15:05:31,495 DEBUG [org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil] (org.ovirt.thread.pool-7-thread-34) About to run task java.util.concurrent.FutureTask from : java.lang.Exception 
>  
> at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalThreadExecutor.beforeExecute(ThreadPoolUtil.java:52) [utils.jar:] 
>  
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.7.0_85] 
>  
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_85] 
>  
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_85] 
>  
>  
>  
> 2016-02-12 15:05:31,502 INFO [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (org.ovirt.thread.pool-7-thread-34) [ff31b86] Running command: MigrateVmToServerCommand internal: false. Entities affected : ID: b77e6171-cbdf-44cb-b851-1b776a3fb616 Type: VMAction group MIGRATE_VM with role type USER 
>  
> 2016-02-12 15:05:31,505 INFO [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (org.ovirt.thread.pool-7-thread-34) [ff31b86] Candidate host ldc01omv01 (09bb3024-170f-48a1-a78a-951a2c61c680) was filtered out by VAR__FILTERTYPE__INTERNAL filter Memory (correlation id: ff31b86) 
>  
> 2016-02-12 15:05:31,509 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-34) [ff31b86] Correlation ID: ff31b86, Job ID: 7b917604-f487-43a3-9cd2-4e7f95e545cc, Call Stack: null, Custom Event ID: -1, Message: Migration failed, No available host found (VM: VM_RHEL7-2, Source: node1). 
>  
>  
>  
>  
>  
> In ovirt GUI nothing strange . 

You should have seen an event with failed migration and see the reason (memory). In the system event list at the bottom

Thanks,
michal

>  
>  
>  
> How may I go further to investigate this issue ? 
>  
>  
>  
>  
>  
> Thx for help. 
>  
>  
>  
> Regards, 
>  
>  
>         
>  
>  
>  
> J.P. Ribeauville 
>  
>  
>         
>  
> P: +33.(0).1.47.17.20.49 
>  
> . 
>  
> Puteaux 3 Etage 5 Bureau 4 
>  
>  
>  
> jpribeauville at axway.com <mailto:jpribeauville at axway.com>
> http://www.axway.com <http://www.axway.com/>
>  
>  
>  
>  
>         
>  
> P Pensez à l’environnement avant d’imprimer. 
>  
>  
>  
>  
>  
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>  
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160215/b3194a58/attachment-0001.html>


More information about the Users mailing list