[ovirt-users] Can some one share the use cases for the local storage?
Hi, I would like to understand the local storage purpose. I was wondered are there any production systems using local storage? Or in another way, how to use effectively the local hosts disks? My ovirt purpose is so serve HA-VM LAMPs. Thanks, Arman. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues with oVirt 3.4, centos 6.6 and Gluster
On 05/11/14 19:53, Federico Alberto Sayd wrote: I have found some issues while trying to install two nodes with centos 6.6, oVirt 3.4 and cluster functionality. 1 - If you enable the gluster service in a cluster, when you install the hosts, the installation fails because it tries to install the gluster packages from Centos repository and a dependency problem is reported. Workaround: Install the package yum-plugin-priorities and set priority=1 in the /etc/yum.repos.d/ovirt-3.4-dependencies.repo, section glusterfs-epel. 2 - If you reboot the host, the service glusterd doesn't start at init, and host becomes non operational. Workaround: Manually set glusterd to start at boot, using for example ntsysv. Did you file bugzillas for these issues? They won't get fixed otherwise. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ovirt-devel] [Devel] Proposing Roy Golan as VDSM Fake maintainer
Il 06/11/2014 09:33, Tomas Jelinek ha scritto: Hi, I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) co-maintainer. Your response would be appreciated. +1 Thanks in advance. Tomas ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ovirt-devel] [Devel] Proposing Roy Golan as VDSM Fake maintainer
- Original Message - From: Tomas Jelinek tjeli...@redhat.com To: infra in...@ovirt.org, engine-de...@ovirt.org de...@ovirt.org Cc: Liran Zelkha lzel...@redhat.com, users users@ovirt.org Sent: Thursday, November 6, 2014 10:33:07 AM Subject: [ovirt-devel] [Devel] Proposing Roy Golan as VDSM Fake maintainer Hi, I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) co-maintainer. Your response would be appreciated. +1 Thanks in advance. Tomas ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Devel] Proposing Roy Golan as VDSM Fake maintainer
- Original Message - From: Tomas Jelinek tjeli...@redhat.com To: infra in...@ovirt.org, engine-de...@ovirt.org de...@ovirt.org Cc: Liran Zelkha lzel...@redhat.com, users users@ovirt.org Sent: Thursday, November 6, 2014 10:33:07 AM Subject: [ovirt-users] [Devel] Proposing Roy Golan as VDSM Fake maintainer Hi, I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) co-maintainer. Your response would be appreciated. +1 Thanks in advance. Tomas ___ 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 some one share the use cases for the local storage?
On 06/11/14 09:15, Arman Khalatyan wrote: Hi, I would like to understand the local storage purpose. I was wondered are there any production systems using local storage? Or in another way, how to use effectively the local hosts disks? My ovirt purpose is so serve HA-VM LAMPs. Well yes there is local storage in production at various sites. For real HA you inevitable need a shared storage solution. You could try to utilize local disks by using gluster ceph or any other software defined storage system. Gluster is the most integrated withing ovirt, but here are some caveats: It's not encouraged to run vms on the hosts which are part of the gluster cluster (but it works, at least this is what you can read on this very ML). It's not supported to run hosted-engine on top of gluster, at least not without a replica count of at least 3. HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] replace ovirt engine host
Hello List, currently i am testing backup and restore of my ovirt engine host. So far the backup and recovery works. Since i have a nfs ISO_DOMAIN i need to remount the nfs mounts on my vdsm hosts/nodes. This is kinda ugly but okay :) However, my storage information seems to go weird. It looks like the ovirt engine gets confused about the current status. Do i have to restart vdsm after replacing the ovirt engine? When i put connect my original ovirt engine again the cluster status is okay... I test this by unplugging the original ovirt engine host network cable and doing a restore on a connrected 2nd machine. So i guess my question is: How do i replace my ovirt engine smoothly in a production enviorment? Thanks, Mario ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] GlusterFS Distributed Replicate HA with KeepAlived
Hi Humble, Seems this option 'backup-vol-file-servers' work in the beginning of the setupis this option can automatically try to mount another server if first one fail such as three months later after setup ?? https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.1/html/Administration_Guide/sect-Administration_Guide-GlusterFS_Client-GlusterFS_Client-Mounting_Volumes.html On Fri, Aug 22, 2014 at 4:55 PM, Humble Devassy Chirammal humble.deva...@gmail.com wrote: The 'referred' mount point is the 'gluster server IP' and the VM behaviour depends on the Gluster Volume availability as discussed before. Reg#localhost instead of server IP, I havent tried this, but logically it should work. You may test it. Also there is an option called 'backup-vol-file-servers' [1] , which should serve(if I am not wrong in interpreting the mentioned mail thread )the same purpose. --Humble On Wed, Aug 20, 2014 at 9:23 AM, Punit Dambiwal hypu...@gmail.com wrote: Hi Humble, Thanks for the update...the mount point is the ip address to mount the gluster volume,so if this server goes down...all the VM's will pause :- [image: Inline image 1] Some one from community suggest me to use the localhost instead of the ip address for HAbut i have doubt if i use localhost...then whenever any node goes down the VM's of the failed node will not migrate to another node... ?? http://lists.ovirt.org/pipermail/users/2014-July/025728.html Thanks, Punit Dambiwal On Tue, Aug 19, 2014 at 8:23 PM, Humble Devassy Chirammal humble.deva...@gmail.com wrote: Hi, but i want the way from the ovirt portal...if possible ?? Yes, its possible. Also in my case if the mount point HV node goes down...all the VM's will pause...and once the node come up..i need to manually poweroff the VM's and manually start again... I failed to interpret 'mount point' here. If you are talking about 'gluster' volume server , the VM behaviour depends on the gluster configuration which indirectly depend on the quorum configuration and volume configuration. If there is an error from underlying storage ( here gluster volume) VM can pause , however latest versions of ovirt support auto resume. Someone from community suggest me to use the localhost as mount point if you are using compute storage on the same node...but i doubt about the failover...that means if any node goes downhow the VM migration on another node will happen ?? If you are using local data center the VM migration can't happen. You have to configure a storage domain which can be accessed from your Ovirt Cluster Hosts . Please have a look at http://www.ovirt.org/Gluster_Storage_Domain_Reference which talks about the recommended way of configuring it. --Humble On Tue, Aug 19, 2014 at 7:26 AM, Punit Dambiwal hypu...@gmail.com wrote: Hi Humble, Thanks for the updatesbut i want the way from the ovirt portal...if possible ?? Also in my case if the mount point HV node goes down...all the VM's will pause...and once the node come up..i need to manually poweroff the VM's and manually start again... Someone from community suggest me to use the localhost as mount point if you are using compute storage on the same node...but i doubt about the failover...that means if any node goes downhow the VM migration on another node will happen ?? Thanks, Punit On Mon, Aug 18, 2014 at 9:37 PM, Humble Devassy Chirammal humble.deva...@gmail.com wrote: Hi Punit, If you are using gluster volume for virt store, it is always recommend to enable /considering virt store use case mentioned here : http://gluster.org/documentation/use_cases/Virt-store-usecase/ Regarding how to add bricks to the volume , you can refer # https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.1/html/Administration_Guide/sect-User_Guide-Managing_Volumes-Expanding.html The virt store use case enables quorum which ideally resolves the possibilities of split brain. Please feel free to revert if you come across any issues. --Humble On Fri, Aug 15, 2014 at 12:05 PM, Punit Dambiwal hypu...@gmail.com wrote: Hi, I have 4 node GlusterFS Distributed Replicate volume...the same 4 host node i am using for compute purposenow i want to make it HAso if any host goes down .VM will not pause and it will migrate to another available node... 1. Can any one have any document or reference to do this with keepalived... 2. I have one more node as spare...so if any host goes down and can not come up again because of any HW failure...i can add it...but i didn't find any way to add these bricks to volume...?? Thanks, Punit ___ 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] [Devel] Proposing Roy Golan as VDSM Fake maintainer
+1 from me. e. - Original Message - From: Tomas Jelinek tjeli...@redhat.com To: infra in...@ovirt.org, engine-de...@ovirt.org de...@ovirt.org Cc: Roy Golan rgo...@redhat.com, Liran Zelkha lzel...@redhat.com, users users@ovirt.org, Eyal Edri ee...@redhat.com Sent: Thursday, November 6, 2014 9:33:07 AM Subject: [Devel] Proposing Roy Golan as VDSM Fake maintainer Hi, I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) co-maintainer. Your response would be appreciated. Thanks in advance. Tomas ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VirtualDesktop Issue
On Nov 5, 2014, at 23:26 , Juan Carlos YJ. Lin l...@unisoft.com.py wrote: I am ussing nomachine server 4.3.30, an try to connect via NX to vm on ovirt If I open the console, and login with a user, it runs well. When logout, give a no display to connect error. Seems that if no console connected, no display enabled, how I can keep the display enabled in permanent way or how to create a sencond display available as virtualdesktops? sounds like a nx issue it's completely guest-side protocol, so whatever it is doing it is inside nx. Similar as RDP, oVirt doesn't interfere. any nx logs, settings? Thanks, michal Juan Carlos Lin Unisoft S.A. +595-993-288330 --- Antes de imprimir, recuérdese de su compromiso con el Medio Ambiente Aviso: Este mensaje es dirigido para su destinatario y contiene informaciones que no pueden ser usadas por otras personas que no sean su(s) destinatario(s). La retransmisión del contenido no está autorizada fuera del contexto de su envío y a quien corresponde. El uso no autorizado de la información en este mensaje se halla penado por las leyes vigentes en todo el mundo. Si ha recibido este mensaje por error, por favor bórrala y notifique al remitente en la brevedad posible. El contenido de este mensaje no es responsabilidad de la Empresa y debe ser atribuido siempre a su autor. Gracias. ___ 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] [ovirt-devel] [Devel] Proposing Roy Golan as VDSM Fake maintainer
Done! Let me know of any issues. On 11/06, Sandro Bonazzola wrote: Il 06/11/2014 09:33, Tomas Jelinek ha scritto: Hi, I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) co-maintainer. Your response would be appreciated. +1 Thanks in advance. Tomas ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Infra mailing list in...@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra -- David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization RD Tel.: +420 532 294 605 Email: dc...@redhat.com Web: www.redhat.com RHT Global #: 82-62605 pgp4Siic6ebQJ.pgp Description: PGP signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Add multiple files to a VM via cloud-init
On 11/06/2014 11:06 AM, Branimir Pejakovic wrote: On Mon, Nov 3, 2014 at 8:52 PM, Branimir Pejakovic branim...@gmail.com mailto:branim...@gmail.com wrote: On Fri, Oct 31, 2014 at 11:00 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 10/31/2014 06:47 PM, Branimir Pejakovic wrote: On Thu, Oct 30, 2014 at 12:52 PM, Branimir Pejakovic branim...@gmail.com mailto:branim...@gmail.com mailto:branim...@gmail.com mailto:branim...@gmail.com wrote: On Thu, Oct 30, 2014 at 12:39 PM, Shahar Havivi shah...@redhat.com mailto:shah...@redhat.com mailto:shah...@redhat.com mailto:shah...@redhat.com wrote: On 30.10.14 12:30, Branimir Pejakovic wrote: On Thu, Oct 30, 2014 at 12:02 PM, Shahar Havivi shah...@redhat.com mailto:shah...@redhat.com mailto:shah...@redhat.com mailto:shah...@redhat.com wrote: On 30.10.14 10:06, Branimir Pejakovic wrote: On Thu, Oct 30, 2014 at 7:22 AM, Shahar Havivi shah...@redhat.com mailto:shah...@redhat.com mailto:shah...@redhat.com mailto:shah...@redhat.com wrote: On 29.10.14 17:35, Branimir Pejakovic wrote: Hi list, I was wondering is there a way to add multiple files to a vm via cloud-init using python SDK. I was able to add /etc/resolv.conf and additionally I would like to add config files for NICs (ifcfg-ethX) with appropriate values (ip,gw,netmask). I used an example given here: http://www.ovirt.org/Features/Cloud-Init_Integration . But unfortunately I cannot do the same thing If I want to write multiple files to a vm in params.Action class. Thank you in advance! you can use the custom script text box in oVirts cloud-init section, there you can add any cloud-init section - adding files examples can be found here: http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files Shahar Havivi. Hi Shahar, Thank you for the reply. To be honest I knew for those scripts but I want to do it in automate fashion just like in that example that I put in my original message. I have tried to specify in params.Files class multiple files: vm_file1 = params.Files(file=[params.File(name = 'file1', content = file1_content, type_= 'PLAINTEXT')]) vm_file2 = params.Files(file=[params.File(name = 'file2', content = file2_content, type_= 'PLAINTEXT')]) and then give them as arguments to params.CloudInit _init_ constructor (files=...) just like in that example above but it seems that I am doing something wrong because it does not write multiple files - it writes only when you specify one file all right. The exception is Error: 'list' object has no attribute 'export' (I tried to specify those files as a list - files=[vm_file1,vm_file2]). Thanks for any help. The custom script is currently the only option to add files via Cloud-Init Thanks, Shahar Havivi. Hi Shahar, Granted. But the example in python http://www.ovirt.org/Features/Cloud-Init_Integration uses custom script :) I just want to know
Re: [ovirt-users] [ovirt-devel] [Devel] Proposing Roy Golan as VDSM Fake maintainer
On 11/06/2014 12:20 PM, David Caro wrote: Done! thanks a lot. Let me know of any issues. On 11/06, Sandro Bonazzola wrote: Il 06/11/2014 09:33, Tomas Jelinek ha scritto: Hi, I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) co-maintainer. Your response would be appreciated. +1 Thanks in advance. Tomas ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Infra mailing list in...@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Foreman: Add external provider (Failed with error PROVIDER_FAILURE and code 5050)
On 06.11.2014 05:47, Oved Ourfali wrote: These steps are also in the feature page Thanks Oved for pointing to the doc; my bad. I was using the foreman integration document [1]. Maybe the pages should be merged? , but it would be nice if you review them to see nothing is missing. http://www.ovirt.org/Features/AdvancedForemanIntegration With foreman 1.6 (at least) there is no need to enable the nightly builds any more as rb-ovirt is resolved by yum. Lastly, I think you need to enable foreman_discovery with the foreman installer to work and download images: # foreman-installer --enable-foreman-plugin-discovery --foreman-plugin-discovery-install-images=true You have that already listed in the testing env setup; but this needs to be put in context with installing foreman-ovirt on the foreman host. Thanks Oved [1] http://www.ovirt.org/Features/ForemanIntegration On Nov 6, 2014 12:40 AM, Daniel Helgenberger daniel.helgenber...@m-box.de wrote: Answering my own question; and maybe a very obvious cause for the failing provider: the missiAnswering my own question; and maybe a very obvious cause for the failing provider: the missing provider plugin in forman! So one needs to do: yum install ruby193-rubygem-ovirt_provision_plugin on the foreman host. After that, the connection test in the engine comes up positive. Sadly, this is not documented anywhere; only on the GitHub repo readme [1]. This is also a little bit outdated, as the rbovirt dependency is resolved now automatically. Also, but I am not sure, the porvider lugin needs the foreman_discovery plugin to work: yum install ruby193-rubygem-foreman_discovery [1] https://github.com/theforeman/ovirt_provision_plugin/blob/master/README.md On 29.10.2014 00:36, Daniel Helgenberger wrote: Hello, did anyone actually get this working in oVirt 3.5 / EL6 - Engine? I am trying this for two days now. Setup: Engine; EL6.5 Foreman; EL6.5 Foreman seems to do it's as I can use it to deploy hosts and also smart proxies are running fine. I have opened a BZ [1]; because this really can not work out of the box with EL6 plain vanilla packages. I wonder if this was ever tested... ? Java 7 used i n EL6 [4] does only support DH keys up to 1024byte. This is known issue in Foreman [2] as longer DH keys are now used by default in Foreman / PuppetCA. A dirty fix confirmed working is adding default DH parameters to the foreman cert; effectively disabling it [3]. So I got SSL working and I get beyond the authentication (entering wrong data gets me auth errors)- however, I am still not able to add the external provider. Pressing 'test' results in (Failed with error PROVIDER_FAILURE and code 5050) Sample engine.log 2014-10-28 23:49:40,860 ERROR [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (ajp--127.0.0.1-8702-1) [6a3da4e7] Command org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand throw Vdc Bll exception. With error message VdcBLLException: PROVIDER_FAILURE (Failed with error PROVIDER_FAILURE and code 5050) I can't find any more hints in oVirt; access logs in Foreman are telling me API queries by the engine. Did I miss a crucial step in the foreman setup? How can I debug this issue? I am willing to upgrade openjdk; provided this does not break my engine... Thanks! [1] https://bugzilla.redhat.com/show_bug.cgi?id=1157749 [2] https://tickets.puppetlabs.com/browse/SERVER-17 [3] http://httpd.apache.org/docs/current/ssl/ssl_faq.html#javadh [4] java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64 -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Foreman: Add external provider (Failed with error PROVIDER_FAILURE and code 5050)
- Original Message - From: Daniel Helgenberger daniel.helgenber...@m-box.de To: Oved Ourfali oourf...@redhat.com Cc: users@ovirt.org Sent: Thursday, November 6, 2014 1:29:38 PM Subject: Re: [ovirt-users] Foreman: Add external provider (Failed with error PROVIDER_FAILURE and code 5050) On 06.11.2014 05:47, Oved Ourfali wrote: These steps are also in the feature page Thanks Oved for pointing to the doc; my bad. I was using the foreman integration document [1]. Maybe the pages should be merged? Yaniv - you planned to merge them, right? That would be a good time... , but it would be nice if you review them to see nothing is missing. http://www.ovirt.org/Features/AdvancedForemanIntegration With foreman 1.6 (at least) there is no need to enable the nightly builds any more as rb-ovirt is resolved by yum. Lastly, I think you need to enable foreman_discovery with the foreman installer to work and download images: # foreman-installer --enable-foreman-plugin-discovery --foreman-plugin-discovery-install-images=true You have that already listed in the testing env setup; but this needs to be put in context with installing foreman-ovirt on the foreman host. Yaniv - please add a note there too. Daniel - thanks for the review and the comments! Regards, Oved Thanks Oved [1] http://www.ovirt.org/Features/ForemanIntegration On Nov 6, 2014 12:40 AM, Daniel Helgenberger daniel.helgenber...@m-box.de wrote: Answering my own question; and maybe a very obvious cause for the failing provider: the missiAnswering my own question; and maybe a very obvious cause for the failing provider: the missing provider plugin in forman! So one needs to do: yum install ruby193-rubygem-ovirt_provision_plugin on the foreman host. After that, the connection test in the engine comes up positive. Sadly, this is not documented anywhere; only on the GitHub repo readme [1]. This is also a little bit outdated, as the rbovirt dependency is resolved now automatically. Also, but I am not sure, the porvider lugin needs the foreman_discovery plugin to work: yum install ruby193-rubygem-foreman_discovery [1] https://github.com/theforeman/ovirt_provision_plugin/blob/master/README.md On 29.10.2014 00:36, Daniel Helgenberger wrote: Hello, did anyone actually get this working in oVirt 3.5 / EL6 - Engine? I am trying this for two days now. Setup: Engine; EL6.5 Foreman; EL6.5 Foreman seems to do it's as I can use it to deploy hosts and also smart proxies are running fine. I have opened a BZ [1]; because this really can not work out of the box with EL6 plain vanilla packages. I wonder if this was ever tested... ? Java 7 used i n EL6 [4] does only support DH keys up to 1024byte. This is known issue in Foreman [2] as longer DH keys are now used by default in Foreman / PuppetCA. A dirty fix confirmed working is adding default DH parameters to the foreman cert; effectively disabling it [3]. So I got SSL working and I get beyond the authentication (entering wrong data gets me auth errors)- however, I am still not able to add the external provider. Pressing 'test' results in (Failed with error PROVIDER_FAILURE and code 5050) Sample engine.log 2014-10-28 23:49:40,860 ERROR [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (ajp--127.0.0.1-8702-1) [6a3da4e7] Command org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand throw Vdc Bll exception. With error message VdcBLLException: PROVIDER_FAILURE (Failed with error PROVIDER_FAILURE and code 5050) I can't find any more hints in oVirt; access logs in Foreman are telling me API queries by the engine. Did I miss a crucial step in the foreman setup? How can I debug this issue? I am willing to upgrade openjdk; provided this does not break my engine... Thanks! [1] https://bugzilla.redhat.com/show_bug.cgi?id=1157749 [2] https://tickets.puppetlabs.com/browse/SERVER-17 [3] http://httpd.apache.org/docs/current/ssl/ssl_faq.html#javadh [4] java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64 -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ovirt-devel] [SCALE][RFC] ksmd bound to one core
On Nov 5, 2014, at 23:29 , Daniel Helgenberger daniel.helgenber...@m-box.de wrote: On 05.11.2014 21:07, Adam Litke wrote: On 04/11/14 13:11 +0100, Sven Kieske wrote: Hi, currently ksmd is a single process and is thus bound to one core. This leads to some scaling problems such as: If you got a lot of vms on one host with huge amounts of ram you can observe that the cpu usage by ksmd goes easily to 100%. I wonder what would be the benefit here... I think spending CPU cycles on something like memory compression is not what (most) users would do. Indeed. I would say it is more beneficial to spend time on better analysis of what regions of memory you want to analyze. Instead of this brute force approach trying to scan the whole hosts memory aggressively. E.g. We don't even have ksm per VM yet (but it's in the plan). Even that would help a lot as you can then enable it only where it makes sense (pool deployment with many same/idle VMs) Thanks, michal Already I think this is an annoyance; maybe thats why the process is niced to +5. A multi process daemon would require careful confining (with cgroups). To my understanding the for KSM to really work well is to have many (idle / high mem) guests which are quite similar? I wonder if ksmd could not be split up in child/worker threads, thus enabling higher density of vms on one host. It's likely going to be trickier than you imagine with the added locking that would be required to synchronize the ksmd threads. Actually I was refraining to answer Svens question since I lack some knowledge here. But I guessed synchronization was the reason for the single threadted design. Some serous work needs to be done on KSM do achieve this goal. I was thinking about some map/reduce aglo to do that... OTOH mangeling with mem pages of guests very requires special care. or can this just be tweaked by altering values in /etc/ksmtuned.conf ? I don't think it can. What do you think? Interesting idea. -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767 ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Integration of ovirt-engine GUI with the CLI
- Original Message - From: Itamar Heim ih...@redhat.com To: Nikita Kodkani nikita.kodk...@gmail.com, users Users@ovirt.org, Vojtech Szocs vsz...@redhat.com Sent: Tuesday, November 4, 2014 11:50:44 AM Subject: Re: Fwd: [ovirt-users] Integration of ovirt-engine GUI with the CLI On 11/04/2014 11:47 AM, Nikita Kodkani wrote: It is designed in javascript/HTML. We had initially designed some feature using CLI. But now we just want to execute command when we hit the button/tab. vojtech - sounds like ovirt.js could be the best fit here? Indeed! Integration with oVirt Engine from within a web application (JavaScript/HTML) sounds like a perfect match for oVirtJS project. @Nikita, we're currently developing oVirtJS library as JavaScript SDK for oVirt Engine. See [1] for initial PoC, see [2] for latest version, it's still in development but it should be already usable. [1] http://lists.ovirt.org/pipermail/users/2014-June/025198.html [2] http://gerrit.ovirt.org/#/c/33720/ Vojtech -Nikita i On Tue, Nov 4, 2014 at 4:09 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 06:30 AM, Nikita Kodkani wrote: Hi, I have the CLI designed for the RHEV-M. I have also designed some GUI in ovirt-engine. Now I am stuckup with the integration. Could you suggest how to connect the ovirt-engine GUI with the backend CLI commands? which language is your gui? why use the CLI instead of the python or java SDKs (or ruby or javascript ones) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Integration of ovirt-engine GUI with the CLI
- Original Message - From: Itamar Heim ih...@redhat.com To: Nikita Kodkani nikita.kodk...@gmail.com Cc: users Users@ovirt.org, Vojtech Szocs vsz...@redhat.com Sent: Wednesday, November 5, 2014 12:37:21 AM Subject: Re: Fwd: [ovirt-users] Integration of ovirt-engine GUI with the CLI On 11/04/2014 01:54 PM, Nikita Kodkani wrote: Hi, To add further... I read it somewhere on google, that to execute the shell commands in the JavaScript we have to use node.js at the backend. We don't want to spend time on learning the technology in this time frame. -Does ovirt-engine provide API's for executing the shell commands? its the other way around - the cli/shell commands are using the engine python-sdk, which uses the engine REST API. if your solution is html/javascript based, i think using ovirt.js (which wraps calling to the engine rest api 'nicely', vs. you doing it yourself from your code) is the way to go. Exactly, the main use case for oVirtJS is to allow working with Engine from within a JavaScript environment. HTML/JS web application is the primary use case, we also plan to support server-side JS code running on Node.js as another use case, so that people can potentially write custom server-side JS to work with Engine. http://lists.ovirt.org/pipermail/users/2014-June/025198.html http://www.ovirt.org/Features/Design/Using_REST_API_In_Web_UI http://lists.ovirt.org/pipermail/devel/2014-August/008502.html http://lists.ovirt.org/pipermail/devel/attachments/20140819/a35caa44/attachment-0001.pdf Thanks, Nikita Nikita Kodkani On Tue, Nov 4, 2014 at 4:20 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 11:47 AM, Nikita Kodkani wrote: It is designed in javascript/HTML. We had initially designed some feature using CLI. But now we just want to execute command when we hit the button/tab. vojtech - sounds like ovirt.js could be the best fit here? -Nikita i On Tue, Nov 4, 2014 at 4:09 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 06:30 AM, Nikita Kodkani wrote: Hi, I have the CLI designed for the RHEV-M. I have also designed some GUI in ovirt-engine. Now I am stuckup with the integration. Could you suggest how to connect the ovirt-engine GUI with the backend CLI commands? which language is your gui? why use the CLI instead of the python or java SDKs (or ruby or javascript ones) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] webhook
- Original Message - From: Barak Azulay bazu...@redhat.com To: Vojtech Szocs vsz...@redhat.com Cc: Einav Cohen eco...@redhat.com, Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Tuesday, November 4, 2014 5:15:35 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Einav Cohen eco...@redhat.com Cc: Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Tuesday, November 4, 2014 2:12:05 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Einav Cohen eco...@redhat.com To: Vojtech Szocs vsz...@redhat.com Cc: Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Friday, October 31, 2014 8:01:34 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Vojtech Szocs vsz...@redhat.com Sent: Friday, October 31, 2014 11:51:53 AM Hi, if I get this correctly, you'd like to be notified when certain event happens (VM created/deleted/etc.) and react upon that. I see multiple possible approaches here: 0, improve Engine extension API (refer to Alon Bar-Lev for details) - if extensions can be packaged as JARs and these JARs could include web fragments [1] it would mean the possibility to deploy custom servlets onto existing Engine instance (in context of webapp that processes extensions) - your custom Java servlet could query REST interface (or be notified once something happens, but AFAIK we don't have that implemented yet) and do whatever logic is needed - once I asked Alon about ^^ but never got response from him - IMHO this would be a nice way to deploy custom Java code on Engine [1] https://blogs.oracle.com/swchan/entry/servlet_3_0_web_fragment 1, improve UI plugin API - add VirtualMachineDataLoaded event fired upon each refresh of VM data in UI table (generalization - {Entity}DataLoaded) - this is similar to existing {Entity}SelectionChange events relying on changes in the UI table is a bad idea: (1) potentially missing events: the UI displays paginated data; if my VMs are sorted by name, and I have 1000 VMs in my setup, and I just added a VM named z, it will be added to the last page which is not displayed right now, so I wouldn't even be aware that something was added. (2) potentially creating fake events: changes in the displayed data in the UI can occur due to change in the Search query; if I have 50 VMs in my setup, and I initially had the Vms: search query, and now I change it to VMs: name = a*, which results in displaying only 10 VMs, this may falsely hint on removal of 40 VMs from the system. Agreed, that was a bad idea :) UI data is constrained by things like search query, pagination, sorting etc. Scratch my previous idea. As mentioned before, notification of relevant events occuring in system should be the way to go. Either Engine will provide mechanism to notify other systems (i.e. email notifier) or other system will poll/listen-to changes in Engine (i.e. via REST API). Idea for consideration, if every change to oVirt system would be sent to some event bus, we could easily implement different notification mechanisms (like websocket in addition to email), and web apps living in Engine EAR context could also register to that event bus (imagine WebAdmin servlet that listens for changes and pushes them to clients). This can/should be done through the notification service, currently it supports email snmp traps ... but it could be extended (very easily) Cool, maybe something we could do in future as part of UX improvement, i.e. change notification (push changes to client) to drive UI data update, instead of periodic polling. 2, write UI plugin that uses oVirtJS to periodically check VM events not sure if this is referring to VM-related events in the code (e.g. hooking to the click on OK within the New VM / Remove VM dialog, or hooking to the Success callback of the action response, or something similar), or to the VM-related Events (i.e. the ones that are displayed in the GUI within the Events main-tab / bottom section). If the former: can be done, I assume, though not sure how complex it would be to implement the infrastructure for that. If the latter: this will catch actions that were performed either via the GUI or outside the GUI; in this case, it would probably be better to use an Engine extension API (solution 0 above) rather than a UI plugin, since it will be more reliable, will be active even when the GUI is not in use, etc. It was meant simply as polling Engine via oVirtJS / REST API. But then again, any UI plugin-based solution has the drawback that web GUI must be active (open) in order for plugin to be active.
Re: [ovirt-users] Cancelling a running task
Thank you to all 3 of you for the advice. I was able to use vdsClient to end the task. From: users-boun...@ovirt.org [users-boun...@ovirt.org] on behalf of Yair Zaslavsky [yzasl...@redhat.com] Sent: Wednesday, November 05, 2014 5:36 PM To: Liron Aravot Cc: Oved Ourfali; users@ovirt.org Subject: Re: [ovirt-users] Cancelling a running task - Original Message - From: Liron Aravot lara...@redhat.com To: Eli Mesika emes...@redhat.com Cc: users@ovirt.org Sent: Wednesday, November 5, 2014 2:51:37 PM Subject: Re: [ovirt-users] Cancelling a running task - Original Message - From: Eli Mesika emes...@redhat.com To: Daniel Lang daniel.l...@redi.com Cc: users@ovirt.org Sent: Wednesday, November 5, 2014 2:23:00 PM Subject: Re: [ovirt-users] Cancelling a running task - Original Message - From: Daniel Lang daniel.l...@redi.com To: users@ovirt.org users@ovirt.org Sent: Tuesday, November 4, 2014 6:24:48 PM Subject: [ovirt-users] Cancelling a running task I am creating a VM and the copy from template operation has gone haywire causing significant performance issues on the host server. I’d like to cancel the copying image action (it’s been running ~3hours on a 3GB disk image copy) but I cannot find anything in the web UI to cancel a task. Is there a command line tool to cancel the running task? login to your SPM host and run the following vdsClient -s 0 getAllTasksStatuses You can than use stopTask TaskID stop async task and then clearTask TaskID clear async task I suggest to only stop the task/tasks and let the ovirt engine to perform the clearance of the tasks. +1 - I agree with Liron. Let AsyncTaskManager handle the task clearing - it will also remove relevant entries from db. Ravi, what do you think? The oVirt version is 3.4 and vdsm version 4.14. Thanks for any advice or links to documentation/man pages. Daniel Lang © Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA, SIPC. All rights reserved. The information contained in and accompanying this communication may be confidential, subject to legal privilege, or otherwise protected from disclosure, and is intended solely for the use of the intended recipient(s). If you are not the intended recipient of this communication, please delete and destroy all copies in your possession, notify the sender that you have received this communication in error, and note that any review or dissemination of, or the taking of any action in reliance on, this communication is expressly prohibited. E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. REDI makes no warranties in relation to these matters. Please note that REDI reserves the right to intercept, monitor, and retain e-mail messages to and from its systems as permitted by applicable law. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with REDI. ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users © Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA, SIPC. All rights reserved. The information contained in and accompanying this communication may be confidential, subject to legal privilege, or otherwise protected from disclosure, and is intended solely for the use of the intended recipient(s). If you are not the intended recipient of this communication, please delete and destroy all copies in your possession, notify the sender that you have received this communication in error, and note that any review or dissemination of, or the taking of any action in reliance on, this communication is expressly prohibited. E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. REDI makes no warranties in relation to these matters. Please note that REDI reserves the right to intercept, monitor, and retain e-mail messages to and from its systems as permitted by applicable law. If you
Re: [ovirt-users] webhook
- Original Message - From: Vojtech Szocs vsz...@redhat.com To: Barak Azulay bazu...@redhat.com Cc: Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Thursday, November 6, 2014 3:38:56 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Barak Azulay bazu...@redhat.com To: Vojtech Szocs vsz...@redhat.com Cc: Einav Cohen eco...@redhat.com, Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Tuesday, November 4, 2014 5:15:35 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Einav Cohen eco...@redhat.com Cc: Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Tuesday, November 4, 2014 2:12:05 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Einav Cohen eco...@redhat.com To: Vojtech Szocs vsz...@redhat.com Cc: Oved Ourfali ov...@redhat.com, users@ovirt.org Sent: Friday, October 31, 2014 8:01:34 PM Subject: Re: [ovirt-users] webhook - Original Message - From: Vojtech Szocs vsz...@redhat.com Sent: Friday, October 31, 2014 11:51:53 AM Hi, if I get this correctly, you'd like to be notified when certain event happens (VM created/deleted/etc.) and react upon that. I see multiple possible approaches here: 0, improve Engine extension API (refer to Alon Bar-Lev for details) - if extensions can be packaged as JARs and these JARs could include web fragments [1] it would mean the possibility to deploy custom servlets onto existing Engine instance (in context of webapp that processes extensions) - your custom Java servlet could query REST interface (or be notified once something happens, but AFAIK we don't have that implemented yet) and do whatever logic is needed - once I asked Alon about ^^ but never got response from him - IMHO this would be a nice way to deploy custom Java code on Engine [1] https://blogs.oracle.com/swchan/entry/servlet_3_0_web_fragment 1, improve UI plugin API - add VirtualMachineDataLoaded event fired upon each refresh of VM data in UI table (generalization - {Entity}DataLoaded) - this is similar to existing {Entity}SelectionChange events relying on changes in the UI table is a bad idea: (1) potentially missing events: the UI displays paginated data; if my VMs are sorted by name, and I have 1000 VMs in my setup, and I just added a VM named z, it will be added to the last page which is not displayed right now, so I wouldn't even be aware that something was added. (2) potentially creating fake events: changes in the displayed data in the UI can occur due to change in the Search query; if I have 50 VMs in my setup, and I initially had the Vms: search query, and now I change it to VMs: name = a*, which results in displaying only 10 VMs, this may falsely hint on removal of 40 VMs from the system. Agreed, that was a bad idea :) UI data is constrained by things like search query, pagination, sorting etc. Scratch my previous idea. As mentioned before, notification of relevant events occuring in system should be the way to go. Either Engine will provide mechanism to notify other systems (i.e. email notifier) or other system will poll/listen-to changes in Engine (i.e. via REST API). Idea for consideration, if every change to oVirt system would be sent to some event bus, we could easily implement different notification mechanisms (like websocket in addition to email), and web apps living in Engine EAR context could also register to that event bus (imagine WebAdmin servlet that listens for changes and pushes them to clients). This can/should be done through the notification service, currently it supports email snmp traps ... but it could be extended (very easily) Cool, maybe something we could do in future as part of UX improvement, i.e. change notification (push changes to client) to drive UI data update, instead of periodic polling. Bare ind mind the notification service works with audit log (the user marks what will be notified). I think you might be after for something else? Or did you refer to audit log/events only? 2, write UI plugin that uses oVirtJS to periodically check VM events not sure if this is referring to VM-related events in the code (e.g. hooking to the click on OK within the New VM / Remove VM dialog, or hooking to the Success callback of the action response, or something similar), or to the VM-related Events (i.e. the ones that are displayed in the GUI within the Events main-tab / bottom section). If the former: can be done, I assume, though not sure how complex it
Re: [ovirt-users] installation trouble
Hi finally got my node detected I installed centos on my node and use the engine detection But now my iscsi LUN is not detected . It shows the target but no LUN inside and on my netapp, I see the Lun, which is stated mapped and ok Can anybody help me ? Best regards Le 04/11/2014 15:25, Stephane EVEILLARD a écrit : Hi everybody when installing my first node (ovirt engine 3.5, iso node 3.0.4) I start getting the node in my cluster and suddenly get the following message : Host Noeud-1 installation failed. Network error during communication with the host but my node is still available !!! can somebody help me ? Thanks in advance Best Regards Stephane ___ 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] hosted engine , how to make changes to the VM post deploy
On Wed, Nov 05, 2014 at 08:11:39AM +0100, Jiri Moskovcak wrote: On 11/04/2014 03:52 PM, Alastair Neil wrote: So is this the workflow? set the hosted-engine maintenance to global shutdown the engine VM make changes via virsh or editing vm.conf sync changes to the other ha nodes restart the VM set hosted-engine maintenance to none - well, not official, because it can cause a lot of troubles, so I would not recommend it unless you have a really good reason to do it. I'd like to move my ovirt-engine VM to a new NFS storage. I was thinking to adopt this workflow for this use-case (in combination with rsync to mirror the old storage). Do you think this would succeed or is there another (and maybe supported) way to move ovirt-engine to a different storage? Regards - Frank ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy
I went through this a couple months ago. Migrated my hosted-engine from one NFS host to another. Here are the steps that I documented from the experience. There is probably a better way, but this worked for me on two separate hosted-engine environments. 1. Make a backup of RHEV-M 2. Migrate VMs off all hosts that run hosted-engine (except hosted-engine itself) 3. Put hosted-engine hosts in maintenance mode (except host that's running hosted-engine) 4. Put hosted-engine in global maintenance mode 5. Shutdown hosted-engine 6. Stop ovirt-ha-agent and ovirt-ha-broker services on all hosted-engine hosts 7. On each hosted-engine host: a. service ovirt-ha-agent stop b. service ovirt-ha-broker stop c. sanlock client shutdown -f 1 d. service sanlock stop e. umount /rhev/data-center/mnt/hosted-engine-share f. service sanlock start 8. mount new NFS share on /hosted_tgt 9. mount old NFS share on /hosted_src 10. Copy data (make sure sparse files are kept sparse): a. rsync --sparse -crvlp /hosted_src/* /hosted_tgt/ 11. Edit /etc/ovirt-hosted-engine/hosted-engine.conf and change path: storage=10.1.208.122:/HostedEngine_Test 12. Make sure permissions are vdsm:kvm in /hosted_tgt/ 13. umount /hosted_tgt 14. umount /hosted_src 15. Pick one hosted-engine host and reboot, then run: a. hosted-engine --connect-storage (make sure the new NFS is mounted properly) b. hosted-engine --start-pool (wait a few seconds then try again if you get an error) c. service ovirt-ha-broker start d. service ovirt-ha-agent start e. hosted-engine --vm-start -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Frank Wall Sent: November-06-14 8:12 AM To: Jiri Moskovcak Cc: users Subject: Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy On Wed, Nov 05, 2014 at 08:11:39AM +0100, Jiri Moskovcak wrote: On 11/04/2014 03:52 PM, Alastair Neil wrote: So is this the workflow? set the hosted-engine maintenance to global shutdown the engine VM make changes via virsh or editing vm.conf sync changes to the other ha nodes restart the VM set hosted-engine maintenance to none - well, not official, because it can cause a lot of troubles, so I would not recommend it unless you have a really good reason to do it. I'd like to move my ovirt-engine VM to a new NFS storage. I was thinking to adopt this workflow for this use-case (in combination with rsync to mirror the old storage). Do you think this would succeed or is there another (and maybe supported) way to move ovirt-engine to a different storage? Regards - Frank ___ 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] Tr : RE : Re: installation trouble
Envoyé depuis un mobile Samsung. div Message d'origine /divdivDe : stephane.eveillard stephane.eveill...@ibsnetwork.fr /divdivDate :06/11/2014 18:15 (GMT+01:00) /divdivA : Scott Worthington scott.c.worthing...@gmail.com /divdivObjet : RE : Re: [ovirt-users] installation trouble /divdiv /divI found my iscsi trouble Which was an iscsi initiator mistake My lun has now been declared as data master But I cannot declare my nfs shares I m cursed Envoyé depuis un mobile Samsung.___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Can some one share the use cases for the local storage?
On 06.11.2014 09:44, Sven Kieske wrote: On 06/11/14 09:15, Arman Khalatyan wrote: Hi, I would like to understand the local storage purpose. I was wondered are there any production systems using local storage? Or in another way, how to use effectively the local hosts disks? My ovirt purpose is so serve HA-VM LAMPs. Well yes there is local storage in production at various sites. For real HA you inevitable need a shared storage solution. An example and 'real' use case to Svens answer: The term 'local' might indeed a bit misleading. The posix file system option basically lets you use anything posix compliant. For instance I am using a cluster file system called StorNext in our company - witch is very well suited for use with oVirt. Without POSIX, I could not have used it. You could try to utilize local disks by using gluster ceph or any other software defined storage system. Gluster is the most integrated withing ovirt, but here are some caveats: It's not encouraged to run vms on the hosts which are part of the gluster cluster (but it works, at least this is what you can read on this very ML). It's not supported to run hosted-engine on top of gluster, at least not without a replica count of at least 3. Posix enables usage of GlusterFuseFS. However, it might be the case the replica 3 is only needed when using FuseFS [1], independent from the fact of using Gluster and Compute on the same host. HTH [1] http://www.mail-archive.com/users@ovirt.org/msg22416.html -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Complete CentOS 7 environment
We are upgrading hardware and I'm upgrading/rebuilding our Ovirt infrastructure. Are CentOS 7 host nodes supported? And can the engine be installed on CentOS 7? (3.5 repo isn't working for me) Thanks, Usman ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy
does the broker automatically sync the change you made in /etc/ovirt-hosted-engine/hosted-engine.conf to the other ha hosts or did you omit a step? On 6 November 2014 11:10, Groten, Ryan ryan.gro...@stantec.com wrote: I went through this a couple months ago. Migrated my hosted-engine from one NFS host to another. Here are the steps that I documented from the experience. There is probably a better way, but this worked for me on two separate hosted-engine environments. 1. Make a backup of RHEV-M 2. Migrate VMs off all hosts that run hosted-engine (except hosted-engine itself) 3. Put hosted-engine hosts in maintenance mode (except host that's running hosted-engine) 4. Put hosted-engine in global maintenance mode 5. Shutdown hosted-engine 6. Stop ovirt-ha-agent and ovirt-ha-broker services on all hosted-engine hosts 7. On each hosted-engine host: a. service ovirt-ha-agent stop b. service ovirt-ha-broker stop c. sanlock client shutdown -f 1 d. service sanlock stop e. umount /rhev/data-center/mnt/hosted-engine-share f. service sanlock start 8. mount new NFS share on /hosted_tgt 9. mount old NFS share on /hosted_src 10. Copy data (make sure sparse files are kept sparse): a. rsync --sparse -crvlp /hosted_src/* /hosted_tgt/ 11. Edit /etc/ovirt-hosted-engine/hosted-engine.conf and change path: storage=10.1.208.122:/HostedEngine_Test 12. Make sure permissions are vdsm:kvm in /hosted_tgt/ 13. umount /hosted_tgt 14. umount /hosted_src 15. Pick one hosted-engine host and reboot, then run: a. hosted-engine --connect-storage (make sure the new NFS is mounted properly) b. hosted-engine --start-pool (wait a few seconds then try again if you get an error) c. service ovirt-ha-broker start d. service ovirt-ha-agent start e. hosted-engine --vm-start -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Frank Wall Sent: November-06-14 8:12 AM To: Jiri Moskovcak Cc: users Subject: Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy On Wed, Nov 05, 2014 at 08:11:39AM +0100, Jiri Moskovcak wrote: On 11/04/2014 03:52 PM, Alastair Neil wrote: So is this the workflow? set the hosted-engine maintenance to global shutdown the engine VM make changes via virsh or editing vm.conf sync changes to the other ha nodes restart the VM set hosted-engine maintenance to none - well, not official, because it can cause a lot of troubles, so I would not recommend it unless you have a really good reason to do it. I'd like to move my ovirt-engine VM to a new NFS storage. I was thinking to adopt this workflow for this use-case (in combination with rsync to mirror the old storage). Do you think this would succeed or is there another (and maybe supported) way to move ovirt-engine to a different storage? Regards - Frank ___ 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] Migrating from Fedora 19 to Fedora 20 with oVirt 3.5.0
On Fri, Oct 24, 2014 at 8:05 AM, Sandro Bonazzola sbona...@redhat.com wrote: Il 23/10/2014 17:58, Gianluca Cecchi ha scritto: On Thu, Oct 23, 2014 at 5:52 PM, Sandro Bonazzola sbona...@redhat.com wrote: Hi, just finished testing migration path from F19 to F20 for systems running oVirt. F19 is going EOL one month after F21 release which is currently planned for December 2nd. If you're running oVirt on Fedora 19 I suggest you to do it once finished to upgrade oVirt to 3.5.0. I've saved some notes in the test request bug[1]: Bug 1131828 - Test upgrade path from Fedora 19 with oVirt 3.5.z to Fedora 20 Enjoy! [1] https://bugzilla.redhat.com/show_bug.cgi?id=1131828 NIce to hear this. I'm going to do it and give feedback on one of my personal workstations that is currently on F19 with all-in-one 3.4.4 due to this. Do you think the workflow is ok also for an all-in-one environment? I've not tested all-in-one upgrade, just to be sure, save current iptables config and do a backup before starting the upgrade. Gianluca -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com trying to proceed with migration to f20. yum update gives nothing: [root@tekkaman sysconfig]# yum update Loaded plugins: fastestmirror, langpacks, refresh-packagekit, versionlock Loading mirror speeds from cached hostfile * fedora: ftp-stud.hs-esslingen.de * livna: rpm.livna.org * ovirt-3.4-stable: ftp.snt.utwente.nl * ovirt-3.5: ftp.snt.utwente.nl * rpmfusion-free: mirror.de.leaseweb.net * rpmfusion-free-updates: mirror.de.leaseweb.net * rpmfusion-nonfree: mirror.de.leaseweb.net * rpmfusion-nonfree-updates: mirror.de.leaseweb.net * updates: ftp-stud.hs-esslingen.de No packages marked for update But I get this with yum distro-sync what does it mean? [root@tekkaman sysconfig]# yum distro-sync Loaded plugins: fastestmirror, langpacks, refresh-packagekit, versionlock Dropbox | 951 B 00:00:00 adobe-linux-x86_64 | 951 B 00:00:00 google-chrome | 951 B 00:00:00 livna | 1.3 kB 00:00:00 ovirt-3.4-fedora-virt-preview | 2.9 kB 00:00:00 ovirt-3.4-stable | 2.9 kB 00:00:00 ovirt-3.5 | 2.9 kB 00:00:00 ovirt-3.5-fedora-virt-preview | 2.9 kB 00:00:00 ovirt-3.5-patternfly1 | 3.0 kB 00:00:00 rpmfusion-free-updates | 3.3 kB 00:00:00 rpmfusion-nonfree-updates | 3.3 kB 00:00:00 updates/19/x86_64/metalink | 28 kB 00:00:00 Loading mirror speeds from cached hostfile * fedora: ftp-stud.hs-esslingen.de * livna: rpm.livna.org * ovirt-3.4-stable: ftp.snt.utwente.nl * ovirt-3.5: ftp.snt.utwente.nl * rpmfusion-free: mirror.de.leaseweb.net * rpmfusion-free-updates: mirror.de.leaseweb.net * rpmfusion-nonfree: mirror.de.leaseweb.net * rpmfusion-nonfree-updates: mirror.de.leaseweb.net * updates: ftp-stud.hs-esslingen.de Resolving Dependencies -- Running transaction check --- Package SLOF.noarch 0:0.1.git20121018-1.fc19 will be a downgrade --- Package SLOF.noarch 0:0.1.git20130430-2.fc19 will be erased --- Package ipxe-roms-qemu.noarch 0:20130517-2.gitc4bce43.fc19 will be a downgrade --- Package ipxe-roms-qemu.noarch 0:20130517-3.gitc4bce43.fc19 will be erased --- Package libcacard.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package libcacard.x86_64 2:1.6.1-2.fc19 will be erased --- Package openbios.noarch 0:1.0.svn1063-2.fc19 will be a downgrade --- Package openbios.noarch 0:1.1.svn1198-2.fc19 will be erased --- Package qemu.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-common.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-common.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-img.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-img.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-kvm.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-kvm.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-alpha.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-alpha.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-arm.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-arm.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-cris.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-cris.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-lm32.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-lm32.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-m68k.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-m68k.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-microblaze.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-microblaze.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-mips.x86_64 2:1.4.2-15.fc19 will be a downgrade --- Package qemu-system-mips.x86_64 2:1.6.1-2.fc19 will be erased --- Package qemu-system-or32.x86_64 2:1.4.2-15.fc19 will be
Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy
Good catch, you’re right that should say “On all hosted-engine hosts, edit hosted-engine.conf”. It does not automatically sync the changes between the hosts. From: Alastair Neil [mailto:ajneil.t...@gmail.com] Sent: November-06-14 11:06 AM To: Groten, Ryan Cc: Frank Wall; Jiri Moskovcak; users Subject: Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy does the broker automatically sync the change you made in /etc/ovirt-hosted-engine/hosted-engine.conf to the other ha hosts or did you omit a step? On 6 November 2014 11:10, Groten, Ryan ryan.gro...@stantec.commailto:ryan.gro...@stantec.com wrote: I went through this a couple months ago. Migrated my hosted-engine from one NFS host to another. Here are the steps that I documented from the experience. There is probably a better way, but this worked for me on two separate hosted-engine environments. 1. Make a backup of RHEV-M 2. Migrate VMs off all hosts that run hosted-engine (except hosted-engine itself) 3. Put hosted-engine hosts in maintenance mode (except host that's running hosted-engine) 4. Put hosted-engine in global maintenance mode 5. Shutdown hosted-engine 6. Stop ovirt-ha-agent and ovirt-ha-broker services on all hosted-engine hosts 7. On each hosted-engine host: a. service ovirt-ha-agent stop b. service ovirt-ha-broker stop c. sanlock client shutdown -f 1 d. service sanlock stop e. umount /rhev/data-center/mnt/hosted-engine-share f. service sanlock start 8. mount new NFS share on /hosted_tgt 9. mount old NFS share on /hosted_src 10. Copy data (make sure sparse files are kept sparse): a. rsync --sparse -crvlp /hosted_src/* /hosted_tgt/ 11. On all hosted-engine hosts, edit /etc/ovirt-hosted-engine/hosted-engine.conf and change path: storage=10.1.208.122:/HostedEngine_Test 12. Make sure permissions are vdsm:kvm in /hosted_tgt/ 13. umount /hosted_tgt 14. umount /hosted_src 15. Pick one hosted-engine host and reboot, then run: a. hosted-engine --connect-storage (make sure the new NFS is mounted properly) b. hosted-engine --start-pool (wait a few seconds then try again if you get an error) c. service ovirt-ha-broker start d. service ovirt-ha-agent start e. hosted-engine --vm-start -Original Message- From: users-boun...@ovirt.orgmailto:users-boun...@ovirt.org [mailto:users-boun...@ovirt.orgmailto:users-boun...@ovirt.org] On Behalf Of Frank Wall Sent: November-06-14 8:12 AM To: Jiri Moskovcak Cc: users Subject: Re: [ovirt-users] hosted engine , how to make changes to the VM post deploy On Wed, Nov 05, 2014 at 08:11:39AM +0100, Jiri Moskovcak wrote: On 11/04/2014 03:52 PM, Alastair Neil wrote: So is this the workflow? set the hosted-engine maintenance to global shutdown the engine VM make changes via virsh or editing vm.conf sync changes to the other ha nodes restart the VM set hosted-engine maintenance to none - well, not official, because it can cause a lot of troubles, so I would not recommend it unless you have a really good reason to do it. I'd like to move my ovirt-engine VM to a new NFS storage. I was thinking to adopt this workflow for this use-case (in combination with rsync to mirror the old storage). Do you think this would succeed or is there another (and maybe supported) way to move ovirt-engine to a different storage? Regards - Frank ___ Users mailing list Users@ovirt.orgmailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.orgmailto: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] Complete CentOS 7 environment
On Thu, 6 Nov 2014 17:47:52 + Usman wrote: AU We are upgrading hardware and I'm upgrading/rebuilding our Ovirt AU infrastructure. Are CentOS 7 host nodes supported? And can the engine AU be installed on CentOS 7? (3.5 repo isn't working for me) CentOS 7 is supported for host nodes, but not the engine. If you have a mixed CentOS 6/7 environment, note that migration works from 6-7 hosts, but not from 7-6. Robert -- Senior Software Engineer @ Parsons signature.asc Description: PGP signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Complete CentOS 7 environment
Thanks for the info Robert. I'm setting up nodes with CentOS 7 and Engine is the only thing on 6.6 In your opinion, do you think it will be easy enough to rebuild the engine on a CentOS 7 machine when support is available? Thanks, Usman -Original Message- From: Robert Story [mailto:rst...@tislabs.com] Sent: Thursday, November 06, 2014 2:12 PM To: Aslam, Usman Cc: users@ovirt.org Subject: Re: [ovirt-users] Complete CentOS 7 environment On Thu, 6 Nov 2014 17:47:52 + Usman wrote: AU We are upgrading hardware and I'm upgrading/rebuilding our Ovirt AU infrastructure. Are CentOS 7 host nodes supported? And can the AU engine be installed on CentOS 7? (3.5 repo isn't working for me) CentOS 7 is supported for host nodes, but not the engine. If you have a mixed CentOS 6/7 environment, note that migration works from 6-7 hosts, but not from 7-6. Robert -- Senior Software Engineer @ Parsons ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Integration of ovirt-engine GUI with the CLI
I got the use case of ovirt.js. But I don't think so it can be used in my case. I have to instead use CGI/php. My aim is to run the command from the rhevm manager bash prompt with dynamic attributes and then returns the success/failure result. E.g `rhevmcommand -lrt -p password ` Rhevmcommand is written in bash script, which internally calls REST api using curl. Password is similar that of rhevm manager database. Now I want something like snip Var result=`rhevmcommand -lrt` in HTML/java/...web UI. -Nikita On 06/11/2014 6:29 pm, Vojtech Szocs vsz...@redhat.com wrote: - Original Message - From: Itamar Heim ih...@redhat.com To: Nikita Kodkani nikita.kodk...@gmail.com Cc: users Users@ovirt.org, Vojtech Szocs vsz...@redhat.com Sent: Wednesday, November 5, 2014 12:37:21 AM Subject: Re: Fwd: [ovirt-users] Integration of ovirt-engine GUI with the CLI On 11/04/2014 01:54 PM, Nikita Kodkani wrote: Hi, To add further... I read it somewhere on google, that to execute the shell commands in the JavaScript we have to use node.js at the backend. We don't want to spend time on learning the technology in this time frame. -Does ovirt-engine provide API's for executing the shell commands? its the other way around - the cli/shell commands are using the engine python-sdk, which uses the engine REST API. if your solution is html/javascript based, i think using ovirt.js (which wraps calling to the engine rest api 'nicely', vs. you doing it yourself from your code) is the way to go. Exactly, the main use case for oVirtJS is to allow working with Engine from within a JavaScript environment. HTML/JS web application is the primary use case, we also plan to support server-side JS code running on Node.js as another use case, so that people can potentially write custom server-side JS to work with Engine. http://lists.ovirt.org/pipermail/users/2014-June/025198.html http://www.ovirt.org/Features/Design/Using_REST_API_In_Web_UI http://lists.ovirt.org/pipermail/devel/2014-August/008502.html http://lists.ovirt.org/pipermail/devel/attachments/20140819/a35caa44/attachment-0001.pdf Thanks, Nikita Nikita Kodkani On Tue, Nov 4, 2014 at 4:20 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 11:47 AM, Nikita Kodkani wrote: It is designed in javascript/HTML. We had initially designed some feature using CLI. But now we just want to execute command when we hit the button/tab. vojtech - sounds like ovirt.js could be the best fit here? -Nikita i On Tue, Nov 4, 2014 at 4:09 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 11/04/2014 06:30 AM, Nikita Kodkani wrote: Hi, I have the CLI designed for the RHEV-M. I have also designed some GUI in ovirt-engine. Now I am stuckup with the integration. Could you suggest how to connect the ovirt-engine GUI with the backend CLI commands? which language is your gui? why use the CLI instead of the python or java SDKs (or ruby or javascript ones) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users