Re: [Users] Procedure to change engine host name
Sorry to repost, anyone got any ideas here? Thanks! On Tue, Oct 16, 2012 at 12:27 PM, Neil nwilson...@gmail.com wrote: Hi Juan, Thank you very much for sending through these details, I'm finally getting around to trying to regenerate my certs now, but I'm encountering an issue with importing the old CA as per below... On Fri, Oct 5, 2012 at 5:03 PM, Juan Hernandez jhern...@redhat.com wrote: 5. Regenerate the keystore used by the engine, importing the old CA certificate and the new engine certificate: rm -f /etc/pki/ovirt-engine/.keystore keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem [root@backup ovirt-engine]# rm -f /etc/pki/ovirt-engine/.keystore [root@backup ovirt-engine]# keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem keytool error: java.lang.Exception: Input not an X.509 certificate My certificate was created on the early release of ovirt-engine 3.1 so not sure if this is perhaps why? Thanks. Regards. Neil Wilson. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Procedure to change engine host name
- Original Message - From: Neil nwilson...@gmail.com To: Juan Hernandez jhern...@redhat.com Cc: users@ovirt.org Sent: Wednesday, October 17, 2012 11:06:24 AM Subject: Re: [Users] Procedure to change engine host name Sorry to repost, anyone got any ideas here? Thanks! Can you check the certificate file for whitespaces, extra characters and etc.? (In some threads about this issue that was usually the problem - apologize in advance if you already read such threads). On Tue, Oct 16, 2012 at 12:27 PM, Neil nwilson...@gmail.com wrote: Hi Juan, Thank you very much for sending through these details, I'm finally getting around to trying to regenerate my certs now, but I'm encountering an issue with importing the old CA as per below... On Fri, Oct 5, 2012 at 5:03 PM, Juan Hernandez jhern...@redhat.com wrote: 5. Regenerate the keystore used by the engine, importing the old CA certificate and the new engine certificate: rm -f /etc/pki/ovirt-engine/.keystore keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem [root@backup ovirt-engine]# rm -f /etc/pki/ovirt-engine/.keystore [root@backup ovirt-engine]# keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem keytool error: java.lang.Exception: Input not an X.509 certificate My certificate was created on the early release of ovirt-engine 3.1 so not sure if this is perhaps why? Thanks. Regards. Neil Wilson. ___ 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: [Users] Procedure to change engine host name
On Wed, Oct 17, 2012 at 11:13 AM, Oved Ourfalli ov...@redhat.com wrote: - Original Message - From: Neil nwilson...@gmail.com To: Juan Hernandez jhern...@redhat.com Cc: users@ovirt.org Sent: Wednesday, October 17, 2012 11:06:24 AM Subject: Re: [Users] Procedure to change engine host name Sorry to repost, anyone got any ideas here? Thanks! Can you check the certificate file for whitespaces, extra characters and etc.? (In some threads about this issue that was usually the problem - apologize in advance if you already read such threads). Thanks for helping, I've just checked visually(using vi) and it seems to be good, not sure if there is some kind of app I can run on it to verify that is is valid. This is the first portion of the file, not sure if there is something obvious? Certificate: Data: Version: 3 (0x2) Serial Number: 1 (0x1) Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, O=Bla Bla, CN=CA-node02.blabla.com.49238 Validity Not Before: May 22 18:41:23 2012 Not After : May 21 16:41:23 2022 GMT Subject: C=US, O=Bla Bla, CN=CA-node02.blabla.com.49238 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (1024 bit) Modulus: Thanks! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] kickstarting a vm via http
- Original Message - From: Alex Leonhardt alex.t...@gmail.com To: users@ovirt.org Sent: Tuesday, 16 October, 2012 11:22:06 PM Subject: Re: [Users] kickstarting a vm via http FWIW and in case someone is interested, you can use the following kernel parameters to kickstart from network (without pxe - i'd prefer that, but it's not always an option) : ks= http://X.X.X.X/ks/ks.cfg ksdevice=eth0 ip=X.X.X.X netmask=255.255.255.0 This, afaik, will not work for the VMs, since the params are passed to libvirt, that can't take files from http/s. Have you actually tried this and it worked? it'll require you however to have the kernel initrd.img files - you can get those from the distro cd / iso (even jus the network install) and put them somewhere, doesnt matter - just reference those files in the kernel path and initrd path and it'll work .. e.g. kernel path [ /var/www/html/repo/centos/images/pxeboot/vmlinuz ] initrd path [ /var/www/html/repo/centos/images/pxeboot/initrd.img ] alex On 10/16/2012 09:59 PM, Alex Leonhardt wrote: ok, local path seems to do the trick :) ta! On 10/16/2012 08:49 PM, Alex Leonhardt wrote: hi, i'm trying to kickstart a new VM using the kernel parameters field, however, when I enter any text in there, it requires me to give a path for the kernel ?? is that deliberate ? if so, should that be the path to the kernel via http:// or on the local filesystem of the node ?? Thanks Alex ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Regards, Dan Yasny Red Hat Israel +972 9769 2280 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
I stand corrected, it seems that this change is supported. If you go and check the memory optimisation tab you'll find that it is set to Custom Value -- Noam Slomianko Red Hat Enterprise Virtualization, SLA team - Original Message - From: Noam Slomianko nslom...@redhat.com To: math...@googlemail.com Cc: users@ovirt.org Sent: Tuesday, October 16, 2012 5:38:51 PM Subject: Re: [Users] Ovirt Memory Page Sharing or to less memory Short answer: not really Long answer: you can go in to the engine DB - 'vds_groups' (clusters) table and change the 'max_vds_memory_over_commit' column to what ever value you like. Word of caution: This isn't supported, and i cannot guarantee how will the Ovirt UI or the Host react to this change -- Noam Slomianko Red Hat Enterprise Virtualization, SLA team - Original Message - From: Mathok math...@googlemail.com To: users@ovirt.org Sent: Tuesday, October 16, 2012 12:51:05 AM Subject: [Users] Ovirt Memory Page Sharing or to less memory Hello, I have only 3 host with less amount of memory for test purpose and i like to run more vms but i cant start them because they are under the defined memory threshold. It is possible to increase the level of memory page sharing on a cluster above the 200% with a option and start the vms after that change ? or it is possible to deactivate the memory threshold with any option? regards mathok ___ 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: [Users] Procedure to change engine host name
On 10/17/2012 02:36 PM, Neil wrote: Sorry to repost, anyone got any ideas here? Thanks! On Tue, Oct 16, 2012 at 12:27 PM, Neil nwilson...@gmail.com wrote: Hi Juan, Thank you very much for sending through these details, I'm finally getting around to trying to regenerate my certs now, but I'm encountering an issue with importing the old CA as per below... On Fri, Oct 5, 2012 at 5:03 PM, Juan Hernandez jhern...@redhat.com wrote: 5. Regenerate the keystore used by the engine, importing the old CA certificate and the new engine certificate: rm -f /etc/pki/ovirt-engine/.keystore keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem [root@backup ovirt-engine]# rm -f /etc/pki/ovirt-engine/.keystore [root@backup ovirt-engine]# keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem keytool error: java.lang.Exception: Input not an X.509 certificate The problem is probably that you are using the keytool from a Java 6 installation, and it doesn't support the PEM certificate format. You can do two things to solve this: 1. Switch to Java 7 using alternatives --config java. But this could have adverse effects in other Java programs that you may be using. Note that the oVirt engine is designed to use Java 7, so if you are using Java 6 you can find other issues. 2. Create a DER encoded version of the CA certificate before importing it: openssl x509 \ -in /etc/pki/ovirt-engine/ca.pem \ -inform pem \ -out /etc/pki/ovirt-engine/ca.cer \ -outform der Then use the ca.cer file instead of the ca.pem file in the keytool command. Sorry for the late response. My certificate was created on the early release of ovirt-engine 3.1 so not sure if this is perhaps why? Thanks. Regards. Neil Wilson. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Procedure to change engine host name
On Wed, Oct 17, 2012 at 2:36 PM, Juan Hernandez jhern...@redhat.com wrote: 1. Switch to Java 7 using alternatives --config java. But this could have adverse effects in other Java programs that you may be using. Note that the oVirt engine is designed to use Java 7, so if you are using Java 6 you can find other issues. No problem, this new machine is a dedicated ovirt-engine now and the certificate was migrated from an older Centos install. 2. Create a DER encoded version of the CA certificate before importing it: openssl x509 \ -in /etc/pki/ovirt-engine/ca.pem \ -inform pem \ -out /etc/pki/ovirt-engine/ca.cer \ -outform der Then use the ca.cer file instead of the ca.pem file in the keytool command. Thanks, will give this a try tomorrow morning. Sorry for the late response. No problem, as usual your help is greatly appreciated! Kind regards. Neil Wilson. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Here we go again - Error adding host , incorrect vdsm version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-13 23:22, Dan Kenigsberg wrote: On Fri, Oct 12, 2012 at 08:28:44PM +0200, Ricky Schneberger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, When I try to add a new host from Webadmin I got Unable to fetch VDSM with minimal version of vdsm-4.9. Please check. I have patched as told from this post, http://lists.ovirt.org/pipermail/users/2012-June/002466.html, but it does not solved my problem. Which version of vdsm-bootsrap do you have installed on your Engine? The refered patch has been submitted to ovirt-3.1 as v4.10.0-3-g67309fc. Dan. I have vdsm-bootstrap-4.10.1-0.19.18.el6.noarch installed. - -- Ricky Schneberger -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB+vhUACgkQOap81biMC2NR7gCfX8gRx/TzAo9dQRemrCXaVTVc WBQAn1CLDBzpnf8S4XbvE5WgDSa5Q2+G =dsiq -END PGP SIGNATURE- 0xB88C0B63.asc Description: application/pgp-keys ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] oVirt Weekly Meeting Minutes -- 2012-10-17
Minutes:http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-17-14.00.html Minutes (text): http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-17-14.00.txt Log: http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-17-14.00.log.html #ovirt: oVirt Weekly Meeting Meeting started by mburns at 14:00:02 UTC. The full logs are available at http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-17-14.00.log.html . Meeting summary --- * roll call and agenda (mburns, 14:00:09) * Release Status (Feature Review) (mburns, 14:04:22) * LINK: http://wiki.ovirt.org/wiki/OVirt_3.2_release-management (mburns, 14:04:30) * a number of new feature pages posted (mburns, 14:06:49) * still waiting on feature pages for the rest (mburns, 14:07:13) * feature pages posted for 15 out of 22 identified features for 3.2 (mburns, 14:07:48) * some features are already code complete and merged (mburns, 14:08:00) * the rest are all in progress (mburns, 14:08:15) * ACTION: mburns to follow-up on missing feature pages (mburns, 14:08:41) * feature freeze scheduled for Nov 14 (mburns, 14:09:25) * Release scheduled for Dec 12 (mburns, 14:09:35) * ACTION: sgordon to review feature pages for release note info (mburns, 14:10:55) * Sub-Project Status -- Node (mburns, 14:11:30) * still posting small incremental releases to solve some community identified problems (mburns, 14:11:52) * latest is 2.5.5 which was posted late yesterday, with rpm upload happening as i type (mburns, 14:12:23) * progress is being made on the features for 2.6 (oVirt 3.2 release) (mburns, 14:12:48) * glusterfs storage support is complete and merged into master (mburns, 14:13:07) * snmp has been pulled from the base image and added into a plugin rpm (mburns, 14:13:25) * cim plugin work is starting in the next week or 2 (mburns, 14:13:44) * TUI backend re-design work is making very good progress (mburns, 14:14:05) * some limited automation is up and running in an internal environment (mburns, 14:14:25) * mburns wants to thank community members for quick testing of latest ovirt-node builds as they come out (especially SirDerigo ) (mburns, 14:15:08) * Sub-Project Status -- VDSM (mburns, 14:16:40) * no 3.2 related updates for vdsm (mburns, 14:18:00) * Sub-Project Status -- Engine (mburns, 14:18:09) * no 3.2 related updates for engine (mburns, 14:18:59) * Sub-Project Status -- infra (mburns, 14:19:10) * mburns's understanding: we have approval to move forward with Alter Way's offer of hosting (mburns, 14:20:51) * infra team is working through some of the planning and logistics (mburns, 14:21:10) * and figuring out details like SLA, etc... (mburns, 14:21:22) * infra team meeting has been moved from Tuesdays to Mondays (mburns, 14:22:12) * dneary put together a google calendar with all oVirt meetings listed out (mburns, 14:22:44) * ACTION: mburns to ensure that the link for the google calendar is posted to the wiki (mburns, 14:23:24) * Workshop -- Bangalore (mburns, 14:23:57) * Other Topics (mburns, 14:25:38) * oVirt Workshop -- Bangalore (mburns, 14:29:31) * workshop went very well -- full house (maybe even more than full) (mburns, 14:29:58) * full attendance for whole workshop (mburns, 14:30:19) * good QA (mburns, 14:30:22) * reps from Dell, IBM, Cisco and more were in attendance (mburns, 14:30:38) * people were big fans of oVirt-on-a-stick (mburns, 14:30:56) * oVirt Workshop -- Barcelona (mburns, 14:31:09) * schedule to be published in the near future (mburns, 14:31:35) * speakers notified of acceptance (mburns, 14:32:00) * ACTION: lh will follow up on the schedule being posted (mburns, 14:32:11) * ACTION: mburns to get schedule to jbrooks for posting on the wiki (mburns, 14:33:25) * attendee gift for workshop still being debated (mburns, 14:37:19) * booth is mostly ready, just need graphic -- lh will handle that this week (mburns, 14:38:01) * mburns will organize the demo for the booth (mburns, 14:38:14) Meeting ended at 14:44:59 UTC. Action Items * mburns to follow-up on missing feature pages * sgordon to review feature pages for release note info * mburns to ensure that the link for the google calendar is posted to the wiki * lh will follow up on the schedule being posted * mburns to get schedule to jbrooks for posting on the wiki Action Items, by person --- * jbrooks * mburns to get schedule to jbrooks for posting on the wiki * lh * lh will follow up on the schedule being posted * mburns * mburns to follow-up on missing feature pages * mburns to ensure that the link for the google calendar is posted to the wiki * mburns to get schedule to jbrooks for posting on the wiki * sgordon * sgordon to review feature
[Users] mozilla-xpi for Ubuntu
Hello, I need a working mozilla-xpi for Ubuntu 12.04 (and soon 12.10). It is strange that an opensource project as ovirt is only working on Fedora. Thanks in advance for any help. Mario ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] mozilla-xpi for Ubuntu
Ideally this should be included in the core distro. It's worth adding your input to the request in launchpad [1] to help the distro maintainers prioritize it. Jason created a PPA that's reference in the bug that I'm sure still works. [1] https://bugs.launchpad.net/ubuntu/+bug/943510 - Original Message - From: Mario Giammarco mgiamma...@gmail.com To: users@ovirt.org Sent: Wednesday, October 17, 2012 2:11:10 PM Subject: [Users] mozilla-xpi for Ubuntu Hello, I need a working mozilla-xpi for Ubuntu 12.04 (and soon 12.10). It is strange that an opensource project as ovirt is only working on Fedora. Thanks in advance for any help. Mario ___ 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: [Users] mozilla-xpi for Ubuntu
On 10/17/2012 12:11 PM, Andrew Cathrow wrote: Ideally this should be included in the core distro. It's worth adding your input to the request in launchpad [1] to help the distro maintainers prioritize it. Jason created a PPA that's reference in the bug that I'm sure still works. spice-xpi is a little tricky because it needs to be rebuilt for every firefox rev -- and as we all know, those happen constantly. My ppa is a bit broken at the moment, as I was trying to get autobuild working, and working on all the supported current ubuntu revs (and their ff build deps keep changing from release to release). I'll try to get it working again, at least for the current ubuntu release. Jason [1] https://bugs.launchpad.net/ubuntu/+bug/943510 - Original Message - From: Mario Giammarco mgiamma...@gmail.com To: users@ovirt.org Sent: Wednesday, October 17, 2012 2:11:10 PM Subject: [Users] mozilla-xpi for Ubuntu Hello, I need a working mozilla-xpi for Ubuntu 12.04 (and soon 12.10). It is strange that an opensource project as ovirt is only working on Fedora. Thanks in advance for any help. Mario ___ 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 -- @jasonbrooks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
On Wed, Oct 17, 2012 at 6:22 AM, Noam Slomianko nslom...@redhat.com wrote: I stand corrected, it seems that this change is supported. If you go and check the memory optimisation tab you'll find that it is set to Custom Value I'm not seeing that. I select my cluster, then click Edit Memory Optimization, and i just have the 3 radio buttons: None, Server (150%) and Desktop (200%). Am I looking in the wrong place? Running a different versions than you are referring to (oVirt Engine Version: 3.1.0-3.19.el6)? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
2012/10/17 Alan Johnson a...@datdec.com On Wed, Oct 17, 2012 at 6:22 AM, Noam Slomianko nslom...@redhat.comwrote: I stand corrected, it seems that this change is supported. If you go and check the memory optimisation tab you'll find that it is set to Custom Value I'm not seeing that. I select my cluster, then click Edit Memory Optimization, and i just have the 3 radio buttons: None, Server (150%) and Desktop (200%). Am I looking in the wrong place? Running a different versions than you are referring to (oVirt Engine Version: 3.1.0-3.19.el6)? Same here with ovirt 3.1.0-2 i can't see a change in the UI. But i'm able to start more VMs and hava a higher usag of my swap partiotion so i think the change had the desired effect thank you for your help ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
On Mon, Oct 15, 2012 at 6:51 PM, Mathok math...@googlemail.com wrote: It is possible to increase the level of memory page sharing on a cluster above the 200% with a option and start the vms after that change ? or it is possible to deactivate the memory threshold with any option? First, let me be clear that this is complete speculation. That said, my interpretation of these features based on how the GUI behaves is that the Cluster Memory Optimization (CMO) setting changes the default Physical Memory Guarantee (PMG) on new VMs under the Resource Allocation tab. However, you could set that number manually to whatever you want. I have been setting it to 1/4 of the Memory Size (MS) on the General tab as a general rule, but varying it by VM as needed. So, to restate, when CMO is set to None, PMG=MS when creating a new VM. When CMO is set to Server, PMG=MS/150%. When CMO is Desktop, PMG=MS/200%. But you can still set the PMG to any custom value any time the VM is not running. That much I am sure of. What I have not tested is my expectation that the engine will pile the VMs on the hosts based purely on their the greater of PMG and actual VM use. It would be reasonably plausible that the engine limits VMs on the hosts based on CMO as well as PMG and actual use, but I just don't know for sure either way. I would greatly appreciated it if some guru could school me on this point. ___ Alan Johnson a...@datdec.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
2012/10/17 Alan Johnson a...@datdec.com On Wed, Oct 17, 2012 at 5:02 PM, Mathok math...@googlemail.com wrote: Same here with ovirt 3.1.0-2 i can't see a change in the UI. But i'm able to start more VMs and hava a higher usag of my swap partiotion so i think the change had the desired effect Oh, does this take advantage of host swap space as well? I thought I had read oVirt could do that somewhere, but I have been reading about so many different virtualization systems over the last few months that when the RHEV 3.1 Admin Guidehttps://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1-Beta/html-single/Administration_Guide/index.htmldid not mention swap space in section 4.2.2.2. Memory Optimization Settings Explained, I was not sure if it applied here. This is all it says at the moment: Memory page sharing allows virtual machines to use up to 200% of their allocated memory by utilizing unused memory in other virtual machines. This process is based on the assumption that the virtual machines in your Red Hat Enterprise Virtualization environment will not all be running at full capacity at the same time, allowing unused memory to be temporarily allocated to a particular virtual machine. Do you have a reference handy that confirms and explains this? I put some speedy SSDs in my hosts to hopefully take advantage of this (and maybe run gluster), so I am hoping to see that in print somewhere. I'll dig it up if you don't have it handy, but a confirmation that this is your experience and understanding would make me feel better in the mean time. let me explain my (now fixed) problem i have a ovirt host with 8 GB Ram and 12 VMs every with 256 MB Physical Memory Guarantee. When i start my two mysql-cluster vms they will use the 256 PMG plus 3,75 GB MS they have defined a max of 4 GB MS. At this poitn now the problem begins the mysql taken the hole memory in both vms and now there is no more free ram at the host and it is not possible to start more vms. (this is also speculation im not a expert) So i need for my understanding a higher rate of memory overcommit to be able to start all vms, and for that the host must use the swap to have enough memory for overcomit to start all vms and yes the higher the rate, the worse the performance. I'm not sure if this is the right or good way tho fix this problem (sorry for my bad english I hope this is understandable) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
2012/10/18 Mathok math...@googlemail.com 2012/10/17 Alan Johnson a...@datdec.com On Wed, Oct 17, 2012 at 5:02 PM, Mathok math...@googlemail.com wrote: Same here with ovirt 3.1.0-2 i can't see a change in the UI. But i'm able to start more VMs and hava a higher usag of my swap partiotion so i think the change had the desired effect Oh, does this take advantage of host swap space as well? I thought I had read oVirt could do that somewhere, but I have been reading about so many different virtualization systems over the last few months that when the RHEV 3.1 Admin Guidehttps://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1-Beta/html-single/Administration_Guide/index.htmldid not mention swap space in section 4.2.2.2. Memory Optimization Settings Explained, I was not sure if it applied here. This is all it says at the moment: Memory page sharing allows virtual machines to use up to 200% of their allocated memory by utilizing unused memory in other virtual machines. This process is based on the assumption that the virtual machines in your Red Hat Enterprise Virtualization environment will not all be running at full capacity at the same time, allowing unused memory to be temporarily allocated to a particular virtual machine. Do you have a reference handy that confirms and explains this? I put some speedy SSDs in my hosts to hopefully take advantage of this (and maybe run gluster), so I am hoping to see that in print somewhere. I'll dig it up if you don't have it handy, but a confirmation that this is your experience and understanding would make me feel better in the mean time. let me explain my (now fixed) problem i have a ovirt host with 8 GB Ram and 12 VMs every with 256 MB Physical Memory Guarantee. When i start my two mysql-cluster vms they will use the 256 PMG plus 3,75 GB MS they have defined a max of 4 GB MS. At this poitn now the problem begins the mysql taken the hole memory in both vms and now there is no more free ram at the host and it is not possible to start more vms. (this is also speculation im not a expert) So i need for my understanding a higher rate of memory overcommit to be able to start all vms, and for that the host must use the swap to have enough memory for overcomit to start all vms and yes the higher the rate, the worse the performance. I'm not sure if this is the right or good way tho fix this problem (sorry for my bad english I hope this is understandable) sorry i have no reference handy that confirm or explain this for ovirt. i have only combined my linux and vmware knowledge and i think that it will work in ovirt a almost equal way like vmware http://www.yellow-bricks.com/2011/08/18/swap-to-host-cache-aka-swap-to-ssd/where you can speed up the swap in a overcomit situation wit a ssd. On linux we can simply put the swap on a ssd and we have a very fast swap. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt Memory Page Sharing or to less memory
On 10/17/2012 11:16 PM, Alan Johnson wrote: On Mon, Oct 15, 2012 at 6:51 PM, Mathok math...@googlemail.com mailto:math...@googlemail.com wrote: It is possible to increase the level of memory page sharing on a cluster above the 200% with a option and start the vms after that change ? or it is possible to deactivate the memory threshold with any option? First, let me be clear that this is complete speculation. That said, my interpretation of these features based on how the GUI behaves is that the Cluster Memory Optimization (CMO) setting changes the default Physical Memory Guarantee (PMG) on new VMs under the Resource Allocation tab. However, you could set that number manually to whatever you want. I have been setting it to 1/4 of the Memory Size (MS) on the General tab as a general rule, but varying it by VM as needed. that is correct. the default value for reserved memory at vm level is based on cluster over commit. cluster over commit can be set to a custom value via the api/sdk/cli. you should validate ksm is up and running. you should also note ksm by default only kicks in around 80% host memory utilization. so if you want to be more aggressive on sharing memory pages (at the expense of a bit more cpu cycles for ksm), you can configure it at vdsm level to start at a lower threshold. also, you should note that during vm startup, until vm goes to up, engine assumes it is taking all of its defined RAM, then moves to check actual ram consumption of the VM. so between ksm configuration, and the time VMs go to up state, you may need to throttle the launch of multiple VMs on same host. So, to restate, when CMO is set to None, PMG=MS when creating a new VM. When CMO is set to Server, PMG=MS/150%. When CMO is Desktop, PMG=MS/200%. But you can still set the PMG to any custom value any time the VM is not running. That much I am sure of. What I have not tested is my expectation that the engine will pile the VMs on the hosts based purely on their the greater of PMG and actual VM use. It would be reasonably plausible that the engine limits VMs on the hosts based on CMO as well as PMG and actual use, but I just don't know for sure either way. CMO - total potential RAM of the VMs on the host should not exceed host ram * CMO. PMG - total reserved RAM of the VMs on the host, should not exceed host ram (that's close enough to the truth, calculation is taking some overheads into account, etc.) I would greatly appreciated it if some guru could school me on this point. ___ Alan Johnson a...@datdec.com mailto:a...@datdec.com ___ 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: [Users] kickstarting a vm via http
On 10/17/2012 11:39 AM, Dan Yasny wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: users@ovirt.org Sent: Tuesday, 16 October, 2012 11:22:06 PM Subject: Re: [Users] kickstarting a vm via http FWIW and in case someone is interested, you can use the following kernel parameters to kickstart from network (without pxe - i'd prefer that, but it's not always an option) : ks= http://X.X.X.X/ks/ks.cfg ksdevice=eth0 ip=X.X.X.X netmask=255.255.255.0 This, afaik, will not work for the VMs, since the params are passed to libvirt, that can't take files from http/s. Have you actually tried this and it worked? I'm not sure this is blocked for fedora. also, iirc, you can place them on the iso domain, and use an iso:// notation it'll require you however to have the kernel initrd.img files - you can get those from the distro cd / iso (even jus the network install) and put them somewhere, doesnt matter - just reference those files in the kernel path and initrd path and it'll work .. e.g. kernel path [ /var/www/html/repo/centos/images/pxeboot/vmlinuz ] initrd path [ /var/www/html/repo/centos/images/pxeboot/initrd.img ] alex On 10/16/2012 09:59 PM, Alex Leonhardt wrote: ok, local path seems to do the trick :) ta! On 10/16/2012 08:49 PM, Alex Leonhardt wrote: hi, i'm trying to kickstart a new VM using the kernel parameters field, however, when I enter any text in there, it requires me to give a path for the kernel ?? is that deliberate ? if so, should that be the path to the kernel via http:// or on the local filesystem of the node ?? Thanks Alex ___ 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: [Users] Images not appearing in ISO domain
On 10/16/2012 06:35 PM, Neil wrote: Thanks to all for your assistance, I've managed to solve it. Solved! On Tue, Oct 16, 2012 at 6:16 PM, Neil nwilson...@gmail.com wrote: On Tue, Oct 16, 2012 at 5:57 PM, Alexandre Santos santosa...@gmail.com wrote: 2012/10/16 Neil nwilson...@gmail.com On Tue, Oct 16, 2012 at 5:10 PM, Neil nwilson...@gmail.com wrote: On Tue, Oct 16, 2012 at 4:47 PM, Alexandre Santos santosa...@gmail.com wrote: 2012/10/16 Mike Burns mbu...@redhat.com On Tue, 2012-10-16 at 16:33 +0200, Neil wrote: Hi Keith, On Tue, Oct 16, 2012 at 3:48 PM, Keith Robertson krobe...@redhat.com wrote: Neil, I suspect that you are having the same issue described in [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=858880 I unfortunately don't have access to view this bug... You are not authorized to access bug #858880. Is there any progress on repairing it, or do you know if there is a work round in the meantime? You can try going into the nfs share manually and chown 36:36 * i.e., if your iso domain is at /export/iso: chown 36:36 /export/iso/uuid/images/uuid/* Note that the uuid is different in both cases above, and for each domain. Not sure if this will help or not, but it's worth a shot. Mike Thanks! Regards. Neil Wilson. ___ 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 The owner 36:36 should be vdsm.kvm and not vdsm.vdsm Do you have a group kvm with gid = 36? Alex Hi Alex, I only have a group called vdsm with gid 36...no group kvm. grep 36 /etc/group vdsm:x:36: Same as my user.. grep 36 /etc/passwd vdsm:x:36:36::/home/vdsm:/bin/false Thanks After messing around with permissions 640 644, 777 and changing groups, every time I clicked on the images tab my whole storage would go offline, so I've now destroyed by old ISO domain and re-created it with these exact steps. Just tried destroying my ISO domain and added a new one, but still the images don't show. mv iso-domain iso-domain-old mkdir iso-domain chown -R 36:36 iso-domain ls -al drwxr-xr-x. 3 vdsm vdsm 4096 Oct 16 17:37 iso-domain In ovirt I went to storages -- NEW domain, and added it as NFS ISO, it added, I then activated it and then uploaded a small ISO image, but still the image doesn't show. On my host I ran... vdsClient -s 0 getIsoList `vdsClient -s 0 getConnectedStoragePoolsList` -- ISO list with proper permissions only --- I see that on my host the uid and gid of 36 are vdsm:kvm not sure if this is somehow related? This is what I see in my server.log when I click on images now... (note that my storage stays online now though since re-creating) 2012-10-16 17:51:43,596 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp--0.0.0.0-8009-4) START, IsValidVDSCommand(storagePoolId = 2e10a712-16e5-11e2-8e00-fb7c1ec24d65, ignoreFailoverLimit = false, compatabilityVersion = null), log id: 5ee36683 2012-10-16 17:51:43,599 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp--0.0.0.0-8009-4) FINISH, IsValidVDSCommand, return: true, log id: 5ee36683 2012-10-16 17:51:43,602 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetIsoListVDSCommand] (ajp--0.0.0.0-8009-4) START, GetIsoListVDSCommand(storagePoolId = 2e10a712-16e5-11e2-8e00-fb7c1ec24d65, ignoreFailoverLimit = false, compatabilityVersion = null), log id: e413685 2012-10-16 17:51:43,621 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HsmGetIsoListVDSCommand] (ajp--0.0.0.0-8009-4) START, HsmGetIsoListVDSCommand(vdsId = 322cbee8-16e6-11e2-9d38-6388c61dd004, storagePoolId=2e10a712-16e5-11e2-8e00-fb7c1ec24d65), log id: 19d3e418 2012-10-16 17:51:43,678 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HsmGetIsoListVDSCommand] (ajp--0.0.0.0-8009-4) FINISH, HsmGetIsoListVDSCommand, return: [], log id: 19d3e418 2012-10-16 17:51:43,703 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetIsoListVDSCommand] (ajp--0.0.0.0-8009-4) FINISH, GetIsoListVDSCommand, return: [], log id: e413685 2012-10-16 17:51:43,802 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp--0.0.0.0-8009-4) START, IsValidVDSCommand(storagePoolId = 2e10a712-16e5-11e2-8e00-fb7c1ec24d65, ignoreFailoverLimit = false, compatabilityVersion = null), log id: 2f63dd4f 2012-10-16 17:51:43,807 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp--0.0.0.0-8009-4) FINISH, IsValidVDSCommand, return: true, log id: 2f63dd4f 2012-10-16 17:51:43,814 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetFloppyListVDSCommand] (ajp--0.0.0.0-8009-4) START, GetFloppyListVDSCommand(storagePoolId = 2e10a712-16e5-11e2-8e00-fb7c1ec24d65, ignoreFailoverLimit = false, compatabilityVersion = null), log id: 69594af5 2012-10-16 17:51:43,839 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetFloppyListVDSCommand] (ajp--0.0.0.0-8009-4)
Re: [Users] Images not appearing in ISO domain
On 10/16/2012 04:38 PM, Keith Robertson wrote: On 10/16/2012 10:33 AM, Neil wrote: Hi Keith, On Tue, Oct 16, 2012 at 3:48 PM, Keith Robertson krobe...@redhat.com wrote: Neil, I suspect that you are having the same issue described in [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=858880 I unfortunately don't have access to view this bug... You are not authorized to access bug #858880. Is there any progress on repairing it, or do you know if there is a work round in the meantime? AFAIK, there is no work-a-round for the issue and, I think that the engine team is having a hard time reproducing the issue. As a work-a-round you could try 'chmod -R 644 /path/to/iso/domain' . This gives all files in the ISO domain world read privs. (not what you want) but I think it will fix the engine issue. You should know that the ISO uploader uploads files as 36:36 and 640 perms. This is the correct behavior and, based on your previous emails I can see that your files do appear to match that ACL. the output of vdsClient was an empty list of iso's, so it seems like a vdsm issue rather than engine? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Hot Snapshotting of virtual disks
Basically, backup is different from snapshotting. Backup should have another storage different from the current share storage to store the disk content. oVirt 3.1 does have support for live snapshot of the VM disks and Qemu 1.1 is required at least to support this operation. In oVirt 3.1, you can also create an backup domain to store the VM disks, but I think it is not the real backup to another physical storage. So you may have to copy the snapshot made to other physical storage manually . 2012-10-18 9:20, Jason Lawer: Hi, Can anyone give advice on what they are using for backup on their ovirt deployments. We have been using tar balls rsync on our linux servers, but are looking for something more manageable and the number of servers grows rapidly. I ask because I have been looking at a few options. The first idea that came to mind was a hot snapshot of the virtual disk, however from what I can see ovirt won't allow that. Most of the others have serious drawbacks, so I wanted to know if anyone had a silver bullet before I put more time into it. Jason ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- --- 舒明 Shu Ming Open Virtualization Engineerning; CSTL, IBM Corp. Tel: 86-10-82451626 Tieline: 9051626 E-mail: shum...@cn.ibm.com or shum...@linux.vnet.ibm.com Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users