Re: [Users] Migration Failed
On 14 Jan 2014, at 08:43, Neil wrote: Sorry, before anyone wastes anymore time on this, I found the issue. My NFS ISO domain was attached to the other host node02, but the NFS mount wasn't accessible due to the iptables service being activated on boot once I had run all the OS updates a while back. I've disabled the service again, and the migration has completed successfully. Thank you all for your assistance, and I'm sorry for wasting your time. good it's working for you I was also checking the internal error and it's http://gerrit.ovirt.org/#/c/21700, which is fixed by now Thanks, michal Regards. Neil Wilson. On Tue, Jan 14, 2014 at 9:30 AM, Neil nwilson...@gmail.com wrote: Good morning everyone, Sorry for the late reply. Tom: unfortunately selinux is disabled on all the machines involved. Michal: Attached are the latest logs, I started the migration at 8:43am and it returned an error/failed at 8:52am. The details of the migration are as follows. node01 (10.0.2.21) is the destination node03 (10.0.2.23) is the source engine01 (10.0.2.31) is the engine Tux is the VM Strangely enough the immediate pop up error I received in the GUI previously didn't appear this time and it looked like it might actually work, however after waiting quite a while it eventually returned an error in the Tasks as follows... 2014-Jan-14, 09:05 Refresh image list failed for domain(s): bla-iso (ISO file type). Please check domain activity. 2014-Jan-14, 09:05 Migration failed due to Error: Internal Engine Error. Trying to migrate to another Host (VM: tux, Source: node03.blabla.com, Destination: node01.blabla.com). 2014-Jan-14, 08:52 Migration failed due to Error: Internal Engine Error (VM: tux, Source: node03.blabla.com, Destination: node01.blabla.com). and then also received an error in the engine.log which is why I've attached that as well. Please shout if you need any further info. Thank you so much. Regards. Neil Wilson. On Mon, Jan 13, 2014 at 4:07 PM, Tom Brown t...@ng23.net wrote: selinux issue? On 13 January 2014 12:48, Michal Skrivanek michal.skriva...@redhat.com wrote: On Jan 13, 2014, at 11:37 , Neil nwilson...@gmail.com wrote: Good morning everyone, Sorry to trouble you again, anyone have any ideas on what to try next? Hi Neil, hm, other than noise I don't really see any failures in migration. Can you attach both src and dst vdsm log with a hint which VM and at what time approx it failed for you? There are errors for one volume reoccuring all the time, but that doesn't look related to the migration Thanks, michal Thank you so much, Regards. Neil Wilson. On Fri, Jan 10, 2014 at 8:31 AM, Neil nwilson...@gmail.com wrote: Hi Dafna, Apologies for the late reply, I was out of my office yesterday. Just to get back to you on your questions. can you look at the vm dialogue and see what boot devices the vm has? Sorry I'm not sure where you want me to get this info from? Inside the ovirt GUI or on the VM itself. The VM has one 2TB LUN assigned. Then inside the VM this is the fstab parameters.. [root@tux ~]# cat /etc/fstab /dev/VolGroup00/LogVol00 / ext3defaults 1 0 /dev/vda1 /boot ext3defaults1 0 tmpfs /dev/shmtmpfs defaults 0 0 devpts /dev/ptsdevpts gid=5,mode=620 0 0 sysfs /syssysfs defaults 0 0 proc/proc procdefaults 0 0 /dev/VolGroup00/LogVol01 swapswapdefaults 0 0 /dev/VolGroup00/LogVol02 /homes xfs defaults,usrquota,grpquota1 0 can you write to the vm? Yes the machine is fully functioning, it's their main PDC and hosts all of their files. can you please dump the vm xml from libvirt? (it's one of the commands that you have in virsh) Below is the xml domain type='kvm' id='7' nametux/name uuid2736197b-6dc3-4155-9a29-9306ca64881d/uuid memory unit='KiB'8388608/memory currentMemory unit='KiB'8388608/currentMemory vcpu placement='static'4/vcpu cputune shares1020/shares /cputune sysinfo type='smbios' system entry name='manufacturer'oVirt/entry entry name='product'oVirt Node/entry entry name='version'6-4.el6.centos.10/entry entry name='serial'4C4C4544-0038-5310-8050-C6C04F34354A/entry entry name='uuid'2736197b-6dc3-4155-9a29-9306ca64881d/entry /system /sysinfo os type arch='x86_64' machine='rhel6.4.0'hvm/type smbios mode='sysinfo'/ /os features acpi/ /features cpu mode='custom' match='exact' model fallback='allow'Westmere/model topology sockets='1' cores='4' threads='1'/ /cpu clock offset='variable' adjustment='0' basis='utc' timer name='rtc' tickpolicy='catchup'/ /clock on_poweroffdestroy/on_poweroff
[Users] qemu-ga /oVirt/ubuntu guest
Hi, I know it's a little off topic, but has anyone a good documentation for the qemu-guest-agent ? I'm aware of the following entry, but it is not helpful at all: http://wiki.qemu.org/Features/QAPI/GuestAgent I'm looking for documentation on the following topics: install the guest-agent into a vm architecture of the guest agent building the guest-agent I tried to build the whole qemu-thing in a ubuntu 12.04. vm running on ovirt but I'm not successfull. I get the following error after invoking make: GEN trace/generated-tracers.c CC hw/virtio/dataplane/vring.o hw/virtio/dataplane/vring.c In function vring_pop: hw/virtio/dataplane/vring.c:400:5: error: ret may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make: *** [hw/virtio/dataplane/vring.o] Error 1 I would also like to know if you are aware of any prebuild packages for ubuntu 12.04 (or later) or if there is documentation anywhere on the net for which distributions you can download a rpm/deb package. Thank you. -- 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: [Users] qemu-ga /oVirt/ubuntu guest
- Original Message - From: Sven Kieske s.kie...@mittwald.de To: Users@ovirt.org List Users@ovirt.org Sent: Tuesday, January 14, 2014 11:02:11 AM Subject: [Users] qemu-ga /oVirt/ubuntu guest Hi, I know it's a little off topic, but has anyone a good documentation for the qemu-guest-agent ? I'm aware of the following entry, but it is not helpful at all: http://wiki.qemu.org/Features/QAPI/GuestAgent I'm looking for documentation on the following topics: install the guest-agent into a vm architecture of the guest agent building the guest-agent I tried to build the whole qemu-thing in a ubuntu 12.04. vm running on ovirt but I'm not successfull. I get the following error after invoking make: GEN trace/generated-tracers.c CC hw/virtio/dataplane/vring.o hw/virtio/dataplane/vring.c In function vring_pop: hw/virtio/dataplane/vring.c:400:5: error: ret may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make: *** [hw/virtio/dataplane/vring.o] Error 1 I would also like to know if you are aware of any prebuild packages for ubuntu 12.04 (or later) or if there is documentation anywhere on the net for which distributions you can download a rpm/deb package. http://www.ovirt.org/Ubuntu/GuestAgent points at: https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu I didn't try that myself. Good luck, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Intel Modular Server Powermanagement
Heho, we are using an intel modular server (IMS) as virtualization center in our university chair. These systems should now be migrated to ovirt. However, apparently fencing/power management via /usr/sbin/fence_intelmodular can not be configured in ovirt 3.3. Does anyone have an idea how to solve this issue? Is there maybe a simple way to add custom fence agents? With best Regards, Tobias ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] VM start Options
Hello How can i change VM start from aio=thread to aio=native Greetings Wolfgang ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] qemu-ga /oVirt/ubuntu guest
Hi, and thanks for your fast reply, but you are looking in the wrong direction. I was talking about the _qemu_-guest-agent not the ovirt-guest-agent. afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has. (Any reason why this is done btw?) afaik they share e.g. the ability to power down the vm. but qemu-ga also will allow cpu-hotplug and altering disk layout inside the guest in the future. I'm aware of your mentioned repository for the ovirt-guest-agent and I already reported that it works good so far (an offical repo would of course be better). I didn't find a repo for qemu-ga unfortunately. Thanks anyway. -- 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: [Users] Intel Modular Server Powermanagement
Hi, afaik it should work when this fencing agent gets added to the engine as was done to drac7 from dell recently here: https://bugzilla.redhat.com/show_bug.cgi?id=1046625 http://gerrit.ovirt.org/#/c/22833/ It seems to boil down to an sql command: select fn_db_add_config_value('FenceAgentMapping','drac7=ipmilan,ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan' ,'general'); I don't know if intelmodular has an ipmi compatible mode? So I think you have 2 options: 1. You may hack the DB yourself. 2. File a BZ with an RFE to add your fencing agent. The latter should be done regardless of the first. HTH Am 14.01.2014 10:21, schrieb Tobias Fiebig: Heho, we are using an intel modular server (IMS) as virtualization center in our university chair. These systems should now be migrated to ovirt. However, apparently fencing/power management via /usr/sbin/fence_intelmodular can not be configured in ovirt 3.3. Does anyone have an idea how to solve this issue? Is there maybe a simple way to add custom fence agents? -- 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: [Users] Issues installing hosted-engine with 3.4.0 alpha
Il 14/01/2014 03:39, Andrew Lau ha scritto: It looks like vdsm is trying to execute: vdsm-tool unified_network_persistence_upgrade But my version of vdsm-tool has it labeled as upgrade-unified-persistence vdsm people, can you check this? On Tue, Jan 14, 2014 at 1:32 PM, Andrew Lau and...@andrewklau.com mailto:and...@andrewklau.com wrote: Hi, I'm giving the new hosted-engine feature a try with the new 3.4.0 alpha build on centos 6.5 hosted-engine --deply seems to fail at the 'Environment setup [ ERROR ] Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute Within the logs I believe it seems to be related to vdsm. Logs show VDS daemon is not running service vdsm start gives the following error: initctl: Job is already running: libvirtd vdsm: Running mkdirs vdsm: Running configure_coredump vdsm: Running run_init_hooks vdsm: Running gencerts vdsm: Running check_is_configured libvirt is already configured for vdsm sanlock service is already configured vdsm: Running validate_configuration SUCCESS: ssl configured to true. No conflicts vdsm: Running prepare_transient_repository vdsm: Running syslog_available vdsm: Running nwfilter vdsm: Running dummybr vdsm: Running load_needed_modules vdsm: Running tune_system vdsm: Running test_space vdsm: Running test_lo vdsm: Running restore_nets vdsm: Running unified_network_persistence_upgrade Usage: /usr/bin/vdsm-tool [options] action [arguments] Valid options: -h, --help Commands in module configurator: configureConfigure external services for vdsm is-configuredDetermine if module is configured validate-config Determine if configuration is valid Commands in module dummybr: dummybr Defines dummy bridge on libvirt network. Commands in module load_needed_modules: load-needed-modules Load needed modules Commands in module nwfilter: nwfilter Defines network filters on libvirt Commands in module passwd: set-saslpasswd Set vdsm password for libvirt connection Commands in module restore_nets: restore-nets Restores the networks to what was previously persisted via vdsm. Commands in module seboolsetup: sebool-config Enable the required selinux booleans sebool-unconfig Disable the required selinux booleans Commands in module service: service-disable Disable a system service service-is-managed Check the existence of a service service-reload Notify a system service to reload configurations service-restart Restart a system service service-startStart a system service service-status Get status of a system service service-stop Stop a system service Commands in module transient: cleanup-transient-repository Cleanup the unused transient disks present in the repository. (NOTE: it is recommended to NOT execute this command when the vdsm daemon is running) setup-transient-repository Prepare the transient disks repository Commands in module unified_persistence: upgrade-unified-persistence Upgrade host networking persistence from ifcfg to unified if the persistence model is set as unified in /usr/lib64/python2.X/site-packages/ vdsm/config.py Commands in module upgrade: Commands in module upgrade_300_networks: upgrade-3.0.0-networks Since ovirt-3.0, Vdsm uses libvirt networks (with names vdsm-*) to store its own networks. Older Vdsms did not have those defined, and used only linux bridges. This command is kept as an upgrade tool for the (very few) people who still have such old setups running. Commands in module validate_ovirt_certs: validate-ovirt-certs Validate vdsmcert.pem against cacert.pem. If current cacert.pem is invalidate, it will find a validate certificate file and replace the old cacert.pem with it. And then persist it. Commands in module vdsm-id: vdsm-id Printing host uuid
Re: [Users] qemu-ga /oVirt/ubuntu guest
Hi, - Original Message - From: Sven Kieske s.kie...@mittwald.de To: Yedidyah Bar David d...@redhat.com Cc: Users@ovirt.org List Users@ovirt.org Sent: Tuesday, January 14, 2014 11:36:48 AM Subject: Re: [Users] qemu-ga /oVirt/ubuntu guest Hi, and thanks for your fast reply, but you are looking in the wrong direction. Sorry :-) I was talking about the _qemu_-guest-agent not the ovirt-guest-agent. afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has. (Any reason why this is done btw?) afaik they share e.g. the ability to power down the vm. but qemu-ga also will allow cpu-hotplug and altering disk layout inside the guest in the future. I'm aware of your mentioned repository for the ovirt-guest-agent and I already reported that it works good so far (an offical repo would of course be better). I didn't find a repo for qemu-ga unfortunately. I see that it's packaged in Ubuntu: https://launchpad.net/ubuntu/raring/+package/qemu-guest-agent https://launchpad.net/ubuntu/raring/+source/qemu/1.4.0+dfsg-1expubuntu4 https://code.launchpad.net/ubuntu/raring/+source/qemu and for that matter, Debian: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Help: Problem uploading the ISO file on engine
Il 14/01/2014 08:32, Sven Kieske ha scritto: Hi, which engine version? anything in engine.log? +1 (I honestly don't know if there's any logging for the iso uploader?). yes there is, in /var/log/ovirt-iso-uploader dir. I never encountered such a problem. Same here. Can you reproduce using -v flag when running iso uploader? HTH Am 13.01.2014 20:45, schrieb David Li: Hi, I copied a Centos netinstall ISO file to a directory on my engine machine to get ready for installation. Then I used engine-iso-uploader upload -i ISO_DOMAIN CentOS-6.4-x86_64-netinstall.iso to upload or put it into the proper ISO domain directory. However this command now totally stuck. Even kill -9 won't be able to do anything. Moreover now my ISO domain in the DC seems dead or becomes inactive too. What happened? Is there any way to recover from this point without rebooting everything? -- 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: [Users] qemu-ga /oVirt/ubuntu guest
Thanks for the links, so this is at least some good news. However no package for ubuntu 12.04 I'll try to use these as backports, maybe that works. Am 14.01.2014 10:59, schrieb Yedidyah Bar David: I see that it's packaged in Ubuntu: https://launchpad.net/ubuntu/raring/+package/qemu-guest-agent https://launchpad.net/ubuntu/raring/+source/qemu/1.4.0+dfsg-1expubuntu4 https://code.launchpad.net/ubuntu/raring/+source/qemu and for that matter, Debian: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git -- 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: [Users] Intel Modular Server Powermanagement
- Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Tuesday, January 14, 2014 11:41:13 AM Subject: Re: [Users] Intel Modular Server Powermanagement Hi, afaik it should work when this fencing agent gets added to the engine as was done to drac7 from dell recently here: https://bugzilla.redhat.com/show_bug.cgi?id=1046625 http://gerrit.ovirt.org/#/c/22833/ It seems to boil down to an sql command: select fn_db_add_config_value('FenceAgentMapping','drac7=ipmilan,ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan' ,'general'); I don't know if intelmodular has an ipmi compatible mode? So I think you have 2 options: 1. You may hack the DB yourself. Hi Here are detailed instructions how to add a custom agent: a) Add your new agent to VdsFenceType option_value in vdc_options table for the relevant cluster version b) Add agent options mappings to VdsFenceOptionMapping option_value in vdc_options table for the relevant cluster version c) If the agent maps actually to another agent , add that to FenceAgentMapping option_value in vdc_options Example : Adding zzz agent support for version 3.3 that maps internally to ipmi and have just port setting (from: port, slot, secure) that maps to the fencing script ipport a) VdsFenceType for 3.3 becomes apc,apc_snmp,bladecenter,cisco_ucs,drac5,eps,ilo,ilo2,ilo3,ilo4,ipmilan,rsa,rsb,wti,zzz b) VdsFenceOptionMapping for 3.3 becomes apc:secure=secure,port=ipport,slot=port;apc_snmp:port=port;bladecenter:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;drac5:secure=se cure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;ilo2:secure=ssl,port=ipport;ilo3:;ilo4:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;zzz:port=ipport c) FenceAgentMapping becomes ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan,zzz=ipmilan NOTES 1) Please backup your database 2) You should restart the engine for this to take place 3) Custom definitions will be overridden in your next upgrade , for the long run please fill RFE so it will be part of the supported agents Please let me know if that works for you. 2. File a BZ with an RFE to add your fencing agent. The latter should be done regardless of the first. HTH Am 14.01.2014 10:21, schrieb Tobias Fiebig: Heho, we are using an intel modular server (IMS) as virtualization center in our university chair. These systems should now be migrated to ovirt. However, apparently fencing/power management via /usr/sbin/fence_intelmodular can not be configured in ovirt 3.3. Does anyone have an idea how to solve this issue? Is there maybe a simple way to add custom fence agents? -- 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Looking for oVirt volunteer speakers!
Hi everyone, Over the next few weeks, we are running a number of one-day events with some colleagues around the open source datacenter and cloud. I would *love* to have some user case studies to present at these events - please let me know if you are local, and would be willing to talk about how you use oVirt. Jan 29: London, UK: London Cloud Summit: http://lanyrd.com/2014/lcs2014/ Feb 5: Ghent, BE: Infrastructure.Next: http://community.redhat.com/blog/2013/12/announcing-infrastructure-next/ There are also a number of conferences coming up at which I would love to have oVirt related content - please consider putting in a proposal for one of these (let me know if you do): * DevNation 2014: San Francisco, April 13-16: http://www.devnation.org/#cfp (Call for papers closes tomorrow!) - I would love to see a presentation on developing an oVirt UI plug-in, or on orchestration deployment on top of oVirt. * OSCON 2014: Portland, OR, July 20-24: http://www.oscon.com/oscon2014 The CfP closes in 2 weeks, and again, I would love to see a user case study showing oVirt in a real-world usage as a credible open source virt management solution. For both of these, I should be able to help cover costs for travel (not trans-atlantic) - please, again, let me know if you're interested. Thanks! Dave. -- Dave Neary - Community Action and Impact Open Source and Standards, Red Hat - http://community.redhat.com Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] qemu-ga /oVirt/ubuntu guest
On 01/14/2014 11:36 AM, Sven Kieske wrote: afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has. (Any reason why this is done btw?) ovirt-guest-agent codebase predates qemu-guest-agent (by several years). as qemu-guest-agent adds functionality, we try to converge and support it via qemu-guest-agent as well, which may allow deprecating that functionality in ovirt-guest-agent in the future (tbd) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] ovirt 3.4 alpha repo for fedora 20 missing?
I am trying to test the new 3.4 alpha release on fedora 20 but I'm not able to locate the repo rpm. For Fedora 19 this is http://resources.ovirt.org/releases/3.4.0-alpha/rpm/Fedora/19/noarch/ovirt-release-fedora-10-1.noarch.rpm but for 20 this rpm and the repodata appears to be missing. Kind regards, Jorick Astrego Netbulae B.V. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] qemu-ga /oVirt/ubuntu guest
Hi Itamar, thanks for pointing this out. I didn't know the history of the code base. It seems that there always will be a difference in the functionality of qemu- and ovirt-agent. So my conclusion and advice would be to keep this duplicated functionality and, if possible, extend ovirt-guest-agent to be a superset of functions over qemu-guest-agent, thus avoiding installation of both agents. But I don't know if this is possible. Am 14.01.2014 16:21, schrieb Itamar Heim: ovirt-guest-agent codebase predates qemu-guest-agent (by several years). as qemu-guest-agent adds functionality, we try to converge and support it via qemu-guest-agent as well, which may allow deprecating that functionality in ovirt-guest-agent in the future (tbd) -- 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: [Users] VM start Options
On 01/14/2014 11:21 AM, Wolfgang Bucher wrote: Hello How can i change VM start from aio=thread to aio=native Greetings Wolfgang ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users a custom hook sounds like the easiest way. samples abundant: http://www.ovirt.org/VDSM-Hooks http://www.ovirt.org/VDSM-Hooks_Catalogue http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=tree;f=vdsm_hooks; ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] cluster version incompatible ovirt 3.4 alpha all-in-one
My co-worker is installing a 3.4 alpha all in one setup and we get the following error: Host local_host is installed with VDSM version (UNKNOWN) and cannot join cluster local_cluster which is compatible with VDSM versions [4.13, 4.9, 4.11, 4.12, 4.10]. When we try to edit the cluster, there is only 3.3 to choose from. Kind regards, Jorick Astrego Netbulae ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Showing stacktrace info in GUI error dialog
Hi, this is about patch [1] - showing server-side-exception stacktrace info in GUI error dialog. a couple of notes about this patch: (1) I find it a little strange that server-side exceptions are not logged in the server side and are / will be displayed only on the client-side - this needs to be fixed first. (2) once everything is logged on the server side, we can debate whether it makes sense to put the full exception stack-trace *also* in the GUI error pop-up. I think that it is not completely necessary (since if there is a server side exception, the user is likely to go to the server side log anyway to get the full picture / context), but if it is (and I'd like to hear your opinion about that) - we shouldn't show the entire exception in the dialog once the dialog is displayed - that's too much information to absorb. We should show whatever we are showing today, and also something like a More Details collapsible section (collapsed by default) that, when expanded, displays the full exception details. comments are welcome. Thanks, Einav [1] http://gerrit.ovirt.org/#/c/23096/ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
HI all , Any new ideas about this issue ?.. its blocking me from my ESX conversion ... -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Sat, 11 Jan 2014 08:57:33 -0500 setting up a physical /tmp with 1777 permissions did not work .. and i see ovirt/vdsm is making a temporary nfsV4 mount of the target export domain to /tmp on the ovirt server (what i thought was a hard link is actually a nfs mount for the duration of the conversion) so if the issue is not permissions on /tmp or the fact that we normally use tmpfs , what is left? -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 17:26:34 -0500 i have some spare disk on this server that i can make a /tmp partition from .. i am going to try that approach to rule out the tmpfs as an issue but woe to those who need such a large physical tmp partition for VM conversions.. -Original Message- From: Madhav V Diwan mdi...@diwanconsulting.com To: Richard W.M. Jones rjo...@redhat.com Cc: mbo...@redhat.com, users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 14:37:16 -0500 [mdiwan@server3 ~]$ sudo getenforce [sudo] password for mdiwan: Disabled [mdiwan@server3 ~]$ cat /etc/fstab | grep tmp [mdiwan@server3 ~]$ mount | grep /tmp tmpfs on /tmp type tmpfs (rw) selinux is disabled on this server .. at least till we figure this out but yes /tmp is a tmpfs mount which makes me wonder how it holds a 100 gig file.. it clearly doesn't ... it seems to have a temporary hardlink to the OVIRT nfs export share when virt-v2v2 is running??? -Original Message- From: Richard W.M. Jones rjo...@redhat.com To: Madhav V Diwan mdi...@diwanconsulting.com Cc: mbo...@redhat.com, users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 18:53:03 + On Fri, Jan 10, 2014 at 12:48:43PM -0500, Madhav V Diwan wrote: Sorry richard seems that it failed even when i tried to set that variable Maybe i set up the command incorrectly? here is what i ran [root@server3 ~]# cat convrtesxhost.sh #!/bin/bash export LIBGUESTFS_TRACE=1 export LIBGUESTFS_DEBUG=1 export LIBGUESTFS_BACKEND=direct virt-v2v -ic esx://ESX.decllc.biz/?no_verify=1 -o rhev -os server3.decllc.biz:/localstorage/nfs --network ovirtmgmt razDC 21 | tee /var/log/virt-v2v.log It looks like this is correctly setting the environment variable: [root@server3 ~]# ./convrtesxhost.sh virt-v2v: Transferring storage volume razDC_razDC: 107374182400 bytes libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_backend direct libguestfs: trace: set_backend = 0 ^ see that it's set correctly here. [...] libguestfs: trace: add_drive /tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17 format:raw iface:ide name:sda libguestfs: trace: add_drive = -1 (error) /tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 670. So this is not the bug I was thinking of. (In fact it's obvious now I look closer. This has nothing to do with libvirt, and the error message is being generated by libguestfs earlier on) Is there some other reason that libguestfs would not be able to open that file in /tmp? Perhaps there is an SELinux AVC? Or /tmp has strange permissions ...? Is /tmp a tmpfs mount? I believe the actual code path you're hitting is this one: https://github.com/libguestfs/libguestfs/blob/stable-1.22/src/drives.c#L660 I'm not exactly sure why that fails. Rich. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
On 14/01/14 16:30, Madhav V Diwan wrote: HI all , Any new ideas about this issue ?.. its blocking me from my ESX conversion ... Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Sat, 11 Jan 2014 08:57:33 -0500 setting up a physical /tmp with 1777 permissions did not work .. and i see ovirt/vdsm is making a temporary nfsV4 mount of the target export domain to /tmp on the ovirt server (what i thought was a hard link is actually a nfs mount for the duration of the conversion) so if the issue is not permissions on /tmp or the fact that we normally use tmpfs , what is left? -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 17:26:34 -0500 i have some spare disk on this server that i can make a /tmp partition from .. i am going to try that approach to rule out the tmpfs as an issue but woe to those who need such a large physical tmp partition for VM conversions.. -Original Message- From: Madhav V Diwan mdi...@diwanconsulting.com To: Richard W.M. Jones rjo...@redhat.com Cc: mbo...@redhat.com, users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 14:37:16 -0500 [mdiwan@server3 ~]$ sudo getenforce [sudo] password for mdiwan: Disabled [mdiwan@server3 ~]$ cat /etc/fstab | grep tmp [mdiwan@server3 ~]$ mount | grep /tmp tmpfs on /tmp type tmpfs (rw) selinux is disabled on this server .. at least till we figure this out but yes /tmp is a tmpfs mount which makes me wonder how it holds a 100 gig file.. it clearly doesn't ... it seems to have a temporary hardlink to the OVIRT nfs export share when virt-v2v2 is running??? -Original Message- From: Richard W.M. Jones rjo...@redhat.com To: Madhav V Diwan mdi...@diwanconsulting.com Cc: mbo...@redhat.com, users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 18:53:03 + On Fri, Jan 10, 2014 at 12:48:43PM -0500, Madhav V Diwan wrote: Sorry richard seems that it failed even when i tried to set that variable Maybe i set up the command incorrectly? here is what i ran [root@server3 ~]# cat convrtesxhost.sh #!/bin/bash export LIBGUESTFS_TRACE=1 export LIBGUESTFS_DEBUG=1 export LIBGUESTFS_BACKEND=direct virt-v2v -ic esx://ESX.decllc.biz/?no_verify=1 -o rhev -os server3.decllc.biz:/localstorage/nfs --network ovirtmgmt razDC 21 | tee /var/log/virt-v2v.log It looks like this is correctly setting the environment variable: [root@server3 ~]# ./convrtesxhost.sh virt-v2v: Transferring storage volume razDC_razDC: 107374182400 bytes libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_backend direct libguestfs: trace: set_backend = 0 ^ see that it's set correctly here. [...] libguestfs: trace: add_drive /tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17 format:raw iface:ide name:sda libguestfs: trace: add_drive = -1 (error) /tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 670. So this is not the bug I was thinking of. (In fact it's obvious now I look closer. This has nothing to do with libvirt, and the error message is being generated by libguestfs earlier on) Is there some other reason that libguestfs would not be able to open that file in /tmp? Perhaps there is an SELinux AVC? Or /tmp has strange permissions ...? Is /tmp a tmpfs mount? I believe the actual code path you're hitting is this one: https://github.com/libguestfs/libguestfs/blob/stable-1.22/src/drives.c#L660 I'm not exactly sure why that fails. Rich. ___ 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 -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
Hi, I didn't reread the whole thread, but did you check firewall settings and SELinux if they permit NFS to those directorys? Am 14.01.2014 17:33, schrieb Matthew Booth: Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt -- 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: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
The first thing I do in a situation like this is to disable iptables and firewalld, to see if the problem clears up. systemctl stop iptables; systemctl stop firewalld Then, if I actually need them (usually I don't), I drill deeper. Also, I always configure SELinux to permissive in /etc/selinux/config (but I don't know how to make that take effect immediately without reboot on Fedora). -Bob On 01/14/2014 11:38 AM, Sven Kieske wrote: Hi, I didn't reread the whole thread, but did you check firewall settings and SELinux if they permit NFS to those directorys? Am 14.01.2014 17:33, schrieb Matthew Booth: Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Re: Help: Problem uploading the ISO file on engine
The ovirt-iso-uploader log only has one line: 2014-01-13 19:08:05::INFO::engine-iso-uploader::1067::root:: Start uploading CentOS-6.4-x86_64-netinstall.iso This is version 3.3.2-1.el6 My immediate question is how I can kill the upload process without rebooting the engine box? So I can try to reproduce the problem again. It's probably in a sleep but not interrupt state. None of the usual kill -9 commands worked. My NFS ISO domain has also been put in the inactive state most likely due to this problem. Thanks. David - Original Message - From: Sandro Bonazzola sbona...@redhat.com To: david...@sbcglobal.net Cc: Sent: Tuesday, January 14, 2014 2:05 AM Subject: Fwd: Re: [Users] Help: Problem uploading the ISO file on engine Messaggio originale Oggetto: Re: [Users] Help: Problem uploading the ISO file on engine Data: Tue, 14 Jan 2014 11:04:37 +0100 Mittente: Sandro Bonazzola sbona...@redhat.com A: Sven Kieske s.kie...@mittwald.de, users@ovirt.org users@ovirt.org Il 14/01/2014 08:32, Sven Kieske ha scritto: Hi, which engine version? anything in engine.log? +1 (I honestly don't know if there's any logging for the iso uploader?). yes there is, in /var/log/ovirt-iso-uploader dir. I never encountered such a problem. Same here. Can you reproduce using -v flag when running iso uploader? HTH Am 13.01.2014 20:45, schrieb David Li: Hi, I copied a Centos netinstall ISO file to a directory on my engine machine to get ready for installation. Then I used engine-iso-uploader upload -i ISO_DOMAIN CentOS-6.4-x86_64-netinstall.iso to upload or put it into the proper ISO domain directory. However this command now totally stuck. Even kill -9 won't be able to do anything. Moreover now my ISO domain in the DC seems dead or becomes inactive too. What happened? Is there any way to recover from this point without rebooting everything? -- 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: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
Matt thanks , just saw that response .. testing NFS now , but as both vdsm and root local and remote -Original Message- From: Matthew Booth mbo...@redhat.com To: Madhav V Diwan mdi...@diwanconsulting.com, Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Tue, 14 Jan 2014 16:33:28 + On 14/01/14 16:30, Madhav V Diwan wrote: HI all , Any new ideas about this issue ?.. its blocking me from my ESX conversion ... Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Sat, 11 Jan 2014 08:57:33 -0500 setting up a physical /tmp with 1777 permissions did not work .. and i see ovirt/vdsm is making a temporary nfsV4 mount of the target export domain to /tmp on the ovirt server (what i thought was a hard link is actually a nfs mount for the duration of the conversion) so if the issue is not permissions on /tmp or the fact that we normally use tmpfs , what is left? -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 17:26:34 -0500 i have some spare disk on this server that i can make a /tmp partition from .. i am going to try that approach to rule out the tmpfs as an issue but woe to those who need such a large physical tmp partition for VM conversions.. -Original Message- From: Madhav V Diwan mdi...@diwanconsulting.com To: Richard W.M. Jones rjo...@redhat.com Cc: mbo...@redhat.com, users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 14:37:16 -0500 [mdiwan@server3 ~]$ sudo getenforce [sudo] password for mdiwan: Disabled [mdiwan@server3 ~]$ cat /etc/fstab | grep tmp [mdiwan@server3 ~]$ mount | grep /tmp tmpfs on /tmp type tmpfs (rw) selinux is disabled on this server .. at least till we figure this out but yes /tmp is a tmpfs mount which makes me wonder how it holds a 100 gig file.. it clearly doesn't ... it seems to have a temporary hardlink to the OVIRT nfs export share when virt-v2v2 is running??? -Original Message- From: Richard W.M. Jones rjo...@redhat.com To: Madhav V Diwan mdi...@diwanconsulting.com Cc: mbo...@redhat.com, users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 18:53:03 + On Fri, Jan 10, 2014 at 12:48:43PM -0500, Madhav V Diwan wrote: Sorry richard seems that it failed even when i tried to set that variable Maybe i set up the command incorrectly? here is what i ran [root@server3 ~]# cat convrtesxhost.sh #!/bin/bash export LIBGUESTFS_TRACE=1 export LIBGUESTFS_DEBUG=1 export LIBGUESTFS_BACKEND=direct virt-v2v -ic esx://ESX.decllc.biz/?no_verify=1 -o rhev -os server3.decllc.biz:/localstorage/nfs --network ovirtmgmt razDC 21 | tee /var/log/virt-v2v.log It looks like this is correctly setting the environment variable: [root@server3 ~]# ./convrtesxhost.sh virt-v2v: Transferring storage volume razDC_razDC: 107374182400 bytes libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_backend direct libguestfs: trace: set_backend = 0 ^ see that it's set correctly here. [...] libguestfs: trace: add_drive /tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17 format:raw iface:ide name:sda libguestfs: trace: add_drive = -1 (error) /tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 670. So this is not the bug I was thinking of. (In fact it's obvious now I look closer. This has nothing to do with libvirt, and the error message is being generated by libguestfs earlier on) Is there some other reason that libguestfs would not be able to open that file in /tmp? Perhaps there is an SELinux AVC? Or /tmp has strange permissions ...? Is /tmp a tmpfs mount? I believe the actual code path you're hitting is this one: https://github.com/libguestfs/libguestfs/blob/stable-1.22/src/drives.c#L660 I'm not exactly sure why that fails. Rich. ___ 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] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
On 1/14/2014 10:47 AM, Bob Doolittle wrote: Also, I always configure SELinux to permissive in /etc/selinux/config (but I don't know how to make that take effect immediately without reboot on Fedora). I've had some issues even with permissive, where it was still denying access. I completely disable it. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
Does setenforce 0 not do the job on fedora? Am 14.01.2014 17:47, schrieb Bob Doolittle: Also, I always configure SELinux to permissive in /etc/selinux/config (but I don't know how to make that take effect immediately without reboot on Fedora). -- 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: [Users] Horrid performance during disk I/O
- Original Message - From: Blaster blas...@556nato.com To: users@ovirt.org Sent: Monday, January 13, 2014 12:22:37 PM Subject: [Users] Horrid performance during disk I/O This probably more appropriate for the qemu users mailing list, but that list doesn’t get much traffic and most posts go unanswered… As I’ve mentioned in the past, I’m migrating my environment from ESXi to oVirt AIO. Under ESXi I was pretty happy with the disk performance, and noticed very little difference from bare metal to HV. Under oVirt/QEMU/KVM, not so much…. Running hdparm on the disk from the HV and from the guest yields the same number, about 180MB/sec (SATA III disks, 7200RPM). The problem is, during disk activity, and it doesn’t matter if it’s Windows 7 guests or Fedora 20 (both using virtio-scsi) the qemu-system-x86 process starts consuming 100% of the hypervisor CPU. Hypervisor is a Core i7 950 with 24GB of RAM. There’s 2 Fedora 20 guests and 2 Windows 7 guests. Each configured with 4 GB of guaranteed RAM. Did you compare virtio-block to virto-scsi, the former will likely outperform the latter. Load averages can go up over 40 during sustained disk IO. Performance obviously suffers greatly. I have tried all combinations of having the guests on EXT 4, BTRFS and using EXT 4 and BTRFS inside the guests, as well as direct LUN. Doesn’t make any difference. Disk IO sends qemu-system-x86 to high CPU percentages. This can’t be normal, so I’m wondering what I’ve done wrong. Is there some magic setting I’m missing? ___ 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] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
Issue resolved -- this issue is caused by improper root user permission to read/write to NFS export share OK here is what i did with the NFS and UID 36 tests first test as user vdsm on the ovirt server itself $ ssh server3 Last login: Sun Jan 12 23:53:58 2014 [mdiwan@server3 ~]$ id vdsm uid=36(vdsm) gid=36(kvm) groups=36(kvm),179(sanlock),107(qemu) [mdiwan@server3 ~]$ sudo su - vdsm [sudo] password for mdiwan: This account is currently not available. [mdiwan@server3 ~]$ sudo vi /etc/passwd [mdiwan@server3 ~]$ sudo su - vdsm -bash-4.2$ mkdir /tmp/ovirt-mount -bash-4.2$ exit logout [mdiwan@server3 ~]$ su - Password: [root@server3 ~]# mount server3:/localstorage/nfs /tmp/ovirt-mount [root@server3 ~]# su - vdsm -bash-4.2$ whoami vdsm -bash-4.2$ id uid=36(vdsm) gid=36(kvm) groups=36(kvm),107(qemu),179(sanlock) -bash-4.2$ -bash-4.2$ -bash-4.2$ cd /tmp/ovirt-mount/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/ -bash-4.2$ ls dom_md images master -bash-4.2$ touch foo -bash-4.2$ ls dom_md foo images master -bash-4.2$ ls -l total 0 drwxr-xr-x 2 vdsm kvm 69 Dec 26 19:07 dom_md -rw-r--r-- 1 vdsm kvm 0 Jan 14 11:39 foo drwxr-xr-x 2 vdsm kvm 6 Dec 26 19:07 images drwxr-xr-x 4 vdsm kvm 28 Dec 26 19:07 master -bash-4.2$ rm foo -bash-4.2$ ls dom_md images master -bash-4.2$ exit logout second test on a separate server with the ovirt server's NFS export with a temporary UID 3 GID 36 user [root@server2 ~]# mount server3:/ /localstorage/nfs/var/lib/exports/iso-20131223154119 /var/lib/exports/iso [root@server2 ~]# mount server3:/localstorage/nfs /tmp/ovirt-mount [root@server2 ~]# su - vdsm -bash-4.2$ cd /tmp/ovirt-mount/ -bash-4.2$ ls 8eff2927-3bff-4b15-bdd0-8c4e0f40652d __DIRECT_IO_TEST__ -bash-4.2$ cd 8eff2927-3bff-4b15-bdd0-8c4e0f40652d/ -bash-4.2$ ls dom_md images master -bash-4.2$ touch foo -bash-4.2$ ls dom_md foo images master -bash-4.2$ ls -l total 0 drwxr-xr-x. 2 vdsm kvm 69 Dec 26 19:07 dom_md -rw-r--r--. 1 vdsm kvm 0 Jan 14 11:52 foo drwxr-xr-x. 2 vdsm kvm 6 Dec 26 19:07 images drwxr-xr-x. 4 vdsm kvm 28 Dec 26 19:07 master -bash-4.2$ rm foo -bash-4.2$ ls dom_md images master -bash-4.2$ exit logout [root@server2 ~]# cd /tmp/ovirt-mount/ [root@server2 ovirt-mount]# ls 8eff2927-3bff-4b15-bdd0-8c4e0f40652d __DIRECT_IO_TEST__ [root@server2 ovirt-mount]# cd 8eff2927-3bff-4b15-bdd0-8c4e0f40652d/ [root@server2 8eff2927-3bff-4b15-bdd0-8c4e0f40652d]# ls dom_md images master [root@server2 8eff2927-3bff-4b15-bdd0-8c4e0f40652d]# touch foo touch: cannot touch ‘foo’: Permission denied ROOT USER FAILS TO WRITE .. definitely NFS permissions. problem is that vdsm user has /sbin/nologin set in /etc/password , i had to change that for this test.. and i have been under the impression that root user should be the one doing the conversion. based on the above I have changed my nfs export to allow root to write this NFS storage, the conversion now works thank you Matt and thank you Richard for taking the time to figure this out with me. Dont like using root for the conversions though, too easy to destroy the source vms on ESX for my taste. Going forward i think i am going to make a conVIRT user instead of use root.. i'll let the list know how that goes. looks like NFS is the only thing that would need changing ( maybe i can make it a NFS only account) Madhav -Original Message- From: Matthew Booth mbo...@redhat.com To: Madhav V Diwan mdi...@diwanconsulting.com, Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Tue, 14 Jan 2014 16:33:28 + On 14/01/14 16:30, Madhav V Diwan wrote: HI all , Any new ideas about this issue ?.. its blocking me from my ESX conversion ... Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Sat, 11 Jan 2014 08:57:33 -0500 setting up a physical /tmp with 1777 permissions did not work .. and i see ovirt/vdsm is making a temporary nfsV4 mount of the target export domain to /tmp on the ovirt server (what i thought was a hard link is actually a nfs mount for the duration of the conversion) so if the issue is not permissions on /tmp or the fact that we normally use tmpfs , what is left? -Original Message- To: Richard W.M. Jones rjo...@redhat.com Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Fri, 10 Jan 2014 17:26:34 -0500 i have some spare disk on this server that i can make a /tmp partition from .. i am going to try that approach to rule out the tmpfs as an issue but woe to those who need such a large physical tmp partition for VM conversions.. -Original
Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
to set selinux permissive without reboot , use the setenforce command this threads issue was NFS permissions though.. -Original Message- From: Bob Doolittle b...@doolittle.us.com To: Sven Kieske s.kie...@mittwald.de, users@ovirt.org users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Tue, 14 Jan 2014 11:47:48 -0500 The first thing I do in a situation like this is to disable iptables and firewalld, to see if the problem clears up. systemctl stop iptables; systemctl stop firewalld Then, if I actually need them (usually I don't), I drill deeper. Also, I always configure SELinux to permissive in /etc/selinux/config (but I don't know how to make that take effect immediately without reboot on Fedora). -Bob On 01/14/2014 11:38 AM, Sven Kieske wrote: Hi, I didn't reread the whole thread, but did you check firewall settings and SELinux if they permit NFS to those directorys? Am 14.01.2014 17:33, schrieb Matthew Booth: Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt ___ 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] [Engine-devel] Showing stacktrace info in GUI error dialog
- Original Message - From: Greg Sheremeta gsher...@redhat.com To: Einav Cohen eco...@redhat.com Cc: engine-devel engine-de...@ovirt.org, users users@ovirt.org Sent: Tuesday, January 14, 2014 12:35:53 PM Subject: Re: [Engine-devel] Showing stacktrace info in GUI error dialog - Original Message - From: Einav Cohen eco...@redhat.com To: engine-devel engine-de...@ovirt.org, users users@ovirt.org, Martin Perina mper...@redhat.com Sent: Tuesday, January 14, 2014 11:23:34 AM Subject: [Engine-devel] Showing stacktrace info in GUI error dialog Hi, this is about patch [1] - showing server-side-exception stacktrace info in GUI error dialog. a couple of notes about this patch: (1) I find it a little strange that server-side exceptions are not logged in the server side and are / will be displayed only on the client-side - this needs to be fixed first. +1. (2) once everything is logged on the server side, we can debate whether it makes sense to put the full exception stack-trace *also* in the GUI error pop-up. I think that it is not completely necessary (since if there is a server side exception, the user is likely to go to the server side log anyway to get the full picture / context), but if it is (and I'd like to hear your opinion about that) - we shouldn't show the entire exception in the dialog once the dialog is displayed - that's too much information to absorb. We should show whatever we are showing today, and also something like a More Details collapsible section (collapsed by default) that, when expanded, displays the full exception details. comments are welcome. I personally appreciate web apps that allow me to see an error (or even expose an entire log file), but do so gracefully -- hide it under a option, That should read under a menu option use a More Details option like you mention, etc. I think saving a person the step of ssh'ing to a server and digging for a log file is a nice-to-have. Greg Thanks, Einav [1] http://gerrit.ovirt.org/#/c/23096/ ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
On 01/14/2014 12:34 PM, Madhav V Diwan wrote: to set selinux permissive without reboot , use the setenforce command this threads issue was NFS permissions though.. I would check both, as Sven suggested. If SELinux is enforced, the policy might be blocking NFS service, you never know. Easy enough to try. -Bob -Original Message- From: Bob Doolittle b...@doolittle.us.com To: Sven Kieske s.kie...@mittwald.de, users@ovirt.org users@ovirt.org Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host Date: Tue, 14 Jan 2014 11:47:48 -0500 The first thing I do in a situation like this is to disable iptables and firewalld, to see if the problem clears up. systemctl stop iptables; systemctl stop firewalld Then, if I actually need them (usually I don't), I drill deeper. Also, I always configure SELinux to permissive in /etc/selinux/config (but I don't know how to make that take effect immediately without reboot on Fedora). -Bob On 01/14/2014 11:38 AM, Sven Kieske wrote: Hi, I didn't reread the whole thread, but did you check firewall settings and SELinux if they permit NFS to those directorys? Am 14.01.2014 17:33, schrieb Matthew Booth: Hi, Madhav. I don't see a response from you about the NFS permission test. Did you do it? I remain convinced that this is your problem. Matt ___ 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] oVirt 3.3.3 beta is now available
The oVirt team is pleased to announce that the 3.3.3 Beta is now available in beta [1] repository for testing. Feel free to join us testing it! You'll find all needed info for installing it on the release notes page, already available on the wiki [2]. A new oVirt Node build will be available soon as well. [1] http://resources.ovirt.org/releases/beta/ [2] http://www.ovirt.org/OVirt_3.3.3_release_notes -- 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
[Users] What's the correct way to upload a VM ISO image?
Hi, I am a little confused by the quick start guide. It lists a command to upload the ISO image: engine-iso-uploader upload -i local-iso-share [file1] [file2] [fileN] My questions are: 1. Do I have to copy the files (ISO images) from somewhere else to the engine machine before using this cmd? If image files are on a different server, what's the right syntax to upload them? 2. Is local-iso-share the name of the ISO domain? For example, should I use ISO_DOMAIN if I have the following: ISO Storage Domain Name | Datacenter | ISO Domain Status ISO_DOMAIN | DC-CPA3 | active 3. If I don't use engine-iso-uploader command, instead I prefer to uploading the image myself. What is the right directory for me to put my images in? Is it /var/lib/exports/iso on the machine running the ovirt engine? Thanks. David ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] What's the correct way to upload a VM ISO image?
Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag von quot;David Li [david...@sbcglobal.net] Gesendet: Dienstag, 14. Januar 2014 21:06 An: users@ovirt.org Betreff: [Users] What's the correct way to upload a VM ISO image? ... 3. If I don't use engine-iso-uploader command, instead I prefer to uploading the image myself. What is the right directory for me to put my images in? Is it /var/lib/exports/iso on the machine running the ovirt engine? We use NFS and uploaded the first image with the Uploader to find the right location.Aat least in our case we have very cryptic directory names: # pwd /rhev/data-center/mnt/10.10.30.253:_var_nas3_OVirtISO/bff3a2be-fdd9-4e37-b416-fa4ef7fafba2/images/---- # ls SLES-11-SP3-DVD-x86_64-GM-DVD1.iso SLES-11-SP3-DVD-x86_64-GM-DVD2.iso ... Even if the root folders do not match in your case I expect similar UUID based folder names. Markus Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Ãber das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] conversion of ESXi 5 centos VM to fedora19 ovirt host-- import failed
well. its never easy is it... anyone have an idea as to what I've done wrong now? Import failed due to the following 2014-01-14 14:39:37,400 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--127.0.0.1-8702-8) [79a09c5d] START, DoesImageExistVDSCommand( storagePoolId = 030ed024-e10c-450f-9b1d-1ed40802fd17, ignoreFailoverLimit = false, storageDomainId = 8eff2927-3bff-4b15-bdd0-8c4e0f40652d, imageGroupId = 0bbe9315-13ba-4e37-b6b2-5366b6b70d2d, imageId = 5e9d09c6-b2ba-419d-9bc5-976d3507), log id: 28a4a8eb 2014-01-14 14:39:37,475 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--127.0.0.1-8702-8) [79a09c5d] FINISH, DoesImageExistVDSCommand, return: true, log id: 28a4a8eb 2014-01-14 14:39:37,511 INFO [org.ovirt.engine.core.bll.ImportVmCommand] (pool-6-thread-48) [79a09c5d] Running command: ImportVmCommand internal: false. Entities affected : ID: 0bc08020-eeb5-4707-af85-92de8e89d91f Type: Storage 2014-01-14 14:39:37,525 INFO [org.ovirt.engine.core.bll.ImagesHandler] (pool-6-thread-48) [79a09c5d] Disk alias retrieved from the client is null or empty, the suggested default disk alias to be used is dev1_Disk1 2014-01-14 14:39:37,525 WARN [org.ovirt.engine.core.bll.ImportVmCommand] (pool-6-thread-48) [79a09c5d] VM e9404bd8-7ecb-45bf-bfce-6d00b02595fd doesnt have active snapshot in export domain 2014-01-14 14:39:37,529 INFO [org.ovirt.engine.core.bll.CopyImageGroupCommand] (pool-6-thread-48) [7dbe036b] Running command: CopyImageGroupCommand internal: true. Entities affected : ID: 0bc08020-eeb5-4707-af85-92de8e89d91f Type: Storage 2014-01-14 14:39:37,541 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (pool-6-thread-48) [7dbe036b] START, CopyImageVDSCommand( storagePoolId = 030ed024-e10c-450f-9b1d-1ed40802fd17, ignoreFailoverLimit = false, storageDomainId = 8eff2927-3bff-4b15-bdd0-8c4e0f40652d, imageGroupId = 0bbe9315-13ba-4e37-b6b2-5366b6b70d2d, imageId = 5e9d09c6-b2ba-419d-9bc5-976d3507, dstImageGroupId = 0bbe9315-13ba-4e37-b6b2-5366b6b70d2d, vmId = e9404bd8-7ecb-45bf-bfce-6d00b02595fd, dstImageId = 5e9d09c6-b2ba-419d-9bc5-976d3507, imageDescription = , dstStorageDomainId = 0bc08020-eeb5-4707-af85-92de8e89d91f, copyVolumeType = LeafVol, volumeFormat = RAW, preallocate = Preallocated, postZero = false, force = true), log id: 32b8fe16 2014-01-14 14:39:37,542 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (pool-6-thread-48) [7dbe036b] -- executeIrsBrokerCommand: calling 'copyImage' with two new parameters: description and UUID 2014-01-14 14:39:37,542 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (pool-6-thread-48) [7dbe036b] -- copyImage parameters: sdUUID=8eff2927-3bff-4b15-bdd0-8c4e0f40652d spUUID=030ed024-e10c-450f-9b1d-1ed40802fd17 vmGUID=e9404bd8-7ecb-45bf-bfce-6d00b02595fd srcImageGUID=0bbe9315-13ba-4e37-b6b2-5366b6b70d2d srcVolUUID=5e9d09c6-b2ba-419d-9bc5-976d3507 dstImageGUID=0bbe9315-13ba-4e37-b6b2-5366b6b70d2d dstVolUUID=5e9d09c6-b2ba-419d-9bc5-976d3507 descr= dstSdUUID=0bc08020-eeb5-4707-af85-92de8e89d91f 2014-01-14 14:39:37,549 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (pool-6-thread-48) [7dbe036b] Command CopyImageVDS execution failed. Exception: IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Image does not exist in domain: 'image=0bbe9315-13ba-4e37-b6b2-5366b6b70d2d, domain=8eff2927-3bff-4b15-bdd0-8c4e0f40652d' 2014-01-14 14:39:37,550 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (pool-6-thread-48) [7dbe036b] FINISH, CopyImageVDSCommand, return: ----, log id: 32b8fe16 2014-01-14 14:39:37,550 ERROR [org.ovirt.engine.core.bll.CopyImageGroupCommand] (pool-6-thread-48) [7dbe036b] Command org.ovirt.engine.core.bll.CopyImageGroupCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Image does not exist in domain: 'image=0bbe9315-13ba-4e37-b6b2-5366b6b70d2d, domain=8eff2927-3bff-4b15-bdd0-8c4e0f40652d' (Failed with error ImageDoesNotExistInDomainError and code 268) - ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] FOSDEM reminder
Hi everyone, just a reminder, we have this Etherpad with all the relevant information on our FOSDEM plans: http://etherpad.ovirt.org/p/ovirt-fosdem-14 You can also join the events we created in FB: https://www.facebook.com/events/593033774106561/ G+: https://plus.google.com/u/0/events/cm89k6scm67ivmqca7596nq7f2g Feel free to add yourself to the stand shift. Also, if you'd like to come to the oVirt meet-up, please put your name in the list. See you all in FOSDEM! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Horrid performance during disk I/O
On 1/14/2014 11:04 AM, Andrew Cathrow wrote: Did you compare virtio-block to virto-scsi, the former will likely outperform the latter. No, but I have been meaning to, out of curiosity. But why do you say virto-blk will be faster than virtio-scsi? The virtio-scsi wiki claims equal performance. I've been trying to get some real numbers of the performance differences using iozone, but the numbers are all over the place, both on the HV and the guests, so not very meaningful. Not an iozone expert, so still trying to figure out what I'm doing wrong there as well. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] cluster version incompatible ovirt 3.4 alpha all-in-one
On 01/14/2014 06:13 PM, Jorick Astrego wrote: My co-worker is installing a 3.4 alpha all in one setup and we get the following error: Host local_host is installed with VDSM version (UNKNOWN) and cannot join cluster local_cluster which is compatible with VDSM versions [4.13, 4.9, 4.11, 4.12, 4.10]. When we try to edit the cluster, there is only 3.3 to choose from. Kind regards, Jorick Astrego Netbulae ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users what does 'vdsClient -s 0 getVdsCaps' on the host returns? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] What's the correct way to upload a VM ISO image?
Markus, Before upload, where was your image located? On the engine? On a different machine? David - Original Message - From: Markus Stockhausen stockhau...@collogia.de To: David Li david...@sbcglobal.net; users@ovirt.org users@ovirt.org Cc: Sent: Tuesday, January 14, 2014 12:13 PM Subject: AW: [Users] What's the correct way to upload a VM ISO image? Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag von quot;David Li [david...@sbcglobal.net] Gesendet: Dienstag, 14. Januar 2014 21:06 An: users@ovirt.org Betreff: [Users] What's the correct way to upload a VM ISO image? ... 3. If I don't use engine-iso-uploader command, instead I prefer to uploading the image myself. What is the right directory for me to put my images in? Is it /var/lib/exports/iso on the machine running the ovirt engine? We use NFS and uploaded the first image with the Uploader to find the right location.Aat least in our case we have very cryptic directory names: # pwd /rhev/data-center/mnt/10.10.30.253:_var_nas3_OVirtISO/bff3a2be-fdd9-4e37-b416-fa4ef7fafba2/images/---- # ls SLES-11-SP3-DVD-x86_64-GM-DVD1.iso SLES-11-SP3-DVD-x86_64-GM-DVD2.iso ... Even if the root folders do not match in your case I expect similar UUID based folder names. Markus ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] installation failed on cluster host
HI, Running through the whole installation exercises on two hosts again with the latest release on CentOS6.5. I added a host to a new cluster. There are action items listed under the new host. One of them is Host installation failed. Fix installation issues and try to Re-Install I clicked Re-install, I monitor the engine.log and see the followings Installation 10.10.25.10: Yum [u'Errors were encountered while downloading packages.', u'libselinux- python-2.0.94-5.3.el6_4.1.x86_64: failure: Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: [Errno 256] No more mirrors to try.'] I'm sure I ran yum update already and I cleaned the db and rerun update...etc. Eventually I manually did `yum install vdsm.x86_64` on the host. Try to run re-install again and I still get yum error. Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.10.25.10: Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base iproute is sure installed. # rpm -qa|grep iproute iproute-2.6.32-31.el6.x86_64 Something in ssh? Password is sure correct, what could be wrong Will___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Issues installing hosted-engine with 3.4.0 alpha
Hi, Dropping VDSM list because I'm not subscribed. Using the nightly repo it seems to be fixed. I will continue to report any new findings. Thanks, Andrew. On Tue, Jan 14, 2014 at 8:52 PM, Sandro Bonazzola sbona...@redhat.comwrote: Il 14/01/2014 03:39, Andrew Lau ha scritto: It looks like vdsm is trying to execute: vdsm-tool unified_network_persistence_upgrade But my version of vdsm-tool has it labeled as upgrade-unified-persistence vdsm people, can you check this? On Tue, Jan 14, 2014 at 1:32 PM, Andrew Lau and...@andrewklau.commailto: and...@andrewklau.com wrote: Hi, I'm giving the new hosted-engine feature a try with the new 3.4.0 alpha build on centos 6.5 hosted-engine --deply seems to fail at the 'Environment setup [ ERROR ] Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute Within the logs I believe it seems to be related to vdsm. Logs show VDS daemon is not running service vdsm start gives the following error: initctl: Job is already running: libvirtd vdsm: Running mkdirs vdsm: Running configure_coredump vdsm: Running run_init_hooks vdsm: Running gencerts vdsm: Running check_is_configured libvirt is already configured for vdsm sanlock service is already configured vdsm: Running validate_configuration SUCCESS: ssl configured to true. No conflicts vdsm: Running prepare_transient_repository vdsm: Running syslog_available vdsm: Running nwfilter vdsm: Running dummybr vdsm: Running load_needed_modules vdsm: Running tune_system vdsm: Running test_space vdsm: Running test_lo vdsm: Running restore_nets vdsm: Running unified_network_persistence_upgrade Usage: /usr/bin/vdsm-tool [options] action [arguments] Valid options: -h, --help Commands in module configurator: configureConfigure external services for vdsm is-configuredDetermine if module is configured validate-config Determine if configuration is valid Commands in module dummybr: dummybr Defines dummy bridge on libvirt network. Commands in module load_needed_modules: load-needed-modules Load needed modules Commands in module nwfilter: nwfilter Defines network filters on libvirt Commands in module passwd: set-saslpasswd Set vdsm password for libvirt connection Commands in module restore_nets: restore-nets Restores the networks to what was previously persisted via vdsm. Commands in module seboolsetup: sebool-config Enable the required selinux booleans sebool-unconfig Disable the required selinux booleans Commands in module service: service-disable Disable a system service service-is-managed Check the existence of a service service-reload Notify a system service to reload configurations service-restart Restart a system service service-startStart a system service service-status Get status of a system service service-stop Stop a system service Commands in module transient: cleanup-transient-repository Cleanup the unused transient disks present in the repository. (NOTE: it is recommended to NOT execute this command when the vdsm daemon is running) setup-transient-repository Prepare the transient disks repository Commands in module unified_persistence: upgrade-unified-persistence Upgrade host networking persistence from ifcfg to unified if the persistence model is set as unified in /usr/lib64/python2.X/site-packages/ vdsm/config.py Commands in module upgrade: Commands in module upgrade_300_networks: upgrade-3.0.0-networks Since ovirt-3.0, Vdsm uses libvirt networks (with names vdsm-*) to store its own networks. Older Vdsms did not have those defined, and used only linux bridges. This command is kept as an upgrade tool for the (very few) people who still have such old setups running. Commands in module validate_ovirt_certs: validate-ovirt-certs Validate vdsmcert.pem against
Re: [Users] Issues installing hosted-engine with 3.4.0 alpha
I guess I spoke too soon.. Although, it allowed me to complete the setup prompts it now fails at Misc Configuration Error Logs: 2014-01-15 11:49:34 INFO otopi.plugins.ovirt_hosted_engine_setup.system.vdsmenv vdsmenv._connect:81 Waiting for VDSM hardware info 2014-01-15 11:49:35 INFO otopi.plugins.ovirt_hosted_engine_setup.system.vdsmenv vdsmenv._connect:81 Waiting for VDSM hardware info 2014-01-15 11:49:36 DEBUG otopi.plugins.ovirt_hosted_engine_setup.system.vdsmenv vdsmenv._connect:78 {'status': {'message': 'Recovering from crash or$ 2014-01-15 11:49:36 DEBUG otopi.context context.dumpEnvironment:456 ENVIRONMENT DUMP - BEGIN 2014-01-15 11:49:36 DEBUG otopi.context context.dumpEnvironment:471 ENV OVEHOSTED_VDSM/vdsClient=instance:'vdsClientGluster.GlusterService instance $ 2014-01-15 11:49:36 DEBUG otopi.context context.dumpEnvironment:473 ENVIRONMENT DUMP - END 2014-01-15 11:49:36 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.ovirt_hosted_engine_setup.network.bridge.Plugin._m$ 2014-01-15 11:49:36 INFO otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:189 Configuring the management bridge 2014-01-15 11:49:37 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in _executeMethod method['method']() File /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py, line 194, in _misc ].s.getVdsCapabilities()['info']['nics'][nics] KeyError: 'info' 2014-01-15 11:49:37 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': 'info' 2014-01-15 11:49:37 DEBUG otopi.transaction transaction.abort:131 aborting 'File transaction for '/etc/ovirt-hosted-engine/firewalld/hosted-console.x$ 2014-01-15 11:49:37 DEBUG otopi.transaction transaction.abort:131 aborting 'File transaction for '/etc/ovirt-hosted-engine/iptables.example'' 2014-01-15 11:49:37 DEBUG otopi.transaction transaction.abort:131 aborting 'File transaction for '/etc/sysconfig/iptables'' 2014-01-15 11:49:37 DEBUG otopi.transaction transaction.abort:131 aborting 'File transaction for '/etc/ovirt-hosted-engine-ha/broker.conf'' 2014-01-15 11:49:37 DEBUG otopi.context context.dumpEnvironment:456 ENVIRONMENT DUMP - BEGIN 2014-01-15 11:49:37 DEBUG otopi.context context.dumpEnvironment:471 ENV BASE/error=bool:'True' 2014-01-15 11:49:37 DEBUG otopi.context context.dumpEnvironment:473 ENVIRONMENT DUMP - END 2014-01-15 11:49:37 INFO otopi.context context.runSequence:395 Stage: Clean up 2014-01-15 11:49:37 DEBUG otopi.context context.runSequence:399 STAGE cleanup On Wed, Jan 15, 2014 at 11:27 AM, Andrew Lau and...@andrewklau.com wrote: Hi, Dropping VDSM list because I'm not subscribed. Using the nightly repo it seems to be fixed. I will continue to report any new findings. Thanks, Andrew. On Tue, Jan 14, 2014 at 8:52 PM, Sandro Bonazzola sbona...@redhat.comwrote: Il 14/01/2014 03:39, Andrew Lau ha scritto: It looks like vdsm is trying to execute: vdsm-tool unified_network_persistence_upgrade But my version of vdsm-tool has it labeled as upgrade-unified-persistence vdsm people, can you check this? On Tue, Jan 14, 2014 at 1:32 PM, Andrew Lau and...@andrewklau.commailto: and...@andrewklau.com wrote: Hi, I'm giving the new hosted-engine feature a try with the new 3.4.0 alpha build on centos 6.5 hosted-engine --deply seems to fail at the 'Environment setup [ ERROR ] Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute Within the logs I believe it seems to be related to vdsm. Logs show VDS daemon is not running service vdsm start gives the following error: initctl: Job is already running: libvirtd vdsm: Running mkdirs vdsm: Running configure_coredump vdsm: Running run_init_hooks vdsm: Running gencerts vdsm: Running check_is_configured libvirt is already configured for vdsm sanlock service is already configured vdsm: Running validate_configuration SUCCESS: ssl configured to true. No conflicts vdsm: Running prepare_transient_repository vdsm: Running syslog_available vdsm: Running nwfilter vdsm: Running dummybr vdsm: Running load_needed_modules vdsm: Running tune_system vdsm: Running test_space vdsm: Running test_lo vdsm: Running restore_nets vdsm: Running unified_network_persistence_upgrade Usage: /usr/bin/vdsm-tool [options] action [arguments] Valid options: -h, --help Commands in module configurator: configureConfigure external services for vdsm is-configuredDetermine if module is configured validate-config Determine if configuration is valid Commands in module dummybr: dummybr
Re: [Users] [Engine-devel] Showing stacktrace info in GUI error dialog
Hi, I would like to correct a few things in this case. The reason for patch [1] was to identify, from which part of engine code InvocationTargetException came from. (more details are at [2] and [3]). In both cases this exception was not logged in engine.log or server.log Trying to verify this patch I found out this: 1) If this exception was raised during command/query execution, it would be part VdsReturnValue and shown in UI in Operation Canceled dialog. And what's most important, the exception would be definitely logged in engine.log 2) If this exception was raised on backend side outside of command/query execution (I simulated this by throwing RuntimeException inside Backend.runAction/runQuery) it would be shown in UI with HTTP status code (500 in this case) and also would be logged in engine.log 3) If this exception was raised somewhere servlet part of frontend code (GenericApiGWTServiceImpl) it would also be shown in UI with HTTP status code (500 in this case) and also would be logged in server.log 4) For all other cases there is shown dialog in UI with 'Error while executing action: A Request to the Server failed: XXX' where XXX is the exception message. Patch [1] adds stacktrace to this dialog so we will be able to identify origin of those rare exceptions. So the exception was raised somewhere else and since bugs [2],[3] wasn't been successfully reproduced yet, it's the only way how to find out origin of the exception. And I should also note, that I have no intention to show stacktrace in UI for normal exceptions described in 1), 2) or 3) Thanks Martin [1] http://gerrit.ovirt.org/23096 [2] http://bugzilla.redhat.com/1039248 [3] http://bugzilla.redhat.com/1034437 - Original Message - From: Greg Sheremeta gsher...@redhat.com To: Einav Cohen eco...@redhat.com Cc: engine-devel engine-de...@ovirt.org, users users@ovirt.org, Martin Perina mper...@redhat.com Sent: Tuesday, January 14, 2014 6:35:53 PM Subject: Re: [Engine-devel] Showing stacktrace info in GUI error dialog - Original Message - From: Einav Cohen eco...@redhat.com To: engine-devel engine-de...@ovirt.org, users users@ovirt.org, Martin Perina mper...@redhat.com Sent: Tuesday, January 14, 2014 11:23:34 AM Subject: [Engine-devel] Showing stacktrace info in GUI error dialog Hi, this is about patch [1] - showing server-side-exception stacktrace info in GUI error dialog. a couple of notes about this patch: (1) I find it a little strange that server-side exceptions are not logged in the server side and are / will be displayed only on the client-side - this needs to be fixed first. +1. (2) once everything is logged on the server side, we can debate whether it makes sense to put the full exception stack-trace *also* in the GUI error pop-up. I think that it is not completely necessary (since if there is a server side exception, the user is likely to go to the server side log anyway to get the full picture / context), but if it is (and I'd like to hear your opinion about that) - we shouldn't show the entire exception in the dialog once the dialog is displayed - that's too much information to absorb. We should show whatever we are showing today, and also something like a More Details collapsible section (collapsed by default) that, when expanded, displays the full exception details. comments are welcome. I personally appreciate web apps that allow me to see an error (or even expose an entire log file), but do so gracefully -- hide it under a option, use a More Details option like you mention, etc. I think saving a person the step of ssh'ing to a server and digging for a log file is a nice-to-have. Greg Thanks, Einav [1] http://gerrit.ovirt.org/#/c/23096/ ___ Engine-devel mailing list engine-de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users