Re: [ovirt-users] Client-quorum not met - Distributed-Replicate gluster volume
You would need six storage hosts in total to maintain quorum if even one of the hosts goes down. There's no way to decide who's right with replica 2. When you have 2 out of 3 online, majority rules. I have a four node cluster doing replica 4, no distribute. I can take one host down. If two are down, quorum is not met and the volumes go read-only. Same issue applies, only 50% is online. On 2/16/2015 5:20 AM, Wesley Schaft wrote: Hi, I've set up 4 oVirt nodes with Gluster storage to provide high available virtual machines. The Gluster volumes are Distributed-Replicate with a replica count of 2. The extra volume options are configured: cat /var/lib/glusterd/groups/virt quick-read=off read-ahead=off io-cache=off stat-prefetch=off eager-lock=enable remote-dio=enable quorum-type=auto server-quorum-type=server Volume for the self-hosted engine: gluster volume info engine Volume Name: engine Type: Distributed-Replicate Volume ID: 9e7a3265-1e91-46e1-a0ba-09c5cc1fc1c1 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: gluster004:/gluster/engine/004 Brick2: gluster005:/gluster/engine/005 Brick3: gluster006:/gluster/engine/006 Brick4: gluster007:/gluster/engine/007 Options Reconfigured: cluster.quorum-type: auto storage.owner-gid: 36 storage.owner-uid: 36 cluster.server-quorum-type: server network.remote-dio: enable cluster.eager-lock: enable performance.stat-prefetch: off performance.io-cache: off performance.read-ahead: off performance.quick-read: off network.ping-timeout: 10 Volume for the virtual machines: gluster volume info data Volume Name: data Type: Distributed-Replicate Volume ID: 896db323-7ac4-4023-82a6-a8815a4d06b4 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: gluster004:/gluster/data/004 Brick2: gluster005:/gluster/data/005 Brick3: gluster006:/gluster/data/006 Brick4: gluster007:/gluster/data/007 Options Reconfigured: cluster.quorum-type: auto performance.quick-read: off performance.read-ahead: off performance.io-cache: off performance.stat-prefetch: off cluster.eager-lock: enable network.remote-dio: enable storage.owner-uid: 36 storage.owner-gid: 36 cluster.server-quorum-type: server network.ping-timeout: 10 Everything seems to be working fine. However, when I stop the storage network on gluster004 or gluster006, client-quorum is lost. Client-quorum isn't lost when the storage network is stopped on gluster005 or gluster007. [2015-02-16 07:05:58.541531] W [MSGID: 108001] [afr-common.c:3635:afr_notify] 0-data-replicate-1: Client-quorum is not met [2015-02-16 07:05:58.541579] W [MSGID: 108001] [afr-common.c:3635:afr_notify] 0-engine-replicate-1: Client-quorum is not met And as a result, the volumes are read-only and the VM's are paused. I've added a dummy gluster node for quorum use (no bricks, only running glusterd), but that didn't help. gluster peer status Number of Peers: 4 Hostname: gluster005 Uuid: 6c5253b4-b1c6-4d0a-9e6b-1f3efc1e8086 State: Peer in Cluster (Connected) Hostname: gluster006 Uuid: 4b3d15c4-2de0-4d2e-aa4c-3981e47dadbd State: Peer in Cluster (Connected) Hostname: gluster007 Uuid: 165e9ada-addb-496e-abf7-4a4efda4d5d3 State: Peer in Cluster (Connected) Hostname: glusterdummy Uuid: 3ef8177b-2394-429b-a58e-ecf0f6ce79a0 State: Peer in Cluster (Connected) The 4 nodes are running CentOS 7, with the following oVirt / Gluster packages: glusterfs-3.6.2-1.el7.x86_64 glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-rdma-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 ovirt-engine-sdk-python-3.5.1.0-1.el7.centos.noarch ovirt-host-deploy-1.3.1-1.el7.noarch ovirt-hosted-engine-ha-1.2.5-1.el7.centos.noarch ovirt-hosted-engine-setup-1.2.2-1.el7.centos.noarch vdsm-gluster-4.16.10-8.gitc937927.el7.noarch The self-hosted engine is running CentOS 6 with ovirt-engine-3.5.1-1.el6.noarch Regards, Wesley ___ 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] self hosted setup with answer file
On Mon, Feb 16, 2015 at 1:18 AM, Yedidyah Bar David d...@redhat.com wrote: - Original Message - From: Greg Swift gregsw...@gmail.com To: users@ovirt.org Sent: Monday, February 16, 2015 7:37:53 AM Subject: Re: [ovirt-users] self hosted setup with answer file I'm starting to get more concerned. It seems almost every time i run it off the same answer file I get a different setup. On Sun, Feb 15, 2015 at 11:45 AM, Greg Swift gregsw...@gmail.com wrote: So i've been playing with standing up a self hosted instance of oVirt. I'm using an answer file that i generated first time I tried running it (so that I can provision w/ ansible) I've run into 2 problems. 1: i have to specify the jboss home manually from the cli (didn't see an answer equivalent), even though the ovirt jboss package is installed. Are you referring to 'hosted-engine --deploy' on the host, to 'engine-setup' inside the VM, both? You need a different answer file for each, and the one generated for 'hosted-engine --deploy' is currently not enough for automatic unattended installation. For that, see [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1101297 So I was installing the allinone plugin and then running engine-setup. 2: Generally speaking it seems to be ignoring several of the answer file config entries. My answers tell it to 'confirm settings' and it runs non-interactively. Plus all the local storage configs seem to be ignored. I'm running ovirt-engine-3.5.1.1-1.el7.centos.noarch Any suggestions? In addition to the above, if you suspect a real bug, logs and answer files will help. So the problem is that at this point I've killed the system that wasn't working and I think I found a solution. I wish i had thought to save off the logs, but at least in theory it seemed to be re-produceable. That being said the following changes to my original answer file (OP attachment) and I've got a working environment -OVESETUP_CONFIG/applicationMode=str:both +OVESETUP_CONFIG/applicationMode=str:virt -OVESETUP_CONFIG/storageIsLocal=bool:True +OVESETUP_CONFIG/storageIsLocal=bool:False -OVESETUP_SYSTEM/nfsConfigEnabled=bool:True +OVESETUP_SYSTEM/nfsConfigEnabled=bool:False -OVESETUP_CONFIG/isoDomainMountPoint=str:/var/lib/exports/iso -OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN -OVESETUP_CONFIG/isoDomainACL=str:{{ ansible_fqdn }}(rw) +OVESETUP_CONFIG/isoDomainMountPoint=none:None +OVESETUP_CONFIG/isoDomainName=none:None +OVESETUP_CONFIG/isoDomainACL=none:None Some of that is just weird though... storageIsLocal=False? its completely local storage. But hey.. its working consistently now. greg ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Where do you run oVirt?
Will the submitted information be published somewhere (public)? If yes, under which license? I could imagine that some people would not like to share some information when it get's public. On 16/02/15 16:37, Sandro Bonazzola wrote: Hi, As we continue developing oVirt 3.6 and future releases of oVirt, the development and integration team are seeking input from users on how oVirt is being run and on what platforms. We would appreciate you help by taking this quick survey! https://docs.google.com/forms/d/1u-YccuNRza4_WmS5VMdy0mEkXuKxt4lzrALKKcnEMBs/viewform?usp=send_form Thanks, -- 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] Port mirroring outside traffic into a VM?
On Sun, Feb 15, 2015 at 01:11:20PM -0600, Chris Adams wrote: Once upon a time, Genadi Chereshnya gcher...@redhat.com said: If I understand you correctly you are trying to replace the physical device mirroring with VM? Yes, that is correct. If this is the case I don't think it's possible to do it with port mirroring oVIRT feature. The existing oVIRT port mirroing feature is for mirroring traffic between VM devices for specific Network. So if you have 3 VMs with network X you can monitor on 1 VM that specific network that is used between 2 other VMs. Ah, I see. Is there a way to get an external network interface (that happens to be a target of an external switch's port mirror/monitor session) to pass through to a VM? A way that still allows for live migration would be best of course, but even without that would be a start. We plan to support passthrough natively in ovirt-3.6. Until then, you need to do this yourself, with the help of vdsm hooks. http://libvirt.org/formatdomain.html#elementsNICS ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] firewalld and NetworkManager support
On Sun, Feb 15, 2015 at 04:26:35AM -0500, Yedidyah Bar David wrote: - Original Message - From: Nathanaël Blanchet blanc...@abes.fr To: users@ovirt.org Sent: Friday, February 13, 2015 5:44:51 PM Subject: [ovirt-users] firewalld and NetworkManager support Hi all, I've just installed a new el7 datacenter, and many questions came up with. I was surprised to see that all vdsm generated ifcfg files were NM_CONTROLLED=no, and NetworkManager was disabled in systemd. The same for firewalld, disabled for regular iptables files. Will that default el7/fedora features be adpated to ovirt in a next release? You probably want to track these: https://bugzilla.redhat.com/show_bug.cgi?id=995362 [RFE] Support firewalld https://bugzilla.redhat.com/show_bug.cgi?id=1107803 [RFE] Add a NetworkManager configurator to Vdsm While proper integration with NetworkManager is a remote target, NetworkManager could be up and running on an el7 oVirt host - as long as it does not touch interfaces configured by Vdsm. This is at least my experience. Can you tell what disabled NetworkManager and where? Does anything bad happens when you start NetworkManager on that host? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Cannot run VM. Memory size exceeds supported limit for given cluster version.
Hi Punit, one thing is confusing me. You refer to VM32BitMaxMemorySizeInMB, but you are working with 64bit VM/template. Shouldn’t it be VM64BitMaxMemorySizeInMB? Anyways both should allow for approx. 64GB of memory. If you create VM with 63GB (or closest lower amount) it works? Could you provide relevant part of engine.log, vdsm.log, supervdsm.log and libvirt log? From the time when the error occurs? M. On 17 Feb 2015, at 03:00, Punit Dambiwal hypu...@gmail.com wrote: Hi, I am running Ovirt 3.5.1 and have the following settings in the engine config for VM memory :- - [root@ccr01 ~]# engine-config -g VM32BitMaxMemorySizeInMB VM32BitMaxMemorySizeInMB: 65536 version: general [root@ccr01 ~]# engine-config -g VM64BitMaxMemorySizeInMB VM64BitMaxMemorySizeInMB: 524288 version: 3.0 VM64BitMaxMemorySizeInMB: 2097152 version: 3.1 VM64BitMaxMemorySizeInMB: 2097152 version: 3.2 VM64BitMaxMemorySizeInMB: 4096000 version: 3.4 VM64BitMaxMemorySizeInMB: 4096000 version: 3.5 VM64BitMaxMemorySizeInMB: 2097152 version: 3.3 [root@ccr01 ~]# When i create a guest VM more than 64GB memory,VM is failed to start with following error: Cannot run VM. Memory size exceeds supported limit for given cluster version. Steps to Reproduce: 1. Create new VM or edit existing VM Memory Size to 65536 MB from Ovirt GUI. 2. Created the guest VM through template 64-bit... so it will support more than 16 GB memory. 3. Now, Start the VM. Thanks, Punit signature.asc Description: Message signed with OpenPGP using GPGMail ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Cannot run VM. Memory size exceeds supported limit for given cluster version.
Hi, I am running Ovirt 3.5.1 and have the following settings in the engine config for VM memory :- - [root@ccr01 ~]# engine-config -g VM32BitMaxMemorySizeInMB VM32BitMaxMemorySizeInMB: 65536 version: general [root@ccr01 ~]# engine-config -g VM64BitMaxMemorySizeInMB VM64BitMaxMemorySizeInMB: 524288 version: 3.0 VM64BitMaxMemorySizeInMB: 2097152 version: 3.1 VM64BitMaxMemorySizeInMB: 2097152 version: 3.2 VM64BitMaxMemorySizeInMB: 4096000 version: 3.4 VM64BitMaxMemorySizeInMB: 4096000 version: 3.5 VM64BitMaxMemorySizeInMB: 2097152 version: 3.3 [root@ccr01 ~]# When i create a guest VM more than 64GB memory,VM is failed to start with following error: Cannot run VM. Memory size exceeds supported limit for given cluster version. Steps to Reproduce: 1. Create new VM or edit existing VM Memory Size to 65536 MB from Ovirt GUI. 2. Created the guest VM through template 64-bit... so it will support more than 16 GB memory. 3. Now, Start the VM. Thanks, Punit ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [SLA] can't start vm due to host did not satisfy internal filter Memory.
On 02/10/2015 04:13 PM, Artyom Lukianov wrote: I checked a little in code, and we have some complicate formula for memory: memory_that_vm_need = host.mem_commited + host.pending_vmem_size + host.guest_overhead + host.reserved_mem + vm.guaranteed_memory you can check all parameters for host under vds_dynamic table in database, you can also enable debug logging under engine log t get more details(http://www.ovirt.org/OVirt_Engine_Development_Environment#Enable_DEBUG_log). I hope it will help you. Thanks - Original Message - From: Sven Kieske s.kie...@mittwald.de To: Artyom Lukianov aluki...@redhat.com Cc: users@ovirt.org List Users@ovirt.org Sent: Tuesday, February 10, 2015 3:29:13 PM Subject: Re: [ovirt-users] [SLA] can't start vm due to host did not satisfy internal filter Memory. On 10/02/15 14:03, Artyom Lukianov wrote: Can you also provide value for Max free Memory for scheduling new VMs parameter, under REST max_scheduling_memory. sure: with the vm being launched with 28 GB max ram it is: Max free Memory for scheduling new VMs: 35617 MB Before it was way beyond that (I can't shutdown the vm now), obviously because of the 200% overcommitment on the cluster. So imho it should be fine running a vm with 32768 MB RAM defined. Thanks! Sven is that solved? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Restore VMs after engine fail
Hi You mean you used the disks from FC directly in the VM's and not as NFS share and stored the disk on that NFS share ? Tolik Litovsky +972542277403 - Original Message - From: Николаев Алексей alexeynikolaev.p...@yandex.ru To: Tolik Litovsky tlito...@redhat.com Cc: users@ovirt.org Sent: Monday, 16 February, 2015 10:20:30 AM Subject: Re: [ovirt-users] Restore VMs after engine fail Hi Tolik! My storage is a FC array. This array have 12 disks with 1 volume identified by LUN ID. I think this volume on the RAW format. Can i mount this like NFS? 16.02.2015, 11:04, Tolik Litovsky tlito...@redhat.com: Hi Can you take a look at your storage and try to find the disk there. It seems that they got lost and the engine cant find them. If you can find them its possible to tie them back (the data seats on the disks) Just search for those big qcow2 files or ovf ones. Tolik Litovsky +972542277403 - Original Message - From: Николаев Алексей alexeynikolaev.p...@yandex.ru To: users@ovirt.org Sent: Friday, 13 February, 2015 9:43:50 PM Subject: [ovirt-users] Restore VMs after engine fail Hi community! I have instance with 3 nodes: 2 nodes as hypervisors and 1 node as engine. Data domain is FC array. The node with engine was fail to boot. After it i have made a fresh install of the engine. And import a data domain. But only 1 VM was restored. Another 2 VMs have no disks. What i can do to restore the VMs? ___ 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] Restore VMs after engine fail
Hi I am not very familiar with FC arrays. But can you try to fsck them somehow ? The logs show that it cant connect to those disks. One reason can be that they was not unmounted correctly from the VMs. After that you can try to import them again into the engine. Tolik Litovsky +972542277403 - Original Message - From: Николаев Алексей alexeynikolaev.p...@yandex.ru To: Tolik Litovsky tlito...@redhat.com Cc: users@ovirt.org Sent: Monday, 16 February, 2015 3:01:16 PM Subject: Re: [ovirt-users] Restore VMs after engine fail Yes exactly. I've create a Vdisk by HP manage utility. And create a new DATA_DOMAIN with type DATA / Fibre Channel. 16.02.2015, 15:48, Tolik Litovsky tlito...@redhat.com: Hi You mean you used the disks from FC directly in the VM's and not as NFS share and stored the disk on that NFS share ? Tolik Litovsky +972542277403 - Original Message - From: Николаев Алексей alexeynikolaev.p...@yandex.ru To: Tolik Litovsky tlito...@redhat.com Cc: users@ovirt.org Sent: Monday, 16 February, 2015 10:20:30 AM Subject: Re: [ovirt-users] Restore VMs after engine fail Hi Tolik! My storage is a FC array. This array have 12 disks with 1 volume identified by LUN ID. I think this volume on the RAW format. Can i mount this like NFS? 16.02.2015, 11:04, Tolik Litovsky tlito...@redhat.com : Hi Can you take a look at your storage and try to find the disk there. It seems that they got lost and the engine cant find them. If you can find them its possible to tie them back (the data seats on the disks) Just search for those big qcow2 files or ovf ones. Tolik Litovsky +972542277403 - Original Message - From: Николаев Алексей alexeynikolaev.p...@yandex.ru To: users@ovirt.org Sent: Friday, 13 February, 2015 9:43:50 PM Subject: [ovirt-users] Restore VMs after engine fail Hi community! I have instance with 3 nodes: 2 nodes as hypervisors and 1 node as engine. Data domain is FC array. The node with engine was fail to boot. After it i have made a fresh install of the engine. And import a data domain. But only 1 VM was restored. Another 2 VMs have no disks. What i can do to restore the VMs? ___ 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] [SLA] can't start vm due to host did not satisfy internal filter Memory.
No, not really yet as I can't easily test this as this is a production vm which I can't reboot atm. I'll try to get a copy of this system in the dev environment and try to reproduce. Thanks for the help, so far. On 16/02/15 13:29, Roy Golan wrote: Sven is that solved? -- 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] Backup solution using the API
Dear Liron, thanks alot, i know, i was following that, however the Live Merge Feature was missing in CentOS 7, that was already the discussion. Now on Fedora 20 the Live Merge works (we have to stick to Fedora then until this is in CentOS 7.1 ?! ) I am experimenting with scripts to iterate through all machines and do a backup for all machines on a separate VM, I will let you know how that goes Cheers Soeren -Original Message- From: Liron Aravot [mailto:lara...@redhat.com] Sent: Monday, February 16, 2015 10:15 AM To: Soeren Malchow Cc: Adam Litke; Nir Soffer; Thomas Keppler (PEBA); users@ovirt.org Subject: Re: [ovirt-users] Backup solution using the API - Original Message - From: Soeren Malchow soeren.malc...@mcon.net To: Adam Litke ali...@redhat.com, Nir Soffer nsof...@redhat.com Cc: Thomas Keppler (PEBA) thomas.kepp...@kit.edu, users@ovirt.org Sent: Wednesday, February 11, 2015 7:30:48 PM Subject: Re: [ovirt-users] Backup solution using the API Dear all, i am a little lost, i tried quite a few things with the snapshots, so far with python scripts I can iterate through the existing machines, take one, make a snapshot and all this. However, there are 2 problems I can not get around: 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if I understood that correctly this relies on the Live Merge Feature where the code is available in vdsm already but it needs a certain libvirt version !?!? So question here is, can I delete a snapshot or not ? can I use only the rest API not python (excuse me I am not a developer) 2. when I attach a snapshot to another virtual machine, how do I do the backup then ? Does anybody have this already ? Hi Soeren, you can find detailed example for Backup/Restore flows here - http://www.ovirt.org/Features/Backup-Restore_API_Integration thanks, laravot. The environment is running on CentOS 7 (hypervisors), Centos 6 (hosted engine), the ovirt is on version 3.5.1, also we use gluster as a storage backend where the gluster servers are managed within the hosted engine in a separate cluster exporting the storage only. Regards Soeren -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Adam Litke Sent: Tuesday, January 6, 2015 5:04 PM To: Nir Soffer Cc: Thomas Keppler (PEBA); users@ovirt.org Subject: Re: [ovirt-users] Backup solution using the API On 15/12/14 04:31 -0500, Nir Soffer wrote: - Original Message - From: Blaster blas...@556nato.com To: Thomas Keppler (PEBA) thomas.kepp...@kit.edu, users@ovirt.org Sent: Wednesday, December 10, 2014 8:06:58 PM Subject: Re: [ovirt-users] Backup solution using the API On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote: Now, before I go into any more hassle, has somebody else of you done a live-backup solution for oVirt? Are there any recommendations? Thanks for any help provided! I've been looking for a similar scheme for the last year. It was not (really) possible in the past as there wasn't any way to destroy a snapshot w/o shutting down the VM. Is this still the case, or are snap shots fully implemented now? Basically, I'd like to: Tell VM to flush it's buffers suspend VM take snap shot of boot virtual disk resume VM You don't need to suspend the vm, qemu can create live snapshot. When the snapshot is done, you don't care about future io, it will simply not included in the backup. backup the virtual boot disk from the Hypervisor using standard commands (tar, cp, whatever) You can by attaching the snapshot to another vm destroy the snapshot You can in ovirt 3.5.1 - we do not depend any more on future libvirt features. Adam, can you confirm? Yes, on 3.5.1 you'll be able to destroy the snapshot without impacting the running VM. This would at least give some BMR capabilities of your VMs. Ideally, I'd also like to be able to create a snapshot from within the VM, do You can do this within the vm by using the engine REST API. But this can be fragile - for example, if the vm pauses, your backup tool within the vm will never complete :-) a yum update, see if I like it or not, if I do, then destroy the snap shot. Possible in 3.5.1 using REST API If I don't, I want to promote the snapshot and boot from that, then destroy the original. Same Nir -- Adam Litke ___ 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] Restore VMs after engine fail
Yes exactly. I've create a Vdisk by HP manage utility. And create a new DATA_DOMAIN with type DATA / Fibre Channel. 16.02.2015, 15:48, "Tolik Litovsky" tlito...@redhat.com:HiYou mean you used the disks from FC directly in the VM's and not as NFS share and stored the disk on that NFS share ? Tolik Litovsky+972542277403- Original Message - From: "Николаев Алексей" alexeynikolaev.p...@yandex.ru To: "Tolik Litovsky" tlito...@redhat.com Cc: users@ovirt.org Sent: Monday, 16 February, 2015 10:20:30 AM Subject: Re: [ovirt-users] Restore VMs after engine fail Hi Tolik! My storage is a FC array. This array have 12 disks with 1 volume identified by LUN ID. I think this volume on the RAW format. Can i mount this like NFS? 16.02.2015, 11:04, "Tolik Litovsky" tlito...@redhat.com: Hi Can you take a look at your storage and try to find the disk there. It seems that they got lost and the engine cant find them. If you can find them its possible to tie them back (the data seats on the disks) Just search for those big qcow2 files or ovf ones. Tolik Litovsky +972542277403 - Original Message - From: "Николаев Алексей" alexeynikolaev.p...@yandex.ru To: users@ovirt.org Sent: Friday, 13 February, 2015 9:43:50 PM Subject: [ovirt-users] Restore VMs after engine fail Hi community! I have instance with 3 nodes: 2 nodes as hypervisors and 1 node as engine. Data domain is FC array. The node with engine was fail to boot. After it i have made a fresh install of the engine. And import a data domain. But only 1 VM was restored. Another 2 VMs have no disks. What i can do to restore the VMs? ___ 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] newbie need help on iSCSI
I am a newbie and trying to learn Ovirt. I have installed the hypervisor using Ovirt-3.1 node cd. I noticed my Storage tab states ... Remote Storage: iSCSI Initiator Name: iqn. 1994-05.com.redhat: 1dcc111a82a8 1. I would like to understand whether I had any way of using other Storage options on the Hypervisor. 2. If I have a attach storage, how should I configure the device to be seen by the Hypervisor? Appreciate your feedback. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Where do you run oVirt?
Hi, As we continue developing oVirt 3.6 and future releases of oVirt, the development and integration team are seeking input from users on how oVirt is being run and on what platforms. We would appreciate you help by taking this quick survey! https://docs.google.com/forms/d/1u-YccuNRza4_WmS5VMdy0mEkXuKxt4lzrALKKcnEMBs/viewform?usp=send_form Thanks, -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Restore VMs after engine fail
Hi Can you take a look at your storage and try to find the disk there. It seems that they got lost and the engine cant find them. If you can find them its possible to tie them back (the data seats on the disks) Just search for those big qcow2 files or ovf ones. Tolik Litovsky +972542277403 - Original Message - From: Николаев Алексей alexeynikolaev.p...@yandex.ru To: users@ovirt.org Sent: Friday, 13 February, 2015 9:43:50 PM Subject: [ovirt-users] Restore VMs after engine fail Hi community! I have instance with 3 nodes: 2 nodes as hypervisors and 1 node as engine. Data domain is FC array. The node with engine was fail to boot. After it i have made a fresh install of the engine. And import a data domain. But only 1 VM was restored. Another 2 VMs have no disks. What i can do to restore the VMs? ___ 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] Backup solution using the API
- Original Message - From: Soeren Malchow soeren.malc...@mcon.net To: Adam Litke ali...@redhat.com, Nir Soffer nsof...@redhat.com Cc: Thomas Keppler (PEBA) thomas.kepp...@kit.edu, users@ovirt.org Sent: Wednesday, February 11, 2015 7:30:48 PM Subject: Re: [ovirt-users] Backup solution using the API Dear all, i am a little lost, i tried quite a few things with the snapshots, so far with python scripts I can iterate through the existing machines, take one, make a snapshot and all this. However, there are 2 problems I can not get around: 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if I understood that correctly this relies on the Live Merge Feature where the code is available in vdsm already but it needs a certain libvirt version !?!? So question here is, can I delete a snapshot or not ? can I use only the rest API not python (excuse me I am not a developer) 2. when I attach a snapshot to another virtual machine, how do I do the backup then ? Does anybody have this already ? Hi Soeren, you can find detailed example for Backup/Restore flows here - http://www.ovirt.org/Features/Backup-Restore_API_Integration thanks, laravot. The environment is running on CentOS 7 (hypervisors), Centos 6 (hosted engine), the ovirt is on version 3.5.1, also we use gluster as a storage backend where the gluster servers are managed within the hosted engine in a separate cluster exporting the storage only. Regards Soeren -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Adam Litke Sent: Tuesday, January 6, 2015 5:04 PM To: Nir Soffer Cc: Thomas Keppler (PEBA); users@ovirt.org Subject: Re: [ovirt-users] Backup solution using the API On 15/12/14 04:31 -0500, Nir Soffer wrote: - Original Message - From: Blaster blas...@556nato.com To: Thomas Keppler (PEBA) thomas.kepp...@kit.edu, users@ovirt.org Sent: Wednesday, December 10, 2014 8:06:58 PM Subject: Re: [ovirt-users] Backup solution using the API On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote: Now, before I go into any more hassle, has somebody else of you done a live-backup solution for oVirt? Are there any recommendations? Thanks for any help provided! I've been looking for a similar scheme for the last year. It was not (really) possible in the past as there wasn't any way to destroy a snapshot w/o shutting down the VM. Is this still the case, or are snap shots fully implemented now? Basically, I'd like to: Tell VM to flush it's buffers suspend VM take snap shot of boot virtual disk resume VM You don't need to suspend the vm, qemu can create live snapshot. When the snapshot is done, you don't care about future io, it will simply not included in the backup. backup the virtual boot disk from the Hypervisor using standard commands (tar, cp, whatever) You can by attaching the snapshot to another vm destroy the snapshot You can in ovirt 3.5.1 - we do not depend any more on future libvirt features. Adam, can you confirm? Yes, on 3.5.1 you'll be able to destroy the snapshot without impacting the running VM. This would at least give some BMR capabilities of your VMs. Ideally, I'd also like to be able to create a snapshot from within the VM, do You can do this within the vm by using the engine REST API. But this can be fragile - for example, if the vm pauses, your backup tool within the vm will never complete :-) a yum update, see if I like it or not, if I do, then destroy the snap shot. Possible in 3.5.1 using REST API If I don't, I want to promote the snapshot and boot from that, then destroy the original. Same Nir -- Adam Litke ___ 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] mixing tagged and untagged vlans on a same interface
Thank you for the explanation. Le 16/02/2015 09:06, Lior Vernia a écrit : What Martin said is correct, let me just add that originally this limitation was put in place because in older kernels the bridge for the untagged network could see tagged traffic over the same physical interface, which was a security loophole (as a VM using the untagged bridge could sniff all the traffic on the physical interface). This isn't the case anymore, so in 3.6 we want to remove this limitation. On 13/02/15 17:31, Martin Pavlík wrote: Hi, it is possible to achieve the state you describe. You just can’t have ovirtmgmt as VM network in such case. You need to set ovirtmgmt as nonVM [1] (aka bridgeless network), then you can put it on one interface with VLANs. Be aware that you can put on one interface only one bridges network + multiple VLANs. [1] http://www.ovirt.org/Features/Design/Network/Bridgeless_Networks#Functionality HTH Martin Pavlik RHEV QE On 13 Feb 2015, at 16:17, Nathanaël Blanchet blanc...@abes.fr wrote: Hi all, On a standalone libvirt/KVM, I've been used to mix tagged and untagged vlans on the same interface, the untagged vlan dedicated to the physical interface em1 and the other tagged ones to VLAN em1.X. I've just installed a new datacenter with an untagged ovirtmgmt and then realized that I've been prevented from attaching additional vlan to the same inetrface. Is there a reason for that, knowing that nothing should technically be wrong? ___ 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] mixing tagged and untagged vlans on a same interface
What Martin said is correct, let me just add that originally this limitation was put in place because in older kernels the bridge for the untagged network could see tagged traffic over the same physical interface, which was a security loophole (as a VM using the untagged bridge could sniff all the traffic on the physical interface). This isn't the case anymore, so in 3.6 we want to remove this limitation. On 13/02/15 17:31, Martin Pavlík wrote: Hi, it is possible to achieve the state you describe. You just can’t have ovirtmgmt as VM network in such case. You need to set ovirtmgmt as nonVM [1] (aka bridgeless network), then you can put it on one interface with VLANs. Be aware that you can put on one interface only one bridges network + multiple VLANs. [1] http://www.ovirt.org/Features/Design/Network/Bridgeless_Networks#Functionality HTH Martin Pavlik RHEV QE On 13 Feb 2015, at 16:17, Nathanaël Blanchet blanc...@abes.fr wrote: Hi all, On a standalone libvirt/KVM, I've been used to mix tagged and untagged vlans on the same interface, the untagged vlan dedicated to the physical interface em1 and the other tagged ones to VLAN em1.X. I've just installed a new datacenter with an untagged ovirtmgmt and then realized that I've been prevented from attaching additional vlan to the same inetrface. Is there a reason for that, knowing that nothing should technically be wrong? ___ 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] Directly connect NIC or other cards to VM?
Hi David, On 13/02/15 01:28, David Smith wrote: Is there a way to directly connect a specific device (ie, NIC) to a particular VM? I've figured out how to map a specific network interface to a VM, thats one step, but in the end I may need direct access to the PCI device itself. I think this 3.6 feature might do exactly what you want: http://www.ovirt.org/Features/hostdev_passthrough It's gonna be a while before 3.6 is out, but once the feature is merged it'll be available if you install the nightly snapshot. CCing Martin Polednik, the feature owner. Second to that, for network interfaces mapped to a particular VM, is there a way for the VM to be able to properly detect physical link state of that interface? Right now that's a 'configurable option' inside network interface settings on the VM in the manager (ie, plugged, not plugged, and link state up /down) If I'm not mistaken, once you have direct access to the PCI device you'll be able to query for its actual state using e.g. ethtool. Thanks, David ___ 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] Restore VMs after engine fail
Hi Tolik! My storage is a FC array. This array have 12 disks with 1 volume identified by LUN ID. I think this volume on the RAW format. Can i mount this like NFS? 16.02.2015, 11:04, "Tolik Litovsky" tlito...@redhat.com:Hi Can you take a look at your storage and try to find the disk there.It seems that they got lost and the engine cant find them.If you can find them its possible to tie them back (the data seats on the disks)Just search for those big qcow2 files or ovf ones.Tolik Litovsky+972542277403- Original Message - From: "Николаев Алексей" alexeynikolaev.p...@yandex.ru To: users@ovirt.org Sent: Friday, 13 February, 2015 9:43:50 PM Subject: [ovirt-users] Restore VMs after engine fail Hi community! I have instance with 3 nodes: 2 nodes as hypervisors and 1 node as engine. Data domain is FC array. The node with engine was fail to boot. After it i have made a fresh install of the engine. And import a data domain. But only 1 VM was restored. Another 2 VMs have no disks. What i can do to restore the VMs? ___ 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] why is it called vdsm?
Well I would like to not call it ovirt-agent because there already is the ovirt-guest_agent, so they could get confused by new users. I really don't know if a new name is necessary at all. What do you think are advantages? Disadvantages are: 1. waste of time for searching a new name (already happens in this discussion). 2. breakage if you search for the old/new name : you might end up with just half the relevant results because you used the old/new name. On 13/02/15 17:08, Greg Sheremeta wrote: I like ovirt-agent, but almost anything other than vdsm will be nicer :) -- 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] why is it called vdsm?
On Mon, Feb 16, 2015 at 10:52 AM, Sven Kieske s.kie...@mittwald.de wrote: I really don't know if a new name is necessary at all. +1 I didn't know at all the origin of the acronym, but I already knew what it does... so no value added in my opinion ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Client-quorum not met - Distributed-Replicate gluster volume
Hi, I've set up 4 oVirt nodes with Gluster storage to provide high available virtual machines. The Gluster volumes are Distributed-Replicate with a replica count of 2. The extra volume options are configured: cat /var/lib/glusterd/groups/virt quick-read=off read-ahead=off io-cache=off stat-prefetch=off eager-lock=enable remote-dio=enable quorum-type=auto server-quorum-type=server Volume for the self-hosted engine: gluster volume info engine Volume Name: engine Type: Distributed-Replicate Volume ID: 9e7a3265-1e91-46e1-a0ba-09c5cc1fc1c1 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: gluster004:/gluster/engine/004 Brick2: gluster005:/gluster/engine/005 Brick3: gluster006:/gluster/engine/006 Brick4: gluster007:/gluster/engine/007 Options Reconfigured: cluster.quorum-type: auto storage.owner-gid: 36 storage.owner-uid: 36 cluster.server-quorum-type: server network.remote-dio: enable cluster.eager-lock: enable performance.stat-prefetch: off performance.io-cache: off performance.read-ahead: off performance.quick-read: off network.ping-timeout: 10 Volume for the virtual machines: gluster volume info data Volume Name: data Type: Distributed-Replicate Volume ID: 896db323-7ac4-4023-82a6-a8815a4d06b4 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: gluster004:/gluster/data/004 Brick2: gluster005:/gluster/data/005 Brick3: gluster006:/gluster/data/006 Brick4: gluster007:/gluster/data/007 Options Reconfigured: cluster.quorum-type: auto performance.quick-read: off performance.read-ahead: off performance.io-cache: off performance.stat-prefetch: off cluster.eager-lock: enable network.remote-dio: enable storage.owner-uid: 36 storage.owner-gid: 36 cluster.server-quorum-type: server network.ping-timeout: 10 Everything seems to be working fine. However, when I stop the storage network on gluster004 or gluster006, client-quorum is lost. Client-quorum isn't lost when the storage network is stopped on gluster005 or gluster007. [2015-02-16 07:05:58.541531] W [MSGID: 108001] [afr-common.c:3635:afr_notify] 0-data-replicate-1: Client-quorum is not met [2015-02-16 07:05:58.541579] W [MSGID: 108001] [afr-common.c:3635:afr_notify] 0-engine-replicate-1: Client-quorum is not met And as a result, the volumes are read-only and the VM's are paused. I've added a dummy gluster node for quorum use (no bricks, only running glusterd), but that didn't help. gluster peer status Number of Peers: 4 Hostname: gluster005 Uuid: 6c5253b4-b1c6-4d0a-9e6b-1f3efc1e8086 State: Peer in Cluster (Connected) Hostname: gluster006 Uuid: 4b3d15c4-2de0-4d2e-aa4c-3981e47dadbd State: Peer in Cluster (Connected) Hostname: gluster007 Uuid: 165e9ada-addb-496e-abf7-4a4efda4d5d3 State: Peer in Cluster (Connected) Hostname: glusterdummy Uuid: 3ef8177b-2394-429b-a58e-ecf0f6ce79a0 State: Peer in Cluster (Connected) The 4 nodes are running CentOS 7, with the following oVirt / Gluster packages: glusterfs-3.6.2-1.el7.x86_64 glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-rdma-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 ovirt-engine-sdk-python-3.5.1.0-1.el7.centos.noarch ovirt-host-deploy-1.3.1-1.el7.noarch ovirt-hosted-engine-ha-1.2.5-1.el7.centos.noarch ovirt-hosted-engine-setup-1.2.2-1.el7.centos.noarch vdsm-gluster-4.16.10-8.gitc937927.el7.noarch The self-hosted engine is running CentOS 6 with ovirt-engine-3.5.1-1.el6.noarch Regards, Wesley ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Directly connect NIC or other cards to VM?
- Original Message - From: Lior Vernia lver...@redhat.com To: David Smith dsm...@mypchelp.com Cc: users users@ovirt.org, Martin Polednik mpole...@redhat.com Sent: Monday, February 16, 2015 9:15:41 AM Subject: Re: [ovirt-users] Directly connect NIC or other cards to VM? Hi David, On 13/02/15 01:28, David Smith wrote: Is there a way to directly connect a specific device (ie, NIC) to a particular VM? I've figured out how to map a specific network interface to a VM, thats one step, but in the end I may need direct access to the PCI device itself. I think this 3.6 feature might do exactly what you want: http://www.ovirt.org/Features/hostdev_passthrough It's gonna be a while before 3.6 is out, but once the feature is merged it'll be available if you install the nightly snapshot. CCing Martin Polednik, the feature owner. Hello, just on the status of the feature (as it's exactly what you require - direct pci device attachment) - the host side is hopefully ~week away from being ready, the UI side will take longer though - if you wanted, you could probably run nightly and spawn the VM yourself and treat is as external VM. CCing Martin Betak, who is the one to blame for the UI :) You also need RHEL 7 (ideal support will be in 7.1) and I suggest reading the chapter on IOMMU groups, as you might need to block (detach from host) other devices than the nic in order to get it passed through. Second to that, for network interfaces mapped to a particular VM, is there a way for the VM to be able to properly detect physical link state of that interface? Right now that's a 'configurable option' inside network interface settings on the VM in the manager (ie, plugged, not plugged, and link state up /down) If I'm not mistaken, once you have direct access to the PCI device you'll be able to query for its actual state using e.g. ethtool. Thanks, David ___ 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