Re: [ovirt-users] How to create a vm cloned independent from python sdk
thanks! Best regards Amedeo Salvati Da Juan Hernández jhern...@redhat.com A Amedeo Salvati ame...@oscert.net, users@ovirt.org Cc Data Wed, 10 Dec 2014 19:12:31 +0100 Oggetto Re: [ovirt-users] How to create a vm cloned independent from python sdk On 12/10/2014 05:11 PM, Amedeo Salvati wrote: Hello all, I'm trying to create a new VM using python sdk with it's disks cloned/independent and not on thin provisioning, when I create vm I use template (that has a preallocated disks), and I use this code to create a vm: api.vms.add(params.VM(name=VMNAME, memory=MEM*GB, cluster=api.clusters.get(CLUSTER), template=api.templates.get(templatename), description='PROVA' )) if I use web portal I'm able to preallocate/clone disks under resource allocation tab (New VM - resource allocation), instead I can't found same operations on python sdk... someone can let me know what params I should pass to api.vms.add to clone disks? Best regards Amedeo Salvati To specify that you want to clone the disks (the default is to not clone them) you need an additional disks parameter with the clone=True attribute: api.vms.add( params.VM( vmname=VMNAME, memory=MEM*GB, cluster=..., template=..., description=..., disks=params.Disks( clone=True ) ) ) -- 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] oVirt power management issue
Hi Eli, About System Model Number : AP7920 Serial Number : [redacted] NMC Serial Number : [redacted] Manufacture Date : 03/01/2005 Hardware Revision : B2 MAC Address : [redacted] Flash Type: AMD A29DL322DB Module Information -- Description : Rack PDU APP Name: rpdu Type: StatApp Version : 370 Sector : 16 Date: 01/13/2009 Time: 15:30:40 CRC16 : 5843 Description : Network Management Card AOS Name: aos Type: APC OS Version : 370 Sector : 47 Date: 01/13/2009 Time: 14:17:08 CRC16 : 2B5D Kind regards, Wout - Oorspronkelijk bericht - Van: Eli Mesika emes...@redhat.com Aan: Wout Peeters w...@unix-solutions.be Cc: users@ovirt.org Verzonden: Woensdag 10 december 2014 21:28:22 Onderwerp: Re: [ovirt-users] oVirt power management issue - Original Message - From: Wout Peeters w...@unix-solutions.be To: Eli Mesika emes...@redhat.com Cc: users@ovirt.org Sent: Wednesday, December 10, 2014 2:53:33 PM Subject: Re: [ovirt-users] oVirt power management issue Hi Eli, When we enter the following data into the webGUI and press Test: Address = [ip-address] User Name = apc Password = [password] Type = apc SSH Port = 22 Slot = 1 Options = [empty] Secure = [box checked] It shows up in the vdsm.log as follows: addr=[ip-address],port=,agent=apc,user=[user],passwd=,action=status,secure=False,options=,policy=None The 'port=', 'secure=' and 'options=' fields seem to remain unchanged, regardless of our input. Hi Which APC version is used ??? I am getting to the conclusion that I must debug that in order to get an idea what is going on Kind Regards, Wout - Oorspronkelijk bericht - Van: Eli Mesika emes...@redhat.com Aan: Wout Peeters w...@unix-solutions.be Cc: users@ovirt.org Verzonden: Woensdag 10 december 2014 12:54:56 Onderwerp: Re: [ovirt-users] oVirt power management issue - Original Message - From: Wout Peeters w...@unix-solutions.be To: Eli Mesika emes...@redhat.com Cc: users@ovirt.org Sent: Tuesday, December 9, 2014 2:59:41 PM Subject: Re: [ovirt-users] oVirt power management issue Hi Eli, The compatibility version of the cluster in which the proxy host resides is 3.5 . Hi Looking again in your VDSM log is see this fenceNode(addr=***.***.***.***,port=,agent=apc,user=apc,passwd=,action=status,secure=False,options=,policy=None) But when you invoked it directly you had wrote : fence_apc -a ***.***.***.*** -l apc -p ** -o status -n 1 -x So, this required a secured connection while you sent ,secure=False from UI Can you please check that the secure checkbox is checked in the UI for this PM agents and retry ? Kind regards, Wout - Oorspronkelijk bericht - Van: Eli Mesika emes...@redhat.com Aan: Wout Peeters w...@unix-solutions.be Cc: users@ovirt.org Verzonden: Maandag 8 december 2014 22:06:23 Onderwerp: Re: [ovirt-users] oVirt power management issue - Original Message - From: Wout Peeters w...@unix-solutions.be To: emes...@redhat.com Cc: users@ovirt.org Sent: Monday, December 8, 2014 12:01:10 PM Subject: Fwd: [ovirt-users] oVirt power management issue Hi Eli, Thanks for the response. Attached are engine.log and vdsm.log from the host serving as a proxy. Our CPUs are Intel Nehalem-based. We encounter the same problem using apc_snmp. This is the output of the rpm-commands: rpm -qa | grep vdsm vdsm-yajsonrpc-4.16.7-1.gitdb83943.el7.noarch vdsm-4.16.7-1.gitdb83943.el7.x86_64 vdsm-xmlrpc-4.16.7-1.gitdb83943.el7.noarch vdsm-python-zombiereaper-4.16.7-1.gitdb83943.el7.noarch vdsm-jsonrpc-4.16.7-1.gitdb83943.el7.noarch vdsm-cli-4.16.7-1.gitdb83943.el7.noarch vdsm-python-4.16.7-1.gitdb83943.el7.noarch rpm -qa | grep fence-agents fence-agents-hpblade-4.0.2-21.el7.x86_64 fence-agents-cisco-ucs-4.0.2-21.el7.x86_64 fence-agents-eaton-snmp-4.0.2-21.el7.x86_64 fence-agents-apc-4.0.2-21.el7.x86_64 fence-agents-rsb-4.0.2-21.el7.x86_64 fence-agents-ilo-mp-4.0.2-21.el7.x86_64 fence-agents-ifmib-4.0.2-21.el7.x86_64 fence-agents-cisco-mds-4.0.2-21.el7.x86_64 fence-agents-all-4.0.2-21.el7.x86_64 fence-agents-common-4.0.2-21.el7.x86_64 fence-agents-rhevm-4.0.2-21.el7.x86_64 fence-agents-eps-4.0.2-21.el7.x86_64 fence-agents-bladecenter-4.0.2-21.el7.x86_64 fence-agents-intelmodular-4.0.2-21.el7.x86_64 fence-agents-apc-snmp-4.0.2-21.el7.x86_64 fence-agents-ilo2-4.0.2-21.el7.x86_64 fence-agents-ipmilan-4.0.2-21.el7.x86_64 fence-agents-scsi-4.0.2-21.el7.x86_64 fence-agents-brocade-4.0.2-21.el7.x86_64 fence-agents-wti-4.0.2-21.el7.x86_64 fence-agents-kdump-4.0.2-21.el7.x86_64 fence-agents-ibmblade-4.0.2-21.el7.x86_64
Re: [ovirt-users] Does Ovirt Support Nested VM?
- Original Message - From: Joop van de Wege jvdw...@xs4all.nl To: Chao Xie xiec.f...@cn.fujitsu.com, users@ovirt.org Sent: Thursday, December 11, 2014 7:49:01 AM Subject: Re: [ovirt-users] Does Ovirt Support Nested VM? Xie, Chao xiec.f...@cn.fujitsu.com schreef op 11 december 2014 04:54:12 CET: Hi, All I build a Ovirt Environment and want to use a VM in the Ovirt as Hypervisor. But it prompt “can’t be virtuliaze” . But I remember CENTOS support Nested VM and IMO the Ovirt should support ,too. Does Somesone know how to set? Yes it does. Look for vdsm-nestedvt if I remember correctly. It's a vdsm hook you need to install on every host. You also need vdsm-hook-macspoof if you want to permit network traffic from your inner VM. Here you can found some configuration hints: http://www.ovirt.org/Vdsm_Hooks Simone ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Questions regarding neutron implementation for oVirt 3.5
- Original Message - From: Andrew Brimer abri...@pearlnet.com To: Moti Asayag masa...@redhat.com Cc: users@ovirt.org Sent: Thursday, December 11, 2014 1:04:46 AM Subject: RE: Questions regarding neutron implementation for oVirt 3.5 Hi Modi, In the discussion found at https://bugzilla.redhat.com/show_bug.cgi?id=1064231 Comment #12 states that the fedora Jackson package will not make a difference because the Jackson jar files pre-packaged in JBoss is what is actually used for this. Is that a true statement in your opinion? If so, how can I locate the appropriate jar and then what is the path in the oVirt Engine that I need to place that/those jar file(s) into? Adding Juan to verify the suggested sequence, and to verify no better alternative is available. In order to upgrade the jackson module version, you should replace both the .jar files and edit each module.xml of the corresponding jar file: The files which should be replaced could be identified by: $ find /usr/share/jboss-as-7.1.1.Final/modules -name jackson*.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/jackson-jaxrs-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/jackson-mapper-asl-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/jackson-xc-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/jackson-core-asl-1.9.2.jar Jar files can be downloaded from maven repository: http://central.maven.org/maven2/org/codehaus/jackson/jackson-jaxrs/1.9.9/jackson-jaxrs-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-xc/1.9.9/jackson-xc-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-mapper-asl/1.9.9/jackson-mapper-asl-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.9.9/jackson-core-asl-1.9.9.jar After the replacement, you should have the following: /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/jackson-jaxrs-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/jackson-mapper-asl-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/jackson-xc-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/jackson-core-asl-1.9.9.jar Next, update the module.xml version from 1.9.2 to 1.9.9 files detected by: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/module.xml: resource-root path=jackson-jaxrs-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/module.xml: resource-root path=jackson-mapper-asl-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/module.xml: resource-root path=jackson-xc-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/module.xml: resource-root path=jackson-core-asl-1.9.2.jar/ for example, by editing them in place by: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml -exec sed 's/1.9.9/1.9.2/' {} \; And verify the output is: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml | xargs grep 1\.9 /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/module.xml: resource-root path=jackson-jaxrs-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/module.xml: resource-root path=jackson-mapper-asl-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/module.xml: resource-root path=jackson-xc-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/module.xml: resource-root path=jackson-core-asl-1.9.9.jar/ Last thing is either rename the .jar.index file names to match the new version or remove them, so jboss will auto-generate them. $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name .jar.index Am I on the right track? What is your advice? Kind Regards, Andrew Brimer -Original Message- From: Moti Asayag [mailto:masa...@redhat.com] Sent: Wednesday, December 10, 2014 4:16 PM To: Andrew Brimer Cc: users@ovirt.org Subject: Re: Questions regarding neutron implementation for oVirt 3.5 - Original Message - From: Andrew Brimer abri...@pearlnet.com To: Moti Asayag masa...@redhat.com Sent: Wednesday, December 10, 2014 5:55:31 PM Subject: RE: Questions regarding neutron implementation for oVirt 3.5 Hi Moti, Yes. I did not consider sending this out in a way that everyone would benefit, sorry. This is the first time that I have posted a question for oVirt
Re: [ovirt-users] [ovirt-devel] 3.5.1 RC schedule [was Re: oVirt Weekly Sync Meeting: Dec. 10, 2014]
On Thu, Dec 11, 2014 at 08:36:46AM +0100, Sandro Bonazzola wrote: Il 10/12/2014 16:54, Brian Proffitt ha scritto: (On time this week!) = #ovirt: oVirt Weekly Sync = [cut] * 3.5.z updates Two blockers have postponed RC again. New RC date will be discussed and decided in mailing list. (bkp, 15:30:01) [cut] Let's start the discussion and decision task. We have an ETA on the last pending blocker for 3.5.1 on next week. I suggest to postpone RC and GA after winter holidays. What about: RC - 2015-01-07 GA - 2015-01-14 Can we have a vdsm respin before that? We get repeated reports of bugs that are already solved in the stable branch. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Don't start vm
- Original Message - From: Roman Nikolayevich Drovalev drova...@kaluga-gov.ru To: Nir Soffer nsof...@redhat.com, Users@ovirt.org List users@ovirt.org Sent: Thursday, December 11, 2014 8:38:30 AM Subject: Re: [ovirt-users] Don't start vm Nir Soffer nsof...@redhat.com написано 11.12.2014 10:02:02: Hi, I attach the file. Below log in the vdsm.log.62.xz The given nonexistent disk has probably appeared after template removal from which it has been created. BUT it was independent and before problems was not, after template removal! The disk exists, but at it has changed ID! I don't understand this description. Can you describe to steps to reproduce this issue? Guessing from your description: 1. Create vm with x disks 2. Create template 3. Create vm from template 4. Remove template ? Yes. 1. Create vm with x disks on the DS 3524 through FC (multipathd on vdsm) 2. Create template 3. Create vm (independent) from template 4. Start vm and job in the vm 5. Remove template 6. Stop vm 7. Don`t start vm with error Do you mean - start vm fail with error about missing lv? 8. seek it disk - #lsblk Can you share the output of lsblk both before and after you stop the vm? 9. many command with block 253:20 Not sure what do you mean by that (kpartx -l /dev/ ..,kpartx -a /dev You should not use kpartx on vdsm volumes, the host does not care about partitions in the volumes. Only the guest should access them. ..,lvm pvscan , lvm vgchange -a y , ...) On CentOS 7 (and Fedora), lvm is using now lvmetad daemon to cache lvm meta data. Unless you refresh the cache or disable usage of the daemon, lvm commands may return stale data. To refresh the cache, you can do: pvscan --cache Before running commands such as lvs, vgs or pvs To disable usage of lvmetad (this is how vdsm operates): lvs --config global {use_lvmetad=0} Note: do *not* activate all lvs using vgchange -a y Only vdsm should activate its volumes. 10. mount finded lvm in lvm volume and save data Mount? how mount is related to lvm? 12. reboot all vdsm host 13. dont't find ID it disk! ID it disk changed! Please share output of lvs both before and after the vm is stopped. Nir ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] vm has paused due to unknown storage error
On Thu, Dec 11, 2014 at 03:41:01PM +0800, Punit Dambiwal wrote: Hi, Suddenly all of my VM on one host paused with the following error :- vm has paused due to unknown storage error I am using glusterfs storage with distributed replicate replica=2my storage and compute both running on the same node... engine logs :- http://ur1.ca/j31iu Host logs :- http://ur1.ca/j31kk(I grep it for one Failed VM) libvirtEventLoop::INFO::2014-12-11 15:00:48,627::vm::4780::vm.Vm::(_onIOError) vmId=`e84bb987-a817-436a-9417-8eab9148e57e`::abnormal vm stop device virtio-disk0 error eother Which type of storage is it? gluster? Do you have anything in particular on glusterfs logs? Which glusterfs/qemu/libvirt/vdsm versions do you have installed? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Questions regarding neutron implementation for oVirt 3.5
On 12/11/2014 09:56 AM, Moti Asayag wrote: - Original Message - From: Andrew Brimer abri...@pearlnet.com To: Moti Asayag masa...@redhat.com Cc: users@ovirt.org Sent: Thursday, December 11, 2014 1:04:46 AM Subject: RE: Questions regarding neutron implementation for oVirt 3.5 Hi Modi, In the discussion found at https://bugzilla.redhat.com/show_bug.cgi?id=1064231 Comment #12 states that the fedora Jackson package will not make a difference because the Jackson jar files pre-packaged in JBoss is what is actually used for this. Is that a true statement in your opinion? If so, how can I locate the appropriate jar and then what is the path in the oVirt Engine that I need to place that/those jar file(s) into? Adding Juan to verify the suggested sequence, and to verify no better alternative is available. In order to upgrade the jackson module version, you should replace both the .jar files and edit each module.xml of the corresponding jar file: The files which should be replaced could be identified by: $ find /usr/share/jboss-as-7.1.1.Final/modules -name jackson*.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/jackson-jaxrs-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/jackson-mapper-asl-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/jackson-xc-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/jackson-core-asl-1.9.2.jar Jar files can be downloaded from maven repository: http://central.maven.org/maven2/org/codehaus/jackson/jackson-jaxrs/1.9.9/jackson-jaxrs-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-xc/1.9.9/jackson-xc-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-mapper-asl/1.9.9/jackson-mapper-asl-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.9.9/jackson-core-asl-1.9.9.jar After the replacement, you should have the following: /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/jackson-jaxrs-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/jackson-mapper-asl-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/jackson-xc-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/jackson-core-asl-1.9.9.jar Next, update the module.xml version from 1.9.2 to 1.9.9 files detected by: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/module.xml: resource-root path=jackson-jaxrs-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/module.xml: resource-root path=jackson-mapper-asl-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/module.xml: resource-root path=jackson-xc-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/module.xml: resource-root path=jackson-core-asl-1.9.2.jar/ for example, by editing them in place by: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml -exec sed 's/1.9.9/1.9.2/' {} \; And verify the output is: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml | xargs grep 1\.9 /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/module.xml: resource-root path=jackson-jaxrs-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/module.xml: resource-root path=jackson-mapper-asl-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/module.xml: resource-root path=jackson-xc-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/module.xml: resource-root path=jackson-core-asl-1.9.9.jar/ Last thing is either rename the .jar.index file names to match the new version or remove them, so jboss will auto-generate them. $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name .jar.index If you are using Fedora 20 then you are also using the ovirt-engine-jboss-as package. That is a repackaging of JBoss AS 7.1.1 needed because Fedora 20 ships with WildFly, and we don't support it. What is relevant for you is that the location of the files is not /usr/share/jboss-as-7.1.1.Final but /usr/share/ovirt-engine-jboss-as. Other than that the instructions provided by Moti are correct. However the modifications of those files will be lost when the ovirt-engine-jboss-as package is updated (unlikely). I'd suggest to create a new module from scratch, in the /usr/share/ovirt-engine/modules/common directory. I
Re: [ovirt-users] webui typo
- Original Message - From: Alon Bar-Lev alo...@redhat.com To: Scott Worthington scott.c.worthing...@gmail.com Cc: users@ovirt.org Sent: Thursday, December 11, 2014 12:21:38 AM Subject: Re: [ovirt-users] webui typo - Original Message - From: Scott Worthington scott.c.worthing...@gmail.com To: users@ovirt.org Sent: Thursday, December 11, 2014 12:18:58 AM Subject: [ovirt-users] webui typo I'm not certain where the code is that contains this typo, but Live Snapsnot Support should read Live Snapshot Support I am running ovirt-engine-3.5.0.1-1.el6 I found some files that contained Snapsnot in here: /usr/share/ovirt-engine/engine.ear/webadmin.war/deferredjs/ Should I open a bz? git grep -i Live Snapsnot Support frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/ApplicationConstants_de_DE.properties:liveSnapshotSupportHostGeneral=Live Snapsnot Support seems that it is only in the DE translation file ... Einav? Sure. ___ 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] spice thin clients for VDI
Hi, We've been talking to a lot of thin client hardware vendors in the last weeks. And the general trend I see that when we talk about RHEV/oVirt support, most have advised against using spice for VDI due to high network usage and spotty performance. One of them is willing to have his engineers to look at it again but he want's to know if there have been any performance improvements since RHEV 3.1. They looked at it then and found it not to be a viable option for VDI. Information about spice is pretty hard to find and I don't feel like trawling through the spice-devel mailinglist archives today. And I see this on the wiki as still to do: This page includes a lot of features spice could use. It's an accumulation of both meetings and over the years added ideas. It is a jumbled mess. The feature pages are also not all that up to date. On the bright side, it can all be fixed - if you are in charge of a feature please try to update it! if you know something has been updated in code please fix it here! Ideas Performance * Protocol changes / optimizations http://www.spice-space.org/page/ProtocolChanges * Improving performance http://www.spice-space.org/page/EnhancePerf * Faster compression http://www.spice-space.org/page/Features/Faster_compression * Bandwidth monitoring http://www.spice-space.org/page/Features/Bandwidth_monitoring * advanced caching (proxy cache persistent cache) * encoded audio/video pass-through http://www.spice-space.org/page/Features/CodecPassthrough (marc) * redirect media streams to by-pass VDI server http://www.spice-space.org/page/Features/MediaRedirection (fedor) Is anyone using spice thin clients + ovirt for VDI and what are the experiences? Or does someone have some recent info about improvements being implemented in the spice code? Kind regards, Jorick Astrego Met vriendelijke groet, With kind regards, Jorick Astrego Netbulae Virtualization Experts Tel: 053 20 30 270 i...@netbulae.euStaalsteden 4-3A KvK 08198180 Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] how to rename disk alias on python sdk
Hello all, I want to rename a disk alias using python sdk, but I cannot find an update method for object returned from api.disks.get (like cdrom, vm, datacenter objects). Simplified code is: d1 = api.disks.get(id=7408f728-97e5-4b10-beb7-d9a70083797e) d1.get_alias() 'FSBOVRHEL66TMP-1412_Disk1' -- OLD alias d1.set_alias('PIPPO_Disk1') d1.get_alias() 'PIPPO_Disk1' -- NEW alias but after that I cannot find a method like d1.update() to commit changes of disk object, what I miss? Best regards Amedeo Salvati ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] how to rename disk alias on python sdk
Hi, update method has now only vm disk, not floating disk. Ondra - Original Message - From: Amedeo Salvati ame...@oscert.net To: users@ovirt.org Sent: Thursday, December 11, 2014 11:29:07 AM Subject: [ovirt-users] how to rename disk alias on python sdk Hello all, I want to rename a disk alias using python sdk, but I cannot find an update method for object returned from api.disks.get (like cdrom, vm, datacenter objects). Simplified code is: d1 = api.disks.get(id=7408f728-97e5-4b10-beb7-d9a70083797e) d1.get_alias() 'FSBOVRHEL66TMP-1412_Disk1' -- OLD alias d1.set_alias('PIPPO_Disk1') d1.get_alias() 'PIPPO_Disk1' -- NEW alias but after that I cannot find a method like d1.update() to commit changes of disk object, what I miss? Best regards Amedeo Salvati ___ 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] how to rename disk alias on python sdk
On Thu, 2014-12-11 at 11:29 +0100, Amedeo Salvati wrote: Hello all, I want to rename a disk alias using python sdk, but I cannot find an update method for object returned from api.disks.get (like cdrom, vm, datacenter objects). Simplified code is: d1 = api.disks.get(id=7408f728-97e5-4b10-beb7-d9a70083797e) d1.get_alias() 'FSBOVRHEL66TMP-1412_Disk1' -- OLD alias d1.set_alias('PIPPO_Disk1') d1.get_alias() 'PIPPO_Disk1' -- NEW alias but after that I cannot find a method like d1.update() to commit changes of disk object, what I miss? Best regards Amedeo Salvati plain text document attachment (ATT1) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users This is how we do it: DISK_NAME = '%s_Disk1' % (VM_NAME) try: vm = api.vms.get(VM_NAME) vmdisk = vm.disks.list()[0] vmdisk.alias = '%s' % (DISK_NAME) vmdisk.update() except Exception as e: raise(e) -- Med Vänliga Hälsningar --- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjob...@slu.se ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] how to rename disk alias on python sdk
On 12/11/2014 11:29 AM, Amedeo Salvati wrote: Hello all, I want to rename a disk alias using python sdk, but I cannot find an update method for object returned from api.disks.get (like cdrom, vm, datacenter objects). Simplified code is: d1 = api.disks.get(id=7408f728-97e5-4b10-beb7-d9a70083797e) d1.get_alias() 'FSBOVRHEL66TMP-1412_Disk1' -- OLD alias d1.set_alias('PIPPO_Disk1') d1.get_alias() 'PIPPO_Disk1' -- NEW alias but after that I cannot find a method like d1.update() to commit changes of disk object, what I miss? Best regards Amedeo Salvati The problem is that the top level disks collection doesn't support the update operation, thus it isn't available in the SDK. You will have to do it via the VM disks collection: vm = api.vms.get(name=myvm) disk = vm.disks.get(id=...) disk.set_alias(newalias) disk.update() -- 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] Problems while adding external event to ovirt
Hi Eli, Yes this is newly created 3.5 environment with engine-setup. 2014-12-11 17:13 GMT+08:00 Eli Mesika emes...@redhat.com: - Original Message - From: Oved Ourfali ov...@redhat.com To: plysan ply...@gmail.com, Eli Mesika emes...@redhat.com Cc: Users@ovirt.org List users@ovirt.org Sent: Thursday, December 11, 2014 9:48:32 AM Subject: Re: [ovirt-users] Problems while adding external event to ovirt According to the log he is looking for the INJECT_EXTERNAL_EVENTS action group, on the System. I guess it means this action group isn't part of the SuperUser role. Eli - you commit ecd7658c42b799d8632372de9fc6695a22705435 shows you added this action group, but not added to the SuperUser role. What was the reason for that? I also don't see an option to add this action group to roles. Maybe only the API supports creating a new custom role with this action group. Thanks, Oved - Original Message - From: plysan ply...@gmail.com To: Users@ovirt.org List users@ovirt.org Sent: Thursday, December 11, 2014 9:20:34 AM Subject: Re: [ovirt-users] Problems while adding external event to ovirt Oh, forgot the environment: ovirt-engine-backend-3.5.1-0.0.master.20141112062025.git2c24911.el6.noarch ovirt-engine-restapi-3.5.1-0.0.master.20141112062025.git2c24911.el6.noarch 2014-12-11 15:18 GMT+08:00 plysan ply...@gmail.com : Hi, When I try to add an external event to ovirt using curl, I get permission issue: $ curl -X POST --insecure -u admin@internal:abc123 -H Content-Type: application/json https://192.168.3.226/ovirt-engine/api/events --data '{origin:thirdParty,severity:normal,custom_id:123,description:hello external event.}' ?xml version=1.0 encoding=UTF-8 standalone=yes? fault reasonOperation Failed/reason detail[User is not authorized to perform this action.]/detail /fault The engine.log says: 2014-12-11 14:52:33,725 INFO [org.ovirt.engine.core.bll.aaa.LoginUserCommand] (ajp--127.0.0.1-8702-7) Running command: LoginUserCommand internal: false. 2014-12-11 14:52:33,732 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin logged in. 2014-12-11 14:52:33,750 INFO [org.ovirt.engine.core.bll.AddExternalEventCommand] (ajp--127.0.0.1-8702-7) [6947ffae] No permission found for user fdfc627c-d875-11e0-90f0-83df133b58cc or one of the groups he is member of, when running action AddExternalEvent, Required permissions are: Action type: ADMIN Action group: INJECT_EXTERNAL_EVENTS Object type: System Object ID: aaa0----123456789aaa. 2014-12-11 14:52:33,751 WARN [org.ovirt.engine.core.bll.AddExternalEventCommand] (ajp--127.0.0.1-8702-7) [6947ffae] CanDoAction of action AddExternalEvent failed. Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION 2014-12-11 14:52:33,765 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0.0.1-8702-7) Operation Failed: [User is not authorized to perform this action.] 2014-12-11 14:52:33,779 INFO [org.ovirt.engine.core.bll.aaa.LogoutBySessionCommand] (ajp--127.0.0.1-8702-7) [21c639e1] Running command: LogoutBySessionCommand internal: false. 2014-12-11 14:52:33,780 INFO [org.ovirt.engine.core.bll.aaa.LogoutUserCommand] (ajp--127.0.0.1-8702-7) [6de8f467] Running command: LogoutUserCommand internal: false. 2014-12-11 14:52:33,790 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-7) [6de8f467] Correlation ID: 6de8f467, Call Stack: null, Custom Event ID: -1, Message: User admin logged out. Is this the expected behavior? Or is there anything i missed? Is this a newly created 3.5 DB ??? I suspect that maybe this is a result of 3.2 DB squashing work If this is an upgraded env please specify from and target versions Thanks thanks ___ 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] how to rename disk alias on python sdk
Ondra, Juan, Karli and all thanks! Best Regards Amedeo Salvati Da Karli Sjöberg karli.sjob...@slu.se A Amedeo Salvati ame...@oscert.net Cc users@ovirt.org users@ovirt.org Data Thu, 11 Dec 2014 11:47:57 + Oggetto Re: [ovirt-users] how to rename disk alias on python sdk On Thu, 2014-12-11 at 11:29 +0100, Amedeo Salvati wrote: Hello all, I want to rename a disk alias using python sdk, but I cannot find an update method for object returned from api.disks.get (like cdrom, vm, datacenter objects). Simplified code is: d1 = api.disks.get(id=7408f728-97e5-4b10-beb7-d9a70083797e) d1.get_alias() 'FSBOVRHEL66TMP-1412_Disk1' -- OLD alias d1.set_alias('PIPPO_Disk1') d1.get_alias() 'PIPPO_Disk1' -- NEW alias but after that I cannot find a method like d1.update() to commit changes of disk object, what I miss? Best regards Amedeo Salvati plain text document attachment (ATT1) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users This is how we do it: DISK_NAME = '%s_Disk1' % (VM_NAME) try: vm = api.vms.get(VM_NAME) vmdisk = vm.disks.list()[0] vmdisk.alias = '%s' % (DISK_NAME) vmdisk.update() except Exception as e: raise(e) -- Med Vänliga Hälsningar --- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjob...@slu.se ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problems while adding external event to ovirt
- Original Message - From: plysan ply...@gmail.com To: Eli Mesika emes...@redhat.com Cc: Users@ovirt.org List users@ovirt.org, Oved Ourfali ov...@redhat.com Sent: Thursday, December 11, 2014 2:28:41 PM Subject: Re: [ovirt-users] Problems while adding external event to ovirt Hi Eli, Yes this is newly created 3.5 environment with engine-setup. Thanks, I should check then the DB squash of 3.2 Will keep you updated with that Regards Eli 2014-12-11 17:13 GMT+08:00 Eli Mesika emes...@redhat.com: - Original Message - From: Oved Ourfali ov...@redhat.com To: plysan ply...@gmail.com, Eli Mesika emes...@redhat.com Cc: Users@ovirt.org List users@ovirt.org Sent: Thursday, December 11, 2014 9:48:32 AM Subject: Re: [ovirt-users] Problems while adding external event to ovirt According to the log he is looking for the INJECT_EXTERNAL_EVENTS action group, on the System. I guess it means this action group isn't part of the SuperUser role. Eli - you commit ecd7658c42b799d8632372de9fc6695a22705435 shows you added this action group, but not added to the SuperUser role. What was the reason for that? I also don't see an option to add this action group to roles. Maybe only the API supports creating a new custom role with this action group. Thanks, Oved - Original Message - From: plysan ply...@gmail.com To: Users@ovirt.org List users@ovirt.org Sent: Thursday, December 11, 2014 9:20:34 AM Subject: Re: [ovirt-users] Problems while adding external event to ovirt Oh, forgot the environment: ovirt-engine-backend-3.5.1-0.0.master.20141112062025.git2c24911.el6.noarch ovirt-engine-restapi-3.5.1-0.0.master.20141112062025.git2c24911.el6.noarch 2014-12-11 15:18 GMT+08:00 plysan ply...@gmail.com : Hi, When I try to add an external event to ovirt using curl, I get permission issue: $ curl -X POST --insecure -u admin@internal:abc123 -H Content-Type: application/json https://192.168.3.226/ovirt-engine/api/events --data '{origin:thirdParty,severity:normal,custom_id:123,description:hello external event.}' ?xml version=1.0 encoding=UTF-8 standalone=yes? fault reasonOperation Failed/reason detail[User is not authorized to perform this action.]/detail /fault The engine.log says: 2014-12-11 14:52:33,725 INFO [org.ovirt.engine.core.bll.aaa.LoginUserCommand] (ajp--127.0.0.1-8702-7) Running command: LoginUserCommand internal: false. 2014-12-11 14:52:33,732 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin logged in. 2014-12-11 14:52:33,750 INFO [org.ovirt.engine.core.bll.AddExternalEventCommand] (ajp--127.0.0.1-8702-7) [6947ffae] No permission found for user fdfc627c-d875-11e0-90f0-83df133b58cc or one of the groups he is member of, when running action AddExternalEvent, Required permissions are: Action type: ADMIN Action group: INJECT_EXTERNAL_EVENTS Object type: System Object ID: aaa0----123456789aaa. 2014-12-11 14:52:33,751 WARN [org.ovirt.engine.core.bll.AddExternalEventCommand] (ajp--127.0.0.1-8702-7) [6947ffae] CanDoAction of action AddExternalEvent failed. Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION 2014-12-11 14:52:33,765 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0.0.1-8702-7) Operation Failed: [User is not authorized to perform this action.] 2014-12-11 14:52:33,779 INFO [org.ovirt.engine.core.bll.aaa.LogoutBySessionCommand] (ajp--127.0.0.1-8702-7) [21c639e1] Running command: LogoutBySessionCommand internal: false. 2014-12-11 14:52:33,780 INFO [org.ovirt.engine.core.bll.aaa.LogoutUserCommand] (ajp--127.0.0.1-8702-7) [6de8f467] Running command: LogoutUserCommand internal: false. 2014-12-11 14:52:33,790 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-7) [6de8f467] Correlation ID: 6de8f467, Call Stack: null, Custom Event ID: -1, Message: User admin logged out. Is this the expected behavior? Or is there anything i missed? Is this a newly created 3.5 DB ??? I suspect that maybe this is a result of 3.2 DB squashing work If this is an upgraded env please specify from and target versions Thanks thanks ___ 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] Questions regarding neutron implementation for oVirt 3.5
I have additional log information. 2014-12-10 20:44:25,531 INFO [org.ovirt.engine.core.bll.provider.network.AddNetworkOnProviderCommand] (ajp--127.0.0.1-8702-8) [7e632508] Running command: AddNetworkOnProviderCommand internal: false. Entities affected : ID: 3713edec-cd32-4730-9647-e349c8e7e4eb Type: StoragePoolAction group CREATE_STORAGE_POOL_NETWORK with role type ADMIN 2014-12-10 20:44:25,793 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-8) [7e632508] Correlation ID: 7e632508, Call Stack: null, Custom Event ID: -1, Message: Network extnet was added to Data Center: Zen 2014-12-10 20:44:25,823 INFO [org.ovirt.engine.core.bll.network.vm.AddVnicProfileCommand] (ajp--127.0.0.1-8702-10) [63250a8] Running command: AddVnicProfileCommand internal: false. Entities affected : ID: 6bb8a6ef-3499-46a5-9a45-4cb4196de990 Type: NetworkAction group CREATE_NETWORK_VNIC_PROFILE with role type ADMIN 2014-12-10 20:44:25,837 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-10) [63250a8] Correlation ID: 63250a8, Call Stack: null, Custom Event ID: -1, Message: VM network interface profile extnet was added to network extnet in Data Center: Zen. (User: admin) 2014-12-10 20:44:25,840 INFO [org.ovirt.engine.core.bll.provider.network.AddSubnetToProviderCommand] (ajp--127.0.0.1-8702-8) [7fb592ce] Running command: AddSubnetToProviderCommand internal: false. Entities affected : ID: aaa0----123456789aaa Type: SystemAction group CREATE_STORAGE_POOL with role type ADMIN 2014-12-10 20:44:25,852 INFO [org.ovirt.engine.core.bll.network.cluster.AttachNetworkToVdsGroupCommand] (org.ovirt.thread.pool-8-thread-50) [6a02263f] Running command: AttachNetworkToVdsGroupCommand internal: false. Entities affected : ID: 6bb8a6ef-3499-46a5-9a45-4cb4196de990 Type: NetworkAction group ASSIGN_CLUSTER_NETWORK with role type ADMIN 2014-12-10 20:44:25,870 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-50) [6a02263f] Correlation ID: 6a02263f, Call Stack: null, Custom Event ID: -1, Message: Network extnet attached to Cluster Zen 2014-12-10 20:44:26,086 ERROR [org.ovirt.engine.core.bll.provider.network.AddSubnetToProviderCommand] (ajp--127.0.0.1-8702-8) [7fb592ce] Command org.ovirt.engine.core.bll.provider.network.AddSubnetToProviderCommand throw Vdc Bll exception. With error message VdcBLLException: (Failed with error PROVIDER_FAILURE and code 5050) 2014-12-10 20:44:26,093 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-8) [7fb592ce] Correlation ID: 7fb592ce, Call Stack: null, Custom Event ID: -1, Message: Failed to add subnet extsub on provider neutron. (User: admin) -Original Message- From: Moti Asayag [mailto:masa...@redhat.com] Sent: Wednesday, December 10, 2014 10:28 AM To: Andrew Brimer Subject: Re: Questions regarding neutron implementation for oVirt 3.5 Hi Andrew, Generally, it is preferable to send ovirt related questions to users@ovirt.org for the benefit of other community members. If no concerns, please include it in your next reply's cc. Regarding your issue - see inline. - Original Message - From: Andrew Brimer abri...@pearlnet.com To: masa...@redhat.com Sent: Wednesday, December 10, 2014 4:52:14 PM Subject: Questions regarding neutron implementation for oVirt 3.5 Good Morning Moti, I am hoping that you may be able to help me out if you have a little time Sir. I have followed your instructions (youtube and NeutronVirtualAppliance document) for integrating Neutron into my oVirt 3.5 system and I am running into some issues when attempting to create a subnet. Were you able to verify connectivity to the neutron appliance after it was added to the ovirt-engine as shown on https://www.youtube.com/watch?feature=player_detailpagev=naLFSFwHI94#t=510? Could you post the /var/log/ovirt-engine/engine.log ? Thanks, Moti Networks-extent-Subnets-New Network: extent Name: extsubtest CIDR:10.0.9.0/24 [OK] Returns: Error while executing action Add Subnet to Provider: Failed to communicate with the external provider. On the Neutron machine: neutron net-list shows 'extnet' neutron subnet-list shows 'extsubtest' neutron router-list shows nothing oVirt Visor 1 is the host that I used when following your instructions and Visor 2 is the additional host added per your instructions towards the end of the video. I really appreciate any help that you can provide, I only have Neutron integration to complete and will then have a fully working oVirt 3.5 stack running. Kind Regards, Andrew Brimer Chief Systems Architect PearlNet, LLC abri...@pearlnet.com 770-352-0111 (office) 678-852-8808 (cell) The following describes my
Re: [ovirt-users] Questions regarding neutron implementation for oVirt 3.5
Hi Modi, In the discussion found at https://bugzilla.redhat.com/show_bug.cgi?id=1064231 Comment #12 states that the fedora Jackson package will not make a difference because the Jackson jar files pre-packaged in JBoss is what is actually used for this. Is that a true statement in your opinion? If so, how can I locate the appropriate jar and then what is the path in the oVirt Engine that I need to place that/those jar file(s) into? Am I on the right track? What is your advice? Kind Regards, Andrew Brimer -Original Message- From: Moti Asayag [mailto:masa...@redhat.com] Sent: Wednesday, December 10, 2014 4:16 PM To: Andrew Brimer Cc: users@ovirt.org Subject: Re: Questions regarding neutron implementation for oVirt 3.5 - Original Message - From: Andrew Brimer abri...@pearlnet.com To: Moti Asayag masa...@redhat.com Sent: Wednesday, December 10, 2014 5:55:31 PM Subject: RE: Questions regarding neutron implementation for oVirt 3.5 Hi Moti, Yes. I did not consider sending this out in a way that everyone would benefit, sorry. This is the first time that I have posted a question for oVirt and just saw your email address in the instructions document and quickly fired off an email. I will post to users@ovirt.org for all future questions, I would love to participate in any way possible to help you guys (and those of us who rely on your efforts) move things forward. If you would like for me to forward the next (or this one) message to users@ovirt.org I would be very happy to. Done. I think this will help other users which might face the same problem. To answer your question regarding testing connectivity, yes I pressed the test button and was provided the success message. In addition to that, when I create a net and subnet in oVirt I am able to query neutron and find them. I can also create a net in neutron (neutron net-create) and import it into oVirt. It seems that the two systems are communicating but that somewhere along the way an error is halting your workflow (see the snippit from the /var/log/ovirt-engine/engine.log) The cause for the error is documented in bug 1064231 [1] as a result of a buggy jackson package version which is delivered by jboss. The bug wasn't fixed for f20, and it appears since ovirt-engine-3.4. Although requests are being sent to the neutron server and being processed successfully, retrieving the subnets from neutron fails due to the bug in jackson. Local upgrade of the jackson package under jboss-as-7.1 to 1.9.9 or using jboss-eap-6.3 which is shipped with jackson-1.9.9 will solve this issue. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1064231 Output (subset) of the /var/log/ovirt-engine/engine.log: 2014-12-10 14:41:23,623 ERROR [org.ovirt.engine.core.bll.provider.network.GetExternalSubnetsOnProvid erByNetworkQuery] (ajp--127.0.0.1-8702-3) Query GetExternalSubnetsOnProviderByNetworkQuery failed. Exception message is org.codehaus.jackson.map.JsonMappingException: Parameter #0 type for factory method ([method valueOf, annotations: {interface org.codehaus.jackson.annotate.JsonCreator=@org.codehaus.jackson.annota te.JsonCreator()}]) not suitable, must be java.lang.String : org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.JsonMappingException: Parameter #0 type for factory method ([method valueOf, annotations: {interface org.codehaus.jackson.annotate.JsonCreator=@org.codehaus.jackson.annota te.JsonCreator()}]) not suitable, must be java.lang.String: org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.JsonMappingException: Parameter #0 type for factory method ([method valueOf, annotations: {interface org.codehaus.jackson.annotate.JsonCreator=@org.codehaus.jackson.annota te.JsonCreator()}]) not suitable, must be java.lang.String at org.jboss.resteasy.client.core.BaseClientResponse.readFrom(BaseClientResponse.java:469) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:377) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:350) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:344) [resteasy-jaxrs-2.3.2.Final.jar:] at com.woorea.openstack.connector.RESTEasyResponse.getEntity(RESTEasyResponse.java:25) [resteasy-connector.jar:] at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:67) [openstack-client.jar:] at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:98) [openstack-client.jar:] at
[ovirt-users] Questions regarding neutron implementation for oVirt 3.5
-Original Message- From: Andrew Brimer Sent: Wednesday, December 10, 2014 10:56 AM To: 'Moti Asayag' Subject: RE: Questions regarding neutron implementation for oVirt 3.5 Hi Moti, Yes. I did not consider sending this out in a way that everyone would benefit, sorry. This is the first time that I have posted a question for oVirt and just saw your email address in the instructions document and quickly fired off an email. I will post to users@ovirt.org for all future questions, I would love to participate in any way possible to help you guys (and those of us who rely on your efforts) move things forward. If you would like for me to forward the next (or this one) message to users@ovirt.org I would be very happy to. To answer your question regarding testing connectivity, yes I pressed the test button and was provided the success message. In addition to that, when I create a net and subnet in oVirt I am able to query neutron and find them. I can also create a net in neutron (neutron net-create) and import it into oVirt. It seems that the two systems are communicating but that somewhere along the way an error is halting your workflow (see the snippit from the /var/log/ovirt-engine/engine.log) Output (subset) of the /var/log/ovirt-engine/engine.log: 2014-12-10 14:41:23,623 ERROR [org.ovirt.engine.core.bll.provider.network.GetExternalSubnetsOnProviderByNetworkQuery] (ajp--127.0.0.1-8702-3) Query GetExternalSubnetsOnProviderByNetworkQuery failed. Exception message is org.codehaus.jackson.map.JsonMappingException: Parameter #0 type for factory method ([method valueOf, annotations: {interface org.codehaus.jackson.annotate.JsonCreator=@org.codehaus.jackson.annotate.JsonCreator()}]) not suitable, must be java.lang.String : org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.JsonMappingException: Parameter #0 type for factory method ([method valueOf, annotations: {interface org.codehaus.jackson.annotate.JsonCreator=@org.codehaus.jackson.annotate.JsonCreator()}]) not suitable, must be java.lang.String: org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.JsonMappingException: Parameter #0 type for factory method ([method valueOf, annotations: {interface org.codehaus.jackson.annotate.JsonCreator=@org.code haus.jackson.annotate.JsonCreator()}]) not suitable, must be java.lang.String at org.jboss.resteasy.client.core.BaseClientResponse.readFrom(BaseClientResponse.java:469) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:377) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:350) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:344) [resteasy-jaxrs-2.3.2.Final.jar:] at com.woorea.openstack.connector.RESTEasyResponse.getEntity(RESTEasyResponse.java:25) [resteasy-connector.jar:] at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:67) [openstack-client.jar:] at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:98) [openstack-client.jar:] at org.ovirt.engine.core.bll.provider.network.openstack.OpenstackNetworkProviderProxy.getAllSubnets(OpenstackNetworkProviderProxy.java:132) [bll.jar:] at org.ovirt.engine.core.bll.provider.network.GetExternalSubnetsOnProviderByNetworkQuery.executeQueryCommand(GetExternalSubnetsOnProviderByNetworkQuery.java:28) [bll.jar:] at org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:73) [bll.jar:] at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:31) [dal.jar:] at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:492) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:466) [bll.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_71] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_71] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:114) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final] at
Re: [ovirt-users] Questions regarding neutron implementation for oVirt 3.5
That did the trick guys. Thanks so much to both of you for all of your help. I may return with some additional questions regarding placing neutron/keystone/rabbit on a separate blade using devstack or something to quickly implement. If you have any comments please don't hesitate to let me know if you think that I would be going down a bad path or such. Again, thanks for everything. Regards, Andrew Brimer -Original Message- From: Moti Asayag [mailto:masa...@redhat.com] Sent: Thursday, December 11, 2014 5:49 AM To: Juan Hernández Cc: Andrew Brimer; users@ovirt.org Subject: Re: [ovirt-users] Questions regarding neutron implementation for oVirt 3.5 - Original Message - From: Juan Hernández jhern...@redhat.com To: Moti Asayag masa...@redhat.com, Andrew Brimer abri...@pearlnet.com Cc: users@ovirt.org Sent: Thursday, December 11, 2014 11:23:37 AM Subject: Re: [ovirt-users] Questions regarding neutron implementation for oVirt 3.5 On 12/11/2014 09:56 AM, Moti Asayag wrote: - Original Message - From: Andrew Brimer abri...@pearlnet.com To: Moti Asayag masa...@redhat.com Cc: users@ovirt.org Sent: Thursday, December 11, 2014 1:04:46 AM Subject: RE: Questions regarding neutron implementation for oVirt 3.5 Hi Modi, In the discussion found at https://bugzilla.redhat.com/show_bug.cgi?id=1064231 Comment #12 states that the fedora Jackson package will not make a difference because the Jackson jar files pre-packaged in JBoss is what is actually used for this. Is that a true statement in your opinion? If so, how can I locate the appropriate jar and then what is the path in the oVirt Engine that I need to place that/those jar file(s) into? Adding Juan to verify the suggested sequence, and to verify no better alternative is available. In order to upgrade the jackson module version, you should replace both the .jar files and edit each module.xml of the corresponding jar file: The files which should be replaced could be identified by: $ find /usr/share/jboss-as-7.1.1.Final/modules -name jackson*.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -jaxrs/main/jackson-jaxrs-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -mapper-asl/main/jackson-mapper-asl-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -xc/main/jackson-xc-1.9.2.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -core-asl/main/jackson-core-asl-1.9.2.jar Jar files can be downloaded from maven repository: http://central.maven.org/maven2/org/codehaus/jackson/jackson-jaxrs/1 .9.9/jackson-jaxrs-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-xc/1.9. 9/jackson-xc-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-mapper- asl/1.9.9/jackson-mapper-asl-1.9.9.jar http://central.maven.org/maven2/org/codehaus/jackson/jackson-core-as l/1.9.9/jackson-core-asl-1.9.9.jar After the replacement, you should have the following: /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -jaxrs/main/jackson-jaxrs-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -mapper-asl/main/jackson-mapper-asl-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -xc/main/jackson-xc-1.9.9.jar /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson -core-asl/main/jackson-core-asl-1.9.9.jar Next, update the module.xml version from 1.9.2 to 1.9.9 files detected by: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/module.xml: resource-root path=jackson-jaxrs-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/module.xml: resource-root path=jackson-mapper-asl-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-xc/main/module.xml: resource-root path=jackson-xc-1.9.2.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-core-asl/main/module.xml: resource-root path=jackson-core-asl-1.9.2.jar/ for example, by editing them in place by: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml -exec sed 's/1.9.9/1.9.2/' {} \; And verify the output is: $ find /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/ -name module.xml | xargs grep 1\.9 /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-jaxrs/main/module.xml: resource-root path=jackson-jaxrs-1.9.9.jar/ /usr/share/jboss-as-7.1.1.Final/modules/org/codehaus/jackson/jackson-mapper-asl/main/module.xml: resource-root path=jackson-mapper-asl-1.9.9.jar/
[ovirt-users] Call for Presentations: OSCON 2015
OSCON is returning to Portland July 20-24, 2015, and we want to make sure it's on your radar. As you probably know, the O'Reilly Open Source Convention is the must-attend professional training event for 4,000+ developers, programmers, engineers, architects, CxOs, and technology innovators. OSCON is well known for a fast-paced, intellectually stimulating program, that covers the open source ecosystem in its entirety. The call for speakers has just opened. If you, or any of your colleagues, are interested in speaking at OSCON, please review the new and improved program themes and tracks at OSCON.com, and find out about the kinds of topics we’re looking for, as well as tips for creating a great proposal. Proposals are due by February 2, 2015. http://www.oscon.com/open-source-2015 -- Brian Proffitt Community Liaison oVirt Open Source and Standards, Red Hat - http://community.redhat.com Phone: +1 574 383 9BKP IRC: bkp @ OFTC ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] vm has paused due to unknown storage error
Hi Dan, Yes..it's glusterfs glusterfs logs :- http://ur1.ca/j3b5f OS Version: RHEL - 7 - 0.1406.el7.centos.2.3 Kernel Version: 3.10.0 - 123.el7.x86_64 KVM Version: 1.5.3 - 60.el7_0.2 LIBVIRT Version: libvirt-1.1.1-29.el7_0.3 VDSM Version: vdsm-4.16.7-1.gitdb83943.el7 GlusterFS Version: glusterfs-3.6.1-1.el7 Qemu Version : QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-60.el7_0.2) Thanks, punit On Thu, Dec 11, 2014 at 5:47 PM, Dan Kenigsberg dan...@redhat.com wrote: On Thu, Dec 11, 2014 at 03:41:01PM +0800, Punit Dambiwal wrote: Hi, Suddenly all of my VM on one host paused with the following error :- vm has paused due to unknown storage error I am using glusterfs storage with distributed replicate replica=2my storage and compute both running on the same node... engine logs :- http://ur1.ca/j31iu Host logs :- http://ur1.ca/j31kk(I grep it for one Failed VM) libvirtEventLoop::INFO::2014-12-11 15:00:48,627::vm::4780::vm.Vm::(_onIOError) vmId=`e84bb987-a817-436a-9417-8eab9148e57e`::abnormal vm stop device virtio-disk0 error eother Which type of storage is it? gluster? Do you have anything in particular on glusterfs logs? Which glusterfs/qemu/libvirt/vdsm versions do you have installed? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users