Re: [Users] about live snapshot and qemu-kvm
- Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Ayal Baron aba...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, December 25, 2013 5:34:25 AM Subject: Re: [Users] about live snapshot and qemu-kvm Yes, but is the reason of different versions something you can share or not? Just to let the people understand.. Perhaps something related to compatibilities to maintain with 6.0 initial release due to policies red hat uses? I think duplicating the maintenance effort is negative for red hat too.. Or not? There are a few packages in RHEL that we need to move more quickly that would be possible within the RHEL policies. OpenvSwitch and QEMU are two such packages. The version of QEMU in RHEL started on 0.12 and has since had a large amount of backported features and bugfixes in many cases the backports were significant, perhaps more than should have been done. We're getting to the point that in future versions of RHEL we're likely to carry a newer version of packages like QEMU in the layered products (such as RHEV and RHEL-OSP) so that we can keep the base versions in RHEL and more aggressively rebase in the layered products. The qemu-kvm-rhev binary that's shipped in RHEV is built from the same source as qemu-kvm but with a different build option. If CentOS doesn't currently build that package it could easily be done or perhaps built by oVirt. Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Map disk UUID to guest or disk name?
- Original Message - From: Blaster blas...@556nato.com To: users@ovirt.org Sent: Saturday, December 28, 2013 6:09:01 AM Subject: [Users] Map disk UUID to guest or disk name? On an Ovirt datastore the disk image names for the guests are named with an unfriendly UUID name. Is there any way to map that back to the human readable name given int the GUI? Disks main-tab contains an ID column for disks' GUIDs, try mapping the disk name using that. It would be nice if this name was dropped in as a field in the .meta file. I see there is a DESCRIPTION= field, but it’s blank. I tried updating the description in the GUI, but it’s still blank (bug, or do I have to update something? I tried deact/activate the disk and it still didn’t update…) I've tried updating disk's description with latest bits and it seems to work fine.. Can you please attach the relevant engine logs for further investigation. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] different data types on single node
Hi Neil, You need at least one host for each DC. You can always set your host to maintenance, and edit it (change the DC). - Original Message - From: Neil Schulz neil.sch...@neteasy.us To: users@ovirt.org Sent: Thursday, December 26, 2013 7:45:22 PM Subject: [Users] different data types on single node I am trying to test the performance of iSCSI and NFS on our system. However, I just discovered I have to have a new datacenter for each data type. Does this mean it's a single DC for each host? Is it possible to have a host use multiple data centers for different storage types? Than you, Neil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] python-sdk : how to modify a vm to Run on a Specific host and set Migration Options
Hi, take a look at vm.start.__doc__ it should have all the answers you're looking for, as about migrate options, these two [1] are responsible for pinning vm to specific host, possible options for the 'affinity' can be seen at vm_affinities [2]. [1] [@param action.vm.placement_policy.host.id|name: string] [@param action.vm.placement_policy.affinity: string] [2] http[s]://host[:port]/api/capabilities On 12/27/2013 11:54 PM, karthik S wrote: Dear Users, I am karthik, based in Mountain View, CA. I have been using python ovirtsdk for QA Automation tests for RHEV-M for past two months. My knowledge on ovirtsdk is intermittent at this stage. I want to do the below actions that we do on rhev-M using python ovirtsdk. On, RHEV-M UI 1) right click a offline VM Edit Host Run On: Specific . choose a hostname 2) right click a offline VM Edit Host Migration Options: Do not allow migration python Code: == 1) The VM was imported from export domain to my storage_domain using the code def import_vm(self, source_vm_name, dest_vm_name, storage_domain_name, rhev_host_name=None, cluster_name=Default, async=False): Import VM From a Export domain into your storage domain timeoutSec=1800 pollInterval=2 exportStorageDomain = self.api.storagedomains.list(type_=export)[0] actionParams = params.Action( storage_domain=self.api.storagedomains.get(storage_domain_name), cluster=self.api.clusters.get(Default), clone=1, vm = params.VM (name=dest_vm_name, snapshots=params.Snapshots(collapse_snapshots=1), disks = params.Disks(clone = 1), host = params.Host(name=rhev_host_name) )) exportStorageDomain.vms.get(source_vm_name).import_vm(actionParams) start = time.time() while self.api.vms.get(dest_vm_name).status.state != 'down': if time.time() - start timeoutSec: raise Exception(Timed out (%s) waiting for %s to obtain down status % (timeoutSec, vm_name)) time.sleep(pollInterval) return self.api.vms.get(name=dest_vm_name)[0] Issue : Upon import, this method did not set the Run as to the specified host but Run as was set to Any host in the cluster. Am I missing something ? 2) Secondly, I tried modifying the VM Run as hostname with the below code api = API (url = xx , username =XX, pasword =XX, ca_file = ca) vm_obj = api.vms.list(name=test_vm_101)[0] vm_obj.set_host=rhev1 vm_obj.update() This did not help either. Seems I am missing something.. 3) finally how to set Migration Options ? Your help would appreciated and will help me to get greater understanding of the SDK itself. Thanks, Karthik ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users