Re: [ovirt-users] Live migration - quest VM stall
On 9 Jun 2014, at 21:05, Markus Stockhausen wrote: Hello, at the moment we are investigating stalls of Windows XP VMs during live migration. Our environment consists of: - FC20 hypervisor nodes - qemu 1.6.2 - OVirt 3.4.1 - Guest: Windows XP SP2 - VM Disks: Virtio IDE tested - SPICE / VNC: both tested - Balloon: With without tested - Cluster compatibility: 3.4 - CPU Nehalem After 2-10 live migrations the Windows XP guest is no longer responsive. First of all we thougth that it might be related to SPICE because we were no longer able to logon to the console. So we installed XP telnet server in the VM but that showed a similar behaviour: - The telnet welcome dialogue is always available (network seems ok) - Sometime after a live migration if you enter the password the telnet gives no response. In parallel the SPICE console allows to move open windows. But as soon as one clicks on the start the menu the system gives no response. Even after updating to qemu 2.0 with virt-preview respositories the behaviour stays the same. Looks like the system cannot access This really seems more either SPICE or QEMU related…. You can isolate the behavior to that single VM? Or single OS type(others work ok)? or it's happening for any other VM randomly? Thanks, michal Any ideas? Markus InterScan_Disclaimer.txt___ 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] Resource Pools in oVirt
On 10 Jun 2014, at 23:18, s k wrote: Hello all, As far as I understand, CPU Shares can be set on each VM individually and cannot be changed while it's powered on. It would be great if we could create resource pools (similar to what VMware does) for CPU shares so that we could assign priorities on multiple VMs and be able to move them between Resource Pools of different priorities. I know that we can configure quotas but it's not the same as CPU shares. Is that something planned for a future release? Shall I open an RFE for that ? Doron would know…? Regards, Sokratis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] SLA : RAM scheduling
On 11 Jun 2014, at 14:31, noc wrote: On 26-5-2014 16:22, Gilad Chaplik wrote: Hi Nathanaël, happy to assist :) hope it will work in first run: 1) install the proxy and ovirtsdk. 2) put attached file in the right place (according to docs: .../plugins), make sure to edit the file with your ovirt's ip, user@domain and PW. 3) restart proxy service. 3) use config tool to configure ovirt-engine: * ExternalSchedulerServiceURL=http://ip:18781/ * ExternalSchedulerEnabled=true 4) restart ovirt-engine service. 5) under configure-cluster_policy see that weight function memory_even_distribution was added (should be in manage policy units or /sth- you will see it in the main dialog as well). 6) clone/copy currernt cluster's used cluster policy (probably none - prefer it to have no balancing modules to avoid conflicts), name it 'your_name' and attach memory_even_distribution weight (you can leave it as the only weight module in weight section to avoid configuring factors). 7) replace cluster's cluster policy with newly created one. try it out and let me know how goes :-) Ok, progress of some sort :-) I added the weight function to the cluster and when I replace my dns name with localhost in ExternalSchedulerServiceURL then engine.log shows that it can contact the scheduler. I expected a rebalance but nothing happened. Stopping and starting a VM does provoke a reaction, an error :-( From the scheduler.log I see that engine contacts it and pushes some information, the log also shows that some information is returned and then there is a big error message in the log of engine. xmlrpc is infamous about not being able to handle numbers like 9223372010239819775 Thanks, michal Joop engine.logovirt-scheduler-proxy.log___ 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] localdomain
On 12 Jun 2014, at 05:11, Andrew Lau wrote: The cloud-init integration was a little flaky when I was using it, when it was introduced in 3.3 - definitely I ended up not using any of the inbuilt oVirt options (eg. hostname, root password). Root password never worked for me as it'd force a reset on first login.. defeating the purpose. yes. This has been fixed since (IIRC in 3.4, maybe a bit later, not sure) I'm not aware of any further issues with cloud-init recently…it should be fine there's always room for some enhancements…but pretty much you can add whatever is missing in a custom config section (also for windows sysprep) today Thanks, michal Just passing a full cloud-init config into the bottom section worked for me, so for your case just define the hostname there instead. On Tue, May 27, 2014 at 9:33 PM, Koen Vanoppen vanoppen.k...@gmail.com wrote: Hi Guys, It's bin a while :-). Luckily :-). I have a quick question. Is there a way to change the default .localdomain for the FQDN in ovirt? I would be handy if we just had to fill in the hostname of our vm (we are using 3.4, with the cloud-init feature) and he automatically adds our domain in stead of .localdomain. Kind regards, Koen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Qemu guest agent to install RPMs in guest VM from host machine
On 12 Jun 2014, at 12:42, Puneet Bakshi wrote: Hi, I want to be able to install RPM packages (available in host system at some path) to the guest VM and want this facility to be available as a tool. I am thinking of having a gemu guest agent (qemu-ga) running inside guest VM. I did not find any available command (virsh qemu-agent-command guest_vm ...) which can do the same. why would you use a guest agent (which is primarily targeted for virtualization-related tasks/coordination) rather than a generic remote execution tools (like, well, plain ssh:) The only benefit/difference with the guest agent is that it doesn't require a network connection. Do you have such a requirement? I am planning to implement a command in qemu guest agent, which I can invoke from virsh like below. virsh qemu-agent-command vm_01 \ '{execute:guest-rpm-install, \ arguments:{path:/usr/local/bin/ABC.rpm}} I am able to pass arguments from host to guest VM but how am I supposed to pass the whole RPM image from host to guest (which the guest agent can receive and install)? exactly;-) So are you trying to come up with something isolated from network completely? If not I'd go with a dedicated/different tool Thanks, michal Regards, ~Puneet ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] SLA : RAM scheduling
On 13 Jun 2014, at 11:04, Sven Kieske wrote: Well, I know this is not that helpful but afaik there is work done to replace xml-rpc communication with json based communication. @Sven: yeah, and one of the (many) reasons why we want it. But that's vdsm. Scheduler is a different package/app. Typical workaround is to use a string type to pass integer numbers (or use smaller numbers:) Am 13.06.2014 10:57, schrieb Joop: Then oVirt shouldn't either use that kind of numbers or should not use xmlrpc. Sorry but thats a non-answer and doesn't help anybody. @Joop: what's with the attitude? I have nothing to do with the scheduler and I have no idea what is it trying or supposed to return…I'm just pointing out the error is due to the large whatever number being returned; in hope of someone with knowledge of the scheduler will take it from there. I'd tend to agree XMLRPC is not the best thing to use; and I think it's important to keep reminding the common pitfalls of it. Howto solve this problem. Do you need a BZ? patches welcome, BZ always helps. However I'd wait for someone more familiar with the code to answer. Thanks, michal Joop -- 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
Re: [ovirt-users] fail to shutdown ubuntu guest
On 13 Jun 2014, at 12:19, Dan Kenigsberg wrote: On Fri, Jun 13, 2014 at 09:22:37AM +0800, John Xue wrote: I went through the xfce GUI options Settings Manager - Power Manager to the field When power button is pressed, set to power off, but only successful one time, after reboot it was already set to Ask. If no one login to guest(just power on from console, and power off), it always fail. I try to modify acpi configuration: #cat /etc/acpi/events/powerbtn event=button[ /]power #action=/etc/acpi/powerbtn.sh action=/sbin/poweroff It work, but I think this isn't a good solution. Any idea? Thanks! On Thu, Jun 12, 2014 at 11:50 PM, Dan Kenigsberg dan...@redhat.com wrote: On Thu, Jun 12, 2014 at 01:37:19PM +, Sven Kieske wrote: are you sure acpid is running inside the guest? ... or a guest agent? yes, both of them are running in guest. Can you find the shutdown request on /var/log/vdsm/vdsm.log on the host that runs your guest? yes, this is the log: Thread-158109::DEBUG::2014-06-12 16:08:26,589::BindingXMLRPC::965::vds::(wrapper) client [10.10.10.75]::call vmShutdown with ('b552d1aa-bc35-4788-a448-1726d4b984d5', '30', 'System Administrator has initiated shutdown of this Virtual Machine. Virtual Machine is shutting down.') {} flowID [5939b847] Thread-158109::DEBUG::2014-06-12 16:08:26,590::vm::2532::vm.Vm::(shutdown) vmId=`b552d1aa-bc35-4788-a448-1726d4b984d5`::guestAgent shutdown called Thread-158109::DEBUG::2014-06-12 16:08:26,590::guestIF::304::vm.Vm::(desktopShutdown) vmId=`b552d1aa-bc35-4788-a448-1726d4b984d5`::desktopShutdown called Thread-158109::DEBUG::2014-06-12 16:08:26,591::BindingXMLRPC::972::vds::(wrapper) return vmShutdown with {'status': {'message': 'Machine shut down', 'code': 0}} I there no attempt to use ACPI lower in the logs? if the agent is responsive (which it is here) then no ACPI is attempted guest agent just runs /sbin/shutdown directly Thanks, michal Anyway, it seems that an ACPI even is received by the guest. Could you now share the log of your guest agent, in order to see if it received the shutdown request and handled it somehow? ___ 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] localdomain
On 13 Jun 2014, at 15:17, Koen Vanoppen wrote: The cloud-init integration was a little flaky when I was using it, when it was introduced in 3.3 - definitely ... Indeed. We are now using 3.4 and in works much better. And indeed the root password option also works now! :-) And we can add a domain IF we type domain after every VM that has to be created. (There a some... We work for The airport :-) ). So isn't there a option where we can OR just remove the domain so the only thing left is the name we gave to the machine OR set a standard domain that ovirt uses with every VM created…? I'm not sure if cloud-init has an option specifically for domain….their docs is…well…not that great Since there's the custom script option where you can add anything…how about just set it there directly? it gets merged with the options we have in the UI so as long as it's syntactically correct cloud-config snippet, it should work Thanks, michal Kind regards and thx in advance! 2014-06-13 10:53 GMT+02:00 Michal Skrivanek michal.skriva...@redhat.com: On 12 Jun 2014, at 05:11, Andrew Lau wrote: The cloud-init integration was a little flaky when I was using it, when it was introduced in 3.3 - definitely I ended up not using any of the inbuilt oVirt options (eg. hostname, root password). Root password never worked for me as it'd force a reset on first login.. defeating the purpose. yes. This has been fixed since (IIRC in 3.4, maybe a bit later, not sure) I'm not aware of any further issues with cloud-init recently…it should be fine there's always room for some enhancements…but pretty much you can add whatever is missing in a custom config section (also for windows sysprep) today Thanks, michal Just passing a full cloud-init config into the bottom section worked for me, so for your case just define the hostname there instead. On Tue, May 27, 2014 at 9:33 PM, Koen Vanoppen vanoppen.k...@gmail.com wrote: Hi Guys, It's bin a while :-). Luckily :-). I have a quick question. Is there a way to change the default .localdomain for the FQDN in ovirt? I would be handy if we just had to fill in the hostname of our vm (we are using 3.4, with the cloud-init feature) and he automatically adds our domain in stead of .localdomain. Kind regards, Koen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] QEMU hangup with SPICE console
On 22 May 2014, at 08:48, Markus Stockhausen wrote: Hello, our hypervisor nodes are running on FC19. virt-preview repos is activated. Windows VMs are using SPICE protocol. From time to time we see hangups of the windows machines. QEMU has 100% CPU and a perf report gives the following output: Samples: 70K of event 'cycles', Event count (approx.): 49527366887 51,76% qemu-system-x86 libspice-server.so.1.8.0 [.] 0x0005a6e8 41,15% qemu-system-x86 [vdso][.] 0x0701 2,09% qemu-system-x86 libc-2.17.so [.] clock_gettime 1,10% qemu-system-x86 libspice-server.so.1.8.0 [.] pthread_self@plt 0,60% qemu-system-x86 libpthread-2.17.so[.] pthread_self 0,53% qemu-system-x86 libspice-server.so.1.8.0 [.] clock_gettime@plt 0,27% qemu-system-x86 qemu-system-x86_64[.] 0x001d6238 ... No SPICE client is connected to the VM. Any idea how to isolate the error better? disable spice i suppose resolve this how about qxl drivers? installed or not? definitely check on spice and/or qemu list… Thanks, michal Markus InterScan_Disclaimer.txt___ 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] vm's not shutting down from admin portal
On May 20, 2014, at 02:05 , Jeff Clay jeffc...@gmail.com wrote: When selecting to shutdown vm's from the admi portal, it often doesn't work although, sometimes it does. These machines are all stateless and in the same pool, yet sometimes they will shutdown from the portal, most of the time they don't. here's what I see in engine.log when they don't shutdown. 2014-05-19 18:17:42,477 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-2) [4d427221] Correlation ID: 4d427221, Job ID: ce662a5c-9474-4406-90f5-e941e130b47d, Call Stack: null, Custom Event ID: -1, Message: VM shutdown initiated by Jeff.Clay on VM USAROVRTVZ-13 (Host: USARPAOVRTHOST02). 2014-05-19 18:22:45,333 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-53) VM USAROVRTVZ-13 67a51ec0-659d-4372-b4f1-85a56e6c0992 moved from PoweringDown -- Up There is a 5 min timeout for the guest to poweroff. If it fails to do so we move the state back to Up. Your guest is likely not configured properly (either missing ovirt-guest-agent or ACPI disabled/misconfigured in OS) Thanks, michal 2014-05-19 18:22:45,381 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-53) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Shutdown of VM USAROVRTVZ-13 failed. ___ 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] Windows 7 guest not synchronize sound on ovirt 3.5
On May 20, 2014, at 02:15 , Felipe Herrera Martinez felipe.herr...@tecnosfera.com wrote: Hi all, We are experiencing a problem when accessing Windows 7 guest over virt-viewer client... although I increase/decrease the volume on Windows guest speaker... it remains always at the same level... Seems that there is no synchronization with the Client. Andy clue about the problem? and if it's a known one? haven't seen this. You may get better luck at the SPICE list as it seems to me entirely specific to the client-guest communication Thanks, michal BRgds, F. ___ 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] usb and serial port redirection
On 12 May 2014, at 00:03, Itamar Heim wrote: On 05/07/2014 03:14 AM, Demeter Tibor wrote: Hi, Can I redirect the vm host's usb and serial ports to the guests? It is very important me, because we need to virtualize a physical host that use hardware tokens (usb hw key). I didn't find any option for this. http://www.ovirt.org/VDSM-Hooks/hostusb btw, the host devices passthrough is on our list for 3.6 as well…that would eliminate the need for a hook Thanks in advance Best regards, Tibor ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] is there a complete feature list for respective os template in the OS list when make a new vm
On 13 May 2014, at 09:44, Sven Kieske wrote: Am 12.05.2014 11:13, schrieb Omer Frenkel: most per-guest-os configuration is found under /etc/ovirt-engine/osinfo.conf.d/ This implies you can not find _all_ info there, where is the rest? ;) depends what you're looking for. Per-OS stuff has been moved to osinfo recently. It used to be in VdcOptions, some of them which are not strictly per os but still guest-related are still there. And well, the logic what to do with the settings is in the code:) Thanks in advance -- 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
Re: [ovirt-users] transfer files from guest to client
On 14 May 2014, at 18:33, Jeff Clay wrote: The only thing I've been able to find on this is http://lists.freedesktop.org/archives/spice-devel/2014-February/016063.html. I was wondering if there have been any developments since then and if not, could somebody please provide more details on the guest-side virtual folder/icon that someone described. H Jeffi, you'd be better off asking on the spice list. In oVirt the only remotely relevant feature is to provide an option to enable/disable the file transfer support. But whether and how it works is out of our scope:) Thanks, michal Thank you ___ 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] is there a complete feature list for respective os template in the OS list when make a new vm
On May 12, 2014, at 11:13 , Omer Frenkel ofren...@redhat.com wrote: - Original Message - From: Ricky Schneberger ri...@schneberger.se To: users@ovirt.org Sent: Friday, May 9, 2014 10:16:21 AM Subject: [ovirt-users] is there a complete feature list for respective os template in the OS list when make a new vm -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, When I will make a new Windows 2012 vm and choose OS-type 2012 I am unable to connect with spice to the vm,but if I change this to type 2008 R2 I can. Still I am not able to install spice-guest-tools to the vm as its not supported the installer told me. So what is the difference between these OS types in the selector? Is there a complete list (CPU features etc)to get where I can se the differences between the OS types? most per-guest-os configuration is found under /etc/ovirt-engine/osinfo.conf.d/ but i dont see a reason for spice to fail with one and not the other. Win2012 and Win8 have SPICE disabled in osinfo. Only VNC is allowed since there is/were no qxl drivers. regards - -- Ricky Schneberger -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlNsgMUACgkQOap81biMC2O10gCfeh6U+Z6taWGOnFiLDZfNXN+H iIQAnjRfOd3SEFukIxRSqGQOW0OK4fj3 =2nk+ -END PGP SIGNATURE- ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] cannot connect to spice console with portaloVirt 3.4.1
On May 12, 2014, at 12:04 , Zhong Qiang xiaoqiang3...@gmail.com wrote: since I upgraded from oVirt 3.4.0,I can't connect to spice console with userportal/adminportal.received this error: Unable to conect to the graphic server c:\DOCUME~1\it\LOCALS~1\Temp\console.vv Any help is greatly appreciated. Thank you Most likely you have an outdated and old virt-viewer… Thanks, michal ___ 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] supported versions of ovirt (again)
On May 12, 2014, at 13:26 , Sven Kieske s.kie...@mittwald.de wrote: Hi, I'd like to talk again about the support for the available ovirt versions. I have recently read some times that 3.3. is not supported anymore, e.g.: Am 12.05.2014 12:28, schrieb Dan Kenigsberg: Backporting this to the now-unsupported ovirt-3.3 is not really viable, I a m afraid. By support I guess you mean the following: There will be no updates (e.g. 3.3.6.) anymore Is this correct? Is there any way to determine how long a given x.y.z. release will get .z updates ? It would be good if there is some consistency in that, so users can better plan their own release management of new versions. e.g. (made up numbers by me): there will always be 3 z releases if a regression is found there will always be a .z release which fixes it. how many y. releases will get .z patches at the same time? I know you can't expect a totally planned support, if you need it, you could buy some well known downstream product. But at the moment it seems very random (at least to me) how long a given release is out and gets patches and when it stops getting patches. It typically stops after the next .y release is out. So after 3.4 is GA the need for next 3.3.z is less important. I'd say after 3.4 is GA you can expect at most one or two more 3.3.z for urgent/security fixes, and by the time of 3.4.1 or 3.4.2 the updates on 3.3 would stop I think we don't deviate from this that much. The actual number of .z depends on the length of the development of next release as well as number of issues, so that varies. Thanks, michal -- 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
Re: [ovirt-users] supported versions of ovirt (again)
On May 12, 2014, at 14:42 , Morten Stevens mstev...@fedoraproject.org wrote: On 12.05.2014 14:02, Michal Skrivanek wrote: Hi Michal, It typically stops after the next .y release is out. So after 3.4 is GA the need for next 3.3.z is less important. I'd say after 3.4 is GA you can expect at most one or two more 3.3.z for urgent/security fixes, and by the time of 3.4.1 or 3.4.2 the updates on 3.3 would stop I think we don't deviate from this that much. The actual number of .z depends on the length of the development of next release as well as number of issues, so that varies. Another question in this context: How long do you plan to support operating systems like RHEL6/CentOS6 with new oVirt releases/updates? Is it planned to support RHEL6 with new oVirt releases after the general availability of RHEL7? I expect EL6 compatibility will be there for quite some time, though I don't know, someone from integration better answer, each release has some overhead to maintain. Thanks, michal Best regards, Morten ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] is spice html5 console actually working
On May 12, 2014, at 15:47 , Jeremiah Jahn jerem...@goodinassociates.com wrote: no. I just modified the scripts to allow unsecured connections. it works fine on clean install…so I wonder what did you do differently and where:-/ On Sun, May 11, 2014 at 3:43 PM, Itamar Heim ih...@redhat.com wrote: On 04/17/2014 09:56 AM, Jeremiah Jahn wrote: Has anyone gotten the html5 spice console to work, and did you have to do anything special other than enable it? I've tried every browser except opera and ie on linux and mac ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users was this resolved? ___ 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] cannot connect to spice console with portaloVirt 3.4.1
On 13 May 2014, at 05:13, Zhong Qiang xiaoqiang3...@gmail.com wrote: I installed virt-viewer-0.6 on win2008R2(http://virt-manager.org/download/sources/virt-viewer/virt-viewer-x64-0.6.0.msi),but it doesn't work. and got the same error messages. And how did you connect before you've upgraded ovirt? Can you download and open the .vv file manually? Thanks, michal Thanks, qiang 2014-05-12 18:30 GMT+08:00 Michal Skrivanek michal.skriva...@redhat.com: On May 12, 2014, at 12:04 , Zhong Qiang xiaoqiang3...@gmail.com wrote: since I upgraded from oVirt 3.4.0,I can't connect to spice console with userportal/adminportal.received this error: Unable to conect to the graphic server c:\DOCUME~1\it\LOCALS~1\Temp\console.vv Any help is greatly appreciated. Thank you Most likely you have an outdated and old virt-viewer… Thanks, michal ___ 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] qemu-kvm-rhev for el6
On Apr 24, 2014, at 06:09 , Paul Jansen vla...@yahoo.com.au wrote: hello, does anyone know if there are an existent bugzilla to track the release of qemu-kvm-rhev rpms under el (like centos)? Because I've looked at bugzilla and google docs oVirt Planning Tracking with no luck best regards a I think this is the best fit that I have found so far: https://bugzilla.redhat.com/show_bug.cgi?id=1009100 yes. It got side-tracked by implementing the detection whether it's there or not, that is now implemented. we still want to track building it ourselves…I'm not sure how far we got….Sandro? ___ 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] configuration maximus
On Apr 24, 2014, at 08:32 , Itamar Heim ih...@redhat.com wrote: On 04/24/2014 09:13 AM, Ovirt User wrote: i need to put 200 VM on a single node, but i need to know if this is possible there are a documents with maximus configuration? it should be possible. i remember a bug we are chasing when trying to boot them up all together though. michal? it's going to work, it just may get a longer time to bring them up when you mass-start all of them at once there's no defined max….it just gets sluggish depending on your setup/layout Il giorno 24/apr/2014, alle ore 07:39, Itamar Heim ih...@redhat.com ha scritto: On 04/23/2014 11:49 PM, Ovirt User wrote: Hello, 1) how many Vm per node are supported ? should be ok with a couple of hundreds. 2) how many virtual CPU per node are supported ? virtual cpu are per VM? should be ok with 100 per VM (assuming you have a machine with enough cores!). I doubt anyone tested maxing these two figures out together, i don't see a relevant use case. i don't find configuration maximus .. thanks Lukas ___ 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] Spurious error message when the RHEV capacity is maxed out?
On Apr 24, 2014, at 07:40 , Itamar Heim ih...@redhat.com wrote: On 04/24/2014 12:31 AM, Satya Vempati wrote: We have about 900 vms in a RHEV-M 3.3 installation (3.3.2-0.50.el6ev) with three hosts. Each VM has 1 socket, 1 core for CPU and 256 MB memory and 2 x 1TB disks + one 5 GB boot disk. Each host has 2 cpu sockets with 4 cpu cores per socket. When we power on about 250 of these vms, we cannot power on any more vms. is this a 'monday morning effect' (are you trying to launch them all together)? even that would work, we just serialize the requests so it could only take a long time... Attempting to do so gets the error (in the RHEV-M) console. Bad volume specification {'index': 0, 'iface': 'virtio', 'reqsize': '0', 'format': 'raw', 'bootOrder': '1', 'volumeID': '14aa7302-7f6d-4b80-922d-3fc090695447', 'apparentsize': '5368709120', 'imageID': '97b1985e-e507-4927-91e9-7393cde5', 'specParams': {}, 'readonly': 'false', 'domainID': '0c7abccc-1b97-4b39-ab96-e977a19fac3a', 'optional': 'false', 'deviceId': '97b1985e-e507-4927-91e9-7393cde5', 'truesize': '0', 'poolID': '5849b030-626e-47cb-ad90-3ce782d831b3', 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'type': 'disk'}. check both engine and vdsm logs to identify if it's on the engine side or some trouble at the host... Thanks, michal This looks like a spurious error, as we can power on the same VM after rebooting the hosts. And also, the hosts do not really look maxed out (CPU usage is around 25%, memory around 50%), but no more vm’s can be powered on. I was looking for a sizing guide, and found only https://access.redhat.com/site/sites/default/files/attachments/rhev_sizing_0812.pdf Is there any other information available? ___ 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] VMs get hang
On Apr 18, 2014, at 01:25 , Maurice James mja...@media-node.com wrote: Which wouldnt matter the network contention and slow disks, or the manager hosting VMs? only the last one:) the management node is not involved in performance of individual VM host nodes nor in the console communication it may be network between the clients and hosts. Then worth checking the VM's guest load, then host's overall load (that would be that slow storage) Thanks, michal Sent from my Galaxy S®III Original message From: Michal Skrivanek Date:04/17/2014 5:53 AM (GMT-05:00) To: Yusufi M R Cc: users@ovirt.org,Maurice James Subject: Re: [ovirt-users] VMs get hang On Apr 15, 2014, at 14:18 , Maurice James mja...@media-node.com wrote: From my experience it could be the following, Network contention Disk latency (slow disks) Is the ovirt manager also a VM host? that wouldn't matter, the communication is between the host and SPICE client only, engine is not involved. From: Yusufi M R yu...@global-analytics.com To: users@ovirt.org Sent: Tuesday, April 15, 2014 6:12:24 AM Subject: [ovirt-users] VMs get hang Hello Everyone, I have ovirt 3.3 setup with around 15 VMs created in it. We have CentOS5 on this VM. The users have problem accessing the VMs at times. While they are working on console, it just gets hang. There is no response to the keyboard. Have look at the resource usage during this time, CPU and RAM is normal. The clients uses user portal to launch the VM from Firefox. Spice is used for remote viewing. what spice client? Thanks, michal Do anyone have come across this issue ? Looking forward for your help. Regards, Yusuf ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] difference between thin/depentend and clone/dependent vm virtual machine
On Apr 17, 2014, at 16:43 , Tamer Lima tamer.amer...@gmail.com wrote: hi, thanks for reply I am investigating what is and how thin virtualization works Do you know if HADOOP is indicated to work under thin environment ? On Hadoop I will put large workloads and this thin virtualization utilizes more resources than exists (shareable environment) that is, if I have a real physical necessity of 500gb for each hadoop host and my Thin Virtualization has 2TB on NFS, I can have only 4 virtual machines (500GB each), or less. For this case I believe clone virtual machine is the right choice. But in my environment it takes 1h30m to build one cloned virtual machine. if you plan to overcommit then go with thin. The drawback is that if you of course hit the physical limit the VMs will run out of space... if you plan to allocate 500GB each, consume all of it, never plan to grow then go with the clone….yes, it's going to take time to write all that stuff. With thin you need to do the same amount of writes, but gradually over time while you're allocating it it hope it helps Thanks, michal Am I correct ? On Thu, Apr 17, 2014 at 7:33 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 16, 2014, at 16:41 , Tamer Lima tamer.amer...@gmail.com wrote: Hello, I created VMs by two ways : 1) on tab virtual machines new vm template (centos_65_64bits) 1.1 configuration : I do not select stateless checkbox 1.2 this process takes a 1h30 to create each machine. 2) on tab pools new vm template (centos_65_64bits) 2.1 default configuration : stateless 2.2 Here I created 3 virtual machines at once 2.3 this process takes only one minute On the tab virtual machines I can see all virtual machines. Pooled machines have different icon image and description is different too: machines generated from tab VM are described as clone/dependent - clone is a phisical copy? machines generated from tab POOL are described as thin/independent - thin is a just a reference to template vm ? what is phisical? any configuration file? yeah, sort of. just google thin provisioning in general:) In practice, what is the difference between these machines ? http://www.ovirt.org/Features/PrestartedVm Today there are 2 types of Vm pools: • Manual - the Vm is supposed to be manually returned to the pool. In practice, this is not really entirely supported. • Automatic - once the user shuts down the Vm - it returns to the pool (stateless). all vm created from pool are stateless ? the automatic pool, yes Thanks, michal 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] Snapshot removal
On Apr 15, 2014, at 04:09 , Maurice Moe James mja...@media-node.com wrote: Is it it me or does it take a very long time to delete a snapshot? Upwards of 30 minutes to delete a snapshot of a 7 GB drive what kind of storage you're using? if it is block-based it zeroes out the data which takes time ___ 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] IPAddress and FQDN Empty for the VM
On Apr 15, 2014, at 09:51 , Udaya Kiran P ukiran...@yahoo.in wrote: Hi Sven, I am trying to open the console for VM using SPICE, which fails with an error - Unable to connect to libvirt with URI[none]. I think it is because the VM hasn't been assigned an IP by the engine. What settings I am missing here? Do I need to change any network settings so that VMs get their IP during their creation? Hi, you don't need any networking in the guest for console access are you opening the console via that .vv file? Do you have a recent-enough virt-viewer? Check out http://www.ovirt.org/Console_Client_Resources Thanks, michal Please suggest. I have attached the screenshots. Appreciate your help..!! Regards, Udaya Kiran On Tuesday, 15 April 2014 1:01 PM, Sven Kieske s.kie...@mittwald.de wrote: You need to install the ovirt-guest-agent to see this kind of information. For Ubuntu, there is a ppa, which you have to install: https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu See also: http://www.ovirt.org/Ubuntu/GuestAgent HTH Am 15.04.2014 08:29, schrieb Udaya Kiran P: Hi All, I have added two hosts (FC19) to oVirt Engine 3.4.0-1. I have launched an Ubuntu 12.04 LTS VM on one of the Hosts. The oVirt Web Portal is not displaying IPAddress and FQDN for the VM. Please help me troubleshoot this. Appreciate your help. Thank You. Regards, Udaya Kiran -- 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 IPMissing.pngSPICE.png___ 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] VMs get hang
On Apr 15, 2014, at 14:18 , Maurice James mja...@media-node.com wrote: From my experience it could be the following, Network contention Disk latency (slow disks) Is the ovirt manager also a VM host? that wouldn't matter, the communication is between the host and SPICE client only, engine is not involved. From: Yusufi M R yu...@global-analytics.com To: users@ovirt.org Sent: Tuesday, April 15, 2014 6:12:24 AM Subject: [ovirt-users] VMs get hang Hello Everyone, I have ovirt 3.3 setup with around 15 VMs created in it. We have CentOS5 on this VM. The users have problem accessing the VMs at times. While they are working on console, it just gets hang. There is no response to the keyboard. Have look at the resource usage during this time, CPU and RAM is normal. The clients uses user portal to launch the VM from Firefox. Spice is used for remote viewing. what spice client? Thanks, michal Do anyone have come across this issue ? Looking forward for your help. Regards, Yusuf ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Unable to edit virt-v2v import VM - 3.4.0
On Apr 15, 2014, at 22:11 , Trey Dockendorf treyd...@gmail.com wrote: I just imported a VM using the following command: virt-v2v -ic qemu+ssh://root@kvm1.DOMAIN/system -o rhev -os 192.168.202.245:/tank/ovirt/import_export --network ovirtmgmt --vmtype server syslog.DOMAIN I successfully imported it in the oVirt web UI, but when I try to edit the VM I get the following message, Cannot edit VM. Cannot set single display device via VNC display.. I noticed the Single PCI option in the Console section is checked, when none of my other VMs have this checked. might be a bug…(Shahar?) Another VM I imported using version 3.3.x does not have this checked. may be related to that source VM's display config? The checkbox is greyed out, so I can't make any modifications in the Edit dialog. try to switch to SPICE display, at least temporarily… Thanks, michal Any suggestions? For issues regarding importing from KVM using virt-v2v, what logs are useful besides engine.log? Thanks - Trey ___ 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] cloud-init woes w/ templates
On Apr 12, 2014, at 15:39 , Andrew Lau and...@andrewklau.com wrote: Hi, Has anyone had any success with cloud-init and templates with ovirt 3.4? So far, it seems to be able to configure things like networks etc. But when it goes to do with passwords, it must be set again in the run once or in the Initial Run even if Use already configured password is set. Hi, which version you're talking about? Another thing, why is it only setup to change the root password? By default cloud-init will block root, so nearly all images need to be modified ie. sed -i 's/disable_root: 1/disable_root: 0\nchpasswd: { expire: False }/g' /etc/cloud/cloud.cfg yeah. this has been fixed recently Otherwise, you'll login and it'll ask you to change your password. Defeats the purpose of setting it through cloud-init? I'm also not being able to just set an SSH key, it insists a password otherwise the key won't get uploaded. hm, not sure, Shahar? Finally, templates seem to be lacking validation. Where Initial Run and Run Once will give the red box if you have the wrong syntax while templates don't care. syntax of what? Thanks, michal Thanks, Andrew ___ 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] difference between thin/depentend and clone/dependent vm virtual machine
On Apr 16, 2014, at 16:41 , Tamer Lima tamer.amer...@gmail.com wrote: Hello, I created VMs by two ways : 1) on tab virtual machines new vm template (centos_65_64bits) 1.1 configuration : I do not select stateless checkbox 1.2 this process takes a 1h30 to create each machine. 2) on tab pools new vm template (centos_65_64bits) 2.1 default configuration : stateless 2.2 Here I created 3 virtual machines at once 2.3 this process takes only one minute On the tab virtual machines I can see all virtual machines. Pooled machines have different icon image and description is different too: machines generated from tab VM are described as clone/dependent - clone is a phisical copy? machines generated from tab POOL are described as thin/independent - thin is a just a reference to template vm ? what is phisical? any configuration file? yeah, sort of. just google thin provisioning in general:) In practice, what is the difference between these machines ? http://www.ovirt.org/Features/PrestartedVm Today there are 2 types of Vm pools: • Manual - the Vm is supposed to be manually returned to the pool. In practice, this is not really entirely supported. • Automatic - once the user shuts down the Vm - it returns to the pool (stateless). all vm created from pool are stateless ? the automatic pool, yes Thanks, michal 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] cloud-init woes w/ templates
On Apr 17, 2014, at 13:13 , Andrew Lau and...@andrewklau.com wrote: On Thu, Apr 17, 2014 at 7:40 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 12, 2014, at 15:39 , Andrew Lau and...@andrewklau.com wrote: Hi, Has anyone had any success with cloud-init and templates with ovirt 3.4? So far, it seems to be able to configure things like networks etc. But when it goes to do with passwords, it must be set again in the run once or in the Initial Run even if Use already configured password is set. Hi, which version you're talking about? It seems the key won't save unless a password is specified. sorry, I mean which oVirt version you're talking about:) Another thing, why is it only setup to change the root password? By default cloud-init will block root, so nearly all images need to be modified ie. sed -i 's/disable_root: 1/disable_root: 0\nchpasswd: { expire: False }/g' /etc/cloud/cloud.cfg yeah. this has been fixed recently That's good news! Otherwise, you'll login and it'll ask you to change your password. Defeats the purpose of setting it through cloud-init? I'm also not being able to just set an SSH key, it insists a password otherwise the key won't get uploaded. hm, not sure, Shahar? Finally, templates seem to be lacking validation. Where Initial Run and Run Once will give the red box if you have the wrong syntax while templates don't care. syntax of what? eg. you put a netmask of 24 instead of the 255.255.255.0 it wants, in the template section it won't give that red box warning it's invalid. Initial Run/Run Once will.. ah, ok, good catch, definitely a bug ….(however there was a general validation issue in the Edit VM….Martin? related/same issue?) Thanks, michal Thanks, Andrew ___ 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] [Users] HA
On 11 Apr 2014, at 09:00, Koen Vanoppen wrote: Hi All, Any news about this? DSM hook or anything? Thanx! Kind regards 2014-04-09 9:37 GMT+02:00 Omer Frenkel ofren...@redhat.com: - Original Message - From: Koen Vanoppen vanoppen.k...@gmail.com To: users@ovirt.org Sent: Tuesday, April 8, 2014 3:41:02 PM Subject: Re: [Users] HA Or with other words, the SPM and the VM should move almost immediate after the storage connections on the hypervisor are gone. I know, I'm asking to much maybe, but we would be very happy :-) :-). So sketch: Mercury1 SPM Mercury 2 Mercury1 loses both fibre connections -- goes in non-operational and the VM goes in paused state and stays this way, until I manually reboot the host so it fences. What I would like is that when mercury 1 loses both fibre connections. He fences immediate so the VM's are moved also almost instantly... If this is possible... :-) Kind regards and thanks for all the help! Michal, is there a vdsm hook for vm moved to pause? if so, you could send KILL to it, and engine will identify vm was killed+HA, so it will be restarted, and no need to reboot the host, it will stay in non-operational until storage is fixed. you have to differentiate - if only the VMs would be paused, yes, you can do anything (also change the err reporting policy to not pause the VM) but if the host becomes non-operational then it simply doesn't work, vdsm got stuck somewhere (often in get blk device stats) proper power management config should fence it Thanks, michal 2014-04-08 14:26 GMT+02:00 Koen Vanoppen vanoppen.k...@gmail.com : Ok, Thanx already for all the help. I adapted some things for quicker respons: engine-config --get FenceQuietTimeBetweenOperationsInSec--180 engine-config --set FenceQuietTimeBetweenOperationsInSec=60 engine-config --get StorageDomainFalureTimeoutInMinutes--180 engine-config --set StorageDomainFalureTimeoutInMinutes=1 engine-config --get SpmCommandFailOverRetries--5 engine-config --set SpmCommandFailOverRetries engine-config --get SPMFailOverAttempts--3 engine-config --set SPMFailOverAttempts=1 engine-config --get NumberOfFailedRunsOnVds--3 engine-config --set NumberOfFailedRunsOnVds=1 engine-config --get vdsTimeout--180 engine-config --set vdsTimeout=30 engine-config --get VDSAttemptsToResetCount--2 engine-config --set VDSAttemptsToResetCount=1 engine-config --get TimeoutToResetVdsInSeconds--60 engine-config --set TimeoutToResetVdsInSeconds=30 Now the result of this is that when the VM is not running on the SPM that it will migrate before going in pause mode. But when we tried it, when the vm is running on the SPM, it get's in paused mode (for safety reasons, I know ;-) ). And stays there until the host gets MANUALLY fenced by rebooting it. So now my question is... How can I make the hypervisor fence (so reboots, so vm is moved) quicker? Kind regards, Koen 2014-04-04 16:28 GMT+02:00 Koen Vanoppen vanoppen.k...@gmail.com : Ja das waar. Maar was aan't rijden... Dus ik stuur maar door dan :-). Ik heb reeds de time out aangepast. Die stond op 5 min voor hij den time out ging geven. Staat nu op 2 min On Apr 4, 2014 4:14 PM, David Van Zeebroeck david.van.zeebro...@brusselsairport.be wrote: Ik heb ze ook he Maar normaal had de fencing moeten werken als ik het zo lees Dus daar is ergens iets verkeerd gelopen zo te lezen From: Koen Vanoppen [mailto: vanoppen.k...@gmail.com ] Sent: vrijdag 4 april 2014 16:07 To: David Van Zeebroeck Subject: Fwd: Re: [Users] HA David Van Zeebroeck Product Manager Unix Infrastructure Information Communication Technology Brussels Airport Company T +32 (0)2 753 66 24 M +32 (0)497 02 17 31 david.van.zeebro...@brusselsairport.be www.brusselsairport.be FOLLOW US ON: Company Info -- Forwarded message -- From: Michal Skrivanek michal.skriva...@redhat.com Date: Apr 4, 2014 3:39 PM Subject: Re: [Users] HA To: Koen Vanoppen vanoppen.k...@gmail.com Cc: ovirt-users Users users@ovirt.org On 4 Apr 2014, at 15:14, Sander Grendelman wrote: Do you have power management configured? Was the failed host fenced/rebooted? On Fri, Apr 4, 2014 at 2:21 PM, Koen Vanoppen vanoppen.k...@gmail.com wrote: So... It is possible for a fully automatic migration of the VM to another hypervisor in case Storage connection fails? How can we make this happen? Because for the moment, when we tested the situation they stayed in pause state. (Test situation: * Unplug the 2 fibre cables from the hypervisor * VM's go in pause state * VM's stayed in pause state until the failure was solved as said before
Re: [ovirt-users] [Users] HA
On 11 Apr 2014, at 14:47, Koen Vanoppen wrote: The Power management is configured correctly. And as long as the host who loses his storage isn't the SPM, there is no problem. ah, I see If I can make it work that, when the VM is pauzed it's get switched of and (HA-way) reboots itself. I'm perfectly happy :-). I'm not entirely sure that the after_vm_pause() hook gets invoked in this case. It was not intended for involuntary pause…but give it a try!:) otherwise ….well, you can always do a periodic query…not very effective though Thanks, michal Kind regards, -- Forwarded message -- From: Koen Vanoppen vanoppen.k...@gmail.com Date: 2014-04-11 14:47 GMT+02:00 Subject: Re: [ovirt-users] [Users] HA To: Michal Skrivanek michal.skriva...@redhat.com The Power management is configured correctly. And as long as the host who loses his storage isn't the SPM, there is no problem. If I can make it work that, when the VM is pauzed it's get switched of and (HA-way) reboots itself. I'm perfectly happy :-). Kind regards, 2014-04-11 9:37 GMT+02:00 Michal Skrivanek michal.skriva...@redhat.com: On 11 Apr 2014, at 09:00, Koen Vanoppen wrote: Hi All, Any news about this? DSM hook or anything? Thanx! Kind regards 2014-04-09 9:37 GMT+02:00 Omer Frenkel ofren...@redhat.com: - Original Message - From: Koen Vanoppen vanoppen.k...@gmail.com To: users@ovirt.org Sent: Tuesday, April 8, 2014 3:41:02 PM Subject: Re: [Users] HA Or with other words, the SPM and the VM should move almost immediate after the storage connections on the hypervisor are gone. I know, I'm asking to much maybe, but we would be very happy :-) :-). So sketch: Mercury1 SPM Mercury 2 Mercury1 loses both fibre connections -- goes in non-operational and the VM goes in paused state and stays this way, until I manually reboot the host so it fences. What I would like is that when mercury 1 loses both fibre connections. He fences immediate so the VM's are moved also almost instantly... If this is possible... :-) Kind regards and thanks for all the help! Michal, is there a vdsm hook for vm moved to pause? if so, you could send KILL to it, and engine will identify vm was killed+HA, so it will be restarted, and no need to reboot the host, it will stay in non-operational until storage is fixed. you have to differentiate - if only the VMs would be paused, yes, you can do anything (also change the err reporting policy to not pause the VM) but if the host becomes non-operational then it simply doesn't work, vdsm got stuck somewhere (often in get blk device stats) proper power management config should fence it Thanks, michal 2014-04-08 14:26 GMT+02:00 Koen Vanoppen vanoppen.k...@gmail.com : Ok, Thanx already for all the help. I adapted some things for quicker respons: engine-config --get FenceQuietTimeBetweenOperationsInSec--180 engine-config --set FenceQuietTimeBetweenOperationsInSec=60 engine-config --get StorageDomainFalureTimeoutInMinutes--180 engine-config --set StorageDomainFalureTimeoutInMinutes=1 engine-config --get SpmCommandFailOverRetries--5 engine-config --set SpmCommandFailOverRetries engine-config --get SPMFailOverAttempts--3 engine-config --set SPMFailOverAttempts=1 engine-config --get NumberOfFailedRunsOnVds--3 engine-config --set NumberOfFailedRunsOnVds=1 engine-config --get vdsTimeout--180 engine-config --set vdsTimeout=30 engine-config --get VDSAttemptsToResetCount--2 engine-config --set VDSAttemptsToResetCount=1 engine-config --get TimeoutToResetVdsInSeconds--60 engine-config --set TimeoutToResetVdsInSeconds=30 Now the result of this is that when the VM is not running on the SPM that it will migrate before going in pause mode. But when we tried it, when the vm is running on the SPM, it get's in paused mode (for safety reasons, I know ;-) ). And stays there until the host gets MANUALLY fenced by rebooting it. So now my question is... How can I make the hypervisor fence (so reboots, so vm is moved) quicker? Kind regards, Koen 2014-04-04 16:28 GMT+02:00 Koen Vanoppen vanoppen.k...@gmail.com : Ja das waar. Maar was aan't rijden... Dus ik stuur maar door dan :-). Ik heb reeds de time out aangepast. Die stond op 5 min voor hij den time out ging geven. Staat nu op 2 min On Apr 4, 2014 4:14 PM, David Van Zeebroeck david.van.zeebro...@brusselsairport.be wrote: Ik heb ze ook he Maar normaal had de fencing moeten werken als ik het zo lees Dus daar is ergens iets verkeerd gelopen zo te lezen From: Koen Vanoppen [mailto: vanoppen.k...@gmail.com ] Sent: vrijdag 4 april 2014 16:07 To: David Van Zeebroeck Subject: Fwd: Re: [Users] HA David Van Zeebroeck Product Manager Unix Infrastructure Information
Re: [ovirt-users] [Users] 3.5 virt feature overview
On Apr 10, 2014, at 14:00 , Sven Kieske s.kie...@mittwald.de wrote: For edit running vm, there is a somewhat related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1054070 It would be cool to be able to change the cd-rom (especially for cloud-init) while the vm runs. it doesn't look like a hard patch as it seems to be already working for sysprep. well, there are things which need to be verified first. Only detach works for sysprep floppy. It would probably work for CD…but they can be bootable so need to check the impact. changing bootorder only - we didn't yet check if we can even do that it would be cool to expose this via api. thanks Am 10.04.2014 12:57, schrieb Michal Skrivanek: On Apr 4, 2014, at 09:51 , michal.skriva...@redhat.com wrote: The following is a new meeting request: Subject: 3.5 virt feature overview Organizer: Michal Skrivanek michal.skriva...@redhat.com Time: Thursday, April 10, 2014, 4:00:00 PM - 4:45:00 PM GMT +01:00 Belgrade, Bratislava, Budapest, Ljubljana, Prague Required: tjeli...@redhat.com; ofren...@redhat.com Optional: users@ovirt.org *~*~*~*~*~*~*~*~*~* Hi all, We will present virt features for version 3.5: * Edit running VM, Omer, ~5min * Instance Types, Tomas, ~15min * all the other features:), Michal, ~10min * QA, ~10min please note that given the fact that the two major features have very nice wiki pages and the rest are nits we're going to use them[1][2] and the general spreadsheet[3] Thanks, michal [1] http://www.ovirt.org/Features/Edit_Running_VM [2] http://www.ovirt.org/Features/Instance_Types [3] https://docs.google.com/spreadsheet/ccc?key=0AuAtmJW_VMCRdHJ6N1M3d1F1UTJTS1dSMnZwMF9XWVE Dial in: https://www.intercallonline.com/listNumbersByCode.action?confCode=7948954260 conf id: 794 895 4260 # Thanks, michalmeeting.ics___ 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 -- 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
Re: [Users] how do you connect to a host's serial console
On Apr 8, 2014, at 15:46 , Jeremiah Jahn jerem...@goodinassociates.com wrote: That's a nice theory you've got there... :) I'd think a little script management would go a long way until you have _every_ possible use case in the system. :) it's not about every possible use case, it's about keeping the code working. Letting hooks go wild and unmaintained is not a good idea… There were discussions on mailing list about having a nice interface in UI for hooks but as far as I remember it was always turned down Though I personally would welcome at least a monitoring of deployed hooks somewhere in the UI… Thanks, michal As a developer I find at some point I always get talked into adding that extra bit of flexibility even though no user should ever need it. They always find something I never thought of. btw, do I put feature requests in bugzilla, or is there some other place? Thanks for all of the help. On Tue, Apr 8, 2014 at 2:11 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 7, 2014, at 23:04 , Jeremiah Jahn jerem...@goodinassociates.com wrote: that seems silly. Seems like the kinda thing that would be a nice feature to have in the webadmin stuff. esp if you have 100's of hosts. oh well, thanks for the help. you're not supposed to need a hook under normal circumstances, when the functionality is useful enough it should be built into vdsm natively...well, that's in progress for this one for 3.4.1:) Thanks, michal On Mon, Apr 7, 2014 at 3:46 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On 07 Apr 2014, at 22:25, Jeremiah Jahn jerem...@goodinassociates.com wrote: And just to verify... All hooking scripts have to be placed on each host by hand? Yes On Mon, Apr 7, 2014 at 2:40 PM, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Jeremiah Jahn jerem...@goodinassociates.com Cc: users@ovirt.org Sent: Monday, April 7, 2014 4:31:11 PM Subject: Re: [Users] how do you connect to a host's serial console On Apr 7, 2014, at 16:23 , Jeremiah Jahn jerem...@goodinassociates.com wrote: thx, So dumb question at this point. I'm in the process of moving from virt-manager to ovirt. virsh has an edit domain function, or I can edit the xml by hand. I'm able to locate the xml on the host, but obviously if I edit it by hand it will be replaced by vdsm. I'm having a hell of a time trying to find the xml on the engine, so that I can try modifying the xml to add a serial console. Based on that code that's all that's really going on with that patch. So I'd think I can wing it by modifying the db or xml directly. Just not sure where to go to do so. I'm guessing I could go into vm_device and replace device='virtio-serial' with 'serial' but that seems to easy. Any pointers you've got on how the xml is stored or produced would be great. It's a bit more complicated than thatthere's no XML stored in the backend. You'd be better off applying the patch over and compile yourself:) The supported way of how to amend the libvirt XML is via VDSM hooks. You need to intercept the created XML and add whatever is needed, see http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base for what you're trying to do... Yup, before_vm_start before_vm_migrate should allow you to do what you want. Thanks, michal On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 7, 2014, at 15:57 , Jeremiah Jahn jerem...@goodinassociates.com wrote: So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly what I need, just curious how long I'll have to wait. I know this is every developers favorite question. one needs to nag Vinzenz frequently enough:-D but should be 3.4.1 Thanks, michal On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 6, 2014, at 21:50 , Jeremiah Jahn jerem...@goodinassociates.com wrote: I just can't seem to figure this out. I've enabled 'VirtIO Console Device' yet I can't seem to find anyplace that will let me get there. If I go to virsh on the host and try ttyconsoe that doesn't work either. thanks for any help. Does not work. Pending this[1] patch to get in. Thanks, michal [1] http://gerrit.ovirt.org/#/c/25979/ ___ 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] oVirt 3.4 Templates break Foreman Provisioning/Adding host
On Apr 7, 2014, at 14:47 , Matt . yamakasi@gmail.com wrote: Hi Guys, On Foreman 1.4.2 it seems that you have issues with oVirt 3.4 when adding a host. When you add this host you will get an error as oVirt now has more templating stuff: you mean guest, right. what errors are in Foreman logs? oVirt logs? Thanks, michal VM template.id|name required for add Is there a workaround for this to get the creation of VM go further ? Thanks! 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] how do you connect to a host's serial console
On Apr 7, 2014, at 23:04 , Jeremiah Jahn jerem...@goodinassociates.com wrote: that seems silly. Seems like the kinda thing that would be a nice feature to have in the webadmin stuff. esp if you have 100's of hosts. oh well, thanks for the help. you're not supposed to need a hook under normal circumstances, when the functionality is useful enough it should be built into vdsm natively…well, that's in progress for this one for 3.4.1:) Thanks, michal On Mon, Apr 7, 2014 at 3:46 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On 07 Apr 2014, at 22:25, Jeremiah Jahn jerem...@goodinassociates.com wrote: And just to verify... All hooking scripts have to be placed on each host by hand? Yes On Mon, Apr 7, 2014 at 2:40 PM, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Jeremiah Jahn jerem...@goodinassociates.com Cc: users@ovirt.org Sent: Monday, April 7, 2014 4:31:11 PM Subject: Re: [Users] how do you connect to a host's serial console On Apr 7, 2014, at 16:23 , Jeremiah Jahn jerem...@goodinassociates.com wrote: thx, So dumb question at this point. I'm in the process of moving from virt-manager to ovirt. virsh has an edit domain function, or I can edit the xml by hand. I'm able to locate the xml on the host, but obviously if I edit it by hand it will be replaced by vdsm. I'm having a hell of a time trying to find the xml on the engine, so that I can try modifying the xml to add a serial console. Based on that code that's all that's really going on with that patch. So I'd think I can wing it by modifying the db or xml directly. Just not sure where to go to do so. I'm guessing I could go into vm_device and replace device='virtio-serial' with 'serial' but that seems to easy. Any pointers you've got on how the xml is stored or produced would be great. It's a bit more complicated than thatthere's no XML stored in the backend. You'd be better off applying the patch over and compile yourself:) The supported way of how to amend the libvirt XML is via VDSM hooks. You need to intercept the created XML and add whatever is needed, see http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base for what you're trying to do... Yup, before_vm_start before_vm_migrate should allow you to do what you want. Thanks, michal On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 7, 2014, at 15:57 , Jeremiah Jahn jerem...@goodinassociates.com wrote: So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly what I need, just curious how long I'll have to wait. I know this is every developers favorite question. one needs to nag Vinzenz frequently enough:-D but should be 3.4.1 Thanks, michal On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 6, 2014, at 21:50 , Jeremiah Jahn jerem...@goodinassociates.com wrote: I just can't seem to figure this out. I've enabled 'VirtIO Console Device' yet I can't seem to find anyplace that will let me get there. If I go to virsh on the host and try ttyconsoe that doesn't work either. thanks for any help. Does not work. Pending this[1] patch to get in. Thanks, michal [1] http://gerrit.ovirt.org/#/c/25979/ ___ 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] oVirt 3.4 Templates break Foreman Provisioning/Adding host
/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' Rolling back due to a problem: [Set up compute instance test.office.local.domain 2 failed [#Host::Managed id: nil, name: test.office.local.domain, ip: 172.16.20.71, last_compile: nil, last_freshcheck: nil, last_report: nil, updated_at: nil, source_file_id: nil, created_at: nil, mac: nil, root_pass: $1$Aij0BWBk$hIOQlMuf7vfad2x8aIAS/., serial: nil, puppet_status: 0, domain_id: 1, architecture_id: 1, operatingsystem_id: 1, environment_id: 1, subnet_id: 2, ptable_id: 9, medium_id: 5, build: true, comment: , disk: , installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 1, owner_type: User, enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 1, puppet_proxy_id: 1, certname: nil, image_id: nil, organization_id: nil, location_id: nil, type: Host::Managed, compute_profile_id: nil, otp: nil, realm_id: nil, provision_method: build, :setCompute]] Failed to save: Failed to create a compute ovirt-domain-local(oVirt) instance test.office.local.domain: VM template.id |name required for add 2014-04-08 9:07 GMT+02:00 Michal Skrivanek michal.skriva...@redhat.com: On Apr 7, 2014, at 14:47 , Matt . yamakasi@gmail.com wrote: Hi Guys, On Foreman 1.4.2 it seems that you have issues with oVirt 3.4 when adding a host. When you add this host you will get an error as oVirt now has more templating stuff: you mean guest, right. what errors are in Foreman logs? oVirt logs? Thanks, michal VM template.id|name required for add Is there a workaround for this to get the creation of VM go further ? Thanks! 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] oVirt 3.4 Templates break Foreman Provisioning/Adding host
On Apr 8, 2014, at 14:31 , Matt . yamakasi@gmail.com wrote: HI, This was more than 1,5 year ago, I can't remember 100% I create a new Datacenter as I wanted and putted the otherone offline or so and removed it. The Default Cluster was not able to remove because of this Template which was OK. yes, the cluster needs to remain. We're finally taking some steps to be able to remove/replace a Blank template…nothing final yet. I discussed this at #ovirt back those days and it was the only option to get rid of Default Datacenter. I didn't see logs @ the engine.log to be honest. there you should see some specific error…I guess. If this is really related to that removal, there should be something in the log. I'm not aware of any change in the API itself… Thanks, michal Cheers, Matt 2014-04-08 14:17 GMT+02:00 Michal Skrivanek michal.skriva...@redhat.com: On Apr 8, 2014, at 14:08 , Matt . yamakasi@gmail.com wrote: Hi, It seems that it's an issue with the Default Datacenter that is removed, the Cluster still exists because of it's default template there is in. How did you remove the Default Datacenter. It shouldn't let you because of that Blank template… Thanks, michal This is what Foreman Logs: Started POST /hosts for xxx.xxx.xxx.xxx at 2014-04-07 20:40:01 +0200 Processing by HostsController#create as */* Parameters: {utf8=✓, authenticity_token=frTtd5bG6PoC5+2j+qXiGS4TNdJ9tstEgap5BRUoTdA=, host={name=test, hostgroup_id=, compute_resource_id=1, compute_profile_id=, environment_id=1, puppet_ca_proxy_id=1, puppet_proxy_id=1, puppetclass_ids=[], managed=true, progress_report_id=[FILTERED], type=Host::Managed, compute_attributes={cluster=f8a641ba-14df-4500-9a1b-79011afeb7eb, template=, cores=2, memory=2147483648, interfaces_attributes={new_interfaces={name=, network=c97b81ed-b615-48f0-8293-425c8818fdc4, _delete=}, new_1396895988009={name=nic1, network=e922b54d-71f0-411d-8efb-05af771822e4, _delete=}}, volumes_attributes={new_volumes={size_gb=, storage_domain=0944ba31-1e23-4e6f-b8f8-81f5df9ccc7a, _delete=, id=}, new_1396895996127={size_gb=25, storage_domain=7818bd60-f275-438f-96a5-03c69cdd3555, _delete=, id=}}, start=1}, domain_id=1, realm_id=, mac=, subnet_id=2, ip=172.16.20.71, interfaces_attributes={new_interfaces={_destroy=false, type=Nic::Managed, mac=, name=, domain_id=, ip=, provider=IPMI}}, architecture_id=1, operatingsystem_id=1, provision_method=build, build=1, medium_id=5, ptable_id=9, disk=, root_pass=[FILTERED], is_owned_by=1-Users, enabled=1, model_id=, comment=, overwrite=false}, capabilities=build image, provider=Ovirt} Adding Compute instance for test.office.local.domain Successfully decrypted field for Foreman::Model::Ovirt ovirt-domain-local Failed to create a compute ovirt-domain-local(oVirt) instance test.office.local.domain: VM template.id |name required for add /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.25/lib/rbovirt.rb:180:in `handle_fault' /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.25/lib/rbovirt.rb:114:in `rescue in http_post' /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.25/lib/rbovirt.rb:111:in `http_post' /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.25/lib/client/vm_api.rb:35:in `create_vm' /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.21.0/lib/fog/ovirt/requests/compute/create_vm.rb:7:in `create_vm' /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.21.0/lib/fog/ovirt/models/compute/server.rb:123:in `save' /opt/rh/ruby193/root/usr/share/gems/gems/fog-core-1.21.1/lib/fog/core/collection.rb:51:in `create' /usr/share/foreman/app/models/compute_resource.rb:120:in `create_vm' /usr/share/foreman/app/models/compute_resources/foreman/model/ovirt.rb:137:in `create_vm' /usr/share/foreman/app/models/concerns/orchestration/compute.rb:74:in `setCompute' /usr/share/foreman/app/models/concerns/orchestration.rb:142:in `execute' /usr/share/foreman/app/models/concerns/orchestration.rb:85:in `block in process' /usr/share/foreman/app/models/concerns/orchestration.rb:77:in `each' /usr/share/foreman/app/models/concerns/orchestration.rb:77:in `process' /usr/share/foreman/app/models/concerns/orchestration.rb:18:in `on_save' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:649:in `_run__1092801602321222569__save__3625976562279559551__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_save_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/callbacks.rb:264
Re: [Users] how do you connect to a host's serial console
On Apr 6, 2014, at 21:50 , Jeremiah Jahn jerem...@goodinassociates.com wrote: I just can't seem to figure this out. I've enabled 'VirtIO Console Device' yet I can't seem to find anyplace that will let me get there. If I go to virsh on the host and try ttyconsoe that doesn't work either. thanks for any help. Does not work. Pending this[1] patch to get in. Thanks, michal [1] http://gerrit.ovirt.org/#/c/25979/ ___ 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] CLI Command
On Mar 31, 2014, at 15:11 , Maurice James midnightst...@msn.com wrote: what is the command to change the console protocol from vnc to spice via the shell? you need to edit the VM and change it's display, pretty much the same way as any other VM property Thanks, michal ___ 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] how do you connect to a host's serial console
On Apr 7, 2014, at 15:57 , Jeremiah Jahn jerem...@goodinassociates.com wrote: So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly what I need, just curious how long I'll have to wait. I know this is every developers favorite question. one needs to nag Vinzenz frequently enough….:-D ….but should be 3.4.1 Thanks, michal On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 6, 2014, at 21:50 , Jeremiah Jahn jerem...@goodinassociates.com wrote: I just can't seem to figure this out. I've enabled 'VirtIO Console Device' yet I can't seem to find anyplace that will let me get there. If I go to virsh on the host and try ttyconsoe that doesn't work either. thanks for any help. Does not work. Pending this[1] patch to get in. Thanks, michal [1] http://gerrit.ovirt.org/#/c/25979/ ___ 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] how do you connect to a host's serial console
On Apr 7, 2014, at 16:23 , Jeremiah Jahn jerem...@goodinassociates.com wrote: thx, So dumb question at this point. I'm in the process of moving from virt-manager to ovirt. virsh has an edit domain function, or I can edit the xml by hand. I'm able to locate the xml on the host, but obviously if I edit it by hand it will be replaced by vdsm. I'm having a hell of a time trying to find the xml on the engine, so that I can try modifying the xml to add a serial console. Based on that code that's all that's really going on with that patch. So I'd think I can wing it by modifying the db or xml directly. Just not sure where to go to do so. I'm guessing I could go into vm_device and replace device='virtio-serial' with 'serial' but that seems to easy. Any pointers you've got on how the xml is stored or produced would be great. It's a bit more complicated than that….there's no XML stored in the backend. You'd be better off applying the patch over and compile yourself:) The supported way of how to amend the libvirt XML is via VDSM hooks. You need to intercept the created XML and add whatever is needed, see http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base for what you're trying to do... Thanks, michal On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 7, 2014, at 15:57 , Jeremiah Jahn jerem...@goodinassociates.com wrote: So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly what I need, just curious how long I'll have to wait. I know this is every developers favorite question. one needs to nag Vinzenz frequently enough:-D but should be 3.4.1 Thanks, michal On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 6, 2014, at 21:50 , Jeremiah Jahn jerem...@goodinassociates.com wrote: I just can't seem to figure this out. I've enabled 'VirtIO Console Device' yet I can't seem to find anyplace that will let me get there. If I go to virsh on the host and try ttyconsoe that doesn't work either. thanks for any help. Does not work. Pending this[1] patch to get in. Thanks, michal [1] http://gerrit.ovirt.org/#/c/25979/ ___ 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] how do you connect to a host's serial console
On 07 Apr 2014, at 22:25, Jeremiah Jahn jerem...@goodinassociates.com wrote: And just to verify... All hooking scripts have to be placed on each host by hand? Yes On Mon, Apr 7, 2014 at 2:40 PM, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Jeremiah Jahn jerem...@goodinassociates.com Cc: users@ovirt.org Sent: Monday, April 7, 2014 4:31:11 PM Subject: Re: [Users] how do you connect to a host's serial console On Apr 7, 2014, at 16:23 , Jeremiah Jahn jerem...@goodinassociates.com wrote: thx, So dumb question at this point. I'm in the process of moving from virt-manager to ovirt. virsh has an edit domain function, or I can edit the xml by hand. I'm able to locate the xml on the host, but obviously if I edit it by hand it will be replaced by vdsm. I'm having a hell of a time trying to find the xml on the engine, so that I can try modifying the xml to add a serial console. Based on that code that's all that's really going on with that patch. So I'd think I can wing it by modifying the db or xml directly. Just not sure where to go to do so. I'm guessing I could go into vm_device and replace device='virtio-serial' with 'serial' but that seems to easy. Any pointers you've got on how the xml is stored or produced would be great. It's a bit more complicated than thatthere's no XML stored in the backend. You'd be better off applying the patch over and compile yourself:) The supported way of how to amend the libvirt XML is via VDSM hooks. You need to intercept the created XML and add whatever is needed, see http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base for what you're trying to do... Yup, before_vm_start before_vm_migrate should allow you to do what you want. Thanks, michal On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 7, 2014, at 15:57 , Jeremiah Jahn jerem...@goodinassociates.com wrote: So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly what I need, just curious how long I'll have to wait. I know this is every developers favorite question. one needs to nag Vinzenz frequently enough:-D but should be 3.4.1 Thanks, michal On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 6, 2014, at 21:50 , Jeremiah Jahn jerem...@goodinassociates.com wrote: I just can't seem to figure this out. I've enabled 'VirtIO Console Device' yet I can't seem to find anyplace that will let me get there. If I go to virsh on the host and try ttyconsoe that doesn't work either. thanks for any help. Does not work. Pending this[1] patch to get in. Thanks, michal [1] http://gerrit.ovirt.org/#/c/25979/ ___ 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
[Users] 3.5 virt feature overview
BEGIN:VCALENDAR PRODID:Zimbra-Calendar-Provider VERSION:2.0 METHOD:REQUEST BEGIN:VTIMEZONE TZID:Europe/Belgrade BEGIN:STANDARD DTSTART:16010101T03 TZOFFSETTO:+0100 TZOFFSETFROM:+0200 RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU TZNAME:CET END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T02 TZOFFSETTO:+0200 TZOFFSETFROM:+0100 RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU TZNAME:CEST END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT UID:07e7b6c9-ea50-4c4a-81de-8fc6fbf41e4e SUMMARY:3.5 virt feature overview ATTENDEE;CN=Tomas Jelinek;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR UE:mailto:tjeli...@redhat.com ATTENDEE;CN=Omer Frenkel;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRU E:mailto:ofren...@redhat.com ATTENDEE;CN=users@oVirt.org;ROLE=OPT-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE:mailto:users@ovirt.org ORGANIZER;CN=Michal Skrivanek:mailto:michal.skriva...@redhat.com DTSTART;TZID=Europe/Belgrade:20140410T16 DTEND;TZID=Europe/Belgrade:20140410T164500 STATUS:CONFIRMED CLASS:PUBLIC X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY TRANSP:OPAQUE LAST-MODIFIED:20140404T075150Z DTSTAMP:20140404T075150Z SEQUENCE:0 DESCRIPTION:The following is a new meeting request:\n\nSubject: 3.5 virt fea ture overview \nOrganizer: Michal Skrivanek michal.skriva...@redhat.com \n\nTime: Thursday\, April 10\, 2014\, 4:00:00 PM - 4:45:00 PM GMT +01:00 Be lgrade\, Bratislava\, Budapest\, Ljubljana\, Prague\n \nRequired: tjelinek@r edhat.com\; ofren...@redhat.com \nOptional: users@ovirt.org \n\n*~*~*~*~*~*~ *~*~*~*\n\nHi all\, \n\nWe will present virt features for version 3.5: \n\n* Edit running VM\, Omer\, ~5min \n* Instance Types\, Tomas\, ~15min \n* all the other features:)\, Michal\, ~10min \n* QA\, ~10min\n\nDial in: \nhttps ://www.intercallonline.com/listNumbersByCode.action?confCode=7948954260 \nco nf id: 794 895 4260 # \n\nThanks\,\nmichal END:VEVENT END:VCALENDAR___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fail snapshot
On 4 Apr 2014, at 12:45, Kevin Tibi wrote: Hi, I have a pb when i try to snapshot a VM. are you running the right qemu/libvirt from virt-preview repo? Ovirt engine self hosted 3.4. Two node (host01 and host02). my engine.log : 2014-04-04 12:30:03,013 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-6-thread-24) Ending command successfully: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand 2014-04-04 12:30:03,028 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-24) START, SnapshotVDSCommand(HostName = host01, HostId = fcb9a5cf-2064-42a5-99fe-dc56ea39ed81, vmId=cb038ccf-6c6f-475c-872f-ea812ff795a1), log id: 36463977 2014-04-04 12:30:03,075 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-24) Failed in SnapshotVDS method 2014-04-04 12:30:03,076 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-24) Command org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand return value StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=48, mMessage=Snapshot failed]] 2014-04-04 12:30:03,077 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-24) HostName = host01 2014-04-04 12:30:03,078 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-24) Command SnapshotVDSCommand(HostName = host01, HostId = fcb9a5cf-2064-42a5-99fe-dc56ea39ed81, vmId=cb038ccf-6c6f-475c-872f-ea812ff795a1) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 2014-04-04 12:30:03,080 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, SnapshotVDSCommand, log id: 36463977 2014-04-04 12:30:03,083 WARN [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-6-thread-24) Wasnt able to live snapshot due to error: VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48). VM will still be configured to the new created snapshot 2014-04-04 12:30:03,097 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-24) Correlation ID: 5650b99f, Job ID: c1b2d861-2a52-49f1-9eaa-1b63aa8b4fba, Call Stack: org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48) My /var/log/messages Apr 4 12:30:04 host01 vdsm vm.Vm ERROR vmId=`cb038ccf-6c6f-475c-872f-ea812ff795a1`::The base volume doesn't exist: {'device': 'disk', 'domainID': '5ae613a4-44e4-42cb-89fc-7b5d34c1f30f', 'volumeID': '3b6cbb5d-beed-428d-ac66-9db3dd002e2f', 'imageID': '646df162-5c6d-44b1-bc47-b63c3fdab0e2'} My /var/log/libvirt/libvirt.log 2014-04-04 10:40:13.886+: 8234: debug : qemuMonitorIOWrite:462 : QEMU_MONITOR_IO_WRITE: mon=0x7f77ec0ccce0 buf={execute:query-blockstats,id:libvirt-20842} len=53 ret=53 errno=11 2014-04-04 10:40:13.888+: 8234: debug : qemuMonitorIOProcess:354 : QEMU_MONITOR_IO_PROCESS: mon=0x7f77ec0ccce0 buf={return: [{device: drive-ide0-1-0, parent: {stats: {flush_total_time_ns: 0, wr_highest_offset: 0, wr_total_time_ns: 0, wr_bytes: 0, rd_total_time_ns: 0, flush_operations: 0, wr_operations: 0, rd_bytes: 0, rd_operations: 0}}, stats: {flush_total_time_ns: 0, wr_highest_offset: 0, wr_total_time_ns: 0, wr_bytes: 0, rd_total_time_ns: 11929902, flush_operations: 0, wr_operations: 0, rd_bytes: 135520, rd_operations: 46}}, {device: drive-virtio-disk0, parent: {stats: {flush_total_time_ns: 0, wr_highest_offset: 22184332800, wr_total_time_ns: 0, wr_bytes: 0, rd_total_time_ns: 0, flush_operations: 0, wr_operations: 0, rd_bytes: 0, rd_operations: 0}}, stats: {flush_total_time_ns: 34786515034, wr_highest_offset: 22184332800, wr_total_time_ns: 5131205369094, wr_bytes: 5122065408, rd_tota l_time_ns: 12987633373, flush_operations: 285398, wr_operations: 401232, rd_bytes: 392342016, rd_operations: 15069}}], id: libvirt-20842} len=1021 2014-04-04 10:40:13.888+: 8263: debug : qemuMonitorGetBlockStatsInfo:1478 : mon=0x7f77ec0ccce0 dev=ide0-1-0 2014-04-04 10:40:13.889+: 8263: debug : qemuMonitorSend:904 : QEMU_MONITOR_SEND_MSG: mon=0x7f77ec0ccce0 msg={execute:query-blockstats,id:libvirt-20843} /var/log/vdsm/vdsm.log Thread-4732::DEBUG::2014-04-04
Re: [Users] TSC clocksource gets lost after live migration
Hi, this is more for the KVM folks I suppose…can you get the qemu process cmdline please? Thanks, michal On 3 Apr 2014, at 12:13, Markus Stockhausen wrote: Hello, we have an up to date ovirt 3.4 installation. Inside we are running SLES11 SP3 VMs (Kernel 3.0.76-0.11). After live migration of these VMs they all of a sudden do not react any longer and CPU usage of the VM goes to 100%. We identified kvm-clock source to be the culprit and therefore switched to another clocksource. We ended with hpet but are not happy with that as our inital goal was to use the more simple designed TSC clocksoure. The reason behind that is the question I have for you experts. Our hosts all have the constant_tsc CPU flag available. Just to mention these are not identical hosts. We have a mix of Xeon 5500 and 5600 machines. E.G. [root@colovn01 ~]# cat /proc/cpuinfo | grep constant_tsc | wc -l 8 When we start the VM the client sees TSC as available clocksource: colvm53:~ # cat /sys/devices/system/clocksource/clocksource0/available_clocksource kvm-clock tsc hpet acpi_pm After the first live migration to another host that also has constant_tsc (see above) that flag is lost inside the VM. colvm53:~ # cat /sys/devices/system/clocksource/clocksource0/available_clocksource kvm-clock hpet acpi_pm Any ideas? Markus InterScan_Disclaimer.txt___ 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] oVirt 3.5 planning
On Mar 26, 2014, at 10:51 , Itamar Heim ih...@redhat.com wrote: On 03/26/2014 05:44 AM, Sven Kieske wrote: And I still have 2 cool features which would be cool to include for 3.5: Add Debian 7 to the list of operating systems for VMs (I guess there is not much work to be done for that) care to give it a shot :) really simple sample to follow: http://gerrit.ovirt.org/#/c/22273/ Here's the RFE for that: https://bugzilla.redhat.com/show_bug.cgi?id=1073453 And provide qemu-guest-agent (not ovirt-guest-agent) for more operating systems, at least centos. ubuntu 12.04 and debian would also be cool. I can create an RFE for that if you want. qemu-guest-agent for centos should be opened in centos (not sure why its not already available)? qemu-guest-agent is part of the qemu/kvm ecosystem and for debian/ubuntu - should be raised on qemu-devel and opened in ubuntu/debian? note so far in 3.4/3.5 still the only thing it brings you is the Backup API feature - quiesce of drives during taking of the snapshot. For most of other uses you don't actually need it and you can --nodeps it... Thanks, michal Am 24.02.2014 17:59, schrieb Itamar Heim: with oVirt 3.4 getting close to GA with many many great features, time to collect requests for 3.5... ___ 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] Windows guest time behind an hour after reboot
On Mar 20, 2014, at 16:15 , Bob Doolittle b...@doolittle.us.com wrote: I have a similar issue, but my Windows clocks are always 4 hours ahead now, as if they were set to UTC. What time zone are you in? I have been under the impression that this is likely due to: https://bugzilla.redhat.com/show_bug.cgi?id=1062615 but haven't tried the fix myself yet (supposed to be fixed in 3.4). likely the guest's HW clock should be now set to the offset of the selected TZ. For default Linux installs this should be UTC (I think still you can't select anything else), for Windows this should be the desired time zone. Not sure how it handles DST but at least it should be consistently coming up with the same time:) Thanks, michal -Bob On Thu, Mar 20, 2014 at 10:49 AM, Blaster blas...@556nato.com wrote: Ever since the “Spring Forward” on March 9th, my Windows 7 guests are behind an hour every time they reboot. The Fedora 20 guests are just fine. I can set the correct time, reboot, comes back up an hour behind. I’ve tried setting the time zone in the properties to both GMT and to the correct timezone, still the same, behind an hour on reboot. What am I doing wrong? And what affect does setting the time zone in the properties supposed to have on the guest? 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.5 planning
On Mar 18, 2014, at 13:30 , Sven Kieske s.kie...@mittwald.de wrote: Am 18.03.2014 13:24, schrieb Federico Alberto Sayd: On 24/02/14 13:59, Itamar Heim wrote: with oVirt 3.4 getting close to GA with many many great features, time to collect requests for 3.5... Add progress bar to task tab to indicate the progress percent of snapshot creation, vm clonation, migration, etc. Some kind of progress indication would indeed be very cool! the live migration will hopefully make it for 3.5 -- 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
Re: [Users] Clone VM from another VM - API
On 23 Mar 2014, at 11:21, Itamar Heim ih...@redhat.com wrote: On 03/18/2014 04:27 PM, Tejesh M wrote: Hi Is that possible to Clone a VM from another VM without taking a Snapshot through Java SDK? planned for 3.5. Internally it will need to do a snapshot as well, so the flow you can write now won't be much different, just more api calls Thanks, michal -- Thanks Regards Tejesh ___ 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] Clone VM from another VM - API
On 23 Mar 2014, at 12:04, Michal Skrivanek michal.skriva...@redhat.com wrote: On 23 Mar 2014, at 11:21, Itamar Heim ih...@redhat.com wrote: On 03/18/2014 04:27 PM, Tejesh M wrote: Hi Is that possible to Clone a VM from another VM without taking a Snapshot through Java SDK? planned for 3.5. Internally it will need to do a snapshot as well, so the flow you can write now won't be much different, just more api calls More right now, less in 3.5:) Thanks, michal -- Thanks Regards Tejesh ___ 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] oVirt 3.3.3 - Migration failures
On 12 Mar 2014, at 15:52, LANGE Thomas thomas.la...@thalesgroup.com wrote: Hi ! I am testing all the functionalities of oVirt for work and I have some issues regarding live migration. Here’s my configuration: - pc001 : CentOS 6.5 minimal with VDSM (4.13.3-3.el6) - pc002 : CentOS 6.5 minimal with VDSM (4.13.3-3.el6) and ovirt-engine (3.3.3-2.el6) - pc003 : CentOS 6.5 with VDSM (4.13.3-3.el6) All these servers are in the same cluster and datacenter is using NFS for storage. Here’s my problem : I have one VM (called Debian) running on a specific host (pc003.lan). I try to migrate it to another host (pc001.lan) but the migration fails. As a result, the VM is still running on pc003 and the number of running VMs on this host is still the same; but I can see one more VM running on the host pc001. It does the same thing with other VMs (mavm1, mavm2, mavm3, Debian2….). At the end, the administration portal tells me I have 7VMs running on host pc001, 4 on pc002 and 3 on pc001; I have only 7 VMs , not 14. Hi, ...running - i.e. they are shown as the green triangle as if they are running, all 14 of them? From now, some errors keep showing up in the log (see attachment). It says that migrations are still running but I cannot cancel them in the administration portal and they never stop/succeed/fail. This problem occurred some time after I enabled quotas in the Datacenter but I don’t know if it’s related in any way. Might be. Does it disappear when you disable quota?:) If I reboot pc001, the number of running VM is reset to 0, but any attempt to migrate a VM to this host does the same thing again. Also, restarting the engine did not fix this issue. Does anyone have an idea about what’s happening ? I’m new with oVirt and I don’t know what to do to solve this. seems a destination creation issue. Please reproduce with one VM and get the logs from both source and destination host from that time. Thanks, michal Thanks for your help ! Regards, Thomas LANGÉ log.txt ___ 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] Installing all in one ovirt server
On 09 Mar 2014, at 01:26, Itamar Heim ih...@redhat.com wrote: On 03/06/2014 01:03 PM, Sven Kieske wrote: I'll take this as an opportunity to ask some questions: if and under what circumstances can the default DC be safely removed if you do not use it? Or can't you delete it, would it break something (what)? Why is there a default DC in the first place? iirc, so the default template will have a cluster, as null is not allowed. michal - maybe with template verisons or instance types this will now be possible (as cluster can be null for one of them iirc)? Yes. We can now remove quite a few limitations specific to the blank template. Thinking of renaming it to default and allow editing and versioning it. You can't delete it at the moment though Thanks, michal Am 06.03.2014 11:54, schrieb Yedidyah Bar David: From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Wednesday, March 5, 2014 6:23:33 PM Subject: [Users] Installing all in one ovirt server Hello, I just finnished installing a new ovirt all in one installation and I noticed that I have 2 datacenters. A default one and a local_datacenter. I don't understand why I have 2 datacenters but I suppose I can delete one. Default is always created. Normal setups start with just it, and others can be created if needed. local_datacenter is all-in-one-specific - you were asked about it during setup - name, location etc. It's local in that it uses a local directory on the host, so VMs on it cannot be migrated to other hosts if/when you add them. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Disk Migration
On 28 Feb 2014, at 15:27, Nir Soffer wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Nir Soffer nsof...@redhat.com Cc: d...@redhat.com, Dan Kenigsberg dan...@redhat.com, Maurice James midnightst...@msn.com, Ofer Blaut obl...@redhat.com, Users@ovirt.org Users users@ovirt.org Sent: Thursday, February 27, 2014 10:12:26 AM Subject: Re: [Users] Disk Migration On Feb 27, 2014, at 08:15 , Nir Soffer nsof...@redhat.com wrote: - Original Message - From: Dafna Ron d...@redhat.com To: Maurice James midnightst...@msn.com Cc: Ofer Blaut obl...@redhat.com, users@ovirt.org Sent: Wednesday, February 26, 2014 7:34:11 PM Subject: Re: [Users] Disk Migration On 02/26/2014 05:24 PM, Maurice James wrote: I have a specific interface set up for migrations. Why do disk migrations not use the interface that I have set for migrations? Is that by design? Shouldnt it use the interfaces that I have set aside for migrations? VM migrations work as they should but not disk migrations I don't think that you can configure interface for disk migration. Disk migration is actually copy of information from the original disk to a new disk created on a new domain + delete of the original disk once that is done. it's not actually a migration and so I am not sure you can actually configure an interface for that. adding ofer - perhpas he has a solution or it's possible and I am not aware of it. I guess that *not* using the migration network for storage operation is the expected behavior, to make migration faster and safer. Michal, Dan, can you elaborate on this? with storage offloading it's probably not going to be significant, however today it likely is. Nir, why would not using migration network make it better? Won't we have the same problem as before without migration network at all, i.e. choking the management channel? Gigs of data sent of the same netowrk used for migarations would make migration slower when the network is saturated. well, you saturate one or the other…still from the functional perspective it's better to not choke the management…so either use the migration network (and the migrations will compete with disk moves) or a separate network. I'd be tempted to say that typically having too many different networks might be an overkill and difficult to set up/maintain Should we maybe consider a dedicated storage network? This can be setup now in 3.4. Sergey, can you explain how this is configured now in 3.4? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Disk Migration
On Feb 27, 2014, at 08:15 , Nir Soffer nsof...@redhat.com wrote: - Original Message - From: Dafna Ron d...@redhat.com To: Maurice James midnightst...@msn.com Cc: Ofer Blaut obl...@redhat.com, users@ovirt.org Sent: Wednesday, February 26, 2014 7:34:11 PM Subject: Re: [Users] Disk Migration On 02/26/2014 05:24 PM, Maurice James wrote: I have a specific interface set up for migrations. Why do disk migrations not use the interface that I have set for migrations? Is that by design? Shouldnt it use the interfaces that I have set aside for migrations? VM migrations work as they should but not disk migrations I don't think that you can configure interface for disk migration. Disk migration is actually copy of information from the original disk to a new disk created on a new domain + delete of the original disk once that is done. it's not actually a migration and so I am not sure you can actually configure an interface for that. adding ofer - perhpas he has a solution or it's possible and I am not aware of it. I guess that *not* using the migration network for storage operation is the expected behavior, to make migration faster and safer. Michal, Dan, can you elaborate on this? with storage offloading it's probably not going to be significant, however today it likely is. Nir, why would not using migration network make it better? Won't we have the same problem as before without migration network at all, i.e. choking the management channel? Should we maybe consider a dedicated storage network? Thanks, michal Nir ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] concurrent SPICE access [was: Re: oVirt 3.5 planning]
On Feb 27, 2014, at 10:19 , Markus Stockhausen stockhau...@collogia.de wrote: Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag von quot;Itamar Heim [ih...@redhat.com] Gesendet: Donnerstag, 27. Februar 2014 09:53 An: Sven Kieske; users@ovirt.org Betreff: Re: [Users] concurrent SPICE access [was: Re: oVirt 3.5 planning] On 02/27/2014 10:52 AM, Itamar Heim wrote: On 02/27/2014 10:51 AM, Sven Kieske wrote: Well, you generate a separate ticket to the same vm. resulting in another vnc-session to the server, but the input/output is shared, you can see in real time when the other user types etc. iirc, the ticketing mechanism works in a way that a new ticket disconnects the previous session? (on connection with the new ticket) In the VNC case this does not work. I do not know if its by design or just a bug/feature. Either Ovirt does not instruct libvirt to create a new VNC ticket with option disconnect all connected clients or this information is not correctly interpreted by qemu. well, sort of both. We keep the QEMU/libvirt default which is to honor client's request. Which is in case of novnc by default shared, other common clients like vncviewer default to disconnect I wonder if anyone is using the shared behavior or we should disallow it. Or make it optional, which is nice but as always comes with a price of development time. If you launch a client that initiates a shared connection to the console then existing connections will stay open. This magically works if you use the novnc client (as Sven explained). The only thing that prevents a concurrent access to the console with virt-viewer is the fact that it enforces a single VNC connection. yes So state is as follows: SPICE: disconnect happens during ticket creation It's on connection as well, it just can't be controlled (not that it matters:) Thanks, michal VNC: disconnect may happen during client connection You can check that behaviour if you associate a .VV file with a text editor. With SPICE the existing console connection is terminated just before the .VV file opens in the editor. With VNC the existing session stays open. MarkusInterScan_Disclaimer.txt___ 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] Migration Failed
On Feb 27, 2014, at 10:09 , Gadi Ickowicz gicko...@redhat.com wrote: Hi, Unfortunately it seems the vdsm logs cycled - these vdsm logs do not match the times for the engine log snippet you pasted - they start at around 10:00 AM and the engine points to 8:33… seeing error = Could not connect to peer VDS points me to a possible direct network connectivity issue between the those two hosts. Src vdsm needs to be able to talk to dst vdsm Thanks, michal Gadi Ickowicz - Original Message - From: Koen Vanoppen vanoppen.k...@gmail.com To: Meital Bourvine mbour...@redhat.com, users@ovirt.org Sent: Thursday, February 27, 2014 11:04:11 AM Subject: Re: [Users] Migration Failed In attachment... Thanx! 2014-02-27 9:21 GMT+01:00 Meital Bourvine mbour...@redhat.com : Hi Koen, Can you please attach the relevant vdsm logs? From: Koen Vanoppen vanoppen.k...@gmail.com To: users@ovirt.org Sent: Thursday, February 27, 2014 9:38:46 AM Subject: [Users] Migration Failed Dear all, I added a new host to our ovirt. Everything went good, exept in the beginnen there was a problem with the firmware of the FibreCard but that is solved (maybe relevant to the issue coming up ;-) ), host is green en up now. But when I tried to migrate a machine for testing purpose to see if everythin was ok, I get the following error in the engine.log and the migration fails: 2014-02-27 08:33:08,082 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] (pool-6-thread-49) [f1a68d8] Running command: MigrateVmCommand internal: false. Entities affected : ID: 3444fc9d-0395-4cbb-9a11-28a42802560c Type: VM 2014-02-27 08:33:08,362 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-6-thread-49) [f1a68d8] START, MigrateVDSCommand(HostName = soyuz, HostId = 6dfa2f9c-85c6-4fb3-b65f-c84620115a1a, vmId=3444fc9d-0395-4cbb-9a11-28a42802560c, srcHost= soyuz.brusselsairport.aero , dstVdsId=6707fa40-753a-4c95-9304-e47198477e4d, dstHost= buran.brusselsairport.aero:54321 , migrationMethod=ONLINE, tunnelMigration=false), log id: 50cd7284 2014-02-27 08:33:08,371 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-6-thread-49) [f1a68d8] VdsBroker::migrate::Entered (vm_guid=3444fc9d-0395-4cbb-9a11-28a42802560c, srcHost= soyuz.brusselsairport.aero , dstHost= buran.brusselsairport.aero:54321 , method=online 2014-02-27 08:33:08,405 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-6-thread-49) [f1a68d8] START, MigrateBrokerVDSCommand(HostName = soyuz, HostId = 6dfa2f9c-85c6-4fb3-b65f-c84620115a1a, vmId=3444fc9d-0395-4cbb-9a11-28a42802560c, srcHost= soyuz.brusselsairport.aero , dstVdsId=6707fa40-753a-4c95-9304-e47198477e4d, dstHost= buran.brusselsairport.aero:54321 , migrationMethod=ONLINE, tunnelMigration=false), log id: 20806b79 2014-02-27 08:33:08,441 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-6-thread-49) [f1a68d8] FINISH, MigrateBrokerVDSCommand, log id: 20806b79 2014-02-27 08:33:08,451 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-6-thread-49) [f1a68d8] FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 50cd7284 2014-02-27 08:33:08,491 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-6-thread-49) [f1a68d8] Correlation ID: f1a68d8, Job ID: c3642418-3f05-41eb-8b1d-07fe04867742, Call Stack: null, Custom Event ID: -1, Message: Migration started (VM: ADW-DevSplunk, Source: soyuz, Destination: buran, User: admin@internal). 2014-02-27 08:33:20,036 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-82) VM ADW-DevSplunk 3444fc9d-0395-4cbb-9a11-28a42802560c moved from MigratingFrom -- Up 2014-02-27 08:33:20,042 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-82) Adding VM 3444fc9d-0395-4cbb-9a11-28a42802560c to re-run list 2014-02-27 08:33:20,051 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-82) Rerun vm 3444fc9d-0395-4cbb-9a11-28a42802560c. Called from vds soyuz 2014-02-27 08:33:20,107 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-6-thread-50) START, MigrateStatusVDSCommand(HostName = soyuz, HostId = 6dfa2f9c-85c6-4fb3-b65f-c84620115a1a, vmId=3444fc9d-0395-4cbb-9a11-28a42802560c), log id: 75ac0a46 2014-02-27 08:33:20,124 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-6-thread-50) Failed in MigrateStatusVDS method 2014-02-27 08:33:20,130 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-6-thread-50) Error code noConPeer and error message VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Could not connect to peer VDS 2014-02-27 08:33:20,136 INFO
Re: [Users] oVirt 3.5 planning
On 25 Feb 2014, at 14:13, Itamar Heim wrote: On 02/25/2014 11:55 AM, Sven Kieske wrote: RFE: Allow to configure the timeout for VNC password authentication via webadmin (you can do this via API but not via webadmin). I don't need it, but I guess it would be convenient for many users. https://bugzilla.redhat.com/show_bug.cgi?id=1055566 michal - wasn't this an option in the past for manual vnc invocation? nope. just the API way. I don't find the solution of someone going in manually entering the pwd on some command line as something not really ideal. The .vv should be associated with a script or remote-viewer and then 120s should always be enough to launch it ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] concurrent SPICE access [was: Re: oVirt 3.5 planning]
On Feb 25, 2014, at 20:38 , Itamar Heim ih...@redhat.com wrote: On 02/25/2014 09:20 PM, Markus Stockhausen wrote: 3) Shared console access for two or more administrators https://bugzilla.redhat.com/show_bug.cgi?id=1060854 michal - is this just a config in the .vv file? I'd expect qemu needs to support this as well? especially since the ticketing mechanism is designed to disconnect previous user? last time I remember the concurrent connection to SPICE was experimental Did it change since? yes, if it is supported now the oVirt ticketing would need to be changed or disabled Thanks, michal ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft
On 25 Feb 2014, at 08:32, Ayal Baron wrote: Michal, please see inline - Original Message - - Original Message - From: R P Herrold herr...@owlriver.com To: Ricky Schneberger ri...@schneberger.se Cc: users@ovirt.org Sent: Monday, February 24, 2014 6:42:54 PM Subject: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft On Mon, 24 Feb 2014, Ricky Schneberger wrote: Why is the Windows VMs always lost their activation against Microsoft after that I have upgrade ovirt? ... Yes I am sure its related to the upgrade. only upgrade, not a specific VM run? In other words it doesn't check the BIOS serial number since that's different on each hypervisor. In the application log of the VM we can see hardware has changed from previous boot and also we have a licensing system on another host that got in a stucked state because of the same reason - hardware has changed from previous boot. I see the following discussions ... changes in bios, or hardware device numbers, seem to trigger this (Citrix instances) http://support.citrix.com/article/CTX135542 http://support.citrix.com/article/CTX132220/ http://discussions.citrix.com/topic/313096-windows-activation-license-mak-used/#entry1674492 http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-7-activation-always-come-back-after/b26f8338-ae51-44d1-a0d9-b3a71643548a So the issue may in some cases be avoided, but in others, will need oVirt attention to not changing values refered to by the licensing validation code. Identifying all those test point valuess so they may be preserved, looks like something the upstream (commercial) vendor would not be very interesting in revealing as it would impact their revenue model, so it probably needs a set of 'reproducers' identified, and test cases written ... I think the best solution would be if Microsoft would send some patches :-) Ricky, would you open a bug so we can track this issue? oVirt tries to keep stable device addresses (e.g. pci slot) specifically to prevent this issue. The way it is done is that after running the VM we query libvirt for all the device addresses and on next run we provide libvirt with the same addresses to keep the devices from changing. This feature was not available in 3.0 so I see 2 options here: 1. this VM was not started (or was running) since 3.0 2. introduction of new virtual hardware caused a change in the device addresses for some reason (bug). in addition to stable PCI addresses, new QEMU/KVM release sometimes change the system hardware - emulated machine mode. or if it is really subtle, it can also be triggered by new devices (e.g. balloon, virtio-console (used to be in 3.0, removed in 3.1, optional in 3.3)) or simple upgrade of virtio drivers anyway, so what changes in devices you can see after upgrade? Thanks, michal Anyway, adding Michal who is more familiar with this part than I. Nir ___ 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] Live Migrate Disks
On Feb 14, 2014, at 04:44 , Maurice James midnightst...@msn.com wrote: Im running oVirt 3.4.0-0.7.beta2.el6 rpm -qa |grep qemu-kvm qemu-kvm-tools-0.12.1.2-2.415.el6_5.3.x86_64 qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64 And its failing with this error in the engine.log can you do a live VM snapshot at all? If not then the QEMU you're running is not supporting it Thanks, michal 2014-02-13 22:42:12,782 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-12) Failed in SnapshotVDS method 2014-02-13 22:42:12,785 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-12) Command SnapshotVDSCommand(HostName = Titan, HostId = 5869805e-5b95-485a-bd8a-07b472d3fcaf, vmId=dfe6ab9e-1f61-4202-ade9-18ade4757a5e) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 2014-02-13 22:42:13,016 ERROR [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-6-thread-12) Command org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand throw Vdc Bll exception. With error message VdcBLLException: Auto-generated live snapshot for VM dfe6ab9e-1f61-4202-ade9-18ade4757a5e failed (Failed with error imageErr and code 13) 2014-02-13 22:42:13,017 ERROR [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-6-thread-12) Reverting task unknown, handler: org.ovirt.engine.core.bll.lsm.LiveSnapshotTaskHandler -Original Message- From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com] Sent: Thursday, February 13, 2014 4:09 PM To: Maurice James Cc: users Subject: Re: [Users] Live Migrate Disks On Thu, Feb 13, 2014 at 8:56 PM, Maurice James wrote: Is it possible to live migrate disks like storage vMotion? It should be supported since 3.2. See http://www.ovirt.org/OVirt_3.2_release_notes So in current stable 3.3.3 it should be ok. take in mind that it depends on live snapshots, so limitation on RHEL / CerntOS 6.5 apply. In that case you should use the recent qemu-kvm rebuilt from jenkins job, as noted in other threads today: http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/ HIH, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] SPICE behind NAT
On Feb 14, 2014, at 01:38 , Andrew Lau and...@andrewklau.com wrote: You just need some proper DST and SRC Nat rules and you should be fine. I use mikrotik so its slightly different but the same concept applies. For windows, I don't know, never really cared much as no one uses windows on our ovirt setup :) the recent enough virt-viewer should work on Windows…if you're in fact talking about a client downloaded from http://virt-manager.org/download/ it should work… for NAT vs non-NAT access ….for exactly that reason there is the Enable SPICE Proxy checkbox in Console Options dialog for each user, so you can check it when connecting from outside and uncheck from local net… Thanks, michal But the client tools you linked are for the client accessing the spice session. On Feb 14, 2014 3:20 AM, Alan Murrell a...@murrell.ca wrote: Quoting Andrew Lau and...@andrewklau.com: Your value for SpiceDefaultProxy should be your external IP address/hostname otherwise external users will never know where to connect to. So the spice proxy would be going out the firewall then looping back in (also known as hairpinning), which in my experience is usually a behaviour denied by many firewalls as standard, which is what I believe is happening here. This then becomes more of a firewall issue as you're spice proxy is I agree. Would you be willing to share the current IPTables rules on your external firewall so I can confirm this? (sanitised appropriately for actual IPs and/or hostnames, of course) You can contact me off-list if you prefer. This is more for curiousity/confirmation than anything else. I know that when I was on the same LAN as the oVirt box, I had to edit my local hosts file to point the proxy value to the oVirt box itself for the remote-viewer to connect to the Windows desktop. If that is indeed what is happening here, I think a better (and more universal) solution would be to have a VPN connection from the remote end user to the network where the oVirt/RHEV server is (site-to-site if the users are in an office and road warrior for remote individuals). Not sure how much of a performance hit that might make, though. Will need to do some testing. working. But just to confirm, if you open up console through chrome it should download a console.vv file rather than opening up remote-viewer natively, before you run it; open it with a text editor you'll see the proxy settings there. I took a look and the proxy settings are correct. The windows issue is probably just related to non proper drives installed. On the machine I am connecting from or the virtual machine I am connecting to? I downloaded the client from the link here: http://www.spice-space.org/download.html Is there a different SPICE client for Windows that is recommended? -Alan ___ 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] Live Migrate Disks
On Feb 14, 2014, at 14:21 , Michal Skrivanek michal.skriva...@redhat.com wrote: On Feb 14, 2014, at 04:44 , Maurice James midnightst...@msn.com wrote: Im running oVirt 3.4.0-0.7.beta2.el6 rpm -qa |grep qemu-kvm qemu-kvm-tools-0.12.1.2-2.415.el6_5.3.x86_64 qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64 And its failing with this error in the engine.log can you do a live VM snapshot at all? If not then the QEMU you're running is not supporting it i.e. see [Users] issues with live snapshot thread:-) Thanks, michal 2014-02-13 22:42:12,782 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-12) Failed in SnapshotVDS method 2014-02-13 22:42:12,785 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (org.ovirt.thread.pool-6-thread-12) Command SnapshotVDSCommand(HostName = Titan, HostId = 5869805e-5b95-485a-bd8a-07b472d3fcaf, vmId=dfe6ab9e-1f61-4202-ade9-18ade4757a5e) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 2014-02-13 22:42:13,016 ERROR [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-6-thread-12) Command org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand throw Vdc Bll exception. With error message VdcBLLException: Auto-generated live snapshot for VM dfe6ab9e-1f61-4202-ade9-18ade4757a5e failed (Failed with error imageErr and code 13) 2014-02-13 22:42:13,017 ERROR [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-6-thread-12) Reverting task unknown, handler: org.ovirt.engine.core.bll.lsm.LiveSnapshotTaskHandler -Original Message- From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com] Sent: Thursday, February 13, 2014 4:09 PM To: Maurice James Cc: users Subject: Re: [Users] Live Migrate Disks On Thu, Feb 13, 2014 at 8:56 PM, Maurice James wrote: Is it possible to live migrate disks like storage vMotion? It should be supported since 3.2. See http://www.ovirt.org/OVirt_3.2_release_notes So in current stable 3.3.3 it should be ok. take in mind that it depends on live snapshots, so limitation on RHEL / CerntOS 6.5 apply. In that case you should use the recent qemu-kvm rebuilt from jenkins job, as noted in other threads today: http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/ HIH, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [QE] oVirt 3.4.0 RC status
On Feb 14, 2014, at 09:51 , Sandro Bonazzola sbona...@redhat.com wrote: Hi, oVirt 3.4.0 beta2 has been released and is actually on QA. We're going to tart composing oVirt 3.4.0 RC this Monday 2014-02-17 09:00 UTC from 3.4 branches. This build will be used for a third Test Day scheduled for Wed 2014-02-19. The bug tracker [1] shows the following bugs blocking the release: WhiteboardBug ID Status Summary integration 1058018 POSTupgrade from 3.3 overwrites exports with acl None storage 1057761 NEW Can't discover iSCSI target virt 1062615 POSTutc_diff not updated according to a change in VM settings patch is posted and awaiting review (and backport) There are still 376 bugs [2] targeted to 3.4.0. Excluding node and documentation bugs we still have 252 bugs [3] targeted to 3.4.0. Please review them as soon as possible. Maintainers / Assignee: - Please remember to rebuild your packages before 2014-02-17 09:00 UTC if you want them to be included in 3.4.0 RC. - Please add the bugs to the tracker if you think that 3.4.0 should not be released without them fixed. - Please provide ETA on blockers bugs - Please update the target to 3.4.1 or any next release for bugs that won't be in 3.4.0: it will ease gathering the blocking bugs for next releases. - Please fill release notes, the page has been created here [4] - Please update http://www.ovirt.org/OVirt_3.4_TestDay before 2014-02-19 Be prepared for upcoming oVirt 3.4.0 Test Day on 2014-02-19! Thanks to all people already testing 3.4.0 beta 2! [1] https://bugzilla.redhat.com/1024889 [2] http://red.ht/1eIRZXM [3] http://red.ht/1auBU3r [4] http://www.ovirt.org/OVirt_3.4.0_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 mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] test day help -- console
On Feb 12, 2014, at 18:20 , Greg Sheremeta gsher...@redhat.com wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Yedidyah Bar David d...@redhat.com Cc: Greg Sheremeta gsher...@redhat.com, users users@ovirt.org Sent: Wednesday, February 12, 2014 12:16:42 PM Subject: Re: [Users] test day help -- console On 12 Feb 2014, at 10:09, Yedidyah Bar David d...@redhat.com wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Greg Sheremeta gsher...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, February 12, 2014 10:43:18 AM Subject: Re: [Users] test day help -- console On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote: I'm having a tough time getting a VM console working via VNC. I set a VM to use VNC, and I installed virt-viewer. 1. When I try to open a .vv file with virt-viewer, I get an error Cannot find guest domain /var/tmp/console.vv Old virt-viewer. Where did you get it from? It's built into current debian, I use it too. Does it support vv files? Didn't know that. The same package also has 'remote-viewer', which works for me with: remote-viewer vnc://host:port Yep. For some reason only remote-viewer works. No idea why 2. Using a VNC client to connect to the host with the password in the .vv file just immediately disconnects it -- no error message. For vv files I use the following script: = #!/bin/sh LOG=$HOME/vv1.log echo = $(date) $LOG echo params $@ $LOG vvfile=$1 host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' $vvfile) port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' $vvfile) echo $host $LOG echo $port $LOG sed -n 's/^password=\(.*\)/\1/p' $vvfile | vncviewer -autopass ${host}::${port} sleep 2 /bin/rm -f $vvfile = Verified now that it works (I seldom use it because the default is spice which works for me). Remote-viewer should work the same for VNC. For cclient of choice yes, your script is the one to use Did you make it in 120s? That was the main reason for this script :-) Certificates? Didn't bother with that. Alon would be happy to hear that I'm sure:-D I agree, in reality noone bothers. It's a pretty invasive thing, IMHO. If I see that I need to install a browser certificate for something, first thing I'm going to do is look for the alternative. :/ It's worse than digging out my 2 factor auth token!! I agree alternative is to use the native client or plugin:) you have 3 choices, unfortunately each needs some action/installation. But hopefully one out of three should work for everyone Thanks, michal 3. noVNC just gives me an empty popup with a gray background. You didn't import the engine's CA, did you? Any ideas? The Console Downloads page has all the info to get it work, did you check it out? (linked from main landing page, display options, user portal...so you shouldn't moss it;) You refer to 'Console Client Resources', which links to [1]? I had to do some manual work to get spice-xpi working on Debian as it's not packaged for it (and iirc neither are some of the dependencies). Yes. If you have some handy tips for Debian please feel free to update the page [1] http://www.ovirt.org/Console_Client_Resources -- Didi ___ 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] test day help -- console
On 12 Feb 2014, at 18:08, Greg Sheremeta gsher...@redhat.com wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Greg Sheremeta gsher...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, February 12, 2014 3:43:18 AM Subject: Re: [Users] test day help -- console On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote: I'm having a tough time getting a VM console working via VNC. I set a VM to use VNC, and I installed virt-viewer. 1. When I try to open a .vv file with virt-viewer, I get an error Cannot find guest domain /var/tmp/console.vv Old virt-viewer. Where did you get it from? It came with F20. I'm on F20 and don't think many other people are. Is it a regression? greg@dauntless:~$ yum list installed virt-viewer Loaded plugins: langpacks, refresh-packagekit google-chrome 3/3 google-talkplugin 1/1 Installed Packages virt-viewer.x86_64 0.5.7-2.fc20 installed greg@dauntless:~$ sudo yum install virt-viewer Loaded plugins: langpacks, refresh-packagekit Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest version Nothing to do I don't see RPMs anywhere for 0.6, and compiling it didn't work for me. (configure: error: At least one of spice or vnc must be used) Strange. I think it's in 0.5.6. Oh, remote-viewer, did you try that one? 2. Using a VNC client to connect to the host with the password in the .vv file just immediately disconnects it -- no error message. Did you make it in 120s? Sorry, what? The security ticket is valid for 120s only Certificates? Did not touch any certs. But, see my reply to #1. 3. noVNC just gives me an empty popup with a gray background. You didn't import the engine's CA, did you? You got me, but it should certainly give some error message, no? Not when you don't trust the cert authority. Unfortunately. That's why we added the page to such a prominent place:) Thanks, michal Any ideas? The Console Downloads page has all the info to get it work, did you check it out? (linked from main landing page, display options, user portal...so you shouldn't moss it;) Thanks, michal Greg Sheremeta Red Hat, Inc. Sr. Software Engineer, RHEV Cell: 919-807-1086 gsher...@redhat.com ___ 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] test day help -- console
On 12 Feb 2014, at 10:09, Yedidyah Bar David d...@redhat.com wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Greg Sheremeta gsher...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, February 12, 2014 10:43:18 AM Subject: Re: [Users] test day help -- console On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote: I'm having a tough time getting a VM console working via VNC. I set a VM to use VNC, and I installed virt-viewer. 1. When I try to open a .vv file with virt-viewer, I get an error Cannot find guest domain /var/tmp/console.vv Old virt-viewer. Where did you get it from? It's built into current debian, I use it too. Does it support vv files? Didn't know that. The same package also has 'remote-viewer', which works for me with: remote-viewer vnc://host:port Yep. For some reason only remote-viewer works. No idea why 2. Using a VNC client to connect to the host with the password in the .vv file just immediately disconnects it -- no error message. For vv files I use the following script: = #!/bin/sh LOG=$HOME/vv1.log echo = $(date) $LOG echo params $@ $LOG vvfile=$1 host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' $vvfile) port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' $vvfile) echo $host $LOG echo $port $LOG sed -n 's/^password=\(.*\)/\1/p' $vvfile | vncviewer -autopass ${host}::${port} sleep 2 /bin/rm -f $vvfile = Verified now that it works (I seldom use it because the default is spice which works for me). Remote-viewer should work the same for VNC. For cclient of choice yes, your script is the one to use Did you make it in 120s? That was the main reason for this script :-) Certificates? Didn't bother with that. Alon would be happy to hear that I'm sure:-D I agree, in reality noone bothers. 3. noVNC just gives me an empty popup with a gray background. You didn't import the engine's CA, did you? Any ideas? The Console Downloads page has all the info to get it work, did you check it out? (linked from main landing page, display options, user portal...so you shouldn't moss it;) You refer to 'Console Client Resources', which links to [1]? I had to do some manual work to get spice-xpi working on Debian as it's not packaged for it (and iirc neither are some of the dependencies). Yes. If you have some handy tips for Debian please feel free to update the page [1] http://www.ovirt.org/Console_Client_Resources -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] test day help -- console
On 12 Feb 2014, at 18:15, Greg Sheremeta gsher...@redhat.com wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Greg Sheremeta gsher...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, February 12, 2014 12:12:27 PM Subject: Re: [Users] test day help -- console On 12 Feb 2014, at 18:08, Greg Sheremeta gsher...@redhat.com wrote: - Original Message - From: Michal Skrivanek mskri...@redhat.com To: Greg Sheremeta gsher...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, February 12, 2014 3:43:18 AM Subject: Re: [Users] test day help -- console On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote: I'm having a tough time getting a VM console working via VNC. I set a VM to use VNC, and I installed virt-viewer. 1. When I try to open a .vv file with virt-viewer, I get an error Cannot find guest domain /var/tmp/console.vv Old virt-viewer. Where did you get it from? It came with F20. I'm on F20 and don't think many other people are. Is it a regression? greg@dauntless:~$ yum list installed virt-viewer Loaded plugins: langpacks, refresh-packagekit google-chrome 3/3 google-talkplugin 1/1 Installed Packages virt-viewer.x86_64 0.5.7-2.fc20 installed greg@dauntless:~$ sudo yum install virt-viewer Loaded plugins: langpacks, refresh-packagekit Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest version Nothing to do I don't see RPMs anywhere for 0.6, and compiling it didn't work for me. (configure: error: At least one of spice or vnc must be used) Strange. I think it's in 0.5.6. Oh, remote-viewer, did you try that one? Yeah, same results. Let me try connecting from a different Fedora 20 machine, maybe mine's broken. 2. Using a VNC client to connect to the host with the password in the .vv file just immediately disconnects it -- no error message. Did you make it in 120s? Sorry, what? The security ticket is valid for 120s only Yes, I beat that. Certificates? Did not touch any certs. But, see my reply to #1. 3. noVNC just gives me an empty popup with a gray background. You didn't import the engine's CA, did you? You got me, but it should certainly give some error message, no? Not when you don't trust the cert authority. Unfortunately. That's why we added the page to such a prominent place:) Not even Authentication failure ? Nope, nothing. For 3.5 we're looking into enabling the debug console so you have something to look at...:) Thanks, michal Any ideas? The Console Downloads page has all the info to get it work, did you check it out? (linked from main landing page, display options, user portal...so you shouldn't moss it;) Thanks, michal Greg Sheremeta Red Hat, Inc. Sr. Software Engineer, RHEV Cell: 919-807-1086 gsher...@redhat.com ___ 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] [ANN] oVirt 3.4.0 beta2 is now available
On Feb 10, 2014, at 12:06 , Dan Kenigsberg dan...@redhat.com wrote: On Mon, Feb 10, 2014 at 08:04:24AM +0100, Sandro Bonazzola wrote: Il 07/02/2014 18:01, Markus Stockhausen ha scritto: Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag von quot;Sandro Bonazzola [sbona...@redhat.com] Gesendet: Freitag, 7. Februar 2014 11:36 An: annou...@ovirt.org; Users@ovirt.org; engine-devel; arch; VDSM Project Development Betreff: [Users] [ANN] oVirt 3.4.0 beta2 is now available The oVirt team is pleased to announce that the 3.4.0 second beta release is now available for testing. Release notes and information on the changes for this update are still being worked on and will be available soon on the wiki[1]. Please ensure to follow install instruction from release notes if you're going to test it. The existing repository ovirt-3.4.0-prerelease has been updated for delivering this beta and future refreshes until release candidate. A new oVirt Node build will be available soon as well. You're welcome to join us testing this beta release in next week test day [2] scheduled for 2014-02-11! [1] http://www.ovirt.org/OVirt_3.4.0_release_notes [2] http://www.ovirt.org/OVirt_3.4_Test_Day -- Sandro Bonazzola Hello Sandro, may I politely ask to set BZ 1062615 for target release 3.4.0 - and as a blocker too? Hi, The VDSM maintainer has targeted BZ 1062615 for 3.4.1 so it has not been considered as blocker for 3.4.0. Dan, any chance of having this fixed in 3.4.0? It is purely an Engine issue, and apparently this is a very new regression, so I am joining the request to have this fixed in 3.4.0, and block GA. there were/are two issues. - one in vdsm reporting it which has been merged recently - then this engine not actually updating the field. This is a regression, though it must have happened quite some time ago…may be after https://bugzilla.redhat.com/show_bug.cgi?id=967861 A similar solution is supposed to be there for Windows VMs but if I'm not mistaken it's not in place yet. I'll check that Thanks, michal Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [ANN] oVirt 3.4.0 beta2 is now available
On Feb 10, 2014, at 14:31 , Michal Skrivanek mskri...@redhat.com wrote: On Feb 10, 2014, at 12:06 , Dan Kenigsberg dan...@redhat.com wrote: On Mon, Feb 10, 2014 at 08:04:24AM +0100, Sandro Bonazzola wrote: Il 07/02/2014 18:01, Markus Stockhausen ha scritto: Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag von quot;Sandro Bonazzola [sbona...@redhat.com] Gesendet: Freitag, 7. Februar 2014 11:36 An: annou...@ovirt.org; Users@ovirt.org; engine-devel; arch; VDSM Project Development Betreff: [Users] [ANN] oVirt 3.4.0 beta2 is now available The oVirt team is pleased to announce that the 3.4.0 second beta release is now available for testing. Release notes and information on the changes for this update are still being worked on and will be available soon on the wiki[1]. Please ensure to follow install instruction from release notes if you're going to test it. The existing repository ovirt-3.4.0-prerelease has been updated for delivering this beta and future refreshes until release candidate. A new oVirt Node build will be available soon as well. You're welcome to join us testing this beta release in next week test day [2] scheduled for 2014-02-11! [1] http://www.ovirt.org/OVirt_3.4.0_release_notes [2] http://www.ovirt.org/OVirt_3.4_Test_Day -- Sandro Bonazzola Hello Sandro, may I politely ask to set BZ 1062615 for target release 3.4.0 - and as a blocker too? Hi, The VDSM maintainer has targeted BZ 1062615 for 3.4.1 so it has not been considered as blocker for 3.4.0. Dan, any chance of having this fixed in 3.4.0? It is purely an Engine issue, and apparently this is a very new regression, so I am joining the request to have this fixed in 3.4.0, and block GA. there were/are two issues. - one in vdsm reporting it which has been merged recently - then this engine not actually updating the field. This is a regression, though it must have happened quite some time ago…may be after https://bugzilla.redhat.com/show_bug.cgi?id=967861 A similar solution is supposed to be there for Windows VMs but if I'm not mistaken it's not in place yet. I'll check that In 3.4 it's there finally, I forgot we changed the dialog for vminit feature. So the TZ dropdown box in General tab should set the time for the next run. It's supposed to be changeable for Windows OSs (Linux is always 0). It works in UI but apparently the backend code is not changing the utc_diff value. So that one we need to fix. And the updates from vdsm side are not reflected in DB if I understand what the bug says…the code looks alright though, so need to verify Thansk, michal Thanks, michal Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [vdsm] Migration failed (previous migrations succeded)
On Feb 4, 2014, at 09:40 , Sven Kieske s.kie...@mittwald.de wrote: Where? in the file itself? maybe in sample file only...usr/share/doc/vdsm-*/vdsm.conf.sample Thanks, michal Mine just contains this: [addresses] management_port = 54321 [vars] ssl = true This is a CentOS minimal with vdsm installed on top. versions are: rpm -qa | grep vdsm vdsm-4.12.1-4.el6.x86_64 vdsm-cli-4.12.1-4.el6.noarch vdsm-python-4.12.1-4.el6.x86_64 vdsm-python-cpopen-4.12.1-4.el6.x86_64 vdsm-xmlrpc-4.12.1-4.el6.noarch Is this information maybe just available in the node images? Did I hit a bug? Am 03.02.2014 13:43, schrieb Michal Skrivanek: the vdsm.conf has a description for each parameter -- 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] CPU and Memory sharing
On Feb 4, 2014, at 12:44 , Jaison peter urotr...@gmail.com wrote: Hi all , I would like to know whether CPU or memory sharing among physical nodes are possible in ovirt . Suppose I have 3 physical nodes in my cluster with 24GB RAM and 8 cores each . Then one of my client needs a VM with 32GB RAM and 12 cores , that means vm need resources more than a physical server . So is that possible in ovirt cluster .? If it is not directly possible is they are any cloning Load balancing methods like in amzon auto scaling ? not sharing, but overcommit yes. if it really needs more RAM than the host has then it's going to swap…well, you may try to use network swap I suppose performance is not going to be great in any case, obviously. ___ 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] oVirt 3.4 test day - results
On Jan 27, 2014, at 17:02 , Alexander Wels aw...@redhat.com wrote: Hi, I tested the following items during the test day and here are my results: 1. reboot VM functionality The related feature page is: http://www.ovirt.org/Features/Guest_Reboot The feature page mentions a policy selection checkbox which I was unable to find in the web admin UI at all. I checked the patches that implement the feature and did not see the check box implementation. The patches did show me that all I need to use the feature was to install the guest agent on the guest. So for my test I installed a fedora guest, and I installed the guest agent on the guest. After about a minute after starting the guest, the reboot button was enabled and pressing it started the reboot sequence on the guest. I had a console open on the guest and it informed me that the admin had started the reboot process and the guest would be rebooted in a minute. I did not find a way to change the time it took for the reboot to happen. I did the same test with the REST api, with the same result. The reboot was scheduled for a minute after I issued the command. I did not find a way to change the time with the REST api either. I am guessing that is a future feature. indeed. The scope of the feature was cut down significantly. No customizations other than via vdsm.conf. We hope we'll get the original promises in 3.5:) The default 60 seconds delay time is for shutdown as well. The future customizations are to remove it. 2. Fix Control-Alt-Delete functionality in console options I had trouble getting spice to work in my test setup, but no issues with VNC. So I tested VNC. I checked the VM console options to make sure that 'Map ctrl-alt-del shortcut to ctrl+alt+end' was checked. Then I connected to a running VM with VNC. I pressed ctrl-+alt+end expected it to issue a ctrl-alt-del to the guest. Nothing happened. I pressed ctrl-alt-del and it properly issued ctrl-alt-del to the guest. I made sure there was no issue with my client by using the menu to issue a ctrl-alt-del to the guest which also resulted in the proper action on the guest. I opened a bug for this: https://bugzilla.redhat.com/show_bug.cgi?id=1057763 I did this test on my Fedora machine, and the description mentions that certain OSes capture the ctrl-alt-del before sending it to the guest, Fedora is not one of those OSes, so maybe my test was not valid? it seems only the Windows version of virt-viewer supports the mapping. We'll grey it out for Linux clients then (or try to push the change to Linux versions as well, whichever can be done first) Thanks, michal 3. Show name of the template in General tab for a VM if the VM is deployed from template via clone allocation. This is a very straight forward test. I created a template from a VM. I named the template. Then created a VM from that template using clone allocation. I verified that the name of the template is now properly shown in the VM general sub tab. Works as expected. Overall I had issues getting engine installed due to the shmmax issue reported in other threads, and then I had a really hard time adding new hosts from a blank fedora minimum install. I was successful one out of three attempts, which I feel was probably an yum repository issue as I was getting conflicting python-cpopen issues causing VDSM to not start. Thanks, Alexander ___ 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] [vdsm] Migration failed (previous migrations succeded)
On Feb 1, 2014, at 18:25 , Itamar Heim ih...@redhat.com wrote: On 01/31/2014 09:30 AM, Sven Kieske wrote: Hi, is there any documentation regarding all allowed settings in the vdsm.conf? I didn't find anything related in the rhev docs that's a question for vdsm mailing list - cc-ing… the vdsm.conf has a description for each parameter…just search for all containing migration:) we do want to expose some/most/all of them in UI/REST eventually, the migration downtime setting is there now in 3.4, but others are missing Thanks, michal Am 30.01.2014 21:43, schrieb Itamar Heim: On 01/30/2014 10:37 PM, Markus Stockhausen wrote: Von: Itamar Heim [ih...@redhat.com] Gesendet: Donnerstag, 30. Januar 2014 21:25 An: Markus Stockhausen; ovirt-users Betreff: Re: [Users] Migration failed (previous migrations succeded) Now I' getting serious problems. During the migration the VM was doing a rather slow download at 1,5 MB/s. So the memory changed by 15 MB per 10 seconds. No wonder that a check every 10 seconds was not able to see any progress. Im scared what will happen if I want to migrate a medium loaded system runing a database. Any tip for a parametrization? Markus what's the bandwidth? default is up to 30MB/sec, to allow up to 3 VMs to migrate on 1Gb without congesting it. you could raise that if you have 10GB, or raise the bandwidth cap and reduce max number of concurrent VMs, etc. My migration network is IPoIB 10GBit. During our tests only one VM was migrated. Bandwidth cap or number of concurrent VMs has not been changed after default install. Is migration_max_bandwidth in /etc/vdsm/vdsm.conf still the right place? probably And what settings do you suggest? well, to begin with, 300MB/sec on 10GE (still allowing concurrent migrations) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ vdsm-devel mailing list vdsm-de...@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [vdsm] Migration failed (previous migrations succeded)
On Feb 3, 2014, at 16:20 , Gianluca Cecchi gianluca.cec...@gmail.com wrote: On Mon, Feb 3, 2014 at 1:43 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Feb 1, 2014, at 18:25 , Itamar Heim ih...@redhat.com wrote: On 01/31/2014 09:30 AM, Sven Kieske wrote: Hi, is there any documentation regarding all allowed settings in the vdsm.conf? I didn't find anything related in the rhev docs that's a question for vdsm mailing list - cc-ing… the vdsm.conf has a description for each parameter…just search for all containing migration:) we do want to expose some/most/all of them in UI/REST eventually, the migration downtime setting is there now in 3.4, but others are missing Thanks, michal Am 30.01.2014 21:43, schrieb Itamar Heim: On 01/30/2014 10:37 PM, Markus Stockhausen wrote: Von: Itamar Heim [ih...@redhat.com] Gesendet: Donnerstag, 30. Januar 2014 21:25 An: Markus Stockhausen; ovirt-users Betreff: Re: [Users] Migration failed (previous migrations succeded) Now I' getting serious problems. During the migration the VM was doing a rather slow download at 1,5 MB/s. So the memory changed by 15 MB per 10 seconds. No wonder that a check every 10 seconds was not able to see any progress. Im scared what will happen if I want to migrate a medium loaded system runing a database. Any tip for a parametrization? Markus what's the bandwidth? default is up to 30MB/sec, to allow up to 3 VMs to migrate on 1Gb without congesting it. you could raise that if you have 10GB, or raise the bandwidth cap and reduce max number of concurrent VMs, etc. My migration network is IPoIB 10GBit. During our tests only one VM was migrated. Bandwidth cap or number of concurrent VMs has not been changed after default install. Is migration_max_bandwidth in /etc/vdsm/vdsm.conf still the right place? probably And what settings do you suggest? Not tried myself the change of values, but in a previous thread (actually for limiting and not speeding up migration ;-) these two parameters were described and to be put in each /etc/vdsm/vdsm.conf yep, they have (brief) description there max_outgoing_migrations (eg 1 for allowing only one migration at a time) migration_max_bandwidth (unit is in MBytes/s, vdsm default is 32MiBps and it is for single migration, not overall) I think it is necessary to follow this workflow for every host unfortunately yes - put host into maintenance - stop vdsmd service - change values - start vdsmd service - activate host Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Vm's being paused
On Jan 28, 2014, at 19:18 , Dafna Ron d...@redhat.com wrote: yes - engine lost communication with vdsm and it has no way of knowing if the host is down or if there was a network issue so a network issue would cause the same errors that I see in the logs. The error you put on the iso is the reason the vm's have failed migration - if a vm is run with a cd and the cd is gone than the vm will not be able to be migrated. which, as I learned last week, is not entirely correct. Pure libvirt VM seems to work fine…so it must be somewhere something in oVirt:( looking into it but just for future reference we want it to work:) after the engine restart, do you still see a problem with the size or did the report of size changed? Dafna On 01/28/2014 01:02 PM, Neil wrote: Hi Dafna, Thanks for coming back to me. I'll try answer your queries one by one. On Tue, Jan 28, 2014 at 1:38 PM, Dafna Ron d...@redhat.com wrote: you had a problem with your storage on the 14th of Jan and one of the hosts rebooted (if you have the vdsm log from that day than I can see what happened on vdsm side) in engine, I could see a problem with the export domain and this should not have cause a reboot. 1.) I don't unfortunately have logs going back that far. Looking at all 3 hosts uptime, the one with the least uptime is 21 days, the others are all over 40 days, so there definitely wasn't a host that rebooted on the 14th of Jan, would a network issue or Firewall issue also cause the error you've seen to look as if a host rebooted? There was a bonding mode change on the 14th of January, so perhaps this caused the issue? Can you tell me if you had a problem with the data domain as well or was it just the export domain? were you having any vm's exported/imported at that time? In any case - this is a bug. 2.) I think this was the same day that the bonding mode was changed on the host while the host was live (by mistake), and had SPM running on it. I haven't done any importing or exporting for a few years on this oVirt setup. As for the vm's - if the vm's are no longer in migrating state than please restart ovirt-engine service (looks like a cache issue) 3.) Restarted ovirt-engine, logging now appears to be normal without any errors. if they are in migrating state - there should have been a timeout a long time ago. can you please run 'vdsClient -s 0 list table' and 'virsh -r list' on both all hosts? 4.) Ran on all hosts... node01.blabla.com 63da7faa-f92a-4652-90f2-b6660a4fb7b3 11232 adam Up 502170aa-0fc6-4287-bb08-5844be6e0352 13986 babbage Up ff9036fb-1499-45e4-8cde-e350eee3c489 26733 reports Up 2736197b-6dc3-4155-9a29-9306ca64881d 13804 tux Up 0a3af7b2-ea94-42f3-baeb-78b950af4402 25257 Moodle Up IdName State 1 adam running 2 reportsrunning 4 tuxrunning 6 Moodle running 7 babbagerunning node02.blabla.com dfa2cf7c-3f0e-42e3-b495-10ccb3e0c71b 2879 spam Up 23b9212c-1e25-4003-aa18-b1e819bf6bb1 32454 proxy02 Up ac2a3f99-a6db-4cae-955d-efdfb901abb7 5605 software Up 179c293b-e6a3-4ec6-a54c-2f92f875bc5e 8870 zimbra Up IdName State 9 proxy02running 10spam running 12software running 13zimbra running node03.blabla.com e42b7ccc-ce04-4308-aeb2-2291399dd3ef 25809 dhcp Up 16d3f077-b74c-4055-97d0-423da78d8a0c 23939 oliver Up IdName State 13oliver running 14dhcp running Last thing is that your ISO domain seems to be having issues as well. This should not effect the host status but if any of the vm's were booted from an iso or have an iso attached in the boot sequence this will explain the migration issue. There was an ISO domain issue a while back, but this was corrected about 2 weeks ago after iptables re-enabled itself on boot after running updates, I've checked now and the ISO domain appears to be fine and I can see all the images stored within. I've stumbled across what appears to be another error and all three hosts are showing this over and over in /var/log/messages, and I'm not sure if it's related? ... Jan 28 14:58:59 node01 vdsm vm.Vm ERROR vmId=`63da7faa-f92a-4652-90f2-b6660a4fb7b3`::Stats function failed: AdvancedStatsFunction _highWrite at 0x2ce0998#012Traceback (most
Re: [Users] Notes on setting spice-proxy console option
On Jan 28, 2014, at 20:14 , Marian Krcmarik mkrcm...@redhat.com wrote: - Original Message - From: David Li david...@sbcglobal.net To: users@ovirt.org Cc: david li david...@sbcglobal.net Sent: Tuesday, January 28, 2014 7:41:26 PM Subject: [Users] Notes on setting spice-proxy console option Hi, I have struggled quite a bit to get it up and running. Over the time, I have accumulated some notes on various things I did so to share with everyone who is interested in doing this. This complements the online doc in a way that might give me a complete picture in one place. However I need some clarifications as I might have forgotten to document certain steps or certain steps I did turn out to be not necessary in the end. It will be great if experts here can help me get the things straight. My setup is like: Browser (firefox 24.2 on RHEL6) ovirt-engine (3.3.2) ovirt-node (3.0.3) No direct network connectivity from the browser machine to the node machine. These are the major things I installed for spice-proxy to work: * On ovirt-engine: yum install spice-gtk, virt-viewer, spice-xpi These components are client components (what you call Browser machine). yum-install squid /etc/squid/squid.conf updates: acl localhost src browser IP addr #http_access deny CONNECT !SSL_ports I would rather allow CONNECT to specific Spice ports only 5634-6166: acl Spice_ports port 5634-6166 http_access denny CONNECT !Spice_ports http_access deny !Safe_ports http_port 3128 service squid restart make sure iptables allow 3128 engine-config -s SpiceProxyDefault= http://ovirt-engine-IP:3128 service ovirt-engine restart * On browser machine running firefox 24.2.0 on RHEL6 for running browser console plugin client yum install spice-xpi. spice-xpi should bring its dependencies virt-viewer - spice-gtk - etc. but If you do not wish to use the plugin launch type, you may install only virt-viewer (without spice-xpi) and use what I guess is called Native client launch type. make sure VM's console option is set to SPICE Are the above steps reasonable? any missing or redundant? Seems fine, just no need the client packages on the engine. Additional questions: 1. Will spice-proxy work with the Spice HTML5 client in the browser? Probably, but you would need to set the websocket proxy which is part of installation steps for engine as well (I believe). since it's a proxy as well I'd recommend to use it instead of squid, not in addition. By default it's installed on the engine host but it can be deployed anywhere else. 2. Is the spice-proxy architecture diagram like: browser - squid proxy - spice-proxy -- VM Browser plugin spice-xpi invokes start of Spice client (virt-viewer) which makes CONNECT to Host machine (where the VM is hosted) through the HTTP proxy (in your case squid). Client machine --- Squid --- Host (where the VM is hosted). 3. I didn't explicitly install any certs for the squid proxy. Is it automatically taken care of? No, no authentication to Squid is supported with Spice now. So If It is publicly visible proxy It's important to set careful proxy rules. References: http://www.ovirt.org/Console_Client_Resources http://www.ovirt.org/Features/Spice_Proxy https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/pdf/Installation_Guide/Red_Hat_Enterprise_Virtualization-3.3-Installation_Guide-en-US.pdf Thanks. David ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Notes on setting spice-proxy console option
On 29 Jan 2014, at 16:59, David Li david...@sbcglobal.net wrote: - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Marian Krcmarik mkrcm...@redhat.com; David Li david...@sbcglobal.net Cc: users@ovirt.org Sent: Wednesday, January 29, 2014 6:00 AM Subject: Re: [Users] Notes on setting spice-proxy console option 1. Will spice-proxy work with the Spice HTML5 client in the browser? Probably, but you would need to set the websocket proxy which is part of installation steps for engine as well (I believe). since it's a proxy as well I'd recommend to use it instead of squid, not in addition. By default it's installed on the engine host but it can be deployed anywhere else. I am interested in trying this. I tried before but didn't succeed. Is it enough to configure websocket proxy on the engine like this? Well, this is the default deployment on engine. The engine host is the proxy. If that's what you need there is no additional configuration needed. Just say yes to websocket proxy during installation and import ca.crt to your browser Only if you want to run the proxy elsewhere you need to update the below parameters accordingly Thanks, michal WebSocketProxy: engine-IP-addr:6100 version: general WebSocketProxyTicketValiditySeconds: 120 version: general Any pointer to a good setup guide? David ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Strange UI bug: tab VM unusable / oVirt 3.3.1+
On Dec 11, 2013, at 13:54 , Tomas Jelinek tjeli...@redhat.com wrote: While the question how did this happened I would like to start a parallel discussion about what to do when it happens next time (since this osinfo property files are editable we have to expect that some used OS will be deleted). It is certainly not correct to fail on NPE on FE... I can imagine following options to fix it: - fix only on FE by logic like: if the VM has assigned an OS which is not known, consider it is other (e.g. 0) - brings up the question what if the user deletes the 0 from the property file mapping to Other seems to be fine If you delete it 0 well, bad luck;) It also means that with this mapping if you open a running VM and try to save it it may likely fail as it tries to update various fields. Well, bad luck again. I'd address this in bug https://bugzilla.redhat.com/show_bug.cgi?id=1046809 Thanks, michal - fix this on engine side and do the magic (e.g. set the other if it is undefined) so the FE will never get an incorrectly assigned OS ID - have an undefined OS ID hardcoded in the engine which can not be deleted by the user and we can assign it when the actual does not exist - again, we can do this re-assignment on FE or engine - brings up the question what the ID should be and what if the user adds some custom item with this ID - do not transfer OS as ID and than some properties which maps to this IDs but real objects. So we could do instead of: AsyncDataProvider.hasSpiceSupport(getEntity().getOs(), getEntity().getVdsGroupCompatibilityVersion()) something like getEntity().getOs().hasSpiceSupport() So we could have an implementation of undefined os which could react appropriately. I like most the last option but at the same time it is quite a big refactoring... What do you think? - Original Message - From: Frank Wall f...@moov.de To: Roy Golan rgo...@redhat.com Cc: oVirt Users users@ovirt.org Sent: Wednesday, December 11, 2013 10:48:15 AM Subject: Re: [Users] Strange UI bug: tab VM unusable / oVirt 3.3.1+ On 2013-12-11 8:18, Roy Golan wrote: how was this engine installed, upgraded in time? nightly or with official releases? This is my complete release timeline for this host/engine: Sep 02 17:50:37 Installed: ovirt-engine-3.3.0-0.7.rc2.fc19.noarch Sep 13 22:09:41 Updated: ovirt-engine-3.3.0-3.fc19.noarch Sep 22 18:37:26 Updated: ovirt-engine-3.3.0-4.fc19.noarch Okt 27 21:29:08 Updated: ovirt-engine-3.3.0.1-1.fc19.noarch Dec 05 15:22:38 Updated: ovirt-engine-3.3.1-2.fc19.noarch Dez 08 21:31:55 Updated: ovirt-engine-3.3.2-0.1.beta1.fc19.noarch Regards - Frank ___ 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
[Users] multiple storage domains
Hey, I was trying to play with multiple storage domain during the 3.4 test day and even though it took me ages to set storage up correctly, the feature itself seems to be working just fine. Much easier to select what kind of storage I want to use…just Shared vs Local storage pool. VM could use volumes from different domains and I didn't have to worry about the right type (other than local vs shared, obviously:) Thanks, michal ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reboot causes poweroff of VM 3.4 Beta
On Jan 27, 2014, at 11:46 , Jonathan Archer j...@rosslug.org.uk wrote: On 25/01/2014 20:02, Roy Golan wrote: Please attach engine.log and vdsm.log On Jan 25, 2014 5:59 PM, Jon Archer j...@rosslug.org.uk wrote: Hi, Seem to be suffering an issue in 3.4 where if a vm Hi, Seem to be suffering an issue in 3.4 where if a vm is rebooted it actually shuts down, this occurs for all guests regardless of OS installed within. Anyone seen this? Jon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Attached is a sample of the engine.log and vdsm.log during a reboot the VM as previously stated shutdown rather than reboot,. There wasn't anything in the server.log around the time, the previous entry was at least 30 mins before. Hi, your log doesn't contain the relevant part, there's no command logged, other than Message: VM wcsmail01 is down. Exit message: User shut down which means the guest was shut down from inside of the OS how did you trigger the reboot/shutdown? Thanks, michal Thanks engine.out.txtvdsm.out.txt___ 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] Reboot causes poweroff of VM 3.4 Beta
On Jan 27, 2014, at 14:55 , Jonathan Archer j...@rosslug.org.uk wrote: On 27/01/2014 13:15, Michal Skrivanek wrote: On Jan 27, 2014, at 12:21 , Jonathan Archer j...@rosslug.org.uk wrote: On 27/01/2014 11:03, Michal Skrivanek wrote: On Jan 27, 2014, at 11:59 , Jonathan Archer j...@rosslug.org.uk wrote: On 27/01/2014 10:56, Michal Skrivanek wrote: On Jan 27, 2014, at 11:46 , Jonathan Archer j...@rosslug.org.uk wrote: On 25/01/2014 20:02, Roy Golan wrote: Please attach engine.log and vdsm.log On Jan 25, 2014 5:59 PM, Jon Archer j...@rosslug.org.uk wrote: Hi, Seem to be suffering an issue in 3.4 where if a vm Hi, Seem to be suffering an issue in 3.4 where if a vm is rebooted it actually shuts down, this occurs for all guests regardless of OS installed within. Anyone seen this? Jon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Attached is a sample of the engine.log and vdsm.log during a reboot the VM as previously stated shutdown rather than reboot,. There wasn't anything in the server.log around the time, the previous entry was at least 30 mins before. Hi, your log doesn't contain the relevant part, there's no command logged, other than Message: VM wcsmail01 is down. Exit message: User shut down which means the guest was shut down from inside of the OS how did you trigger the reboot/shutdown? Thanks, michal Thanks engine.out.txtvdsm.out.txt___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users The reboot was triggered using the reboot command at the console. ok, makes sense there's nothing in the log I also have a windows 7 guest, which shuts down when the reboot option is selected. what doesn't make sense is the behavior:) It should simply reboot, there's nothing oVirt is doing in this case…could it be your OS is configured(or has decided) to shutdown instead? Jon Hi, I'd be pointed towards the guest OS if it wasn't for 2 things: 1) this happens to all guests of both windows and Linux flavours 2) the guests are just plain vanilla installs with nothing special. that is weird. Any special/non-default setting? do you have libvirt/qemu logs? VDSM doesn't say much other than a clean user-initiated shutdown happened. is ACPI enabled in the guest (unless you manually changed config it always is) any logs from the guest? Thanks, michal Jon Yes it does seem to be weird, nothing special about my setup. Simple gluster setup converted from all-in-one. As I mentioned the guests are vanilla with regard to configs. Just had a look in the libvirt and qemu logs, nothin in the libvirt, and nothing exciting in the qemu log 2014-01-27 13:37:16.842+: starting up LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name wcssrv01 -S -M rhel6.5.0 -cpu Conroe,+vmx -enable-kvm -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 350e285d-8c3a-494b-b484-27784caae976 -smbios type=1,manufacturer=oVirt,product=oVirt Node,version=6-5.el6.centos.11.2,serial=439CF517-D52F-11DF-BBDA-C0970C0278AC,uuid=350e285d-8c3a-494b-b484-27784caae976 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/wcssrv01.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2014-01-27T13:37:16,driftfix=slew -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/rhev/data-center/mnt/cauldron.arclab:_ISO__DOMAIN/abf4ff41-eb0a-4580-9ad0-bae53d56c6b0/images/----/CentOS-6.5-x86_64-minimal.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 -drive file=/rhev/data-center/mnt/glusterSD/cauldron.arclab:_data/c074a6e3-87be-445e-890f-601c215ba320/images/24cf5dba-6b4a-430c-9a15-cfdebe0c1f09/9e47f51f-5bc5-47a0-8f98-c8a14626c393,if=none,id=drive-virtio-disk0,format=raw,serial=24cf5dba-6b4a-430c-9a15-cfdebe0c1f09,cache=none,werror=stop,rerror=stop,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=31,id=hostnet0,vhost=on,vhostfd=32 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:2d:98:0e,bus=pci.0,addr=0x3,bootindex=3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/350e285d-8c3a-494b-b484-27784caae976.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/350e285d-8c3a-494b-b484-27784caae976
Re: [Users] novnc console button/ticket via REST-API?
On Jan 21, 2014, at 11:48 , Sven Kieske s.kie...@mittwald.de wrote: Hi, we are quite impressed of the novnc console option to get access to the vms. however, we want to implement our own userportal. So is it possible to create the novnc ticket / open a vnc session with the vm event via REST-API? If yes how? setting the ticket is a VM's action ticket after that you can spawn your client and connect to the desired host/port you get from VM display's address, secureport Thanks, michal If not, how could this be achieved? -- 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
Re: [Users] novnc console button/ticket via REST-API?
On Jan 21, 2014, at 15:55 , Sven Kieske s.kie...@mittwald.de wrote: Hi, yeah we have already setup a websocket proxy on a different host. But our goal is not just to use this websocket proxy in the engine and clicking the console link in webadmin. We want a setup like this: Host a: engine Host b: websocket proxy Host c: custom user portal with a link which opens the novnc connection (similar to the link in webadmin when I click console for a vm). how can we construct this link for host c? right, so what do you miss? perhaps the websocket proxy address, I don't think it's exposed via REST:/ Don't know. Maybe use a fixed one in your environment is good enough? other than that you have everything, no? everything else works. :) Am 21.01.2014 15:03, schrieb Michal Skrivanek: On Jan 21, 2014, at 13:09 , Sven Kieske s.kie...@mittwald.de wrote: Hi, Am 21.01.2014 12:22, schrieb Michal Skrivanek: setting the ticket is a VM's action ticket after that you can spawn your client and connect to the desired host/port you get from VM display's address, secureport well it's cool I can set the ticket, but the client would be novnc in our case, so there is no way to get the actual url for this ticket for novnc with REST? there are two steps you get the password via ticket action (which enables/opens the connection for those 120s window) you get the display details from VM's properties (host, port) and then you can connect. for novnc you'd need to use websocket proxy in addition so you need to get the proxy address from engine-config Thanks, michal -- 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 -- 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] Blank VM Install Console
On 21 Jan 2014, at 18:20, David Li david...@sbcglobal.net wrote: Itamar, I tried what you suggested. Now when I restart the VM, it ends up in unknown state. Moreover, all storage domains and the host are all down. What do I need to do to recover from here? Thos is way beyond graphics issues. You have something wrong with the basic setup. Storage connection? Can all hosts see the engine and vice versa? Any manual firewall tweaks? Thanks, michal - Original Message - From: Itamar Heim ih...@redhat.com To: David Li david...@sbcglobal.net; Michal Skrivanek michal.skriva...@redhat.com Cc: users@ovirt.org List users@ovirt.org Sent: Friday, January 17, 2014 2:53 PM Subject: Re: [Users] Blank VM Install Console On 01/18/2014 12:49 AM, David Li wrote: The node is up and running. I can ssh in no problem. VM is started and running ok with 0% CPU 3% memory. I don't know how to connect VNC to it, my VNC console option is grayed out. stop the VM. edit it, change console from spice to vnc, start VM, connect to it again with vnc. I also tried browser plugin option by installing spice-xpi on my RHEL6 (which runs the firefox browser). Now when the console is launched, a popup window shows up but then an error Unable to connect to the graphic server. - Original Message - From: Itamar Heim ih...@redhat.com To: David Li david...@sbcglobal.net; Michal Skrivanek michal.skriva...@redhat.com Cc: users@ovirt.org List users@ovirt.org Sent: Friday, January 17, 2014 2:38 PM Subject: Re: [Users] Blank VM Install Console On 01/18/2014 12:30 AM, David Li wrote: This time I tried to use spice html5 browser client. I downloaded the cert from http://my-engine/ovirt-engine/ca.crt. This time the console window spice javascript client showed up in the firefox (24.2.0) but it stays gray. Nothing can be seen. So what else am I missing here? just to rule out things: - is the geust working correctly for you (ssh?) - does it happen to consume 100% cpu? - does vnc work for you correctly for this guest? - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: David Li david...@sbcglobal.net Cc: Meital Avital mavi...@redhat.com; Einav Cohen eco...@redhat.com; Omer Frenkel ofren...@redhat.com; users@ovirt.org List users@ovirt.org; d...@redhat.com Ron d...@redhat.com Sent: Friday, January 17, 2014 1:12 AM Subject: Re: [Users] Blank VM Install Console On Jan 17, 2014, at 09:59 , Dafna Ron d...@redhat.com wrote: well, I have to admit that it has been a while since I tried logging in to a vm console from a Windows OS :) Adding some people to this which I think can help more than me... On 01/17/2014 12:58 AM, David Li wrote: Well, it didn't even have any traces to tell me if it's installed. I am supposed to see these according to the instruction but none of them showed up. * IE will prompt you with This website wants to install the following add-on SpiceX.cab... proceed by clicking the arrow on the install button and choose Install for All Users of this computer. * Depending on the version of IE a UAC dialog may pop up asking you if you want to allow SpiceX.cab If it does not Click on the install spice button again and it will. * In the UAC dialog click on the yes button. * The install will now proceed in the background. I am using W7 64bit with IE11. My engine is running on a RHEL6 machine. IE11 doesn't really work as of now. Try some more reasonable browser, IE10 would be also fine. activex setup requires some manual work as mentione at How_to_Connect_to_SPICE_Console_With_Portal wiki native invocation (that file to download you got) is easier, just associate with recent remote viewer and it should open it works on Windows, Linux and OSX (needs https://github.com/brianwcook/launchvv in addition) check out http://www.ovirt.org/Console_Client_Resources Thanks, mcihal - Original Message - From: Dafna Ron d...@redhat.com To: David Li david...@sbcglobal.net Cc: Madhav V Diwan mdi...@diwanconsulting.com; users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 4:16 PM Subject: Re: [Users] Blank VM Install Console 1. did you restart you're firefox after install? 2. what OS are you using? On 01/16/2014 11:40 PM, David Li wrote: This isn't working for me at this time. I have gone to the end of the instructions and clicked on Install Spice button in IE but nothing happened. Maybe someone with more knowledge should come out and make clarifications. - Original Message - From: Madhav V Diwan mdi...@diwanconsulting.com
Re: [Users] Blank VM Install Console
On 21 Jan 2014, at 18:26, David Li david...@sbcglobal.net wrote: Before the VM install console problem, everything was normal, the cpu, host, storage were done following the quick start guide. Well, whatever is the reason the symptoms you see suggests something is either crashing (vdsm on the host) or is unreachable or misconfigured now. Depends what you did...:) Might be easier to start from scratch if unsure... - Original Message - From: Michal Skrivanek mskri...@redhat.com To: David Li david...@sbcglobal.net Cc: Itamar Heim ih...@redhat.com; users@ovirt.org List users@ovirt.org Sent: Tuesday, January 21, 2014 9:24 AM Subject: Re: [Users] Blank VM Install Console On 21 Jan 2014, at 18:20, David Li david...@sbcglobal.net wrote: Itamar, I tried what you suggested. Now when I restart the VM, it ends up in unknown state. Moreover, all storage domains and the host are all down. What do I need to do to recover from here? Thos is way beyond graphics issues. You have something wrong with the basic setup. Storage connection? Can all hosts see the engine and vice versa? Any manual firewall tweaks? Thanks, michal - Original Message - From: Itamar Heim ih...@redhat.com To: David Li david...@sbcglobal.net; Michal Skrivanek michal.skriva...@redhat.com Cc: users@ovirt.org List users@ovirt.org Sent: Friday, January 17, 2014 2:53 PM Subject: Re: [Users] Blank VM Install Console On 01/18/2014 12:49 AM, David Li wrote: The node is up and running. I can ssh in no problem. VM is started and running ok with 0% CPU 3% memory. I don't know how to connect VNC to it, my VNC console option is grayed out. stop the VM. edit it, change console from spice to vnc, start VM, connect to it again with vnc. I also tried browser plugin option by installing spice-xpi on my RHEL6 (which runs the firefox browser). Now when the console is launched, a popup window shows up but then an error Unable to connect to the graphic server. - Original Message - From: Itamar Heim ih...@redhat.com To: David Li david...@sbcglobal.net; Michal Skrivanek michal.skriva...@redhat.com Cc: users@ovirt.org List users@ovirt.org Sent: Friday, January 17, 2014 2:38 PM Subject: Re: [Users] Blank VM Install Console On 01/18/2014 12:30 AM, David Li wrote: This time I tried to use spice html5 browser client. I downloaded the cert from http://my-engine/ovirt-engine/ca.crt. This time the console window spice javascript client showed up in the firefox (24.2.0) but it stays gray. Nothing can be seen. So what else am I missing here? just to rule out things: - is the geust working correctly for you (ssh?) - does it happen to consume 100% cpu? - does vnc work for you correctly for this guest? - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: David Li david...@sbcglobal.net Cc: Meital Avital mavi...@redhat.com; Einav Cohen eco...@redhat.com; Omer Frenkel ofren...@redhat.com; users@ovirt.org List users@ovirt.org; d...@redhat.com Ron d...@redhat.com Sent: Friday, January 17, 2014 1:12 AM Subject: Re: [Users] Blank VM Install Console On Jan 17, 2014, at 09:59 , Dafna Ron d...@redhat.com wrote: well, I have to admit that it has been a while since I tried logging in to a vm console from a Windows OS :) Adding some people to this which I think can help more than me... On 01/17/2014 12:58 AM, David Li wrote: Well, it didn't even have any traces to tell me if it's installed. I am supposed to see these according to the instruction but none of them showed up. * IE will prompt you with This website wants to install the following add-on SpiceX.cab... proceed by clicking the arrow on the install button and choose Install for All Users of this computer. * Depending on the version of IE a UAC dialog may pop up asking you if you want to allow SpiceX.cab If it does not Click on the install spice button again and it will. * In the UAC dialog click on the yes button. * The install will now proceed in the background. I am using W7 64bit with IE11. My engine is running on a RHEL6 machine. IE11 doesn't really work as of now. Try some more reasonable browser, IE10 would be also fine. activex setup requires some manual work as mentione at How_to_Connect_to_SPICE_Console_With_Portal wiki native invocation (that file to download you got) is easier, just associate with recent remote viewer and it should open it works on Windows, Linux and OSX (needs https://github.com/brianwcook/launchvv in addition) check out http://www.ovirt.org/Console_Client_Resources Thanks, mcihal
Re: [Users] Vm's being paused
On Jan 20, 2014, at 15:03 , Sven Kieske s.kie...@mittwald.de wrote: Hi, this shouldn't happen imho. If the VM writes faster than the virtual disk can grow I would expect the hypervisor to slow down the writing instead of throwing errors? we extend before run out of space so it should not really happen in real life, not in reasonable setups. unlike the out of space scenario where there's little we can do, just pause. the threshold for growing the space can be change…or simply use preallocated disks if the performance is so bad and VM demands so high. Thanks michal Am 19.01.2014 19:20, schrieb Dan Yasny: If you have thin provisioned disks, and the VM writes to it's disks faster than the disks can grow, this is exactly what you will see -- 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
Re: [Users] get VM events via API?
On Jan 20, 2014, at 15:12 , Itamar Heim ih...@redhat.com wrote: On 01/20/2014 04:08 PM, Sven Kieske wrote: No, in webadmin this can be accessed by clicking on a vm and select the sub tab Sessions. Is this exposed via API? Use case would be to see if the user logs in, so I can see and verify the vm setup did go well. i couldn't see it as well with my 3.3, please open a bug. yeah, I guess it should go under VM's guest_info (there's guest's IP and FQDN right now) Thanks, michal Am 20.01.2014 10:48, schrieb Itamar Heim: it should, but do you see that under events or the vm info? ___ 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] Configure VNC-Password timeout
On Jan 20, 2014, at 15:26 , Sven Kieske s.kie...@mittwald.de wrote: Hi, thanks for the fast reply, I already feared this answer. btw, password can be disabled completely via vdsm hook; or the password/validity can be altered in after_vm_set_ticket hook I suppose as well. Against which component should I open the BZ? webadmin Am 20.01.2014 14:58, schrieb Tomas Jelinek: - Original Message - From: Sven Kieske s.kie...@mittwald.de To: Users@ovirt.org List Users@ovirt.org Sent: Monday, January 20, 2014 2:41:29 PM Subject: [Users] Configure VNC-Password timeout Hi, the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this. Is there an engine-config value or is this hardcoded? How can this be changed? It seems to be hardcoded on the frontend: VncConsoleModel.java: ... private static final int TICKET_VALIDITY_SECONDS = 120; ... I would say it would not hurt to have this configurable - could you please open a bug on this? -- 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
Re: [Users] VM Migration failed
relevant error in libvirt log - Original Message - From: Itamar Heim ih...@redhat.com mailto:ih...@redhat.com To: Edgars M. edgars.maz...@gmail.com mailto:edgars.maz...@gmail.com, Meital Bourvine mbour...@redhat.com mailto:mbour...@redhat.com Cc: users@ovirt.org mailto:users@ovirt.org, Michal Skrivanek mskri...@redhat.com mailto:mskri...@redhat.com Sent: Friday, January 17, 2014 9:47:11 PM Subject: Re: [Users] VM Migration failed On 01/17/2014 06:25 PM, Edgars M. wrote: Hi Meital I tried to migrate another VM and it also failed. This is what I get in UI: Migration started (VM: nophpapp01, Source: novmnode1, Destination: novmnode2, User: edgarsm). Migration failed due to Error: Fatal error during migration. Trying to migrate to another Host (VM: nophpapp01, Source: novmnode1, Destination: novmnode2). Migration failed due to Error: Fatal error during migration (VM: nophpapp01, Source: novmnode1, Destination: novmnode2). There is nothing in /var/log/messages, neither on engine server nor nodes. See attachments for engine and vdsm logs. (I am migrating from vmnode1 to vmnode2) whatever the issue is here, can you please open a bug on trying to return more info to user on the migration error itself (for easier troubleshooting). thanks, Itamar Thanks for the help Edgars On Fri, Jan 17, 2014 at 4:46 PM, Meital Bourvine mbour...@redhat.com mailto:mbour...@redhat.com mailto:mbour...@redhat.com mailto:mbour...@redhat.com wrote: Which error are you getting in the UI? Can you please attach the full engine and vdsm logs? Also, please check if there is a relevant error in /var/log/messages --__--__ *From: *Edgars M. edgars.maz...@gmail.com mailto:edgars.maz...@gmail.com mailto:edgars.mazurs@gmail.__com mailto:edgars.maz...@gmail.com *To: *users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org *Sent: *Friday, January 17, 2014 3:42:37 PM *Subject: *[Users] VM Migration failed Hi I am experiencing issues with manual VM migration. VM fails to migrate to other node in the same Cluster. Here are some relevant engine.log entries: ERROR [org.ovirt.engine.core.__vdsbroker.__VdsUpdateRunTimeInfo] (DefaultQuartzScheduler___Worker-73) Rerun vm a31cfd62-26fc-4396-8a83-__1aed68c7fd39. Called from vds novmnode1 ERROR [org.ovirt.engine.core.__vdsbroker.vdsbroker.__MigrateStatusVDSCommand] (pool-6-thread-49) Failed in MigrateStatusVDS method ERROR [org.ovirt.engine.core.__vdsbroker.vdsbroker.__MigrateStatusVDSCommand] (pool-6-thread-49) Error code migrateErr and error message VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Fatal error during migration ERROR [org.ovirt.engine.core.__vdsbroker.vdsbroker.__MigrateStatusVDSCommand] (pool-6-thread-49) Command MigrateStatusVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error
Re: [Users] Blank VM Install Console
On Jan 17, 2014, at 09:59 , Dafna Ron d...@redhat.com wrote: well, I have to admit that it has been a while since I tried logging in to a vm console from a Windows OS :) Adding some people to this which I think can help more than me... On 01/17/2014 12:58 AM, David Li wrote: Well, it didn't even have any traces to tell me if it's installed. I am supposed to see these according to the instruction but none of them showed up. * IE will prompt you with This website wants to install the following add-on SpiceX.cab... proceed by clicking the arrow on the install button and choose Install for All Users of this computer. * Depending on the version of IE a UAC dialog may pop up asking you if you want to allow SpiceX.cab If it does not Click on the install spice button again and it will. * In the UAC dialog click on the yes button. * The install will now proceed in the background. I am using W7 64bit with IE11. My engine is running on a RHEL6 machine. IE11 doesn't really work as of now. Try some more reasonable browser, IE10 would be also fine. activex setup requires some manual work as mentione at How_to_Connect_to_SPICE_Console_With_Portal wiki native invocation (that file to download you got) is easier, just associate with recent remote viewer and it should open it works on Windows, Linux and OSX (needs https://github.com/brianwcook/launchvv in addition) check out http://www.ovirt.org/Console_Client_Resources Thanks, mcihal - Original Message - From: Dafna Ron d...@redhat.com To: David Li david...@sbcglobal.net Cc: Madhav V Diwan mdi...@diwanconsulting.com; users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 4:16 PM Subject: Re: [Users] Blank VM Install Console 1. did you restart you're firefox after install? 2. what OS are you using? On 01/16/2014 11:40 PM, David Li wrote: This isn't working for me at this time. I have gone to the end of the instructions and clicked on Install Spice button in IE but nothing happened. Maybe someone with more knowledge should come out and make clarifications. - Original Message - From: Madhav V Diwan mdi...@diwanconsulting.com To: David Li david...@sbcglobal.net Cc: users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 1:51 PM Subject: Re: [Users] Blank VM Install Console yuck i dont know why they do not just have this already done in an rpm yes it probably works , i have not tested it , but virt-viewer is deprecated in favor of the newer Remote-Viewer by the way worst comes to worst you can always connect to the ovirt vm node server via virt-manager gui in linux .. or using macports virt-manager in OSX and as long as you have a username and password set up in libvirt password db /etc/libvirt/passwd.db use saslpasswd2 -a libvirt $USER on your ovirt vm host node to add your user account so you dont mess with ovirt's if you have winaxe or some other Xwindows on your windows machine you could probably just ssh with putty.exe to your ovirt node server and run virt-manager from there while displaying back to your windows desktop -Original Message- From: David Li david...@sbcglobal.net Reply-to: David Li david...@sbcglobal.net To: Madhav V Diwan mdi...@diwanconsulting.com Cc: users@ovirt.org users@ovirt.org Subject: Re: [Users] Blank VM Install Console Date: Thu, 16 Jan 2014 13:35:02 -0800 (PST) Is this page still applicable to ovirt 3.3.2? http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal#Add_a_deployment_method_Server_Side - Original Message - From: Madhav V Diwan mdi...@diwanconsulting.com To: David Li david...@sbcglobal.net Cc: users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 1:28 PM Subject: Re: [Users] Blank VM Install Console install them wherever your firefox browser is installed... whichever machine you are using to browse to the portal from unfortunately i believe ovirts' spice viewing only works on linux desktops running firefox currently also the ovirt vnc implementation assumes you have remote-viewer which can open that .vv file that pops up.. again remote-viewer would only be available on linux desktops.. there IS a MAC OS port for remote-viewer , but i've never gotten it to work without a lot of manual URL input -Original Message- From: David Li david...@sbcglobal.net Reply-to: David Li david...@sbcglobal.net To: Madhav V Diwan mdi...@diwanconsulting.com Cc: users@ovirt.org users@ovirt.org Subject: Re: [Users] Blank VM Install Console Date: Thu, 16 Jan 2014 11:39:20 -0800 (PST) Do I need these to be installed on the engine or on the machine where the webadmin portal browser is being run? Are there any ovirt links describing these? david -
Re: [Users] Blank VM Install Console
On 17 Jan 2014, at 23:38, Itamar Heim ih...@redhat.com wrote: On 01/18/2014 12:30 AM, David Li wrote: This time I tried to use spice html5 browser client. I downloaded the cert from http://my-engine/ovirt-engine/ca.crt. This time the console window spice javascript client showed up in the firefox (24.2.0) but it stays gray. Nothing can be seen. So what else am I missing here? just to rule out things: - is the geust working correctly for you (ssh?) - does it happen to consume 100% cpu? - does vnc work for you correctly for this guest? During install, are you sure you said yes to install websocket proxy? Thanks, michal - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: David Li david...@sbcglobal.net Cc: Meital Avital mavi...@redhat.com; Einav Cohen eco...@redhat.com; Omer Frenkel ofren...@redhat.com; users@ovirt.org List users@ovirt.org; d...@redhat.com Ron d...@redhat.com Sent: Friday, January 17, 2014 1:12 AM Subject: Re: [Users] Blank VM Install Console On Jan 17, 2014, at 09:59 , Dafna Ron d...@redhat.com wrote: well, I have to admit that it has been a while since I tried logging in to a vm console from a Windows OS :) Adding some people to this which I think can help more than me... On 01/17/2014 12:58 AM, David Li wrote: Well, it didn't even have any traces to tell me if it's installed. I am supposed to see these according to the instruction but none of them showed up. * IE will prompt you with This website wants to install the following add-on SpiceX.cab... proceed by clicking the arrow on the install button and choose Install for All Users of this computer. * Depending on the version of IE a UAC dialog may pop up asking you if you want to allow SpiceX.cab If it does not Click on the install spice button again and it will. * In the UAC dialog click on the yes button. * The install will now proceed in the background. I am using W7 64bit with IE11. My engine is running on a RHEL6 machine. IE11 doesn't really work as of now. Try some more reasonable browser, IE10 would be also fine. activex setup requires some manual work as mentione at How_to_Connect_to_SPICE_Console_With_Portal wiki native invocation (that file to download you got) is easier, just associate with recent remote viewer and it should open it works on Windows, Linux and OSX (needs https://github.com/brianwcook/launchvv in addition) check out http://www.ovirt.org/Console_Client_Resources Thanks, mcihal - Original Message - From: Dafna Ron d...@redhat.com To: David Li david...@sbcglobal.net Cc: Madhav V Diwan mdi...@diwanconsulting.com; users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 4:16 PM Subject: Re: [Users] Blank VM Install Console 1. did you restart you're firefox after install? 2. what OS are you using? On 01/16/2014 11:40 PM, David Li wrote: This isn't working for me at this time. I have gone to the end of the instructions and clicked on Install Spice button in IE but nothing happened. Maybe someone with more knowledge should come out and make clarifications. - Original Message - From: Madhav V Diwan mdi...@diwanconsulting.com To: David Li david...@sbcglobal.net Cc: users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 1:51 PM Subject: Re: [Users] Blank VM Install Console yuck i dont know why they do not just have this already done in an rpm yes it probably works , i have not tested it , but virt-viewer is deprecated in favor of the newer Remote-Viewer by the way worst comes to worst you can always connect to the ovirt vm node server via virt-manager gui in linux .. or using macports virt-manager in OSX and as long as you have a username and password set up in libvirt password db /etc/libvirt/passwd.db use saslpasswd2 -a libvirt $USER on your ovirt vm host node to add your user account so you dont mess with ovirt's if you have winaxe or some other Xwindows on your windows machine you could probably just ssh with putty.exe to your ovirt node server and run virt-manager from there while displaying back to your windows desktop -Original Message- From: David Li david...@sbcglobal.net Reply-to: David Li david...@sbcglobal.net To: Madhav V Diwan mdi...@diwanconsulting.com Cc: users@ovirt.org users@ovirt.org Subject: Re: [Users] Blank VM Install Console Date: Thu, 16 Jan 2014 13:35:02 -0800 (PST) Is this page still applicable to ovirt 3.3.2? http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal#Add_a_deployment_method_Server_Side - Original Message - From: Madhav V Diwan mdi...@diwanconsulting.com To: David Li david...@sbcglobal.net Cc: users@ovirt.org users@ovirt.org Sent: Thursday, January 16, 2014 1:28
Re: [Users] Stuck VM on Migration To
On Jan 15, 2014, at 13:12 , Carlo Turco carlo.tu...@inpe.br wrote: Hello guys. I´m using 3.2 ovirt and suddenly one of my VM started to migrate. The problem is that it´s is Stuck in this process and I can not do nothing on it. I take a look on engine.log and there is nothing there showing a problem, if a try to cancel migration, it says 2014-01-15 10:08:37,129 WARN [org.ovirt.engine.core.bll.CancelMigrateVmCommand] (ajp--127.0.0.1-8702-3) CanDoAction of action CancelMigrateVm failed. Reasons:VAR__TYPE__VM,VAR__ACTION__CANCEL_MIGRATE,VM_CANNOT_CANCEL_MIGRATION_WHEN_VM_IS_NOT_MIGRATING Suspend 2014-01-15 10:10:32,041 WARN [org.ovirt.engine.core.bll.HibernateVmCommand] (ajp--127.0.0.1-8702-7) CanDoAction of action HibernateVm failed. Reasons:ACTION_TYPE_FAILED_VM_IS_NOT_UP,VAR__TYPE__VM,VAR__ACTION__HIBERNATE Run 2014-01-15 10:11:13,244 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-50) [1c8495ae] Vm Running failed - vm 68a11fa4-f3b8-430a-af02-0beaa293f49c:core-mag already running, status MigratingTo What can I do? Hi, well, as a first step, attach logs:-) If possible from engine, source vdsm and destination vdsm, along with the VM name in question and let's see what's going on…. Thanks, michal Best wishes Carlo Turco ___ 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] 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 on_rebootrestart
Re: [Users] [QE] 3.4.0 Release tracker
On Jan 13, 2014, at 11:05 , Sander Grendelman san...@grendelman.com wrote: On Mon, Jan 13, 2014 at 12:32 AM, Dan Kenigsberg dan...@redhat.com wrote: On Fri, Jan 10, 2014 at 04:55:18PM +0200, Itamar Heim wrote: On 01/10/2014 01:52 PM, Sander Grendelman wrote: Can I propose BZ#1035314 for 3.3.3 or 3.4.0, simple, trivial fix to a hook. Hi Sander, please use bug summary so folks won't have to go and look what the number means just to see if relevant to them. this is about: Bug 1035314 - vdsm-hook-nestedvt uses kvm_intel-only syntax OK, I'll keep that in mind! i see you posted a patch in the bug - can you post the patch to gerrit as well? I've done that alraedy: http://gerrit.ovirt.org/#/c/23164/ Sander (and others), could you review and formally verify it? Looks fine to me, should I also do/confirm something in gerrit? if you have an account just put Verified +1, and ideally comment on what/how you have tested. If not jstu say the same here and someone will copy it over there:) Thanks, michal ___ 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] [vdsm] [QE] 3.4.0 Release tracker
On Jan 13, 2014, at 11:05 , Sander Grendelman san...@grendelman.com wrote: On Mon, Jan 13, 2014 at 12:32 AM, Dan Kenigsberg dan...@redhat.com wrote: On Fri, Jan 10, 2014 at 04:55:18PM +0200, Itamar Heim wrote: On 01/10/2014 01:52 PM, Sander Grendelman wrote: Can I propose BZ#1035314 for 3.3.3 or 3.4.0, simple, trivial fix to a hook. Hi Sander, please use bug summary so folks won't have to go and look what the number means just to see if relevant to them. this is about: Bug 1035314 - vdsm-hook-nestedvt uses kvm_intel-only syntax OK, I'll keep that in mind! i see you posted a patch in the bug - can you post the patch to gerrit as well? I've done that alraedy: http://gerrit.ovirt.org/#/c/23164/ Sander (and others), could you review and formally verify it? Looks fine to me, should I also do/confirm something in gerrit? if you gave it a try and it works I'll just put V+1 in gerrit for you… ___ vdsm-devel mailing list vdsm-de...@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Migration Failed
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 / ext3defaults1 0 /dev/vda1 /boot ext3defaults1 0 tmpfs /dev/shmtmpfs defaults0 0 devpts /dev/ptsdevpts gid=5,mode=620 0 0 sysfs /syssysfs defaults0 0 proc/proc procdefaults0 0 /dev/VolGroup00/LogVol01 swapswapdefaults0 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 on_rebootrestart/on_reboot on_crashdestroy/on_crash devices emulator/usr/libexec/qemu-kvm/emulator disk type='file' device='cdrom' driver name='qemu' type='raw'/ source startupPolicy='optional'/ target dev='hdc' bus='ide'/ readonly/ serial/serial alias name='ide0-1-0'/ address type='drive' controller='0' bus='1' target='0' unit='0'/ /disk disk type='block' device='disk' snapshot='no' driver name='qemu' type='raw' cache='none' error_policy='stop' io='native'/ source dev='/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/fd1a562a-3ba5-4ddb-a643-37912a6ae86f/f747ba2b-98e1-47f5-805b-6bb173bfd6ff'/ target dev='vda' bus='virtio'/ serialfd1a562a-3ba5-4ddb-a643-37912a6ae86f/serial boot order='1'/ alias name='virtio-disk0'/ address type='pci' domain='0x' bus='0x00' slot='0x05' function='0x0'/ /disk controller type='ide' index='0' alias name='ide0'/ address type='pci' domain='0x' bus='0x00' slot='0x01' function='0x1'/ /controller controller type='virtio-serial' index='0' alias name='virtio-serial0'/ address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0'/ /controller controller type='usb' index='0' alias name='usb0'/ address type='pci' domain='0x' bus='0x00' slot='0x01' function='0x2'/ /controller interface type='bridge' mac address='00:1a:4a:a8:7a:00'/ source bridge='ovirtmgmt'/ target dev='vnet5'/ model type='virtio'/ filterref filter='vdsm-no-mac-spoofing'/ link state='up'/ alias name='net0'/ address type='pci' domain='0x' bus='0x00' slot='0x03' function='0x0'/ /interface channel type='unix' source mode='bind' path='/var/lib/libvirt/qemu/channels/tux.com.redhat.rhevm.vdsm'/ target type='virtio' name='com.redhat.rhevm.vdsm'/ alias name='channel0'/ address type='virtio-serial' controller='0' bus='0' port='1'/ /channel channel type='unix' source mode='bind'
Re: [Users] Hypervisor info
On 10 Jan 2014, at 07:41, Koen Vanoppen wrote: Dear all, Because of our puppet integration at work, it would like to know if there is a way in ovirt to know, from WITHIN a virtual machine, the hypervisor on wich the vm is running? look at dmidecode output, BIOS Manufacturer should be oVirt Thanks, michal Kind regards, Koen ___ 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