Re: [ovirt-users] VM Deployment By Template
On 28.08.14 11:05, Punit Dambiwal wrote: Hi All, Please help me to solve this problem...or suggest me any workaround ?? Thanks, Punit On Wed, Aug 27, 2014 at 8:01 PM, Karli Sjöberg karli.sjob...@slu.se wrote: On Wed, 2014-08-27 at 19:52 +0800, Punit Dambiwal wrote: Hi Itamar, It's the same as i used and discussed in last reply...create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand or resize...but it will not make any changes in the existing partition table..that means after expand disk all the existing partition will remain samethen you need to manual login in to server and make the changes with the help of fdisk and lvm commands.. I am looking for the way we can resize the disk...and at the same time when the disk will expand...it should be resize the partition table... I think this is what you were after: QEMU-GA support for notifying the guest and updating the size of the visible disk: To be integrated So maybe you could post an RFE on that for qemu-ga? Help testing? /K Is the cloud-init...custom script can do this or not ?? You may be able to do that with cloud-init custom-script section, The following link will show you how to add a file to the client, you may write a code that change the partition table, you need to make the file executable and put it in a init section (such as /etc/init.d sections), the only problem is that it may be too late since cloud-init may be loaded after that phase... (so maybe other place...) http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files Another option is to set a command under this section: http://cloudinit.readthedocs.org/en/latest/topics/examples.html#run-commands-on-first-boot Shahar. Thanks, Punit On Wed, Aug 27, 2014 at 6:11 PM, Itamar Heim ih...@redhat.com wrote: On 08/27/2014 12:47 PM, Punit Dambiwal wrote: Hi Itamar, To edit the disk size are you referring this Another way i got is create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand...but it will not done any changes in the existing partition table..that means after expand disk you need to manual login in to server and make the changes with the help of fdisk and lvm commands... Or it's different then the upper one...please let me know how to perform this...if any screen shot you can provide for better understanding.. http://www.ovirt.org/Features/Online_Virtual_Drive_Resize adding derez for follow up questions Thanks, Punit On Wed, Aug 27, 2014 at 5:15 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 12:08 PM, Punit Dambiwal wrote: Hi Itamar, Thanks for the updateYes.. i want to create different size VM with the same OS template... 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. considering #3, then #1 should be easy to support as well these days. please open an RFE. Could you please more elaborate point number 3...how to use it..i will go with this one ... iirc, you just need to edit the disk size when vm is down or up (for up, only for specific disk interfaces, virtio-blk, not ide, iirc) Thanks, Punit On Wed, Aug 27, 2014 at 4:37 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 04:18 AM, Punit Dambiwal wrote: Hi Michal, I want to deploy the VM with the
Re: [ovirt-users] iSCSI self hosted engine
On 08/27/2014 02:29 PM, Markus Mathes wrote: Hi, I thought about a self hosted engine setup using 2 hosts connected to a iSCSI storage. A few questions arose and I didn't succeed finding the answers on the web. I somehow don't get how the iSCSI integration in ovirt works. - As far as I understand from the information I found, all iSCSI access for the virtual machines is done through one host. Does this mean, that all disk related traffic of the other host is going to the first host and then to the iSCSI storage? - no, every host has a separate access to the storage, only the storage setup is done by a single host and then it's available for everyone. In this case. How are the virtual disk images then made available for the VMs on the other host? - If the first host fails, the engine will get started on the other host. Will the engine deal with the fact, that now the iSCSI storage domain has to be accessed using the other host. Or is iSCSI just not suitable for this kind of usage. - Has the self hosted engine to use a different iSCSI lun than the storage domain? Thanks Markus ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Functionalities of GlusterFS (vs VMFS)
Hello, Well, I did not have success with my questions ;-) May be you have considered they were too far from oVirt... For the first one, after further research, I've found that it is OK (GlusterFS over FC [SAN mode])... But, about performance, I can't find useful results... Do you have links about GlusterFS vs other FS (VMFS, GPFS, etc...) ? Thank you. David. Le Mon, 25 Aug 2014 16:41:38 +0200, David BERCOT ov...@bercot.org a écrit : Hello, Maybe I'm border-line with oVirt but I think it is a critical part of a virtual infrastructure, so... I understand that GlusterFS is a good storage solution for oVirt VM but I have a couple of questions : - does GlusterFS support FibreChannel (in order to have equivalents to the SAN Datastores of the VMware world) ? - is GlusterFS performant enough to support a lot of VM with a lot of nodes (entreprise infrastructure) ? - has GlusterFS some limitations or constraints ? - can GlusterFS be used (out of oVirt) for high I/O needs ? Thank you. David. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM Deployment By Template
Punit, What file system is your VM's partition, what operating system and version ? A question to others, if the doco says we support disk resize since 3.4, for what virtual disk type, and which operating systems and their partition types are supported by this. I would have believed you would needed to have used LVM and then add the new disk space as a new LUN, and map the new lun, while also using a file system that allows for expansion. Some file systems like XFS can be extended (i.e. grow) while being mounted. This is about the limit of my knowledge so if you know more, please let us know what is possible. 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. http://www.gnu.org/software/parted/manual/html_node/parted_31.html Grow partition 1, into the adjacent free space: (parted) resize 1 0.063 874.9http://geekpeek.net/resize-filesystem-fdisk-resize2fs/ http://www.linuxuser.co.uk/features/resize-your-disks-on-the-fly-with-lvm http://docs.oracle.com/cd/E37670_01/E37355/html/ol_grow_xfs.html You can use the xfs_growfs command to increase the size of a mounted XFS file system if there is space on the underlying devices to accommodate the change. http://www.ovirt.org/Features/Online_Virtual_Drive_Resize Features/Online Virtual Drive Resize QEMU-GA * support for notifying the guest and updating the size of the visible disk: [Yet?] To be integrated http://serverfault.com/questions/122042/kvm-online-disk-resize AFAIK, this is not possible -- you can add new disk images, and as you point out you could also add new images to an LVM volume, but in order to resize an active, bootable disk image you need to be able to shut it down and edit the partitions. It is possible to move a Linux system between disks while it's running. The limitation is that you cannot alter partitions on a disk that has partitions in use. To do this your root filesystem must be on an LVM, this often means that you have to have a separate boot filesystem (this is not, however, essential, it just makes things easier) At Thursday, 28-08-2014 on 16:49 Shahar Havivi wrote: On 28.08.14 11:05, Punit Dambiwal wrote: Hi All, Please help me to solve this problem...or suggest me any workaround ?? Thanks, Punit On Wed, Aug 27, 2014 at 8:01 PM, Karli Sjöberg wrote: On Wed, 2014-08-27 at 19:52 +0800, Punit Dambiwal wrote: Hi Itamar, It's the same as i used and discussed in last reply...create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand or resize...but it will not make any changes in the existing partition table..that means after expand disk all the existing partition will remain samethen you need to manual login in to server and make the changes with the help of fdisk and lvm commands.. I am looking for the way we can resize the disk...and at the same time when the disk will expand...it should be resize the partition table... I think this is what you were after: QEMU-GA support for notifying the guest and updating the size of the visible disk: To be integrated So maybe you could post an RFE on that for qemu-ga? Help testing? /K Is the cloud-init...custom script can do this or not ?? You may be able to do that with cloud-init custom-script section, The following link will show you how to add a file to the client, you may write a code that change the partition table, you need to make the file executable and put it in a init section (such as /etc/init.d sections), the only problem is that it may be too late since cloud-init may be loaded after that phase... (so maybe other place...) http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files Another option is to set a command under this section: http://cloudinit.readthedocs.org/en/latest/topics/examples.html#run-commands-on-first-boot Shahar. Thanks, Punit On Wed, Aug 27, 2014 at 6:11 PM, Itamar Heim wrote: On 08/27/2014 12:47 PM, Punit Dambiwal wrote: Hi Itamar, To edit the disk size are you referring this Another way i got is create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand...but it will not done any changes in the existing partition table..that means after expand disk you need to manual login in to server and make the changes with the help of fdisk and lvm commands... Or it's different then the upper one...please let me know how to perform
Re: [ovirt-users] Moving a POSIX storage domain to be a Local Storage
Any knowledge as of when this on the works will be done? In addition, we will want to migrate the VMs later on to be on the local disks, which setup would be currently better? Using NFS with single datacenter, each kvm host will export his local drive as NFS and the VMS will be binded to start on the specific host or have multiple datacenters, each with a single KVM host? thanks in advance On Thu, Aug 28, 2014 at 2:41 AM, Itamar Heim ih...@redhat.com wrote: On 08/27/2014 10:50 AM, Elad Shmitanka wrote: Hi, In the initial setup I wasn't aware of the option to assign a local disk as Local Storage and we have added it as a POSIX complaint Storage Domain, now that we want to add a new KVM host, it needs to attach the storage domain to the new host, which it obviously can't. My question is, how do I remove the Storage domain and add it back as a Local storage without harming the VMs that are already on the system (obviously some downtime will be needed) I guess that I can add another Storage Domain and start moving them to a temp location and then back, question is if there is another quicker way. Thanks -- Elad Shmitanka DevOps Engineer Mobile:Â _+972-52-2259939_Â |Â Â _e...@myheritage.com mailto:e...@myheritage.com_Â Â Tel:Â _+972-3-628 Ext. 105_Â |Â Â www.myheritage.com http://www.myheritage.com/ U.S.A Number:Â 17183608065 Ext. 2 MyHeritage Ltd., 3 Ariel Sharon St., Terminal Park, Or Yehuda 60250, Israel http://www.myheritage.com/Â Â http://blog.myheritage.com/https://www.facebook.com/myheritage https://twitter.com/myheritage ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Can you please elaborate a bit more on the use case? you can't mix local storage domains with 'shared' storage domains currently, nor have multiple hosts with local storage domain in the same cluster (in the works, but not yet). -- Elad Shmitanka DevOps Engineer Mobile: *+972-52-2259939* | *e...@myheritage.com e...@myheritage.com* Tel: *+972-3-628 Ext. 105* | www.myheritage.com U.S.A Number: 17183608065 Ext. 2 MyHeritage Ltd., 3 Ariel Sharon St., Terminal Park, Or Yehuda 60250, Israel http://www.myheritage.com/ http://blog.myheritage.com/ https://www.facebook.com/myheritage https://twitter.com/myheritage ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] RHEV
Dear all, Besides the fact that we as team where very happy about ovirt and the community, there is a chance that we have to move to RHEV... Superiors decisions... Now my next obvious question is... IF this will be the case, can we move all of our vms to RHEV or... If so, how can we do this in the best possible way? Kind regards, Koen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Moving a POSIX storage domain to be a Local Storage
On 08/28/2014 10:31 AM, Elad Shmitanka wrote: Any knowledge as of when this on the works will be done? to mix local storage and shared storage in same cluster - i doubt will make it for 3.6 (which will focus on enabling this flow by removing the SPM role). so ~12 months. In addition, we will want to migrate the VMs later on to be on the local disks, which setup would be currently better? Using NFS with single datacenter, each kvm host will export his local drive as NFS and the VMS will be binded to start on the specific host or have multiple datacenters, each with a single KVM host? using NFS exported by the different hosts means if that host is down, the VMs won't be able to run on other hosts. if you want to use local storage in a cluster of hosts, usually gluster is the solution? thanks in advance On Thu, Aug 28, 2014 at 2:41 AM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 10:50 AM, Elad Shmitanka wrote: Hi, In the initial setup I wasn't aware of the option to assign a local disk as Local Storage and we have added it as a POSIX complaint Storage Domain, now that we want to add a new KVM host, it needs to attach the storage domain to the new host, which it obviously can't. My question is, how do I remove the Storage domain and add it back as a Local storage without harming the VMs that are already on the system (obviously some downtime will be needed) I guess that I can add another Storage Domain and start moving them to a temp location and then back, question is if there is another quicker way. Thanks -- Elad Shmitanka DevOps Engineer Mobile:Â _+972-52-2259939 tel:%2B972-52-2259939_Â |Â Â _e...@myheritage.com mailto:e...@myheritage.com mailto:e...@myheritage.com mailto:e...@myheritage.com_Â Â Tel:Â _+972-3-628 Ext. 105 tel:%2B972-3-628%20Ext.%20105_Â |Â Â www.myheritage.com http://www.myheritage.com http://www.myheritage.com/ U.S.A Number:Â 17183608065 Ext. 2 tel:17183608065%20Ext.%202 MyHeritage Ltd., 3 Ariel Sharon St., Terminal Park, Or Yehuda 60250, Israel http://www.myheritage.com/Â Â http://blog.myheritage.com/__https://www.facebook.com/__myheritage https://www.facebook.com/myheritagehttps://twitter.__com/myheritage https://twitter.com/myheritage _ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/__mailman/listinfo/users http://lists.ovirt.org/mailman/listinfo/users Can you please elaborate a bit more on the use case? you can't mix local storage domains with 'shared' storage domains currently, nor have multiple hosts with local storage domain in the same cluster (in the works, but not yet). -- Elad Shmitanka DevOps Engineer Mobile: _+972-52-2259939_|_e...@myheritage.com mailto:e...@myheritage.com_ Tel: _+972-3-628 Ext. 105_|www.myheritage.com http://www.myheritage.com/ U.S.A Number: 17183608065 Ext. 2 MyHeritage Ltd., 3 Ariel Sharon St., Terminal Park, Or Yehuda 60250, Israel http://www.myheritage.com/http://blog.myheritage.com/https://www.facebook.com/myheritagehttps://twitter.com/myheritage ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] RHEV
On 08/28/2014 10:35 AM, Koen Vanoppen wrote: Dear all, Besides the fact that we as team where very happy about ovirt and the community, there is a chance that we have to move to RHEV... Superiors decisions... Now my next obvious question is... IF this will be the case, can we move all of our vms to RHEV or... If so, how can we do this in the best possible way? Kind regards, Koen from the technical standpoint: currently - export/import the VMs in 3.5 - detach/attach storage domain (after upgrading the DC level to 3.5 first). (you'll need to re-install the hosts of course) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Prestarted vms in a pool
- Original Message - From: Michel Rode r...@b1-systems.de To: users@ovirt.org Sent: Wednesday, August 27, 2014 10:53:00 PM Subject: [ovirt-users] Prestarted vms in a pool Hi all, we have a little problem here...we created a new pool with 10 vms and 4 of them as prestarted. During the sysprep (Windows vms) the vms getting rebooted and this is the problem: 2014-08-27 17:22:47,759 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3 c9-511416f69ae0 moved from Up -- RebootInProgress 2014-08-27 17:22:47,775 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0 20-34e0f43307d4 moved from Up -- RebootInProgress 2014-08-27 17:22:47,785 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af e6-49b217b2598d moved from Up -- RebootInProgress 2014-08-27 17:22:47,846 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93 89-400f1af22e5f moved from Up -- RebootInProgress 2014-08-27 17:22:57,027 INFO [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool 4f5fe15b-123c-4beb-b596-528747f2 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms And after 10mins all vms in the pool are started! Why is VmPoolMonitor attempting to prestart 4 Vms again? the problem is that the monitor dont take into consideration this status (RebootInProgress) only WaitForLaunch, PoweringUp or Up could you please open a bug on this? Thanks! Thanks! Michel -- Michel Rode Linux / Unix Consultant Trainer Mail: r...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 ___ 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] Prestarted vms in a pool
On Aug 28, 2014, at 09:56 , Omer Frenkel ofren...@redhat.com wrote: - Original Message - From: Michel Rode r...@b1-systems.de To: users@ovirt.org Sent: Wednesday, August 27, 2014 10:53:00 PM Subject: [ovirt-users] Prestarted vms in a pool Hi all, we have a little problem here...we created a new pool with 10 vms and 4 of them as prestarted. During the sysprep (Windows vms) the vms getting rebooted and this is the problem: 2014-08-27 17:22:47,759 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3 c9-511416f69ae0 moved from Up -- RebootInProgress 2014-08-27 17:22:47,775 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0 20-34e0f43307d4 moved from Up -- RebootInProgress 2014-08-27 17:22:47,785 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af e6-49b217b2598d moved from Up -- RebootInProgress 2014-08-27 17:22:47,846 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93 89-400f1af22e5f moved from Up -- RebootInProgress 2014-08-27 17:22:57,027 INFO [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool 4f5fe15b-123c-4beb-b596-528747f2 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms And after 10mins all vms in the pool are started! Why is VmPoolMonitor attempting to prestart 4 Vms again? the problem is that the monitor dont take into consideration this status (RebootInProgress) hm, but RebootInProgress is used during the shutdown phase as well - and then during the actual boot its unchanged, all the way till VM is reported Up again. could it be a problem? Thanks, michal only WaitForLaunch, PoweringUp or Up could you please open a bug on this? Thanks! Thanks! Michel -- Michel Rode Linux / Unix Consultant Trainer Mail: r...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 ___ 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] Prestarted vms in a pool
- Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Omer Frenkel ofren...@redhat.com Cc: Michel Rode r...@b1-systems.de, users@ovirt.org Sent: Thursday, August 28, 2014 10:59:16 AM Subject: Re: [ovirt-users] Prestarted vms in a pool On Aug 28, 2014, at 09:56 , Omer Frenkel ofren...@redhat.com wrote: - Original Message - From: Michel Rode r...@b1-systems.de To: users@ovirt.org Sent: Wednesday, August 27, 2014 10:53:00 PM Subject: [ovirt-users] Prestarted vms in a pool Hi all, we have a little problem here...we created a new pool with 10 vms and 4 of them as prestarted. During the sysprep (Windows vms) the vms getting rebooted and this is the problem: 2014-08-27 17:22:47,759 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3 c9-511416f69ae0 moved from Up -- RebootInProgress 2014-08-27 17:22:47,775 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0 20-34e0f43307d4 moved from Up -- RebootInProgress 2014-08-27 17:22:47,785 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af e6-49b217b2598d moved from Up -- RebootInProgress 2014-08-27 17:22:47,846 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93 89-400f1af22e5f moved from Up -- RebootInProgress 2014-08-27 17:22:57,027 INFO [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool 4f5fe15b-123c-4beb-b596-528747f2 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms And after 10mins all vms in the pool are started! Why is VmPoolMonitor attempting to prestart 4 Vms again? the problem is that the monitor dont take into consideration this status (RebootInProgress) hm, but RebootInProgress is used during the shutdown phase as well - and then during the actual boot its unchanged, all the way till VM is reported Up again. could it be a problem? i think not, because even if the vm is shutting down now, its still a running vm, if we dont want to exceed the user configuration, we can count it as still running, and in the next cycle (5 mins) it will not be counted and we will get a better decision. what do you think? Thanks, michal only WaitForLaunch, PoweringUp or Up could you please open a bug on this? Thanks! Thanks! Michel -- Michel Rode Linux / Unix Consultant Trainer Mail: r...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 ___ 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] Prestarted vms in a pool
On Aug 28, 2014, at 10:16 , Omer Frenkel ofren...@redhat.com wrote: - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Omer Frenkel ofren...@redhat.com Cc: Michel Rode r...@b1-systems.de, users@ovirt.org Sent: Thursday, August 28, 2014 10:59:16 AM Subject: Re: [ovirt-users] Prestarted vms in a pool On Aug 28, 2014, at 09:56 , Omer Frenkel ofren...@redhat.com wrote: - Original Message - From: Michel Rode r...@b1-systems.de To: users@ovirt.org Sent: Wednesday, August 27, 2014 10:53:00 PM Subject: [ovirt-users] Prestarted vms in a pool Hi all, we have a little problem here...we created a new pool with 10 vms and 4 of them as prestarted. During the sysprep (Windows vms) the vms getting rebooted and this is the problem: 2014-08-27 17:22:47,759 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3 c9-511416f69ae0 moved from Up -- RebootInProgress 2014-08-27 17:22:47,775 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0 20-34e0f43307d4 moved from Up -- RebootInProgress 2014-08-27 17:22:47,785 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af e6-49b217b2598d moved from Up -- RebootInProgress 2014-08-27 17:22:47,846 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93 89-400f1af22e5f moved from Up -- RebootInProgress 2014-08-27 17:22:57,027 INFO [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool 4f5fe15b-123c-4beb-b596-528747f2 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms And after 10mins all vms in the pool are started! Why is VmPoolMonitor attempting to prestart 4 Vms again? the problem is that the monitor dont take into consideration this status (RebootInProgress) hm, but RebootInProgress is used during the shutdown phase as well - and then during the actual boot its unchanged, all the way till VM is reported Up again. could it be a problem? i think not, because even if the vm is shutting down now, its still a running vm, indeed if we dont want to exceed the user configuration, we can count it as still running, and in the next cycle (5 mins) it will not be counted and we will get a better decision. what do you think? sounds good Thanks, michal only WaitForLaunch, PoweringUp or Up could you please open a bug on this? Thanks! Thanks! Michel -- Michel Rode Linux / Unix Consultant Trainer Mail: r...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 ___ 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
[ovirt-users] VM second netowork not Comeup
Hi Aill, We are creating two nics using the api, but it seems the second network is not come up and the first one is working. The following xml is used to for the nic creation nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' / /nic When i checked the configuration file (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it seems the ONBOOT=no.eventhough we set it true from the api. Is this a bug ? -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM Deployment By Template
Hi OvirtKVM, Here is the details :- 1. Ovirt :- 3.4 2. VM :- Centos 6.5 3. VM Disk Partition :- Based on LVM 4. Base Datastorage :- Gluster I am able to expend the disk...but the disk expand doesn't touch the partition table..so after expand all the existing partition remain with the same disk sizenow i need to manually create another partition and add it in to Volgroup and resize the logical volume... Thanks, Punit On Thu, Aug 28, 2014 at 3:27 PM, OvirtAndKvm ov...@goproject.info wrote: Punit, What file system is your VM's partition, what operating system and version ? A question to others, if the doco says we support disk resize since 3.4, for what virtual disk type, and which operating systems and their partition types are supported by this. I would have believed you would needed to have used LVM and then add the new disk space as a new LUN, and map the new lun, while also using a file system that allows for expansion. Some file systems like XFS can be extended (i.e. grow) while being mounted. This is about the limit of my knowledge so if you know more, please let us know what is possible. 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. http://www.gnu.org/software/parted/manual/html_node/parted_31.html Grow partition 1, into the adjacent free space: (parted) resize 1 0.063 874.9 http://geekpeek.net/resize-filesystem-fdisk-resize2fs/ http://www.linuxuser.co.uk/features/resize-your-disks-on-the-fly-with-lvm http://docs.oracle.com/cd/E37670_01/E37355/html/ol_grow_xfs.html You can use the *xfs_growfs* command to increase the size of a mounted XFS file system if there is space on the underlying devices to accommodate the change. http://www.ovirt.org/Features/Online_Virtual_Drive_Resize Features/Online Virtual Drive Resize QEMU-GA - support for notifying the guest and updating the size of the visible disk: [Yet?] *To be integrated* http://serverfault.com/questions/122042/kvm-online-disk-resize AFAIK, this is not possible -- you can add new disk images, and as you point out you could also add new images to an LVM volume, but in order to resize an active, bootable disk image you need to be able to shut it down and edit the partitions. It is possible to move a Linux system between disks while it's running. The limitation is that you cannot alter *partitions* on a disk that has *partitions* in use. To do this your root filesystem must be on an LVM, this often means that you have to have a separate boot filesystem (this is not, however, essential, it just makes things easier) At Thursday, 28-08-2014 on 16:49 Shahar Havivi wrote: On 28.08.14 11:05, Punit Dambiwal wrote: Hi All, Please help me to solve this problem...or suggest me any workaround ?? Thanks, Punit On Wed, Aug 27, 2014 at 8:01 PM, Karli Sjöberg karli.sjob...@slu.se wrote: On Wed, 2014-08-27 at 19:52 +0800, Punit Dambiwal wrote: Hi Itamar, It's the same as i used and discussed in last reply...create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand or resize...but it will not make any changes in the existing partition table..that means after expand disk all the existing partition will remain samethen you need to manual login in to server and make the changes with the help of fdisk and lvm commands.. I am looking for the way we can resize the disk...and at the same time when the disk will expand...it should be resize the partition table... I think this is what you were after: QEMU-GA support for notifying the guest and updating the size of the visible disk: To be integrated So maybe you could post an RFE on that for qemu-ga? Help testing? /K Is the cloud-init...custom script can do this or not ?? You may be able to do that with cloud-init custom-script section, The following link will show you how to add a file to the client, you may write a code that change the partition table, you need to make the file executable and put it in a init section (such as /etc/init.d sections), the only problem is that it may be too late since cloud-init may be loaded after that phase... (so maybe other place...) http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files Another option is to set a command under this section: http://cloudinit.readthedocs.org/en/latest/topics/examples.html#run-commands-on-first-boot Shahar. Thanks, Punit On Wed, Aug 27, 2014 at 6:11 PM, Itamar Heim ih...@redhat.com wrote: On 08/27/2014 12:47 PM, Punit Dambiwal wrote: Hi Itamar, To edit the disk size are you referring this Another
[ovirt-users] Unable to assign profile to the nic
Hi All, I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic Could you please check if anything wrong with it ? -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Functionalities of GlusterFS (vs VMFS)
Am 28.08.2014 09:27, schrieb David BERCOT: Hello, Well, I did not have success with my questions ;-) May be you have considered they were too far from oVirt... For the first one, after further research, I've found that it is OK (GlusterFS over FC [SAN mode])... But, about performance, I can't find useful results... Do you have links about GlusterFS vs other FS (VMFS, GPFS, etc...) ? Some quick searching reveals this for performance: https://indico.cern.ch/event/214784/session/6/contribution/332/material/slides/0.pdf there also was a performance comparison done by some ceph people between ceph and gluster on their blog, you should easily find it. 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
Re: [ovirt-users] Unable to assign profile to the nic
On 08/28/2014 10:31 AM, Shanil S wrote: Hi All, I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic Could you please check if anything wrong with it ? There is nothing severely wrong with that XML, it should work. What specific problems are you having? Does the API return an error? Anything in the logs? Note also that the boot_protocol, ip, and on_boot elements will just be ignored. These elements are used only for host NICs, not for VM NICs. If you want to change the IP configuration of the OS of the VM then you have to use whatever mechanisms that OS provides. The RESTAPI can help you in these regards only if you combine it with Cloud-init or Sysprep. -- 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: [ovirt-users] VM second netowork not Comeup
On Thu, Aug 28, 2014 at 01:50:22PM +0530, Shanil S wrote: Hi Aill, We are creating two nics using the api, but it seems the second network is not come up and the first one is working. The following xml is used to for the nic creation nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' / /nic When i checked the configuration file (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it seems the ONBOOT=no.eventhough we set it true from the api. Is this a bug ? I do not know what on_boot means in oVirt API, but it certainly is not passed to Vdsm or the guest, and as such cannot control what's in the guest's /etc/sysconfig/network-scripts/ifcfg-eth1. The guest may have ifcfg files, it may run NetworkManager, or it may be Ubunto or Windows. oVirt is responsible to exposing a (virtual) NIC to the guest, but does not interfere with its configuration. Dan ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Migration failed due to Error: Fatal error during migration
- Original Message - From: Manfred Landauer manfred.landa...@fabasoft.com To: users@ovirt.org Sent: Thursday, August 14, 2014 6:29:21 PM Subject: [ovirt-users] Migration failed due to Error: Fatal error during migration Hi all When we try to migrate a VM on oVirt “Engine Version: 3.4.3-1.el6 ” form host A to host B we’ll get this Errormessage: “Migration failed due to Error: Fatal error during migration”. It looks like, this occurs only when thin provisioned HDD’s attached to the VM. VM’s with preallocated HDD’s attached, migrate without a problem. Hope someone can help us to solve this issue. it looks more like a network error: Thread-3810747::ERROR::2014-08-14 16:48:45,471::vm::337::vm.Vm::(run) vmId=`494f5edc-7edd-4300-a675-f0a8883265e4`::Failed to migrate Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 323, in run self._startUnderlyingMigration() File /usr/share/vdsm/vm.py, line 400, in _startUnderlyingMigration None, maxBandwidth) File /usr/share/vdsm/vm.py, line 838, in f ret = attr(*args, **kwargs) File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line 76, in wrapper ret = f(*args, **kwargs) File /usr/lib64/python2.6/site-packages/libvirt.py, line 1178, in migrateToURI2 if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', dom=self) libvirtError: Unable to read from monitor: Connection reset by peer could you attach the libvirt log? Best regards Manfred ___ 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] Problem starting VM in my ovirt enviroment
On Thu, Aug 28, 2014 at 02:14:07PM +0200, Andy Michielsen wrote: Dear all, I need some help. I wanted to start a VM but got the following error. [image: Inline afbeelding 1] What's going on here ? How can I fix this. does engine.log have any clues regarding the falure to find a valid host? Do you have guess (are they all operational? are they over-worked? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] oVirt/gluster storage questions for 2-3 node datacenter
Hi, I am currently testing oVirt 3.4.3 + gluster 3.5.2 for use in my relatively small home office environment on a single host. I have 2 Intel hosts with SSD and magnetic disk and one AMD host with only magnetic disk. I have been trying to figure out the best way to configure my environment given my previous attempt with oVirt 3.3 encountered storage issues. I will be hosting two types of VMs - VMs that can be tied to a particular system (such as 3 node FreeIPA domain or some test VMs), and VMs which could migrate between systems for improved uptime. The processor issue seems straightforward. Have a single datacenter with two clusters - one for the Intel systems and one for the AMD systems. Put VMs which need to live migrate on the Intel cluster. If necessary VMs can be manually switched between the Intel and AMD cluster with a downtime. The Gluster side of the storage seems less clear. The bulk of the gluster with oVirt issues I experienced and have seen on the list seem to be two node setups with 2 bricks in the Gluster volume. So here are my questions: 1) Should I avoid 2 brick Gluster volumes? 2) What is the risk in having the SSD volumes with only 2 bricks given that there would be 3 gluster servers? How should I configure them? 3) Is there a way to use local storage for a host locked VM other than creating a gluster volume with one brick? 4) Should I avoid using the hosted engine configuration? I do have an external VMware ESXi system to host the engine for now but would like to phase it out eventually. 5) If I do the hosted engine should I make the underlying gluster volume 3 brick replicated? Thanks in advance for any help you can provide. -David ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM Deployment By Template
On Aug 27, 2014, at 13:52 , Punit Dambiwal hypu...@gmail.com wrote: Hi Itamar, It's the same as i used and discussed in last reply...create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand or resize...but it will not make any changes in the existing partition table..that means after expand disk all the existing partition will remain samethen you need to manual login in to server and make the changes with the help of fdisk and lvm commands.. I am looking for the way we can resize the disk...and at the same time when the disk will expand...it should be resize the partition table... Is the cloud-init...custom script can do this or not ?? needs to be a custom script specific to the particular guest OS, I suppose. something like lvresize --resizefs … Maybe some rescan of partitions (if the missing piece is indeed the missing qemu-ga notification) - then just force it with fdisk Thanks, michal Thanks, Punit On Wed, Aug 27, 2014 at 6:11 PM, Itamar Heim ih...@redhat.com wrote: On 08/27/2014 12:47 PM, Punit Dambiwal wrote: Hi Itamar, To edit the disk size are you referring this Another way i got is create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand...but it will not done any changes in the existing partition table..that means after expand disk you need to manual login in to server and make the changes with the help of fdisk and lvm commands... Or it's different then the upper one...please let me know how to perform this...if any screen shot you can provide for better understanding.. http://www.ovirt.org/Features/Online_Virtual_Drive_Resize adding derez for follow up questions Thanks, Punit On Wed, Aug 27, 2014 at 5:15 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 12:08 PM, Punit Dambiwal wrote: Hi Itamar, Thanks for the updateYes.. i want to create different size VM with the same OS template... 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. considering #3, then #1 should be easy to support as well these days. please open an RFE. Could you please more elaborate point number 3...how to use it..i will go with this one ... iirc, you just need to edit the disk size when vm is down or up (for up, only for specific disk interfaces, virtio-blk, not ide, iirc) Thanks, Punit On Wed, Aug 27, 2014 at 4:37 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 04:18 AM, Punit Dambiwal wrote: Hi Michal, I want to deploy the VM with the template but the problem is in ovirt when you deploy the VM by template it copy the whole image(even thin or thick disk)...like if i have 40GB virtual size (actual size 1GB) diskit will copy the whole 40GB to provision the virtual machineso if i want to deploy 10 VM simultaneous then it will copy 4TB data and take long time to provision I want the way i can make the template with small sizeand once i choose to create the virtual machine with 40GB...the VM deploy with the small template on the 40GB disk... is it possible with ovirt.. ?? so you want to provision a VM with a different disk size than template. good point. some thoughts: 1. for thinly provisioned (qcow2) - its COW, hence the same size. 2. for clone - actually, no reason shouldn't be supported easily. 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. considering #3, then #1 should be easy to support as well these days. please open an RFE. Thanks, Punit On Tue, Aug 26, 2014 at 9:01 PM, Michal Skrivanek michal.skriva...@redhat.com mailto:michal.skriva...@redhat.com mailto:michal.skrivanek@__redhat.com mailto:michal.skriva...@redhat.com mailto:michal.skrivanek@ mailto:michal.skrivanek@__red__hat.com http://redhat.com mailto:michal.skrivanek@__redhat.com mailto:michal.skriva...@redhat.com wrote: On Aug 26, 2014,
Re: [ovirt-users] How long can a disk snapshot exist for?
Hi Ryan, Should have replied to all, my bad. See my answer embedded below: - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: Vered Volansky ve...@redhat.com Sent: Thursday, August 28, 2014 5:50:12 PM Subject: RE: [ovirt-users] How long can a disk snapshot exist for? Thanks for the reply! So when keeping a snapshot for a long time I have to keep an eye on how large it will get over time. The snapshot's size itself is determined when it's taken according to the disks size at the time. It then stays the same. When taking a snapshot, the active image of the disk is frozen at this point in time, and a new, empty active image is created to hold the new data on the disk. The new data is saved in the form of diffs, so if there are mainly additions to the snapshot time, the space difference of the snapshot is negligible. But if the diffs include many reductions from the snapshot's state - this might consume a lot of space, again, depending on your usage. Note that you're also limited by the disk's size. But there's no (or very little) performance impact or potential issues from keeping snapshots (other than the storage pool filling up maybe)? All the vm operations take into consideration snapshots. Storage is an issue, but so is every operation you'll make on the vm. When you have one image, the vm is handled only through this image. But when you have several, for each operation the right layer will search for the existence/ability to do the operation in all the snapshots (worst case). So there is in fact an impact, but it's due to the mere existence of the snapshots and their number, not their age. We support 26 snapshots per VM, but you should only use it if you actually need the backup. If you need RT performance, try to avoid it as possible. Thanks, Ryan -Original Message- From: Vered Volansky [mailto:ve...@redhat.com] Sent: August-27-14 11:19 PM To: Groten, Ryan Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Ryan, Disk snapshots consume fixed storage space (fixed since time of creation). The more differences there are from on your disk since the snapshot was taken, the more space is consumed, but that happens with no relation to the snapshot. If your frequent changes are in the form of adding data to you disks (on top of data snapshot time), then the space consumption of the snapshot is negligible. If you are undoing stuff from the snapshot time, there is actually more space consumed (to save the differences), otherwise the space would have just been released. Vered - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: users@ovirt.org Sent: Thursday, August 28, 2014 12:49:02 AM Subject: [ovirt-users] How long can a disk snapshot exist for? Is there any limit/performance considerations to keeping a disk snapshot for extended periods of time? What if the disk is changing frequently vs mostly static? Thanks, Ryan ___ 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] Problem starting VM in my ovirt enviroment
Hello Dan, Nevermind. After 2 months I had some time to look at this problem again but didn't remember I put the server in maintenance mode. I put it in maintenance mode to install updates and doublecheck all configuration and apparently I did something wright as it just works now. Kind regards. 2014-08-28 16:34 GMT+02:00 Andy Michielsen andy.michiel...@gmail.com: Hello Dan, I can't find a clue in the engine.log but I'm unable to start any VM on this host. Looks like it lost its connection to its datadomain entirely. Kind regards. 2014-08-28 15:12 GMT+02:00 Dan Kenigsberg dan...@redhat.com: On Thu, Aug 28, 2014 at 02:14:07PM +0200, Andy Michielsen wrote: Dear all, I need some help. I wanted to start a VM but got the following error. [image: Inline afbeelding 1] What's going on here ? How can I fix this. does engine.log have any clues regarding the falure to find a valid host? Do you have guess (are they all operational? are they over-worked? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] How long can a disk snapshot exist for?
Thanks that's exactly the explanation I was looking for. -Original Message- From: Vered Volansky [mailto:ve...@redhat.com] Sent: August-28-14 9:29 AM To: Groten, Ryan; users Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Hi Ryan, Should have replied to all, my bad. See my answer embedded below: - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: Vered Volansky ve...@redhat.com Sent: Thursday, August 28, 2014 5:50:12 PM Subject: RE: [ovirt-users] How long can a disk snapshot exist for? Thanks for the reply! So when keeping a snapshot for a long time I have to keep an eye on how large it will get over time. The snapshot's size itself is determined when it's taken according to the disks size at the time. It then stays the same. When taking a snapshot, the active image of the disk is frozen at this point in time, and a new, empty active image is created to hold the new data on the disk. The new data is saved in the form of diffs, so if there are mainly additions to the snapshot time, the space difference of the snapshot is negligible. But if the diffs include many reductions from the snapshot's state - this might consume a lot of space, again, depending on your usage. Note that you're also limited by the disk's size. But there's no (or very little) performance impact or potential issues from keeping snapshots (other than the storage pool filling up maybe)? All the vm operations take into consideration snapshots. Storage is an issue, but so is every operation you'll make on the vm. When you have one image, the vm is handled only through this image. But when you have several, for each operation the right layer will search for the existence/ability to do the operation in all the snapshots (worst case). So there is in fact an impact, but it's due to the mere existence of the snapshots and their number, not their age. We support 26 snapshots per VM, but you should only use it if you actually need the backup. If you need RT performance, try to avoid it as possible. Thanks, Ryan -Original Message- From: Vered Volansky [mailto:ve...@redhat.com] Sent: August-27-14 11:19 PM To: Groten, Ryan Subject: Re: [ovirt-users] How long can a disk snapshot exist for? Ryan, Disk snapshots consume fixed storage space (fixed since time of creation). The more differences there are from on your disk since the snapshot was taken, the more space is consumed, but that happens with no relation to the snapshot. If your frequent changes are in the form of adding data to you disks (on top of data snapshot time), then the space consumption of the snapshot is negligible. If you are undoing stuff from the snapshot time, there is actually more space consumed (to save the differences), otherwise the space would have just been released. Vered - Original Message - From: Ryan Groten ryan.gro...@stantec.com To: users@ovirt.org Sent: Thursday, August 28, 2014 12:49:02 AM Subject: [ovirt-users] How long can a disk snapshot exist for? Is there any limit/performance considerations to keeping a disk snapshot for extended periods of time? What if the disk is changing frequently vs mostly static? Thanks, Ryan ___ 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] Functionalities of GlusterFS (vs VMFS)
Just to complete the answer, Red Hat Buys Inktank (CEPH). http://techcrunch.com/2014/04/30/red-hat-buys-ceph-provider-inktank-for-175m-in-cash-to-beef-up-its-cloud-storage-offerings/ http://www.zdnet.com/red-hat-releases-inktank-ceph-enterprise-1-2-731694/ !- Robson Massaki Kobayashi !- - Mensagem original - De: Sven Kieske s.kie...@mittwald.de Para: users@ovirt.org Enviadas: Quinta-feira, 28 de Agosto de 2014 5:18:12 Assunto: Re: [ovirt-users] Functionalities of GlusterFS (vs VMFS) Some quick searching reveals this for performance: https://indico.cern.ch/event/214784/session/6/contribution/332/material/slides/0.pdf there also was a performance comparison done by some ceph people between ceph and gluster on their blog, you should easily find it. HTH ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)
Hi. I tried to start the connection novnc the new machine, but still the same. Even if I imported the CA certificate and added it to the trusted 2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com: Hi. I try do someting and I change to line in: /usr/share/novnc/include/rfb.js def_con_timeout = Websock_native ? 2 : 5,-- def_con_timeout = Websock_native ? 5 : 15, ['disconnectTimeout', 'rw', 'int', 3,'Time (s) to wait for disconnection'], -- ['disconnectTimeout', 'rw', 'int', 5, 'Time (s) to wait for disconnection'], And, Before change i get error: Connect timeout After change i get error: Server disconnected (code: 1006) 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com: Why port 6100. It's not working or maybe it's nothing show. 2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com: Hi, Are you using the valid SSL or Self signed ?? If self-signed then you need to trust this ssl in to your browser first...so please open the following in to another tab of your browser and run the following https://engine:6100 and accept the certificate and close this tab... Now click on the console...it should work... Thanks, Punit On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa grzegorz.sz...@gmail.com wrote: Hi. Maybe you could help me with noVNC to VM. I get a error: Connect timeout Do I need to install separately VNC server ?? or noVNC -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- G.Sz. -- G.Sz. -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] RHEV
I assume the same would apply in reverse. Given our utter disappointment with Red Hat support (or more accurately, the lack of it), we see no good reason to continue with RHEV and will very likely switch to Ovirt when our current subscription runs out. We've had far more support from this list than we've had from RH, for which we thank the list. regards, John On 28/08/14 17:55, Itamar Heim wrote: On 08/28/2014 10:35 AM, Koen Vanoppen wrote: Dear all, Besides the fact that we as team where very happy about ovirt and the community, there is a chance that we have to move to RHEV... Superiors decisions... Now my next obvious question is... IF this will be the case, can we move all of our vms to RHEV or... If so, how can we do this in the best possible way? Kind regards, Koen from the technical standpoint: currently - export/import the VMs in 3.5 - detach/attach storage domain (after upgrading the DC level to 3.5 first). (you'll need to re-install the hosts of course) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users __ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com __ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt/gluster storage questions for 2-3 node datacenter
I'll try to answer some of these.1) its not a serious problem persay the issue is if one node goes down and you delete a file while the second node is down it will be restored when the second node comes back which may cause orphaned files where as if you use 3 servers they will use quorum to figure out what needs to be restored or deleted. Further more your read and write performance may suffer especially in comparison to having 1 replica of the file with stripping.2) see answer 1 and just create the volume with 1 replica and only include the URI for bricks on two of the hosts when you create it.3) I think so but have never tried it you just have to define it as a local storage domain.4) well that's a philosophical question. You can theory have two hosted engines on separate VMs on two separate physical boxes but if for any reason they both go down you will "be living in interesting times" (as in the Chinese curse)5) YES! And have more than one.-- Sent from my HP Pre3On Aug 28, 2014 9:39 AM, David King da...@rexden.us wrote: Hi,I am currently testing oVirt 3.4.3 + gluster 3.5.2 for use in my relatively small home office environment on a single host. I have 2 Intel hosts with SSD and magnetic disk and one AMD host with only magnetic disk. I have been trying to figure out the best way to configure my environment given my previous attempt with oVirt 3.3 encountered storage issues. I will be hosting two types of VMs - VMs that can be tied to a particular system (such as 3 node FreeIPA domain or some test VMs), and VMs which could migrate between systems for improved uptime. The processor issue seems straightforward. Have a single datacenter with two clusters - one for the Intel systems and one for the AMD systems. Put VMs which need to live migrate on the Intel cluster. If necessary VMs can be manually switched between the Intel and AMD cluster with a downtime. The Gluster side of the storage seems less clear. The bulk of the gluster with oVirt issues I experienced and have seen on the list seem to be two node setups with 2 bricks in the Gluster volume. So here are my questions:1) Should I avoid 2 brick Gluster volumes? 2) What is the risk in having the SSD volumes with only 2 bricks given that there would be 3 gluster servers? How should I configure them? 3) Is there a way to use local storage for a host locked VM other than creating a gluster volume with one brick? 4) Should I avoid using the hosted engine configuration? I do have an external VMware ESXi system to host the engine for now but would like to phase it out eventually. 5) If I do the hosted engine should I make the underlying gluster volume 3 brick replicated?Thanks in advance for any help you can provide. -David ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM Deployment By Template
Hi All, I read this article...can this help... https://catn.com/2013/06/03/resize-a-centos-virtual-machine-image/ Thanks, Punit On Thu, Aug 28, 2014 at 10:33 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Aug 27, 2014, at 13:52 , Punit Dambiwal hypu...@gmail.com wrote: Hi Itamar, It's the same as i used and discussed in last reply...create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand or resize...but it will not make any changes in the existing partition table..that means after expand disk all the existing partition will remain samethen you need to manual login in to server and make the changes with the help of fdisk and lvm commands.. I am looking for the way we can resize the disk...and at the same time when the disk will expand...it should be resize the partition table... Is the cloud-init...custom script can do this or not ?? needs to be a custom script specific to the particular guest OS, I suppose. something like lvresize --resizefs … Maybe some rescan of partitions (if the missing piece is indeed the missing qemu-ga notification) - then just force it with fdisk Thanks, michal Thanks, Punit On Wed, Aug 27, 2014 at 6:11 PM, Itamar Heim ih...@redhat.com wrote: On 08/27/2014 12:47 PM, Punit Dambiwal wrote: Hi Itamar, To edit the disk size are you referring this Another way i got is create the VM with 1GB virtual template and expand the disk size after deployment...but the problem here is disk will expand...but it will not done any changes in the existing partition table..that means after expand disk you need to manual login in to server and make the changes with the help of fdisk and lvm commands... Or it's different then the upper one...please let me know how to perform this...if any screen shot you can provide for better understanding.. http://www.ovirt.org/Features/Online_Virtual_Drive_Resize adding derez for follow up questions Thanks, Punit On Wed, Aug 27, 2014 at 5:15 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 12:08 PM, Punit Dambiwal wrote: Hi Itamar, Thanks for the updateYes.. i want to create different size VM with the same OS template... 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. considering #3, then #1 should be easy to support as well these days. please open an RFE. Could you please more elaborate point number 3...how to use it..i will go with this one ... iirc, you just need to edit the disk size when vm is down or up (for up, only for specific disk interfaces, virtio-blk, not ide, iirc) Thanks, Punit On Wed, Aug 27, 2014 at 4:37 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 08/27/2014 04:18 AM, Punit Dambiwal wrote: Hi Michal, I want to deploy the VM with the template but the problem is in ovirt when you deploy the VM by template it copy the whole image(even thin or thick disk)...like if i have 40GB virtual size (actual size 1GB) diskit will copy the whole 40GB to provision the virtual machineso if i want to deploy 10 VM simultaneous then it will copy 4TB data and take long time to provision I want the way i can make the template with small sizeand once i choose to create the virtual machine with 40GB...the VM deploy with the small template on the 40GB disk... is it possible with ovirt.. ?? so you want to provision a VM with a different disk size than template. good point. some thoughts: 1. for thinly provisioned (qcow2) - its COW, hence the same size. 2. for clone - actually, no reason shouldn't be supported easily. 3. we support disk resize since 3.4 (iirc), which you can do post VM provisioning. considering #3, then #1 should be easy to support as well these days. please open an RFE. Thanks, Punit On Tue, Aug 26, 2014 at 9:01 PM, Michal Skrivanek michal.skriva...@redhat.com mailto:michal.skriva...@redhat.com mailto:michal.skrivanek@__redhat.com
Re: [ovirt-users] Migration failed due to Error: Fatal error during migration
Hi , I am also facing the same issue... here is the engine logs :- 2014-08-29 09:27:45,432 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateStatusVDSCommand, log id: 1f3e4161 2014-08-29 09:27:45,439 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-24) Correlation ID: 84ff2f4, Job ID: 8bc0b78a-c600-4f8d-98f8-66a46c66abe0, Call Stack: null, Custom Event ID: -1, Message: Migration failed due to Error: Fatal error during migration. Trying to migrate to another Host (VM: bc16391ac105b7e68cccb47803906d0b, Source: compute4, Destination: compute3). 2014-08-29 09:27:45,536 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] (org.ovirt.thread.pool-6-thread-24) Running command: MigrateVmCommand internal: false. Entities affected : ID: 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 Type: VM 2014-08-29 09:27:45,610 INFO [org.ovirt.engine.core.bll.scheduling.policyunits.HaReservationWeightPolicyUnit] (org.ovirt.thread.pool-6-thread-24) Started HA reservation scoring method 2014-08-29 09:27:45,666 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (org.ovirt.thread.pool-6-thread-24) START, MigrateVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37, vmId=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com, dstVdsId=bcd2bd85-c501-4be4-9730-a8662462cab5, dstHost= compute2.3linux.com:54321, migrationMethod=ONLINE, tunnelMigration=false, migrationDowntime=0), log id: 640b0ccd 2014-08-29 09:27:45,667 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (org.ovirt.thread.pool-6-thread-24) VdsBroker::migrate::Entered (vm_guid=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com, dstHost=compute2.3linux.com:54321, method=online 2014-08-29 09:27:45,684 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (org.ovirt.thread.pool-6-thread-24) START, MigrateBrokerVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37, vmId=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com, dstVdsId=bcd2bd85-c501-4be4-9730-a8662462cab5, dstHost= compute2.3linux.com:54321, migrationMethod=ONLINE, tunnelMigration=false, migrationDowntime=0), log id: 1b3d3891 2014-08-29 09:27:45,702 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateBrokerVDSCommand, log id: 1b3d3891 2014-08-29 09:27:45,707 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 640b0ccd 2014-08-29 09:27:45,711 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-24) Correlation ID: 84ff2f4, Job ID: 8bc0b78a-c600-4f8d-98f8-66a46c66abe0, Call Stack: null, Custom Event ID: -1, Message: Migration started (VM: bc16391ac105b7e68cccb47803906d0b, Source: compute4, Destination: compute2, User: admin). 2014-08-29 09:27:47,143 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-28) START, GlusterVolumesListVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37), log id: 9e34612 2014-08-29 09:27:47,300 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-28) FINISH, GlusterVolumesListVDSCommand, return: {e6117925-79b1-417b-9d07-cfc31f68bc51=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@b42f1b41}, log id: 9e34612 2014-08-29 09:27:48,306 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-51) RefreshVmList vm id 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 is migrating to vds compute2 ignoring it in the refresh until migration is done 2014-08-29 09:27:51,349 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-52) RefreshVmList vm id 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 is migrating to vds compute2 ignoring it in the refresh until migration is done 2014-08-29 09:27:52,470 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-49) START, GlusterVolumesListVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37), log id: 7cbb4cd 2014-08-29 09:27:52,624 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-49) FINISH, GlusterVolumesListVDSCommand, return: {e6117925-79b1-417b-9d07-cfc31f68bc51=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@debf8bab}, log id: 7cbb4cd 2014-08-29 09:27:53,557 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-14) Running command: LoginUserCommand internal: false. 2014-08-29 09:27:53,561 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)
Hi, I haven't try it on 3.53.4 it's work... Thanks, Punit On Fri, Aug 29, 2014 at 4:13 AM, Grzegorz Szypa grzegorz.sz...@gmail.com wrote: Hi. I tried to start the connection novnc the new machine, but still the same. Even if I imported the CA certificate and added it to the trusted 2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com: Hi. I try do someting and I change to line in: /usr/share/novnc/include/rfb.js def_con_timeout = Websock_native ? 2 : 5,-- def_con_timeout = Websock_native ? 5 : 15, ['disconnectTimeout', 'rw', 'int', 3,'Time (s) to wait for disconnection'], -- ['disconnectTimeout', 'rw', 'int', 5, 'Time (s) to wait for disconnection'], And, Before change i get error: Connect timeout After change i get error: Server disconnected (code: 1006) 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com: Why port 6100. It's not working or maybe it's nothing show. 2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com: Hi, Are you using the valid SSL or Self signed ?? If self-signed then you need to trust this ssl in to your browser first...so please open the following in to another tab of your browser and run the following https://engine:6100 and accept the certificate and close this tab... Now click on the console...it should work... Thanks, Punit On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa grzegorz.sz...@gmail.com wrote: Hi. Maybe you could help me with noVNC to VM. I get a error: Connect timeout Do I need to install separately VNC server ?? or noVNC -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- G.Sz. -- G.Sz. -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM second netowork not Comeup
Hi Dan, I have attached the screenshot of the console, please check it. -- Regards Shanil On Thu, Aug 28, 2014 at 4:46 PM, Dan Kenigsberg dan...@redhat.com wrote: On Thu, Aug 28, 2014 at 01:50:22PM +0530, Shanil S wrote: Hi Aill, We are creating two nics using the api, but it seems the second network is not come up and the first one is working. The following xml is used to for the nic creation nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' / /nic When i checked the configuration file (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it seems the ONBOOT=no.eventhough we set it true from the api. Is this a bug ? I do not know what on_boot means in oVirt API, but it certainly is not passed to Vdsm or the guest, and as such cannot control what's in the guest's /etc/sysconfig/network-scripts/ifcfg-eth1. The guest may have ifcfg files, it may run NetworkManager, or it may be Ubunto or Windows. oVirt is responsible to exposing a (virtual) NIC to the guest, but does not interfere with its configuration. Dan ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM second netowork not Comeup
Hi Dan, Please ignore the previous screenshot and check this. -- Regards Shanil On Fri, Aug 29, 2014 at 8:49 AM, Shanil S xielessha...@gmail.com wrote: Hi Dan, I have attached the screenshot of the console, please check it. -- Regards Shanil On Thu, Aug 28, 2014 at 4:46 PM, Dan Kenigsberg dan...@redhat.com wrote: On Thu, Aug 28, 2014 at 01:50:22PM +0530, Shanil S wrote: Hi Aill, We are creating two nics using the api, but it seems the second network is not come up and the first one is working. The following xml is used to for the nic creation nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' / /nic When i checked the configuration file (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it seems the ONBOOT=no.eventhough we set it true from the api. Is this a bug ? I do not know what on_boot means in oVirt API, but it certainly is not passed to Vdsm or the guest, and as such cannot control what's in the guest's /etc/sysconfig/network-scripts/ifcfg-eth1. The guest may have ifcfg files, it may run NetworkManager, or it may be Ubunto or Windows. oVirt is responsible to exposing a (virtual) NIC to the guest, but does not interfere with its configuration. Dan ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot preview,clone and undo using ovirt api
Hi Daniel, Okay.. Thanks.. I will try and get back to you if any issues exists.. -- Regards Shanil On Thu, Aug 28, 2014 at 11:53 AM, Daniel Erez de...@redhat.com wrote: - Original Message - From: Doron Fediuck dfedi...@redhat.com To: Shanil S xielessha...@gmail.com Cc: users@ovirt.org Sent: Wednesday, August 27, 2014 5:45:04 PM Subject: Re: [ovirt-users] Snapshot preview,clone and undo using ovirt api - Original Message - From: Shanil S xielessha...@gmail.com To: users@ovirt.org Sent: Wednesday, August 27, 2014 2:07:15 PM Subject: [ovirt-users] Snapshot preview,clone and undo using ovirt api Hi All, In the ovirt admin panel, it is possible to do the following snapshots actions 1. Clone 2. Preview 3. Undo but i couldn't find out any direct api methods to do these actions, Is it possible to it using the ovirt api ? Hi Shanil, Preview/Undo actions can be invoked from VM context. I.e.: /api/vms/{vm_id}/preview_snapshot /api/vms/{vm_id}/undo_snapshot These actions are supported only on versions 3.4, in older versions, use 'restore' (which is 'preview + commit'): /api/vms/{vm_id}/snapshots/{snapshot_id}/restore To clone a VM from snapshot, POST to /api/vms : vm ... snapshots snapshot id={snapshot_id}/ /snapshots ... /vm -- Regards Shanil Hi Shanil, take a look here: http://www.ovirt.org/Features/Single_Disk_Snapshot#REST-API Maybe Allon or other can add some info if needed. Doron ___ 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] Real time network usages and IO usages of VM
Hi All, Is there any api methods to get the real time network usages and IO usages os of each vm ? I tried it by using api/vms/$id/statistics but its not getting the network and IO usages. Is it possible to get these details using the api calls ? -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users