Re: [ovirt-users] Live migration - quest VM stall

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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

2014-06-13 Thread Michal Skrivanek

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] Mask the CPU model

2014-06-26 Thread Michal Skrivanek

On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:

 On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
 Am 25.06.2014 11:43, schrieb Punit Dambiwal:
 Hi Sven,
 
 Please let me know which VDSM hook can be used for the same,is there any
 hook available for the same... ??
 
 I don't know any hook that does this, it should be relatively simple,
 though.
 Maybe someone else can assist, CC'ing Dan:
 
 Do you know of a hook that manipulates the emulated CPU model?
 
 Within the Vdsm code tree, only faqemu does that (and it only drops,
 causing qemu to do its best). You can build on top of faqemu to set to
 your favorite guest cpu.
 
 However, I think that Engine was once capable of setting a specific
 cpuType - is it still possible without hacking its DB, Arik?

I'm not sure what do you actually mean
hide what from whom?
the guest sees particular CPU, there's nothing like Virtual xyz, it either 
sees flags matching e.g. Nehalem or not. You can select different CPU at the 
cluster level if you wish, and that's what the guest will see, regardless what 
your host has

faqemu is changing the configured CPU type to fully emulated CPU…I don't think 
you meant that...

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] Mask the CPU model

2014-06-26 Thread Michal Skrivanek

On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote:

 
 
 Am 26.06.2014 13:28, schrieb Michal Skrivanek:
 
 On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:
 
 On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
 Am 25.06.2014 11:43, schrieb Punit Dambiwal:
 Hi Sven,
 
 Please let me know which VDSM hook can be used for the same,is there any
 hook available for the same... ??
 
 I don't know any hook that does this, it should be relatively simple,
 though.
 Maybe someone else can assist, CC'ing Dan:
 
 Do you know of a hook that manipulates the emulated CPU model?
 
 Within the Vdsm code tree, only faqemu does that (and it only drops,
 causing qemu to do its best). You can build on top of faqemu to set to
 your favorite guest cpu.
 
 However, I think that Engine was once capable of setting a specific
 cpuType - is it still possible without hacking its DB, Arik?
 
 I'm not sure what do you actually mean
 hide what from whom?
 the guest sees particular CPU, there's nothing like Virtual xyz, it either 
 sees flags matching e.g. Nehalem or not. You can select different CPU at the 
 cluster level if you wish, and that's what the guest will see, regardless 
 what your host has
 
 faqemu is changing the configured CPU type to fully emulated CPU…I don't 
 think you meant that...
 
 I guess he refers to the cpu_model mentioned here:
 http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html

yes, that's what we have at cluster level and there is an RFE for per-VM level

 
 But I still do not see the benefit of faking a certain cpu model.

there is no faking, it is always real for the guest.
so yes, you can make it look(and actually perform) less capable so you can 
migrate across heterogenous hosts; or make it less capable just if you wish so, 
but that's it.

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


Re: [ovirt-users] Mask the CPU model

2014-06-27 Thread Michal Skrivanek

On 27 Jun 2014, at 06:06, Punit Dambiwal wrote:

 Hi,
 
 I don't want to faking a CPU model.my main concern is to create the 
 homogeneous environment,so the guest can be migrate between hosts with 
 diffrent CPU (If i can change the CPU model with the custom name).

Then you just want to set the CPU model in Cluster…that's it

Thanks,
michal

 
 
 
 On Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote:
 
 
 
  Am 26.06.2014 13:28, schrieb Michal Skrivanek:
 
  On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:
 
  On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
  Am 25.06.2014 11:43, schrieb Punit Dambiwal:
  Hi Sven,
 
  Please let me know which VDSM hook can be used for the same,is there any
  hook available for the same... ??
 
  I don't know any hook that does this, it should be relatively simple,
  though.
  Maybe someone else can assist, CC'ing Dan:
 
  Do you know of a hook that manipulates the emulated CPU model?
 
  Within the Vdsm code tree, only faqemu does that (and it only drops,
  causing qemu to do its best). You can build on top of faqemu to set to
  your favorite guest cpu.
 
  However, I think that Engine was once capable of setting a specific
  cpuType - is it still possible without hacking its DB, Arik?
 
  I'm not sure what do you actually mean
  hide what from whom?
  the guest sees particular CPU, there's nothing like Virtual xyz, it 
  either sees flags matching e.g. Nehalem or not. You can select different 
  CPU at the cluster level if you wish, and that's what the guest will see, 
  regardless what your host has
 
  faqemu is changing the configured CPU type to fully emulated CPU…I don't 
  think you meant that...
 
  I guess he refers to the cpu_model mentioned here:
  http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html
 
 yes, that's what we have at cluster level and there is an RFE for per-VM level
 
 
  But I still do not see the benefit of faking a certain cpu model.
 
 there is no faking, it is always real for the guest.
 so yes, you can make it look(and actually perform) less capable so you can 
 migrate across heterogenous hosts; or make it less capable just if you wish 
 so, but that's it.
 
 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


Re: [ovirt-users] Mask the CPU model

2014-06-27 Thread Michal Skrivanek

On 27 Jun 2014, at 11:10, Punit Dambiwal wrote:

 Hi All,
 
 Noif i set the CPU model in the cluster is intel nehalam...then the 
 cluster doesn't allow me to add sendy bridge CPU hosts….

what do you mean, it doesn't allow you to add a host with a real physical 
SandyBridge CPU?
that would be a bug

 
 What about if i will use the Intel CPU with AMD CPU (Mix Match)??

AMD CPU models are not a subset of Intel models, so it won't work. (how do you 
expect this to work in real environment?)

 
 
 On Fri, Jun 27, 2014 at 3:05 PM, Sven Kieske s.kie...@mittwald.de wrote:
 Just put the CPU Model in the Cluster in ovirt.
 You can't put any host in a cluster which doesn't
 comply to it's cpu model, thus allowing migration
 within that cluster.
 
 HTH
 
 Am 27.06.2014 06:06, schrieb Punit Dambiwal:
  Hi,
 
  I don't want to faking a CPU model.my main concern is to create the
  homogeneous environment,so the guest can be migrate between hosts with
  diffrent CPU (If i can change the CPU model with the custom name).
 
 --
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mask the CPU model

2014-06-27 Thread Michal Skrivanek

On 27 Jun 2014, at 12:00, Punit Dambiwal wrote:

 Hi Michal,
 
 That means if i have the nehalam CPU Hypervisior...still i can create cluster 
 with sendybridgeand can join this cluster with nehalam based hypervisior 
 ??

yes, exactly

Thanks,
michal

 
 
 On Fri, Jun 27, 2014 at 5:54 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On 27 Jun 2014, at 11:10, Punit Dambiwal wrote:
 
 Hi All,
 
 Noif i set the CPU model in the cluster is intel nehalam...then the 
 cluster doesn't allow me to add sendy bridge CPU hosts….
 
 what do you mean, it doesn't allow you to add a host with a real physical 
 SandyBridge CPU?
 that would be a bug
 
 
 What about if i will use the Intel CPU with AMD CPU (Mix Match)??
 
 AMD CPU models are not a subset of Intel models, so it won't work. (how do 
 you expect this to work in real environment?)
 
 
 
 On Fri, Jun 27, 2014 at 3:05 PM, Sven Kieske s.kie...@mittwald.de wrote:
 Just put the CPU Model in the Cluster in ovirt.
 You can't put any host in a cluster which doesn't
 comply to it's cpu model, thus allowing migration
 within that cluster.
 
 HTH
 
 Am 27.06.2014 06:06, schrieb Punit Dambiwal:
  Hi,
 
  I don't want to faking a CPU model.my main concern is to create the
  homogeneous environment,so the guest can be migrate between hosts with
  diffrent CPU (If i can change the CPU model with the custom name).
 
 --
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
 
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Console using REST API

2014-06-30 Thread Michal Skrivanek

On Jun 30, 2014, at 09:33 , Shanil S xielessha...@gmail.com wrote:

 Hi Itamar,
 
 I am planning to use web portal using php and curl. I checked this doc 
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal but 
 didn't understand about it.

You'd need to detail what exactly are your trying to do. The term create 
console can mean many things.
Assuming you want to open a console connection using virt-viewer using REST API…

conceptually quite simple - you get a ticket (set password for access, using 
/vms/{vm:id}/ticket) an then invoke virt-viewer with the right parameters which 
you get afterwards (vm's host, port, password).

Thanks,
michal


 
 
 
 On Mon, Jun 30, 2014 at 11:38 AM, Itamar Heim ih...@redhat.com wrote:
 On 06/30/2014 07:14 AM, Shanil S wrote:
 Hi All,
 
 Could you please explain how can i create console using REST api ?
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 do you mean a command line shell or a web user portal?
 for web user portal, several samples here:
 http://gerrit.ovirt.org/gitweb?p=samples-portals.git;a=tree;h=refs/heads/master;hb=refs/heads/master
 
 ___
 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] Test Day Report

2014-07-02 Thread Michal Skrivanek

On Jul 2, 2014, at 09:34 , Eli Mesika emes...@redhat.com wrote:

 Hi
 
 I had tested 1072313 : 
 [RFE] Allow to edit VM properties that need VM to be down to apply, just mark 
 it as such and apply on VM shutdown
 
 Test run as expected, however, IMO I think that we should mark by asterisk 
 properties that will take affect on the next run and not just give a general 
 message that some of the settings will take affect in the next run.
 
 I leave the decision if to open a RFE for that to the virt team.

if you look at the current state of additional icons for various fields…it's 
overwhelming already:/
if anyone has a good suggestion, please go ahead…

Thanks,
michal

 
 Thanks
 Eli Mesika
 
 ___
 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 console creation using noVNC

2014-07-08 Thread Michal Skrivanek

On Jul 8, 2014, at 09:37 , Shanil S xielessha...@gmail.com wrote:

 Hi,
 
 I am creating console using api, for this i created a ticket using the rest 
 api and used the ticket value as password and i am able to connect it using 
 these details using vnc client. 
 
 I am planning to use the console from the browser using the novnc console ( 
 http://kanaka.github.io/noVNC/ ) as like the same way which used in the ovirt 
 panel. When i checked the novnc-main.html it is found that the ticket 
 information details are passing in the encrypted format and passing the 
 signature and salt and ticket details as an array, Could you please tell me 
 how can i create these details in the encoded format and create a console 
 using noVnc and rest api ?

Hi,
you'd have to do it the same way as the backend java code does that.
There's no special shortcut/API.

depending on what are you specifically doing, you may not even need to do that. 
If you bypass ovirt's websocket-proxy and e.g. connect to hosts directly (and 
run/setup websocket proxy your own way) then you can also implement the 
security of client-proxy in some other way.

Thanks,
michal
 
 
 
 -- 
 Regards 
 Shanil
 ___
 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] 64 bits oVirtGuestAgent.exe at 99% CPU

2014-07-08 Thread Michal Skrivanek

On Jul 8, 2014, at 15:30 , Angel Docampo adoca...@dltec.net wrote:

 I'm launching directly with kvm

so you're completely bypassing oVirt…it shouldn't cause too much harm with 
respect what you're seeing, but it's not going to work with SSO either…as the 
vdsm doesn't know about such a VM properly
If you need to modify something specific in the VM the hook mechanism is there 
to extend/modify the libvirt xml, and even if you need libvirt's unsupported 
features you can pass-through exact qemu flags...

Thanks,
michal

 
 El mar 08 jul 2014 15:14:44 CEST, Itamar Heim escribió:
 On 07/08/2014 03:49 PM, Angel Docampo wrote:
 Hi Sven,
 
 Why I had to compile the agent was in order to get the dll
 OVirtCredProv.dll, as I just checked with the iso you linked me, it does
 not install.
 
 With that dll, I can single sign on from my application directly to
 the VDI.
 
 Anyway, I've just installed a clean windows 7 desktop, and installed
 ovirt-guest-tools, and configuring the serial-device on the VM, it gave
 me the same results. 100% CPU with one processor and 50% if I put two.
 
 This is my configuration, if anybody sees something wrong, please
 advice.
 
 args: -chardev
 socket,id=ovirtagent,path=/tmp/112.com.redhat.vdsm,server,nowait -device
 virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -device
 virtserialport,chardev=ovirtagent,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1
 
 
 
 are you launching the VM via ovirt engine, or directly with kvm?
 
 Thank you in advance,
 
 
 El 08/07/14 09:25, Sven Kieske escribió:
 Well I'm really not familiar with the guest agent on windows
 but you shouldn't need to compile it yourself.
 You don't mention which version of windows you use, which complicates
 things a little bit.
 
 In general, this should be the iso to use:
 http://resources.ovirt.org/pub/ovirt-master-snapshot-static/iso/ovirt-guest-tools/ovirt-guest-tools-3.5-2.iso
 
 
 I know this maybe won't work for windows server 2012 R2 yet, but it
 should run on other versions.
 
 HTH
 
 Am 07.07.2014 15:50, schrieb Angel Docampo:
 Hello everybody,
 
 This is my very first email here. I've just compiled both 32 and 64
 bits
 oVirtGuestAgent in order to make SSO from my application to a
 Windows VM.
 
 32 bits works flawlessly, I can login, logout and lock screen at
 the moment, but
 the 64 bits version cannot login (but can lock screen and logout)
 and the worse
 of all, puts the VM CPU at 99%, making it useless.
 
 Anyone has experieced this? Or give me some guidance to investigate?
 
 --
 
 
 
 *Angel Docampo
 *
 *Datalab Tecnologia, s.a.*
 Castillejos, 352 - 08025 Barcelona
 Tel. 93 476 69 14 - Ext: 706
 Mob. 670.299.381
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 --
 
 
   
 *Angel Docampo
 *
 *Datalab Tecnologia, s.a.*
 Castillejos, 352 - 08025 Barcelona
 Tel. 93 476 69 14 - Ext: 706
 Mob. 670.299.381
 
 
 ___
 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] Console stop working suddenly

2014-07-08 Thread Michal Skrivanek

On Jul 7, 2014, at 08:12 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi,
 
 The console stop working suddenly it was working perfectly from last 15 
 days but today suddenly it stop working….

if nothing has changed...is the websocket-proxy process (on engine host) 
working fine? check logs, restart it…?

Thanks,
michal

 
 Engine Log :- 
 --
 2014-07-07 14:06:18,273 INFO  
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
 (ajp--127.0.0.1-8702-2) [6888de3c] Correlation ID: 6888de3c, Call Stack: 
 null, Custom Event ID: -1, Message: user admin initiated console session for 
 VM punit
 2014-07-07 14:07:30,877 INFO  [org.ovirt.engine.core.bll.SetVmTicketCommand] 
 (ajp--127.0.0.1-8702-6) [5cf768da] Running command: SetVmTicketCommand 
 internal: false. Entities affected :  ID: 
 3578cd87-bc78-408f-a788-daa06159cbaf Type: VM
 2014-07-07 14:07:30,922 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-6) [5cf768da] START, SetVmTicketVDSCommand(HostName = 
 sponser2.3linux.com, HostId = 5c371098-52d9-43a2-b2b0-2a574d70ebc7, 
 vmId=3578cd87-bc78-408f-a788-daa06159cbaf, ticket=tk0czDCutR0o, 
 validTime=120,m userName=admin, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), 
 log id: 16735d74
 2014-07-07 14:07:30,973 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
 (ajp--127.0.0.1-8702-6) [5cf768da] FINISH, SetVmTicketVDSCommand, log id: 
 16735d74
 2014-07-07 14:07:30,979 INFO  
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
 (ajp--127.0.0.1-8702-6) [5cf768da] Correlation ID: 5cf768da, Call Stack: 
 null, Custom Event ID: -1, Message: user admin initiated console session for 
 VM punit
 --
 
 Thanks,
 Punit
 console.jpg___
 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] [QE][ACTION NEEDED] oVirt 3.4.3 RC status

2014-07-09 Thread Michal Skrivanek

On Jul 9, 2014, at 13:50 , Sven Kieske s.kie...@mittwald.de wrote:

 Hi,
 
 I just wrote to the tracker which I think
 is worth and possible to backport, here is the list
 for greater visibility:
 
 another call for backporting, as this is an easy fix
 and I could track my debian vms more easily:
 https://bugzilla.redhat.com/show_bug.cgi?id=1073453

it has a (formal) dependency on the guest agent in 3.5 as well. So to declare 
it properly we'd need more work than just few lines to osinfo

 
 I don't know why this was retargeted to 3.5. when urgency was high,
 maybe you can port it to 3.4.3:
 https://bugzilla.redhat.com/show_bug.cgi?id=1064927

many things has high urgency, it's not the highest:)
the backport is really simple though. Maybe Shahar can help, I'm sure if you, 
Sven, can help with a verification on 3.4 it's a no brainer...

Thanks,
michal

 
 and another simple fix, which was targeted against 3.3.z:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1072030
 -- 
 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] [QE][ACTION NEEDED] oVirt 3.4.3 RC status

2014-07-09 Thread Michal Skrivanek

On Jul 9, 2014, at 15:08 , Sven Kieske s.kie...@mittwald.de wrote:

 Am 09.07.2014 14:59, schrieb Michal Skrivanek:
 it has a (formal) dependency on the guest agent in 3.5 as well. So to
 declare it properly we'd need more work than just few lines to osinfo

it is there in that bug:)

 
 Well,
 
 the guest-agent has no dependency on 3.5
 as I'm actually running it on production debian vms :)
 it's an entire different repository, so I don't see the link
 between guest-agent and engine release.

one thing i that you're using it another thing to sort of officially declare it 
as supported. 
In this particular case - do you need the icon in user portal? If not you can 
just go ahead and drop in your own property file into 
/etc/ovirt-engine/osinfo.conf/ (I think) with those few lines for Debian (or 
anything else) and you're all set. Just remove it on upgrade to 3.5
Would it work for you?

 
 I'll surely help testing these things as much as I can :)

Shahar, would you please post the backport for 
http://gerrit.ovirt.org/#/c/25245/ ?

Thanks,
michal

 
 Thanks for the reply.
 
 
 -- 
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Guest VM Console Creation/Access using REST API and noVNC

2014-07-21 Thread Michal Skrivanek

On Jul 21, 2014, at 04:33 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi All,
 
 I am still waiting for the updates...is there any one have the clue to solve 
 this problem ???

Hi Punit,
I'm afraid no one can help you  debug connectivity issues remotely, without 
describing precisely what are you doing and how, and include all the logs

Thanks,
michal

 
 Thanks,
 Punit
 
 
 On Fri, Jul 18, 2014 at 12:37 PM, Punit Dambiwal hypu...@gmail.com wrote:
 Hi All,
 
 We are also struggling with the same problemcan anybody mind to update 
 here the resolution or suggest us the way to get rid of this Failed to 
 connect to server (code: 1006 error.
 
 Thanks,
 Punit
 
 
 On Thu, Jul 17, 2014 at 5:20 PM, Shanil S xielessha...@gmail.com wrote:
 Hi,
 
 We are waiting for the updates, it will be great if anyone can give the 
 helpful details.. :)
 
 -- 
 Regards 
 Shanil
 
 
 On Thu, Jul 17, 2014 at 10:23 AM, Shanil S xielessha...@gmail.com wrote:
 Hi,
 
 we have enabled our portal ip address on the engine and hosts firewall but 
 still the connection failed. so there should be no firewall issues.
 
 -- 
 Regards 
 Shanil
 
 
 On Wed, Jul 16, 2014 at 3:26 PM, Shanil S xielessha...@gmail.com wrote:
 Hi Sven,
 
 Regarding the ticket path, Is it the direct combination of host and port ? 
 suppose if the host is 1.2.3.4 and the port is 5100 then what should be the 
 path value ? Is there encryption needs here ?
 
 
 so you have access from the browser to the websocket-proxy, network
 wise? can you ping the proxy?
 and the websocket proxy can reach the host where the vm runs?
 
  yes.. there should be no firewall issue as we can access the console from 
 ovirt engine portal
 
  Do we need to allow our own portal ip address in the ovirt engine and 
 hypervisiors also ???
 
 
 -- 
 Regards 
 Shanil
 
 
 On Wed, Jul 16, 2014 at 3:13 PM, Sven Kieske s.kie...@mittwald.de wrote:
 
 
 Am 16.07.2014 11:30, schrieb Shanil S:
  We will get the ticket details like host,port and password from the ticket
  api funcion call but didn't get the path value. Will it get it from the
  ticket details ? i couldn't find out any from the ticket details.
 
 the path is the combination of host and port.
 
 so you have access from the browser to the websocket-proxy, network
 wise? can you ping the proxy?
 and the websocket proxy can reach the host where the vm runs?
 are you sure there are no firewalls in between?
 also you should pay attention on how long your ticket
 is valid, you can specify the duration in minutes in your api call.
 
 --
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
 
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Guest VM Console Creation/Access using REST API and noVNC

2014-07-22 Thread Michal Skrivanek

On 22 Jul 2014, at 09:02, Punit Dambiwal wrote:

 Hi Michal,
 
 We want to access vm console by using noVNC and Rest api. We are using 
 websocket proxy on the same machine where engine runs and we try to get the 
 console access from the another server that is outside from this cluster.  
  
 But when we try to connect the vnc_auto.html from the server using host ip, 
 port and the password which we get from the ticket creation… it shows a 
 Failed to connect to server (code: 1006). 

Hi Punit,
did you read about the modification we did for the noVNC package? 
http://www.ovirt.org/Features/noVNC_console


  
 The following are the codes which we use to create the ticket… host,port and 
 the password will get from the ticket and with the same details (host,port  
 password) we are able to connect the console using the vnc clients(TigerVNC 
 etc.)  

you mean the ticket call? that returns you the direct connection information
but you want to connect to websocket proxy(to engine:6100 indeed) and pass the 
above information as an signed encoded url path (where to connect to from proxy)
check https://bugzilla.redhat.com/show_bug.cgi?id=838468 and associated patches 
to see how it is being encoded

Thanks,
michal

  
 try { 
 var host = WebUtil.getQueryVar('host', '?php echo $host?'); 
 var port = WebUtil.getQueryVar('port', '?php echo $port?'); 
   var path = WebUtil.getQueryVar('path', 'websockify'); 
  
   var password = '?php echo $password?'; 
  
 if ((!host) || (!port)) { 
 updateState('failed', 
 Must specify host and port in URL); 
 return; 
 } 
  
 rfb = new RFB({'target':   $D('noVNC_canvas'), 
'encrypt':  WebUtil.getQueryVar('encrypt', 
   
  (window.location.protocol === https:)), 
'true_color':   WebUtil.getQueryVar('true_color', 
 true), 
'local_cursor': WebUtil.getQueryVar('cursor', 
 true), 
'shared':   WebUtil.getQueryVar('shared', 
 true), 
'view_only':WebUtil.getQueryVar('view_only', 
 false), 
'updateState':  updateState, 
'onPasswordRequired':  passwordRequired}); 
rfb.connect(host, port, password, path); 
 }catch(e) {alert(e); 
  
  
 Could you please check if there any issues with it and guide me how to get 
 rid of this failed to connect error? 
  
 I have attached the screen shots for further reference…
 
 Thanks,
 Punit
 
 
 
 On Tue, Jul 22, 2014 at 2:54 PM, Shanil S xielessha...@gmail.com wrote:
 Hi All,
 
 We already updated with the logs and the clear picture about the issue.
 
 -- 
 Regards 
 Shanil
 
 
 On Mon, Jul 21, 2014 at 5:54 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On Jul 21, 2014, at 04:33 , Punit Dambiwal hypu...@gmail.com wrote:
 
  Hi All,
 
  I am still waiting for the updates...is there any one have the clue to 
  solve this problem ???
 
 Hi Punit,
 I'm afraid no one can help you  debug connectivity issues remotely, without 
 describing precisely what are you doing and how, and include all the logs
 
 Thanks,
 michal
 
 
  Thanks,
  Punit
 
 
  On Fri, Jul 18, 2014 at 12:37 PM, Punit Dambiwal hypu...@gmail.com wrote:
  Hi All,
 
  We are also struggling with the same problemcan anybody mind to update 
  here the resolution or suggest us the way to get rid of this Failed to 
  connect to server (code: 1006 error.
 
  Thanks,
  Punit
 
 
  On Thu, Jul 17, 2014 at 5:20 PM, Shanil S xielessha...@gmail.com wrote:
  Hi,
 
  We are waiting for the updates, it will be great if anyone can give the 
  helpful details.. :)
 
  --
  Regards
  Shanil
 
 
  On Thu, Jul 17, 2014 at 10:23 AM, Shanil S xielessha...@gmail.com wrote:
  Hi,
 
  we have enabled our portal ip address on the engine and hosts firewall but 
  still the connection failed. so there should be no firewall issues.
 
  --
  Regards
  Shanil
 
 
  On Wed, Jul 16, 2014 at 3:26 PM, Shanil S xielessha...@gmail.com wrote:
  Hi Sven,
 
  Regarding the ticket path, Is it the direct combination of host and port 
  ? suppose if the host is 1.2.3.4 and the port is 5100 then what should be 
  the path value ? Is there encryption needs here ?
 
 
  so you have access from the browser to the websocket-proxy, network
  wise? can you ping the proxy?
  and the websocket proxy can reach the host where the vm runs?
 
   yes.. there should be no firewall issue as we can access the console from 
  ovirt engine portal
 
   Do we need to allow our own portal ip address in the ovirt engine and 
  hypervisiors also ???
 
 
  --
  Regards
  Shanil
 
 
  On Wed, Jul 16, 2014 at 3:13 PM, Sven Kieske s.kie...@mittwald.de wrote:
 
 
  Am 16.07.2014 11:30, schrieb Shanil S:
   We

Re: [ovirt-users] hostusb hook - VM device errors in Windows VM

2014-07-22 Thread Michal Skrivanek

On 21 Jul 2014, at 20:54, Steve Dainard wrote:

 I should mention I can mount this usb drive in a CentOS 6.5 VM without any 
 problems.

Hi,
there should be no difference configuration-wise. well, please compare 
libvirt's xml to be sure and confirm
If it's the case then it might be a problem of qemu/kvm and/or windows

Thanks,
michal

 
 
 On Mon, Jul 21, 2014 at 2:11 PM, Steve Dainard sdain...@miovision.com wrote:
 I'm using the hostusb hook on RHEV 3.4 trial.
 
 The usb device is passed through to the VM, but I'm getting errors in a 
 Windows VM when the device driver is loaded.
 
 I started with a simple usb drive, on the host it is listed as:
 
 Bus 002 Device 010: ID 05dc:c75c Lexar Media, Inc. 
 
 Which I added as 0x05dc:0xc75c to the Windows 7 x64 VM.
 
 In Windows I get an error in device manager:
 USB Mass Storage Device This device cannot start. (Code 10)
 Properties/General Tab: Device type: Universal Serial Bus Controllers, 
 Manufacturer: Compatible USB storage device, Location: Port_#0001.Hub_#0001
 
 Under hardware Ids: 
 USB\VID_05DCPID_C75CREV_0102
 USB\VID_05DCPID_C75C
 
 So it looks like the proper USB device ID is passed to the VM.
 
 I don't see any error messages in event viewer, and I don't see anything in 
 VDSM logs either.
 
 Any help is appreciated.
 
 Steve
 
 ___
 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] hostusb hook - VM device errors in Windows VM

2014-07-22 Thread Michal Skrivanek

On Jul 22, 2014, at 15:49 , Steve Dainard sdain...@miovision.com wrote:

 Hi Michal,
 
 How can I generate libvirt xml from rhevm?

virsh -r dumpxml domain on the host

Thanks,
michal

 
 Thanks,
 Steve
 
 
 On Tue, Jul 22, 2014 at 4:12 AM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On 21 Jul 2014, at 20:54, Steve Dainard wrote:
 
 I should mention I can mount this usb drive in a CentOS 6.5 VM without any 
 problems.
 
 Hi,
 there should be no difference configuration-wise. well, please compare 
 libvirt's xml to be sure and confirm
 If it's the case then it might be a problem of qemu/kvm and/or windows
 
 Thanks,
 michal
 
 
 
 On Mon, Jul 21, 2014 at 2:11 PM, Steve Dainard sdain...@miovision.com 
 wrote:
 I'm using the hostusb hook on RHEV 3.4 trial.
 
 The usb device is passed through to the VM, but I'm getting errors in a 
 Windows VM when the device driver is loaded.
 
 I started with a simple usb drive, on the host it is listed as:
 
 Bus 002 Device 010: ID 05dc:c75c Lexar Media, Inc. 
 
 Which I added as 0x05dc:0xc75c to the Windows 7 x64 VM.
 
 In Windows I get an error in device manager:
 USB Mass Storage Device This device cannot start. (Code 10)
 Properties/General Tab: Device type: Universal Serial Bus Controllers, 
 Manufacturer: Compatible USB storage device, Location: Port_#0001.Hub_#0001
 
 Under hardware Ids: 
 USB\VID_05DCPID_C75CREV_0102
 USB\VID_05DCPID_C75C
 
 So it looks like the proper USB device ID is passed to the VM.
 
 I don't see any error messages in event viewer, and I don't see anything in 
 VDSM logs either.
 
 Any help is appreciated.
 
 Steve
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Michal Skrivanek

On Jul 25, 2014, at 20:37 , Arman Khalatyan arm2...@gmail.com wrote:

 Hi. My nfs storage got problems and one of the vms went to unknown state. 
 Other vms on the same storage were back to normal state.

is the host running that VM ok?
It seems like it's not. Can you reboot it? (supposing it may be blocked on 
storage access, or stale NFS handle if NFS, etc…)

Thanks,
michal

 Are there way to reset state of vm???
 I am using ovirt 3.4.0-1 with centos6.5
 
 Thenks.
 Arman
 
 On Jul 25, 2014 7:47 PM, Brian Proffitt bprof...@redhat.com wrote:
 ___
 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] [ovirt-devel] oVirt 3.5 test day 2 results

2014-07-30 Thread Michal Skrivanek

On Jul 30, 2014, at 11:54 , Shirly Radco sra...@redhat.com wrote:

 Hi,
 
 I tested 557125 - internationalize exitMessage; use meaningful exitCode
 
 These are the tests I made :
 
 power off from inside the guest -
 VM testexitmessage is down. Exit message: User shut down from within the guest
 ID 61
 
 power off from inside the admin portal - 
 VM testexitmessage powered off by admin (Host: yanivs) (Reason: Not 
 Specified).
 ID 33
 
 shotdown from inside the admin portal -
 VM shutdown initiated by admin on VM testexitmessage (Host: yanivs) (Reason: 
 Not Specified)
 ID73
 VM testexitmessage is down. Exit message: User shut down from within the guest
 ID61
 
 
 shotdown from inside the guest -
 VM testexitmessage is down. Exit message: User shut down from within the guest
 ID 61
 
 reboot from guest -
 no exit reason.
 
 In espanol
 
 shotdown from inside the admin portal -
 VM shutdown initiated by admin on VM testexitmessage (Host: yanivs) (Reason: 
 Not Specified).
 ID 73
 VM testexitmessage is down. Exit message: User shut down from within the guest
 ID 61
 
 
 In Deutsch
 
 power off from inside the admin portal - 
 VM testexitmessage powered off by admin (Host: yanivs) (Reason: Not 
 Specified).
 ID 33
 
 
 Conclutions:
 1. I don't see translations for local langueges for the events in the admin 
 portal.

Right, it's not part of the feature. It's only about returning a unique id for 
each different reason so it can be used for internationalization later


 2. In case of shotdown from inside the admin portal  we get 2 messages 
 instead of one. The second one(ID61) is incorrect.

this is likely a bug (adding Francesco)
I think the libvirt eventloop's

if detail == libvirt.VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN:
self.user_destroy = True

assumption is not correct

Thanks,
michal

 
 Best regards,
 
 --- 
 Shirly Radco 
 BI Software Engineer 
 Red Hat Israel Ltd.
 ___
 Devel mailing list
 de...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] User Portal Open in Full Screen

2014-08-04 Thread Michal Skrivanek

On Jul 28, 2014, at 12:33 , Sigbjorn Lie sigbj...@nixtra.com wrote:

 Hi,
 
 In version 3.3 the Open in Full Screen under Spice Console Options in the 
 User Portal was not
 enabled by default. In version 3.4 the Open in Full Screen is now enabled 
 by default.
 
 Is it possible to manage the default behaviour of this setting? I would like 
 it *not* to be
 enabled by default.

Not yet.
It's fixed in 3.4 to match the previous 3.3 behavior
I wonder at what level such an option should be. We can make it global..but 
currently we have a different behavior in webadminpower user portal vs user 
portal. Per user global might make sense too
thoughts?

Thanks,
michal

 
 
 Regards,
 Siggi
 
 
 ___
 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] Convert vmware vm

2014-08-04 Thread Michal Skrivanek

On Aug 4, 2014, at 17:26 , Sven Kieske s.kie...@mittwald.de wrote:

 
 
 Am 03.08.2014 21:35, schrieb Itamar Heim:
 On 06/30/2014 09:50 AM, Sven Kieske wrote:
 No, as far as I know this is _not_ on the roadmap.
 
 
 actually it is.
 http://www.ovirt.org/Features/virt-v2v_Integration
 
 one of my comments to the feature page was it should include a file
 based conversion, not just from esxi.
 http://lists.ovirt.org/pipermail/users/2014-July/025876.html
 
 No, it's not:
 
 Offline VMware images (OVAs), not yet.  However patches are welcome.
 We quite literally have no one available to implement this.[1]
 
 
 [1]http://lists.ovirt.org/pipermail/users/2014-July/025881.html
 
 Or has this changed yet? This would be great news!

well, it is in the plan to do that, so yes, it's on the roadmap
is it done? no, not yet…
We're hoping to get it in for 3.6 timeframe…

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] User Portal Open in Full Screen

2014-08-07 Thread Michal Skrivanek

On Aug 6, 2014, at 20:09 , Sigbjorn Lie sigbj...@nixtra.com wrote:

 On Mon, 2014-08-04 at 13:37 +0200, Michal Skrivanek wrote:
 On Jul 28, 2014, at 12:33 , Sigbjorn Lie sigbj...@nixtra.com wrote:
 
 Hi,
 
 In version 3.3 the Open in Full Screen under Spice Console Options in the 
 User Portal was not
 enabled by default. In version 3.4 the Open in Full Screen is now enabled 
 by default.
 
 Is it possible to manage the default behaviour of this setting? I would 
 like it *not* to be
 enabled by default.
 
 Not yet.
 It's fixed in 3.4 to match the previous 3.3 behavior
 I wonder at what level such an option should be. We can make it global..but 
 currently we have a different behavior in webadminpower user portal vs user 
 portal. Per user global might make sense too
 thoughts?
 
 
 What is the difference between the power user portal and the user portal
 with regards to the default of Open in Full Screen?

well, basic UP has full screen by default, power user portal and webadmin not
a global setting for each portal may be ok indeed

 
 A global setting configured by ovirt-config/rhevm-config for the User
 Portal would be fine.
 
 
 
 Regards,
 Siggi
 
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] User Portal 'Open in Full Screen'

2014-08-07 Thread Michal Skrivanek

On Aug 7, 2014, at 10:35 , Sigbjorn Lie sigbj...@nixtra.com wrote:

 
 
 
 On Thu, August 7, 2014 10:27, Michal Skrivanek wrote:
 
 
 On Aug 6, 2014, at 20:09 , Sigbjorn Lie sigbj...@nixtra.com wrote:
 
 
 On Mon, 2014-08-04 at 13:37 +0200, Michal Skrivanek wrote:
 
 On Jul 28, 2014, at 12:33 , Sigbjorn Lie sigbj...@nixtra.com wrote:
 
 
 Hi,
 
 
 In version 3.3 the Open in Full Screen under Spice Console Options in 
 the User Portal was
 not enabled by default. In version 3.4 the Open in Full Screen is now 
 enabled by default.
 
 Is it possible to manage the default behaviour of this setting? I would 
 like it *not* to be
 enabled by default.
 
 Not yet.
 It's fixed in 3.4 to match the previous 3.3 behavior
 I wonder at what level such an option should be. We can make it 
 global..but currently we have
 a different behavior in webadminpower user portal vs user portal. Per 
 user global might make
 sense too thoughts?
 
 
 What is the difference between the power user portal and the user portal
 with regards to the default of Open in Full Screen?
 
 well, basic UP has full screen by default, power user portal and webadmin 
 not a global setting for
 each portal may be ok indeed
 
 
 Ok.
 
 Where is this actual setting set today? Is there any way that I can change a 
 parameter i the
 database or a parameter in a file manually to change the full screen setting 
 for the UP?

no, it's hardcoded at the moment
if you use .vv files you can add some wrapper to get rid of e.g. fullscreen for 
all cases (just filter out the parameter) or something like that…

Thanks,
michal

 
 
 Regards,
 Siggi
 
 
 
 A global setting configured by ovirt-config/rhevm-config for the User
 Portal would be fine.
 
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt and virt-manager interoperability

2014-08-14 Thread Michal Skrivanek

On Aug 13, 2014, at 21:54 , Rob xrc...@gmail.com wrote:

 I have a few servers with virt-manager installed (originally testbeds) and 
 was wondering if it is possible to have both oVirt and virt-manager installed 
 at the same time without conflict. I have no experience with oVirt due to 
 concern over this issue.

well, it does work. ovirt changes the credentials which you'd have to use in 
virt-manager (or play a bit with /etc/libvirt/auth.conf to allow libvirt access 
with other credentials too)
and then as long as you don't touch the ovirt vms you should be fine:)

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] cancel ticket in ovirt-engine

2014-08-15 Thread Michal Skrivanek

On Aug 15, 2014, at 09:55 , mhd aymanrifai000...@gmail.com wrote:

 hi
 
 my scenario: i have multi server installed rhev or ovirt-engine and one sever 
 installed rhevm or ovirt-engine . and i bought thin client which connect 
 by spice to rhev server and controll them...
 
 i can use thin client for connect to rhev server but the problem every 
 connect i should make new ticket for spice protocol….

you should set the ticket first, for example by REST API ticket. Then use the 
ticket to connect to the VM's console

 
 when i run vm by rhevm interface the log for vm in this path 
 :/var/log/libvirt/qemu/vmname.log  is  seem run qemu command and enable 
 options for vm,,,
 
 my question how i can add this option (disable-ticket) when user start run vm 
 ???
 
  another mean i want cancel ticket or make it lifetime ….

it's possible but insecure. we don't support it by default but you can alter 
the xml via a vdsm hook

Thanks,
michal

 
 tlibvirt hanks..
 
 i my question not understaded please tell me...
 ___
 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] rhev

2014-08-25 Thread Michal Skrivanek

On Aug 25, 2014, at 13:59 , mhd aymanrifai000...@gmail.com wrote:

 
 i install rhev in machine and rhevm another machine , and i use vdsm hooks 
 and create script file and putted in /usr/libexec/vdsm/hooks/before_vm_start 
 , but when i restart rhev the script file is fly not only this file every 
 file which i can create is fly ..….

you installed rhev-h?
the file needs to be persisted. You should find that in docs. 

what are you trying to do in befor_vm_start?

Thanks,
michal

 
 how i can fixed script file for vdsm hooks???
 ___
 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 Deployment By Template

2014-08-26 Thread Michal Skrivanek

On Aug 26, 2014, at 05:26 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi All,
 
 I have some questions regarding the VM deployment through OS template...
 
 1. I have imported centos template from openstack glance (the actual size of 
 the template is 16GB but used is 1GB)...now my question is if i deploy the 
 new VM with this template,the process will copy the whole 16GB or just 1 GB 
 to create the new VM ??

if you deploy with thin provisioned disks it should be 1GB

 
 2. I find disk size can not modify at the time of VM provisioning,is there 
 any way to modify the VM disk size ?? 

well, not really, AFAIK. 
create another disk, move your data, remove the original.
Or create a bigger thin provisioned disk at the beginning

 
 Thanks,
 Punit
 
 
 On Mon, Aug 25, 2014 at 5:42 PM, Punit Dambiwal hypu...@gmail.com wrote:
 Hi All,
 
 I have some questions regarding the VM deployment through OS template...
 
 1. I have imported centos template from openstack glance (the actual size of 
 the template is 16GB but used is 1GB)...now my question is if i deploy the 
 new VM with this template,the process will copy the whole 16GB or just 1 GB 
 to create the new VM ??
 
 2. I find disk size can not modify at the time of VM provisioning,is there 
 any way to modify the VM disk size ?? 
 
 Thanks,
 Punit
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Deployment By Template

2014-08-26 Thread Michal Skrivanek

On Aug 26, 2014, at 12:01 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi Michal,
 
 2. I find disk size can not modify at the time of VM provisioning,is there 
 any way to modify the VM disk size ??
 
 well, not really, AFAIK.
 create another disk, move your data, remove the original Or create a bigger 
 thin provisioned disk at the beginning...
 
 I didn't understand the mean...i can create the another disk...it's ok...but 
 how to move the data from the existing disk to new disk at the time of the VM 
 deployment... ?? is there any way to move the data.. ??
Hi,

You would have to do that inside the guest…the same way as you would do it on 
real hardware…mount both disks, move the relevant data
not trivial and not automated

 
 Another question is there any way to mount the img like i will create the VM 
 with blank template with my preferred disk size and leter on install the OS 
 through any OS template ??? i know i can install the OS through CD-ISO but i 
 don't want the manual installation…

so you want to have a preinstalled OS…so how did you want to use it?
I probably don't understand what are you trying to achieve.
Anything else than having a Template with OS and you deploy VMs from that….you 
need to change disk sizes for each such VM? Could it be done by adding an 
additional disk? 

Thanks,
michal

 
 Thanks,
 Punit
 
 
 On Tue, Aug 26, 2014 at 5:51 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On Aug 26, 2014, at 05:26 , Punit Dambiwal hypu...@gmail.com wrote:
 
  Hi All,
 
  I have some questions regarding the VM deployment through OS template...
 
  1. I have imported centos template from openstack glance (the actual size 
  of the template is 16GB but used is 1GB)...now my question is if i deploy 
  the new VM with this template,the process will copy the whole 16GB or just 
  1 GB to create the new VM ??
 
 if you deploy with thin provisioned disks it should be 1GB
 
 
  2. I find disk size can not modify at the time of VM provisioning,is there 
  any way to modify the VM disk size ??
 
 well, not really, AFAIK.
 create another disk, move your data, remove the original.
 Or create a bigger thin provisioned disk at the beginning
 
 
  Thanks,
  Punit
 
 
  On Mon, Aug 25, 2014 at 5:42 PM, Punit Dambiwal hypu...@gmail.com wrote:
  Hi All,
 
  I have some questions regarding the VM deployment through OS template...
 
  1. I have imported centos template from openstack glance (the actual size 
  of the template is 16GB but used is 1GB)...now my question is if i deploy 
  the new VM with this template,the process will copy the whole 16GB or just 
  1 GB to create the new VM ??
 
  2. I find disk size can not modify at the time of VM provisioning,is there 
  any way to modify the VM disk size ??
 
  Thanks,
  Punit
 
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Prestarted vms in a pool

2014-08-28 Thread Michal Skrivanek

On Aug 28, 2014, at 09:56 , Omer Frenkel ofren...@redhat.com wrote:

 
 
 - Original Message -
 From: Michel Rode r...@b1-systems.de
 To: users@ovirt.org
 Sent: Wednesday, August 27, 2014 10:53:00 PM
 Subject: [ovirt-users] Prestarted vms in a pool
 
 Hi all,
 
 we have a little problem here...we created a new pool with 10 vms and 4
 of them as prestarted.
 
 During the sysprep (Windows vms) the vms getting rebooted and this is
 the problem:
 
 2014-08-27 17:22:47,759 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3
 c9-511416f69ae0 moved from Up -- RebootInProgress
 2014-08-27 17:22:47,775 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0
 20-34e0f43307d4 moved from Up -- RebootInProgress
 2014-08-27 17:22:47,785 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af
 e6-49b217b2598d moved from Up -- RebootInProgress
 2014-08-27 17:22:47,846 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93
 89-400f1af22e5f moved from Up -- RebootInProgress
 2014-08-27 17:22:57,027 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor]
 (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool
 4f5fe15b-123c-4beb-b596-528747f2
 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms
 
 And after 10mins all vms in the pool are started!
 
 Why is VmPoolMonitor attempting to prestart 4 Vms again?
 
 
 the problem is that the monitor dont take into consideration this status 
 (RebootInProgress)

hm, but RebootInProgress is used during the shutdown phase as well - and then 
during the actual boot its unchanged, all the way till VM is reported Up again. 
could it be a problem?


Thanks,
michal


 only WaitForLaunch, PoweringUp or Up
 
 could you please open a bug on this?
 
 Thanks!
 
 Thanks!
 Michel
 
 --
 Michel Rode
 Linux / Unix Consultant  Trainer
 
 Mail: r...@b1-systems.de
 
 B1 Systems GmbH
 Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
 GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
 
 ___
 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] Prestarted vms in a pool

2014-08-28 Thread Michal Skrivanek

On Aug 28, 2014, at 10:16 , Omer Frenkel ofren...@redhat.com wrote:

 
 
 - Original Message -
 From: Michal Skrivanek michal.skriva...@redhat.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Michel Rode r...@b1-systems.de, users@ovirt.org
 Sent: Thursday, August 28, 2014 10:59:16 AM
 Subject: Re: [ovirt-users] Prestarted vms in a pool
 
 
 On Aug 28, 2014, at 09:56 , Omer Frenkel ofren...@redhat.com wrote:
 
 
 
 - Original Message -
 From: Michel Rode r...@b1-systems.de
 To: users@ovirt.org
 Sent: Wednesday, August 27, 2014 10:53:00 PM
 Subject: [ovirt-users] Prestarted vms in a pool
 
 Hi all,
 
 we have a little problem here...we created a new pool with 10 vms and 4
 of them as prestarted.
 
 During the sysprep (Windows vms) the vms getting rebooted and this is
 the problem:
 
 2014-08-27 17:22:47,759 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-3 18d06e9b-3674-4ad6-b3
 c9-511416f69ae0 moved from Up -- RebootInProgress
 2014-08-27 17:22:47,775 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-2 77a3e6ca-bcaf-4415-a0
 20-34e0f43307d4 moved from Up -- RebootInProgress
 2014-08-27 17:22:47,785 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-54) VM PC53VP0002-4 3430c339-cc89-45e5-af
 e6-49b217b2598d moved from Up -- RebootInProgress
 2014-08-27 17:22:47,846 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-75) VM PC53VP0002-1 825850ef-e63c-4c99-93
 89-400f1af22e5f moved from Up -- RebootInProgress
 2014-08-27 17:22:57,027 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor]
 (DefaultQuartzScheduler_Worker-60) [6e7094ae] VmPool
 4f5fe15b-123c-4beb-b596-528747f2
 a6ec is missing 4 prestarted Vms, attempting to prestart 4 Vms
 
 And after 10mins all vms in the pool are started!
 
 Why is VmPoolMonitor attempting to prestart 4 Vms again?
 
 
 the problem is that the monitor dont take into consideration this status
 (RebootInProgress)
 
 hm, but RebootInProgress is used during the shutdown phase as well - and then
 during the actual boot its unchanged, all the way till VM is reported Up
 again.
 could it be a problem?
 
 
 i think not, because even if the vm is shutting down now, its still a running 
 vm,

indeed

 if we dont want to exceed the user configuration,
 we can count it as still running, and in the next cycle (5 mins)
 it will not be counted and we will get a better decision.
 
 what do you think?

sounds good

 
 
 Thanks,
 michal
 
 
 only WaitForLaunch, PoweringUp or Up
 
 could you please open a bug on this?
 
 Thanks!
 
 Thanks!
 Michel
 
 --
 Michel Rode
 Linux / Unix Consultant  Trainer
 
 Mail: r...@b1-systems.de
 
 B1 Systems GmbH
 Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
 GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
 
 ___
 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] VM Deployment By Template

2014-08-28 Thread Michal Skrivanek

On Aug 27, 2014, at 13:52 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi Itamar,
 
 It's the same as i used and discussed in last reply...create the VM with 1GB 
 virtual template and expand the disk size after deployment...but the problem 
 here is disk will expand or resize...but it will not make any changes in the 
 existing partition table..that means after expand disk all the existing 
 partition will remain samethen you need to manual login in to server and 
 make the changes with the help of fdisk and lvm commands..
 
 I am looking for the way we can resize the disk...and at the same time when 
 the disk will expand...it should be resize the partition table...
 
 Is the cloud-init...custom script can do this or not ??

needs to be a custom script specific to the particular guest OS, I suppose.
something like lvresize --resizefs … 
Maybe some rescan of partitions (if the missing piece is indeed the missing 
qemu-ga notification) - then just force it with fdisk

Thanks,
michal

 
 Thanks,
 Punit 
 
 
 On Wed, Aug 27, 2014 at 6:11 PM, Itamar Heim ih...@redhat.com wrote:
 On 08/27/2014 12:47 PM, Punit Dambiwal wrote:
 Hi Itamar,
 
 To edit the disk size are you referring this Another way i got is
 create the VM with 1GB virtual template and expand the disk size after
 deployment...but the problem here is disk will expand...but it will not
 done any changes in the existing partition table..that means after
 expand disk you need to manual login in to server and make the changes
 with the help of fdisk and lvm commands...
 
 Or it's different then the upper one...please let me know how to perform
 this...if any screen shot you can provide for better understanding..
 
 http://www.ovirt.org/Features/Online_Virtual_Drive_Resize
 adding derez for follow up questions
 
 
 Thanks,
 Punit
 
 
 On Wed, Aug 27, 2014 at 5:15 PM, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com wrote:
 
 On 08/27/2014 12:08 PM, Punit Dambiwal wrote:
 
 Hi Itamar,
 
 Thanks for the updateYes.. i want to create different size
 VM with
 the same OS template...
 
 
 3. we support disk resize since 3.4 (iirc), which you can do
 post VM
 provisioning.
 
 considering #3, then #1 should be easy to support as well these
 days.
 please open an RFE.
 
 
 Could you please more elaborate point number 3...how to use
 it..i will
 go with this one ...
 
 
 iirc, you just need to edit the disk size when vm is down or up (for
 up, only for specific disk interfaces, virtio-blk, not ide, iirc)
 
 Thanks,
 Punit
 
 
 On Wed, Aug 27, 2014 at 4:37 PM, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com wrote:
 
  On 08/27/2014 04:18 AM, Punit Dambiwal wrote:
 
  Hi Michal,
 
  I want to deploy the VM with the template but the
 problem is in
  ovirt
  when you deploy the VM by template it copy the whole
 image(even
  thin or
  thick disk)...like if i have 40GB virtual size (actual
 size 1GB)
  diskit will copy the whole 40GB to provision the
 virtual
  machineso if i want to deploy 10 VM simultaneous
 then it
  will copy
  4TB data and take long time to provision
 
  I want the way i can make the template with small
 sizeand once i
  choose to create the virtual machine with 40GB...the VM
 deploy
  with the
  small template on the 40GB disk... is it possible with
 ovirt.. ??
 
 
  so you want to provision a VM with a different disk size
 than template.
  good point. some thoughts:
  1. for thinly provisioned (qcow2) - its COW, hence the same
 size.
  2. for clone - actually, no reason shouldn't be supported
 easily.
  3. we support disk resize since 3.4 (iirc), which you can
 do post
  VM provisioning.
 
  considering #3, then #1 should be easy to support as well these
  days. please open an RFE.
 
 
  Thanks,
  Punit
 
 
  On Tue, Aug 26, 2014 at 9:01 PM, Michal Skrivanek
  michal.skriva...@redhat.com
 mailto:michal.skriva...@redhat.com
  mailto:michal.skrivanek@__redhat.com
 mailto:michal.skriva...@redhat.com
  mailto:michal.skrivanek@
 mailto:michal.skrivanek@__red__hat.com http://redhat.com
 
 
  mailto:michal.skrivanek@__redhat.com
 mailto:michal.skriva...@redhat.com wrote:
 
 
   On Aug 26, 2014

Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-09-01 Thread Michal Skrivanek

On Aug 29, 2014, at 03:38 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi,
 
 I haven't try it on 3.53.4 it's work...
 
 Thanks,
 Punit
 
 
 On Fri, Aug 29, 2014 at 4:13 AM, Grzegorz Szypa grzegorz.sz...@gmail.com 
 wrote:
 Hi. 
 
 I tried to start the connection novnc the new machine, but still the same. 
 Even if I imported the CA certificate and added it to the trusted
 
 
 2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:
 Hi.
 
 I try do someting and I change to line in: /usr/share/novnc/include/rfb.js
 def_con_timeout  = Websock_native ? 2 : 5,--  def_con_timeout  = 
 Websock_native ? 5 : 15,
 ['disconnectTimeout',  'rw', 'int', 3,'Time (s) to wait for 
 disconnection'], -- ['disconnectTimeout',  'rw', 'int', 5,'Time 
 (s) to wait for disconnection'],
 
 And, 
 
 Before change i get error: Connect timeout
 After change i get error: Server disconnected (code: 1006)

are you running the websocket-proxy service on the engine host?
firewall maybe?
did you change any configuration from the default (default is on engine:6100)?

Thanks,
michal

 
 
 
 
 
 
 
 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:
 
 Why port 6100. It's not working or maybe it's nothing show.
 
 
 2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com:
 
 Hi,
 
 Are you using the valid SSL or Self signed ??
 
 If self-signed then you need to trust this ssl in to your browser first...so 
 please open the following in to another tab of your browser and run the 
 following https://engine:6100 and accept the certificate and close this tab...
 
 Now click on the console...it should work...
 
 Thanks,
 Punit
 
 
 On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa grzegorz.sz...@gmail.com 
 wrote:
 Hi.
 
 Maybe you could help me with noVNC to VM. I get a error: Connect timeout
 
 Do I need to install separately VNC server ?? or noVNC
 -- 
 G.Sz.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 
 -- 
 G.Sz.
 
 
 
 -- 
 G.Sz.
 
 
 
 -- 
 G.Sz.
 
 ___
 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] [ovirt-devel] feature review - ReportGuestDisksLogicalDeviceName

2014-09-02 Thread Michal Skrivanek

On Sep 2, 2014, at 13:11 , Liron Aravot lara...@redhat.com wrote:

 
 
 - Original Message -
 From: Federico Simoncelli fsimo...@redhat.com
 To: de...@ovirt.org
 Cc: Liron Aravot lara...@redhat.com, users@ovirt.org, 
 smizr...@redhat.com, Michal Skrivanek
 mskri...@redhat.com, Vinzenz Feenstra vfeen...@redhat.com, Allon 
 Mureinik amure...@redhat.com, Dan
 Kenigsberg dan...@redhat.com
 Sent: Tuesday, September 2, 2014 12:50:28 PM
 Subject: Re: feature review - ReportGuestDisksLogicalDeviceName
 
 - Original Message -
 From: Dan Kenigsberg dan...@redhat.com
 To: Liron Aravot lara...@redhat.com
 Cc: users@ovirt.org, de...@ovirt.org, smizr...@redhat.com,
 fsimo...@redhat.com, Michal Skrivanek
 mskri...@redhat.com, Vinzenz Feenstra vfeen...@redhat.com, Allon
 Mureinik amure...@redhat.com
 Sent: Monday, September 1, 2014 11:23:45 PM
 Subject: Re: feature review - ReportGuestDisksLogicalDeviceName
 
 On Sun, Aug 31, 2014 at 07:20:04AM -0400, Liron Aravot wrote:
 Feel free to review the the following feature.
 
 http://www.ovirt.org/Features/ReportGuestDisksLogicalDeviceName
 
 Thanks for posting this feature page. Two things worry me about this
 feature. The first is timing. It is not reasonable to suggest an API
 change, and expect it to get to ovirt-3.5.0. We are two late anyway.
 
 The other one is the suggested API. You suggest placing volatile and
 optional infomation in getVMList. It won't be the first time that we
 have it (guestIPs, guestFQDN, clientIP, and displayIP are there) but
 it's foreign to the notion of conf reported by getVMList() - the set
 of parameters needed to recreate the VM.
 
 The fact is that today we return guest information in list(Full=true), We 
 decide on it's notion
 and it seems like we already made our minds when guest info was added there 
 :) . I don't see any harm in returning the disk mapping there
 and if we'll want to extract the guest info out, we can extract all of it in 
 later version (4?) without need for BC. Having
 the information spread between different verbs is no better imo.
 
 At first sight this seems something belonging to getVmStats (which
 is reporting already other guest agent information).
 
 
 Fede, I've mentioned in the wiki, getVmStats is called by the engine every 
 few seconds and therefore that info
 wasn't added there but to list() which is called only when the hash is 
 changed. If everyone is in for that simple
 solution i'm fine with that, but Michal/Vincenz preferred it that way.

yes, that was the main reason me and Vinzenz suggested to use list(). 15s is a 
reasonable compromise, IMHO.
And since it's also reported by guest agent in a similar manner (and actually 
via the same vdsm-ga API call) as other guest information I think it should 
sit alongside guestIPs, FQDN, etc…

Maybe not the best place, but I would leave that for a bigger discussion 
if/when we want to refactor reporting of the guest agent information

Thanks,
michal


 
 Federico
 
 ___
 Devel mailing list
 de...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] feature review - ReportGuestDisksLogicalDeviceName

2014-09-03 Thread Michal Skrivanek

On Sep 2, 2014, at 21:03 , Nir Soffer nsof...@redhat.com wrote:

 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Liron Aravot lara...@redhat.com, Dan Kenigsberg 
 dan...@redhat.com, Federico Simoncelli
 fsimo...@redhat.com, Vinzenz Feenstra vfeen...@redhat.com
 Cc: users@ovirt.org, de...@ovirt.org
 Sent: Tuesday, September 2, 2014 3:29:57 PM
 Subject: Re: [ovirt-devel] feature review - ReportGuestDisksLogicalDeviceName
 
 
 On Sep 2, 2014, at 13:11 , Liron Aravot lara...@redhat.com wrote:
 
 
 
 - Original Message -
 From: Federico Simoncelli fsimo...@redhat.com
 To: de...@ovirt.org
 Cc: Liron Aravot lara...@redhat.com, users@ovirt.org,
 smizr...@redhat.com, Michal Skrivanek
 mskri...@redhat.com, Vinzenz Feenstra vfeen...@redhat.com, Allon
 Mureinik amure...@redhat.com, Dan
 Kenigsberg dan...@redhat.com
 Sent: Tuesday, September 2, 2014 12:50:28 PM
 Subject: Re: feature review - ReportGuestDisksLogicalDeviceName
 
 - Original Message -
 From: Dan Kenigsberg dan...@redhat.com
 To: Liron Aravot lara...@redhat.com
 Cc: users@ovirt.org, de...@ovirt.org, smizr...@redhat.com,
 fsimo...@redhat.com, Michal Skrivanek
 mskri...@redhat.com, Vinzenz Feenstra vfeen...@redhat.com, Allon
 Mureinik amure...@redhat.com
 Sent: Monday, September 1, 2014 11:23:45 PM
 Subject: Re: feature review - ReportGuestDisksLogicalDeviceName
 
 On Sun, Aug 31, 2014 at 07:20:04AM -0400, Liron Aravot wrote:
 Feel free to review the the following feature.
 
 http://www.ovirt.org/Features/ReportGuestDisksLogicalDeviceName
 
 Thanks for posting this feature page. Two things worry me about this
 feature. The first is timing. It is not reasonable to suggest an API
 change, and expect it to get to ovirt-3.5.0. We are two late anyway.
 
 The other one is the suggested API. You suggest placing volatile and
 optional infomation in getVMList. It won't be the first time that we
 have it (guestIPs, guestFQDN, clientIP, and displayIP are there) but
 it's foreign to the notion of conf reported by getVMList() - the set
 of parameters needed to recreate the VM.
 
 The fact is that today we return guest information in list(Full=true), We
 decide on it's notion
 and it seems like we already made our minds when guest info was added there
 :) . I don't see any harm in returning the disk mapping there
 and if we'll want to extract the guest info out, we can extract all of it
 in later version (4?) without need for BC. Having
 the information spread between different verbs is no better imo.
 
 At first sight this seems something belonging to getVmStats (which
 is reporting already other guest agent information).
 
 
 Fede, I've mentioned in the wiki, getVmStats is called by the engine every
 few seconds and therefore that info
 wasn't added there but to list() which is called only when the hash is
 changed. If everyone is in for that simple
 solution i'm fine with that, but Michal/Vincenz preferred it that way.
 
 yes, that was the main reason me and Vinzenz suggested to use list(). 15s is
 a reasonable compromise, IMHO.
 And since it's also reported by guest agent in a similar manner (and actually
 via the same vdsm-ga API call) as other guest information I think it
 should sit alongside guestIPs, FQDN, etc…
 
 Maybe not the best place, but I would leave that for a bigger discussion
 if/when we want to refactor reporting of the guest agent information
 
 Given that we are late, adding disk mapping where other guest info is
 in a backward compatible way looks reasonable.
 
 Did you consider adding a new verb for getting guest information?
 This 
 verb can be called once after starting/recovering a vm, and then only when
 guest info hash changes (like the xml hash).

yes, was considered but turned down. 
Main reason is an additional overhead and pollution of the API for a tiny 
little item which is in the same group of guest agent reported items. It 
doesn't make sense to introduce an inconsistency just this one item.
Refactoring of the frequency of what we report is indeed long overdue, but we 
shouldn't start here…(the first and most offending is still the application 
list)

Thanks,
michal

 
 Nir
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] overt viewer on mac osx

2014-09-26 Thread Michal Skrivanek

On 24 Sep 2014, at 22:33, Paul Heinlein wrote:

 On Wed, 24 Sep 2014, Bill Dossett wrote:
 
 I have downloaded and installed per the instructions - and then downloaded 
 the console.vv file and run the command line to start the viewer with the 
 console.vv - the first time it popped up and then said that spice needed 
 authentication… tried my virt-engine password that didn’t work, hit cancel 
 and it shut down.  Tried it again and now it just says it can’t determine 
 the connection type from uri and I have to quit.
 I am running OSX 10.9.4 and apparently this has only been tested on 10.9.1… 
 hoping there is a fix to make this work, or am I doing something wrong?  The 
 command I am using is
 
 If you're willing to use VNC instead of SPICE, the attached python script 
 will parse console.vv and pass the relevant information to the Mac Screen 
 Sharing application (or whatever app you use to open vnc:// URLs).
 
 Once you've downloaded console.vv, just run the script. By default, the 
 script will look for ~/Downloads/console.vv, but that can be changed on the 
 command line.

Is it ok to add it to the wiki[1] ?

Thanks,
michal

[1] http://www.ovirt.org/Console_Client_Resources
 
 -- 
 Paul Heinlein
 heinl...@madboa.com
 45°38' N, 122°6' 
 Wovirt-console.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] [ovirt-devel] [QE][ACTION REQUIRED] oVirt 3.5.0 status - Go / No Go

2014-09-26 Thread Michal Skrivanek

On 26 Sep 2014, at 10:50, Sandro Bonazzola wrote:

 Hi,
 We are supposed to start composing oVirt 3.5.0 GA on Monday 2014-09-29.
 
 Maintainers:
 - Please be sure that 3.5 snapshot satisfy release criteria[9]
 - Please be sure that no pending patches are going to block the release
 - If any patch must block the GA release please raise the issue as soon as 
 possible.
 - If any packages need a rebase please raise the issue as soon as possible.
 - Be aware that packages that doesn't need a rebase must be re-built with 
 final release versioning from the RC3 tag.
 
 And then:
 - Please build your packages with final release versioning for Monday 
 2014-09-29 10:00 UTC if we agree on releasing GA.
 
 The bug tracker [1] shows no blockers.
 
 The following bugs are keyworded as Regression and not marked as blockers[10]
 
 Bug IDWhiteboard  Status  Summary
 1142647   gluster NEW supervdsm leaks memory when using 
 glusterfs
 1138144   storage NEW Failed to autorecover storage domain 
 after unblocking connection with host
 1118349   storage NEW [vdsm] Creating DataCenter 3.5 using 
 master domain V1 fails with InquireNotSupportedError
 1138314   virtPOSTFail to start vm with payload.

this one is set to 3.5.1. Important, but not a blocker for 3.5

 
 Feature freeze is now effective, and branch has been created.
 All new patches must be backported to 3.5 branch too.
 Features completed are marked in green on Features Status Table [2]
 
 There are still 66 bugs [3] targeted to 3.5.0.
 Excluding node and documentation bugs we still have 43 bugs [4] targeted to 
 3.5.0.
 
 More in detail [5]:
 
 WhiteboardNEW ASSIGNEDPOSTTotal
 docs  13  1   0   14
 gluster   4   0   2   6
 i18n  0   0   1   1
 infra 1   0   0   1
 integration   0   0   1   1 (3.5.0 Tracker)
 node  8   4   0   12
 ppc   2   0   4   6
 sla   12  0   2   14
 storage   1   0   2   3
 virt  3   1   4   8
 Total 44  6   16  66
 
 
 
 Maintainers / Assignee:
 - Please ensure that completed features are marked in green on Features 
 Status Table [2]
 - If you find a blocker bug please remember to add it to the tracker [1]
 - Please fill release notes, the page has been created here [6]
 - Please review results from Third Test Day on the etherpad [7] and on the 
 mailing lists
 - Please update the target to 3.5.1 or later for bugs that won't be in 3.5.0:
  it will ease gathering the blocking bugs for next releases.
 
 Community:
 - You're welcome to join us testing last release candidate or nightly builds 
 and getting involved in oVirt Quality Assurance[8]
 
 [1] http://bugzilla.redhat.com/1073943
 [2] http://goo.gl/4SuYdE
 [3] http://red.ht/1pVEk7H
 [4] http://red.ht/1zT2mSq
 [5] http://red.ht/1q7SqNL
 [6] http://www.ovirt.org/OVirt_3.5_Release_Notes
 [7] http://etherpad.ovirt.org/p/3.5-testday-3
 [8] http://www.ovirt.org/OVirt_Quality_Assurance
 [9] 
 http://www.ovirt.org/OVirt_3.5_release-management#Release_Criteria_.28WIP.29
 [10] http://goo.gl/uavikG
 
 Thanks,
 
 
 -- 
 Sandro Bonazzola
 Better technology. Faster innovation. Powered by community collaboration.
 See how it works at redhat.com
 ___
 Devel mailing list
 de...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to See Ovirt Console From a Remote Windows Host

2014-10-13 Thread Michal Skrivanek

On Oct 13, 2014, at 11:11 , Daniel Abrich dan...@abrich.eu wrote:

 Jon Forrest nobozo@... writes:
 
 
 I know that this is simple for some of you, but I also
 know from Googling around that lots of people have had
 trouble seeing their ovirt console from a remote Windows
 host. Below I describe what finally worked for me. I hope
 this helps somebody avoid wasting as much time as I did
 today.
 
 I'm a fairly experienced VMWare user who's learning ovirt.
 I just installed an all-in-one ovirt server and copied a
 CentOS 6.5 iso into it. I then tried to boot a new VM
 but soon learned that console access is different in ovirt
 than on VMWare.
 
 I then spent over an hour trying the various documented
 ways to view a remote console using Spice on my Windows 7
 desktop. I even tried using a Linux VM to see if the Firefox
 plugin for Spice would work. Nothing.
 
 What finally worked was installing the virt-viewer Windows
 client (http://virt-manager.org/download/). Then, I opened
 the ovirt Administration Portal in Firefox running on my
 Windows 7 desktop. I created a new VM and configured it
 the way I wanted. Then, from the Virtual Machines tab, I started
 the new VM. Pretty soon the little console icon turned green so
 I clicked on it. I got the prompt from Firefox asking me what
 app I wanted to associate with the .vv URL that opened when
 I clicked on the console icon. I browsed around and selected
 
 \Program Files\VirtViewer\bin\remote-viewer.exe
 
 which is from the virt-viewer client package I installed above.
 I told Firefox to always use this app for this kind of file.
 
 This works great! I was able to boot the CentOS system and
 install it with no problems.
 
 Good luck!
 Jon Forrest
 
 
 Hi, I have one problem with that. I believe that the problem is rather in
 oVirt, not the viewer. I have oVirt installed at work and I also have
 connection to the work environment using IPv6 tunnelling (Windows WAN). In
 the oVirt all hosts are added using FQDN. The problem is that all hosts in
 the LAN (inside the company) are resolved via IPv4 and the same FQDN is
 resolved via IPv6 when I'm connected via WAN. In the console.vv file I can
 see the IPv4 address unfortunately and the connection to the console via WAN
 is not working. If I change the file putting FQDN to the host= line
 everything is working fine.
 
 How to change the oVirt? I'd prefer that the line host= contains the FQDN
 (or whatever is being put in the engine database) not the IP address?

there's a Display address override per host where you can map each host's 
console address to something else; some other IP or FQDN
you just need to set it for all hosts

Thanks,
michal

 
 Regards,
 
 Daniel
 
 ___
 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] CPU is yellow but actually not that much!

2014-10-21 Thread Michal Skrivanek
Hi,
you're highlighting different things.
In UI we show CPU usage, in terminal window you are pointing out the average 
load values, that's something completely different. Load specifies how many 
processes gets scheduled last 1/5/15 minutes.
With your load values I'm surprised it's not red:) 

Thanks,
michal

On Oct 21, 2014, at 10:51 , PaulCheung eq2...@msn.com wrote:

 Dear all, 
 
 Why the ovirt-engine show the CPU so high, but When I enter the command 
 myself cat /proc/loadavg   show difference? 
 Even running top, not that much! 
 
  ovirt-cpu-load-too-high.jpg
 
 
 
 
 Sincerely yours,
 PaulCheung
 
 
  tel: 180-8882-7173
 ___
 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] Enable to set VM maintenance reason?

2014-10-21 Thread Michal Skrivanek

On 20 Oct 2014, at 20:14, Daniel Helgenberger wrote:

 In oVirt 3.5, Cluster Settings, General - Enable to set VM maintenance
 reason
 
 What does this one do?

enables you to set a textual reason when you switch hosts to maintenance. So 
other admins can see why it was done.

Thanks,
michal

 
 -- 
 Daniel Helgenberger
 m box bewegtbild GmbH
 
 P: +49/30/2408781-22
 F: +49/30/2408781-10
 
 ACKERSTR. 19
 D-10115 BERLIN
 
 
 www.m-box.de  www.monkeymen.tv
 
 Geschäftsführer: Martin Retschitzegger / Michaela Göllner
 Handeslregister: Amtsgericht Charlottenburg / HRB 112767
 
 ___
 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] Guest VM Running 160 RCU Processes

2014-10-22 Thread Michal Skrivanek

On Oct 21, 2014, at 18:13 , Darrell Budic bu...@onholyground.com wrote:

 Was poking at this a little to see if there was any tuning that could affect 
 it and spotted some oddness with the processor counts on my VMs under Ovirt 
 3.4. They seem to think they only have the proper number I set in ovirt (as 
 shown in /proc/cpu), but if I look at dmidecode, there’s 159 bogus processors 
 listed. I’d expect maybe 16 from the -smp 
 1,maxcpus=16,sockets=16,cores=1,threads=1 argument to qemu-kvm, but there are 
 0xa0 of them. Maybe this is a seabios or qemu-kvm issue causing all those 
 extras? Anyway, the # of rcu* processes matches pretty well, so that’s likely 
 where it’s coming from.
 
 At least they shouldn’t be causing a performance issue, given their purpose 
 as non-blocking work threads, but it is odd to see.
 
 Punit, did you open a BZ I can add these details to?
 
 BTW, this appears to be corrected with some component of Ovirt 3.5 (probably 
 qemu-rhev?). On VMs started after I upgraded my Engine (even on 3.4 vdsmds), 
 I’m only seeing 16 “processors” in the bios, and thus only 16 of the various 
 rcu* processes. Could have been a general Centos 6.5 update too, since I did 
 those as well, so I can’t get any finer resolution on that issue (both engine 
 and host nodes, lots of Centos 7 VMs).
 
 If there is a RFE for this, perhaps a configurable max # of CPU sockets for 
 hot add could be added, or it could be limited to the max physical cpu count 
 of the biggest host in the cluster?

The max is 16. Roy, what can we change/not change after your latest changes?
I suppose it's related to teh maximum values we send because of hotplug support

Thanks,
michal


 
  -Darrell
 
 On Oct 20, 2014, at 7:34 AM, Doron Fediuck dfedi...@redhat.com wrote:
 
 
 
 - Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org, Dan Kenigsberg dan...@redhat.com, Itamar Heim 
 ih...@redhat.com, aha...@redhat.com
 Sent: Monday, October 20, 2014 5:58:20 AM
 Subject: Re: [ovirt-users] Guest VM Running 160 RCU Processes
 
 Hi,
 
 Is there any body suggest me good way to handle it??
 
 On Fri, Oct 17, 2014 at 3:15 PM, Punit Dambiwal  hypu...@gmail.com  wrote:
 
 
 
 Hi,
 
 I have one Ovirt cluster and under this cluster all the guest machines (such
 as centos,ubuntu,debian etc) almost 160 RCU processes running
 
 i searched on google about the RCU (It's kernel process read-copy-upate)
 
 http://lwn.net/Articles/518953/
 
 I want to know how i can modify this 160 processes to 10-20 or how i can to
 disable itis there any bed impact if i disable it
 
 Thanks,
 Punit
 
 
 
 Hi Punit,
 we need to do a bit of a research on this one.
 In order to make sure we keep track of it, do you mind opening an RFE (BZ)
 with all the relevant details, including the hardware that you're using,
 guests config, how busy the guests/host are, Which hypervisor is used and
 the versions.
 
 Thanks,
 Doron
 ___
 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] how to attach ISO to VM use SDK

2014-10-27 Thread Michal Skrivanek

On 27 Oct 2014, at 12:46, Leaboy wrote:

 Hi,all:
 I want to attach ISO to vm use sdk,
 I tried use this command
 curl -X POST -H Accept: application/xml -H Content-Type: application/xml 
 -u admin@internal:jhadmin --cacert /tmp/ca.crt -d cdromfile 
 id='vmdispatch.iso'//cdrom 
 https://rhel65-1.jhinno.com:443/api/vms/a0b7ad46-0889-4a79-ae0d-d5ea69655f60/cdroms

as per IRC this is oVirt 3.3.4

Thanks,
michal

 , but I can’t view the iso in the vm.
 ___
 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] oVirt 3.5 on RHEL 6.6 hyperv enabled breaks Windows VMs

2014-10-27 Thread Michal Skrivanek

On 24 Oct 2014, at 18:43, Markus Stockhausen wrote:

 Hi,
 
 we are running the hyperv flags since months in our Win7 VMs without any 
 issue. As we are still on OVirt 3.4 FC20 infrastructure we set them with 
 hooks (and really depend on them).
 
 Maybe RHEL related?
 
It might be. What's running on your host?

Did you see the same problem with anything newer than Windows XP?

Thanks,
michal
 Markus
 
 Am 24.10.2014 18:22 schrieb Charles Gruener cgrue...@gruener.us:
 https://bugzilla.redhat.com/show_bug.cgi?id=1110305
 
 This enabled the hv_relaxed flag on all my Windows VMs, causing them to no 
 longer boot.  The same thing would happen if I simply booted from the Windows 
 install media.  I would get a screen with a stop error:
 
 Your PC needs to restart.
 Please hold down the power button.
 Error Code: 0x001E
 Parameters:
 0xC096
 0xF802C4044EA4
 0x0
 0x0
 
 I created a file called /etc/ovirt-engine/osinfo.conf.d/01-windows.properties 
 that had one line:
 
 os.windows_xp.devices.hyperv.enabled.value = false
 
 I restarted ovirt-engine and now I can start my Windows VMs.
 
 Why does this occur?  Is it because I upgraded from 3.4 to 3.5?  Is there 
 something else I'm doing wrong?  I would like to not need this workaround.  
 Thanks.
 
 Charles
 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] VirtualDesktop Issue

2014-11-06 Thread Michal Skrivanek

On Nov 5, 2014, at 23:26 , Juan Carlos YJ. Lin l...@unisoft.com.py wrote:

 I am ussing nomachine server 4.3.30, an try to connect via NX to vm on ovirt
 If I open the console, and login with a user, it runs well.
 When logout, give a no display to connect error.
 Seems that if no console connected, no display enabled, 
 how I can keep the display enabled in permanent way or how to create a 
 sencond display available as virtualdesktops?

sounds like a nx issue
it's completely guest-side protocol, so whatever it is doing it is inside nx. 
Similar as RDP, oVirt doesn't interfere. 
any nx logs, settings?

Thanks,
michal

 
 Juan Carlos Lin
 Unisoft S.A.
 +595-993-288330
 
 
 ---
 Antes de imprimir, recuérdese de su compromiso con el Medio Ambiente
 Aviso: Este mensaje es dirigido para su destinatario y contiene 
 informaciones que no pueden ser usadas por otras personas que no sean su(s) 
 destinatario(s). La retransmisión del contenido no está autorizada fuera del 
 contexto de su envío y a quien corresponde. El uso no autorizado de la 
 información en este mensaje se halla penado por las leyes vigentes en todo el 
 mundo. Si ha recibido este mensaje por error, por favor bórrala y notifique 
 al remitente en la brevedad posible. El contenido de este mensaje no es 
 responsabilidad de la Empresa y debe ser atribuido siempre a su autor. 
 Gracias. 
 ___
 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] [ovirt-devel] [SCALE][RFC] ksmd bound to one core

2014-11-06 Thread Michal Skrivanek

On Nov 5, 2014, at 23:29 , Daniel Helgenberger daniel.helgenber...@m-box.de 
wrote:

 
 
 On 05.11.2014 21:07, Adam Litke wrote:
 On 04/11/14 13:11 +0100, Sven Kieske wrote:
 Hi,
 
 currently ksmd is a single process
 and is thus bound to one core.
 
 This leads to some scaling problems such as:
 
 If you got a lot of vms on one host with huge amounts
 of ram you can observe that the cpu usage by ksmd
 goes easily to 100%.
 I wonder what would be the benefit here... I think spending CPU cycles 
 on something like memory compression is not what (most) users would do. 


Indeed.
I would say it is more beneficial to spend time on better analysis of what 
regions of memory you want to analyze. Instead of this brute force approach 
trying to scan the whole hosts memory aggressively. 
E.g. We don't even have ksm per VM yet (but it's in the plan). Even that would 
help a lot as you can then enable it only where it makes sense (pool deployment 
with many same/idle VMs)

Thanks,
michal

 Already I think this is an annoyance; maybe thats why the process is 
 niced to +5. A multi process daemon would require careful confining 
 (with cgroups).
 To my understanding the for KSM to really work well is to have many 
 (idle / high mem) guests which are quite similar?
 
 
 I wonder if ksmd could not be split up
 in child/worker threads, thus enabling higher density
 of vms on one host.
 
 It's likely going to be trickier than you imagine with the added
 locking that would be required to synchronize the ksmd threads.
 Actually I was refraining to answer Svens question since I lack some 
 knowledge here. But I guessed synchronization was the reason for the 
 single threadted design.
 Some serous work needs to be done on KSM do achieve this goal. I was 
 thinking about some map/reduce aglo to do that... OTOH mangeling with 
 mem pages of guests very requires special care.
 
 
 or can this just be tweaked by altering values in
 /etc/ksmtuned.conf ?
 
 I don't think it can.
 
 What do you think?
 
 Interesting idea.
 
 
 -- 
 Daniel Helgenberger
 m box bewegtbild GmbH
 
 P: +49/30/2408781-22
 F: +49/30/2408781-10
 
 ACKERSTR. 19
 D-10115 BERLIN
 
 
 www.m-box.de  www.monkeymen.tv
 
 Geschäftsführer: Martin Retschitzegger / Michaela Göllner
 Handeslregister: Amtsgericht Charlottenburg / HRB 112767
 ___
 Devel mailing list
 de...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] USB redirect

2014-11-10 Thread Michal Skrivanek

On Nov 10, 2014, at 17:54 , Juan Jose jj197...@gmail.com wrote:

 Hello everybody,
 
 I have  an oVirt 3.4 deployment and I have some Windows 7 Enterprise 32 bits 
 guests. I can't redirect USB from a Windows 7 client. I'm using remote - 
 viewer as console. Also I have observed something wrong in my administration 
 portal. The oVirt documentation says that I have to select Native USB mode in 
 console properties in VM configuration

yes, that's the only supported way
you should see the USB controller in devices

 but after select this mode, it doesn't remain. If I check this  value in 
 console configuration again I can see disabled, native mode value have been 
 changed.

there used to be such issue in 3.4..it is fixed in 3.5 already.
It should be a UI problem only…

Thanks,
michal

 
 Is there someone have had this problem?, and how I can solve it?, is it 
 necessary to install in Windows clients us clerk software?
 
 Many thanks in advanced.
 
 Juanjo.
 ___
 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 redirect

2014-11-11 Thread Michal Skrivanek

On Nov 11, 2014, at 11:08 , Juan Jose jj197...@gmail.com wrote:

 Thank you very much Michal, If I have checked Device administrator in my 
 Windows 7 VM and as you can see in the attached image, the USB device is 
 correctly installed. But when I click File in remote-viewer USB device 
 selection appears in grey and I can't select any USB device.
 
 Is there any other requirement to be able redirect USB devices?, Is it 
 necessary to install usbclerk in Windows clients to redirect USB to the 
 Windows guest?

usbredir drivers yes, you need them, they should be on the guest tools iso

Thanks,
michal

 
 Many thanks in advanced,
 
 Juanjo.
 
 On Tue, Nov 11, 2014 at 8:23 AM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On Nov 10, 2014, at 17:54 , Juan Jose jj197...@gmail.com wrote:
 
  Hello everybody,
 
  I have  an oVirt 3.4 deployment and I have some Windows 7 Enterprise 32 
  bits guests. I can't redirect USB from a Windows 7 client. I'm using remote 
  - viewer as console. Also I have observed something wrong in my 
  administration portal. The oVirt documentation says that I have to select 
  Native USB mode in console properties in VM configuration
 
 yes, that's the only supported way
 you should see the USB controller in devices
 
  but after select this mode, it doesn't remain. If I check this  value in 
  console configuration again I can see disabled, native mode value have been 
  changed.
 
 there used to be such issue in 3.4..it is fixed in 3.5 already.
 It should be a UI problem only…
 
 Thanks,
 michal
 
 
  Is there someone have had this problem?, and how I can solve it?, is it 
  necessary to install in Windows clients us clerk software?
 
  Many thanks in advanced.
 
  Juanjo.
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 DeviceAdministrator.png

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem installing windows 2008 sp2 and windows 2012 server standard

2014-11-12 Thread Michal Skrivanek

On Nov 11, 2014, at 22:43 , wodel youchi wodel_d...@yahoo.fr wrote:

 Hi,
 
 Ovirt 3.5 on Fedora 20; all updates
 latest virtio-win 0.1-81
 
 In the process of testing ovirt: testing Windows installation with virtio-win 
 drivers
 
 A) I've tried to install Windows 2008 SP2 using Virtio disk, the installation 
 succeeded, the problem was with:
 - the Virtio Network, the was driver installed, the NIC card 
 detected, but no trafic after configuration, I switched to e1000 and it works.
 - I had an unknow SCSI device, so I installed the driver and I got a 
 nice BSOD  and I had to use a previous snaphot to re-use the VM.
 - Finally the ovirt agent did not seem to work, no information on 
 Ovirt GUI.
 
 B) With Windows 2012, only the IDE disk worked for installation, the Virtio 
 and Virtio-SCSI helped detecting the disk, but Windows installer won't 
 install Error: windows can't install on disk0 partition 2 error 0x8031
 
 using the IDE option, windows is still installing after 1h, it's very slow…

did you try the windwos guest tools iso we finally have in oVirt 3.5[1] from 
here[2]? Lev, which virtio version is included? Regardless the other stuff it 
seems like specific to virtio-win drivers….

Thanks,
michal

[1] http://www.ovirt.org/Features/oVirt_Windows_Guest_Tools
[2] http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-guest-tools/
 
 
 
 
 ___
 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 redirect

2014-11-12 Thread Michal Skrivanek

On Nov 12, 2014, at 16:39 , Juan Jose jj197...@gmail.com wrote:

 Hello Michal or everybody,
 
 Could you tell me where can I get or download ovirt-guest-tool.iso?

Hi,
it's a regular part of the 3.5 release...
http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-guest-tools/
enjoy!:)

Thanks,
michal

 
 Many thanks in advanced,
 
 Juanjo.
 
 
 On Tue, Nov 11, 2014 at 12:15 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On Nov 11, 2014, at 11:08 , Juan Jose jj197...@gmail.com wrote:
 
  Thank you very much Michal, If I have checked Device administrator in my 
  Windows 7 VM and as you can see in the attached image, the USB device is 
  correctly installed. But when I click File in remote-viewer USB device 
  selection appears in grey and I can't select any USB device.
 
  Is there any other requirement to be able redirect USB devices?, Is it 
  necessary to install usbclerk in Windows clients to redirect USB to the 
  Windows guest?
 
 usbredir drivers yes, you need them, they should be on the guest tools iso
 
 Thanks,
 michal
 
 
  Many thanks in advanced,
 
  Juanjo.
 
  On Tue, Nov 11, 2014 at 8:23 AM, Michal Skrivanek 
  michal.skriva...@redhat.com wrote:
 
  On Nov 10, 2014, at 17:54 , Juan Jose jj197...@gmail.com wrote:
 
   Hello everybody,
  
   I have  an oVirt 3.4 deployment and I have some Windows 7 Enterprise 32 
   bits guests. I can't redirect USB from a Windows 7 client. I'm using 
   remote - viewer as console. Also I have observed something wrong in my 
   administration portal. The oVirt documentation says that I have to select 
   Native USB mode in console properties in VM configuration
 
  yes, that's the only supported way
  you should see the USB controller in devices
 
   but after select this mode, it doesn't remain. If I check this  value in 
   console configuration again I can see disabled, native mode value have 
   been changed.
 
  there used to be such issue in 3.4..it is fixed in 3.5 already.
  It should be a UI problem only…
 
  Thanks,
  michal
 
  
   Is there someone have had this problem?, and how I can solve it?, is it 
   necessary to install in Windows clients us clerk software?
  
   Many thanks in advanced.
  
   Juanjo.
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
 
 
  DeviceAdministrator.png
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Balloon driver unavailable

2014-11-19 Thread Michal Skrivanek

On Nov 18, 2014, at 21:40 , John Gardeniers jgardeni...@objectmastery.com 
wrote:

 That works because you have effectively disabled ballooning for the VM, which 
 is not really solving the underlying problem.
 
 regards,
 John
 
 
 On 18/11/14 10:02, Groten, Ryan wrote:
 I also recently started getting these errors.  They started when I upgraded 
 from 3.4.0 to 3.4.2. 

vdsm log?
likely guest-agent logs too...

Thanks,
michal

 The error appears on certain VMs (but not all) consistently every 15 
 minutes.  It doesn’t matter if the “Memory Balloon Device Enabled” checkbox 
 checked or unchecked.
  
 I got the message to stop appearing by changing the value of Physical Memory 
 Guaranteed to match the VMs configured memory.
  
  
 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
 John Gardeniers
 Sent: November-16-14 10:13 PM
 To: users@ovirt.org
 Subject: Re: [ovirt-users] Balloon driver unavailable
  
 Just an FYI.
 
 In my case the balloon driver was installed and it was running. The problem 
 was eventually resolved by uninstalling the entire agent suite, rebooting 
 and reinstalling it. Doing the same just for the balloon driver didn't work.
 
 regards,
 John
 
 
 On 13/11/14 07:35, John Gardeniers wrote:
 I'm seeing it for a VM that most definitely does have the balloon driver 
 installed. Care to take another guess?
 
 regards,
 John
 
 
 On 12/11/14 20:04, Amedeo Salvati wrote:
 you receive this error because on your cluster configurations you have 
 checked Enable Memory Balloon Optimization, and on some of your VMs there 
 aren't balloon driver available; if you don't want anymore this warning 
 messages you can uncheck this under 
 
 Clusters - (select your cluster) edit - Optimization - uncheck Enable 
 Memory Balloon Optimization
 
 Best Regards
 Amedeo Salvati
 
 
 Date: Wed, 12 Nov 2014 07:59:33 +
 From: Karli Sj?berg karli.sjob...@slu.se
 To: tdeme...@itsmart.hu tdeme...@itsmart.hu
 Cc: users@ovirt.org users@ovirt.org
 Subject: Re: [ovirt-users] Balloon driver unavailable
 Message-ID: 5F9E965F5A80BC468BE5F40576769F099DF97243@exchange2-1
 Content-Type: text/plain; charset=utf-8
 
 On Wed, 2014-11-12 at 08:35 +0100, Demeter Tibor wrote:
  Hi,
  
  
  I have a lot of centos 6 based vms and I have install ovirt guest
  agent for those vms. 
  But two vm always say The balloon driver on xxxvm on hostX is
  requested but unavailable
  I did check the virtio_balloon module are loaded on vms.
  
  
  Anybody can me help?
  
  
  Thanks in advance
  
  
  Tibor
 
  I see that too, but only on Windows 2008 R2 guests... No one else ever
  said anything about it, so I thought it was just me:)
 
 
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com
 __
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com
 __
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
  
 
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] USB redirect

2014-11-21 Thread Michal Skrivanek

On Nov 13, 2014, at 12:00 , Juan Jose jj197...@gmail.com wrote:

 Hello Michal and everybody,
 
 I'm sorry but I have downloaded ovirt-guest-tools from URL you gave me but 
 the driver usbredir is not there. Is it normal or maybe it is in another 
 resource?
 
 As the oVirt documentation says, when this driver is installed a new USB 
 windows service will be started in the client, but after execute the 
 ovirt-guest-tool setup and finish the installation there is not any USB new 
 service in my Windows client.
 
 Is it possible that this usbredir driver is not in this ISO?

adding Lev who builds the ISO…can you please check?

Thanks,
michal

 
 Many thanks in advanced,
 
 Juanjo.
 
 On Wed, Nov 12, 2014 at 4:55 PM, Juan Jose jj197...@gmail.com wrote:
 Many thanks Michal,
 
 I will try it and I will try to upgrade my oVirt 3.4.
 
 Thanks again and best regards,
 
 Juanjo.
 
 On Wed, Nov 12, 2014 at 4:45 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 
 On Nov 12, 2014, at 16:39 , Juan Jose jj197...@gmail.com wrote:
 
  Hello Michal or everybody,
 
  Could you tell me where can I get or download ovirt-guest-tool.iso?
 
 Hi,
 it's a regular part of the 3.5 release...
 http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-guest-tools/
 enjoy!:)
 
 Thanks,
 michal
 
 
  Many thanks in advanced,
 
  Juanjo.
 
 
  On Tue, Nov 11, 2014 at 12:15 PM, Michal Skrivanek 
  michal.skriva...@redhat.com wrote:
 
  On Nov 11, 2014, at 11:08 , Juan Jose jj197...@gmail.com wrote:
 
   Thank you very much Michal, If I have checked Device administrator in my 
   Windows 7 VM and as you can see in the attached image, the USB device is 
   correctly installed. But when I click File in remote-viewer USB device 
   selection appears in grey and I can't select any USB device.
  
   Is there any other requirement to be able redirect USB devices?, Is it 
   necessary to install usbclerk in Windows clients to redirect USB to the 
   Windows guest?
 
  usbredir drivers yes, you need them, they should be on the guest tools iso
 
  Thanks,
  michal
 
  
   Many thanks in advanced,
  
   Juanjo.
  
   On Tue, Nov 11, 2014 at 8:23 AM, Michal Skrivanek 
   michal.skriva...@redhat.com wrote:
  
   On Nov 10, 2014, at 17:54 , Juan Jose jj197...@gmail.com wrote:
  
Hello everybody,
   
I have  an oVirt 3.4 deployment and I have some Windows 7 Enterprise 32 
bits guests. I can't redirect USB from a Windows 7 client. I'm using 
remote - viewer as console. Also I have observed something wrong in my 
administration portal. The oVirt documentation says that I have to 
select Native USB mode in console properties in VM configuration
  
   yes, that's the only supported way
   you should see the USB controller in devices
  
but after select this mode, it doesn't remain. If I check this  value 
in console configuration again I can see disabled, native mode value 
have been changed.
  
   there used to be such issue in 3.4..it is fixed in 3.5 already.
   It should be a UI problem only…
  
   Thanks,
   michal
  
   
Is there someone have had this problem?, and how I can solve it?, is it 
necessary to install in Windows clients us clerk software?
   
Many thanks in advanced.
   
Juanjo.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
  
  
   DeviceAdministrator.png
 
 
 
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to access remote console in User portal from IE/Windows7

2012-11-29 Thread Michal Skrivanek

On Nov 29, 2012, at 17:31 , Itamar Heim ih...@redhat.com wrote:

 On 11/29/2012 10:01 AM, Karli Sjöberg wrote:
 
 29 nov 2012 kl. 15.15 skrev Itamar Heim:
 
 On 11/29/2012 08:13 AM, David Jaša wrote:
 Karli Sjöberg píše v Čt 29. 11. 2012 v 12:30 +:
 29 nov 2012 kl. 11.39 skrev David Jaša:
 
 Karli Sjöberg píše v Čt 29. 11. 2012 v 10:19 +:
 29 nov 2012 kl. 10.20 skrev David Jaša:
 
 Karli Sjöberg píše v Čt 29. 11. 2012 v 07:59 +:
 28 nov 2012 kl. 15.17 skrev David Jaša:
 
 Karli Sjöberg píše v St 28. 11. 2012 v 14:12 +:
 28 nov 2012 kl. 15.08 skrev David Jaša:
 
 Karli Sjöberg píše v St 28. 11. 2012 v 13:56 +:
 28 nov 2012 kl. 14.44 skrev Itamar Heim:
 
 On 11/28/2012 08:27 AM, Karli Sjöberg wrote:
 
 28 nov 2012 kl. 13.05 skrev Itamar Heim:
 
 On 11/28/2012 05:47 AM, Karli Sjöberg wrote:
 
 28 nov 2012 kl. 10.15 skrev Itamar Heim:
 
 On 11/28/2012 01:12 AM, Karli Sjöberg wrote:
 
 27 nov 2012 kl. 20.30 skrev Itamar Heim:
 
 On 11/27/2012 11:53 AM, nasir nasir wrote:
 Hi All,
 
 I have been experimenting with Ovirt 3.1 and so far most 
 of the things
 work. Many thanks indeed for this great free software! 
 Now I am facing
 an issue for accessing the remote console in User Portal 
 from windows 7
 client using IE9. I am able to login to the User Portal 
 and access the
 VM using the console button from Linux. But while I try 
 the same from a
 windows 7 machine, it is NOT working. When I click on the 
 console
 button, it doesn't pop any window or show anything. Some 
 of the docs I
 read says that for the first time, I would be greeted 
 with an ActiveX
 warning and can install the same to get the console. But 
 I didnt get
 anything of that kind. So my questions to you all are,
 
 -- Is User Portal and Console supported on Windows 
 platform ?
 -- If supported, is there anything  needed to be 
 installed on the
 Windows machine from which I am trying to access the User 
 Portal ?( I
 did install spice-guest-tools-0.exe on both VM and the 
 Windows machine I
 am trying to access the User Portal)
 -- If not supported, what is the recommended way of 
 accessing VMs from
 windows clients ? I understand that the firefox spice-xpi 
 plugin is only
 for Linux.
 
 Relevant info,
 
 --OS : CentOS 6.3 64 bit
 -- 
 ovirt-engine-setup-plugin-allinone-3.1.0-3.28.el6.noarch.rpm
 (Actually I used the repo from 
 http://www.dreyou.org/ovirt/ , )
 -- Client from which I am trying to access: Windows 7 
 (32bit), IE 9
 
 Any reply would be highly appreciated and I would be more 
 than happy to
 send any further details if needed. I searched a lot for 
 any relevant
 docs for the same but could not find anything.
 
 Thanks and regards,
 Nasir
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal
 
 Too bad there´s still the bug in UserPortal that forgets to 
 pass on the address to which the console should connect, so 
 it won´t work any way...
 
 do you have the bz number?
 
 Sure: https://bugzilla.redhat.com/show_bug.cgi?id=839548
 
 
 this was backported to ovirt engine 3.1 prior to its release?
 http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.1
 
 
 Heh, you´re right, it does work, but only when using 
 CentOS-Fedora/FF. The problem I´m having is with Win7/IE. It 
 does however work to get spice console in the admin portal, 
 strangely enough, but we won´t allow our customers using the 
 admin portal just to get access to their consoles. I would like 
 to have it work with Windows/IE in Userportal as well.
 
 
 the commit is user portal: ..., so i'm kind of surprised.
 are you sure its not another issue?
 
 
 I never said it was that specific issue, David Jaša did. May be a 
 new one, I don´t know, I´m just a poor old sysadmin who can´t 
 give console to his customers:)
 
 Karli, could you set SPICEX_DEBUG_LEVEL environment variable to 0 
 (zero), try to connect, and look at %TEMP%\spicex.log that the 
 connection values are the correct ones?
 
 Absolutely. How do I set that debugging in the windows spice client?
 
 remote-viewer logs are currently quite hard to get, activex log 
 should have enough info to pinpoint the exact error.
 
 OK, I´ll try that. Where is that log located exactly?
 
 as I already stated, at %TEMP%\spicex.log . Please don't forget to set 
 SPICEX_DEBUG_LEVEL=0 environment variable, without it, the log won't 
 be much useful.
 
 Right. So how do I set SPICEX_DEBUG_LEVEL=0?
 
 From top of my head get to Advanced System Settings (7) or Computer 
 Properties (XP), Advanced? tab and there towards the bottom is 
 Environment Variables button. Add new global variable, name is 
 SPICEX_DEBUG_LEVEL, value i 0.
 
 Done. Here´s the log:
 
 1354192134 INFO [31716:31124] spicex_init_logger: started
 1354192134 DEBUG [31716:31124] COSpiceX::put_DynamicMenu: DynamicMenu
 1354192134 INFO 

Re: [Users] REST API: Change boot device / attach CD-ROM

2013-01-03 Thread Michal Skrivanek

On Jan 3, 2013, at 13:05 , Frank Wall fw...@inotronic.de wrote:

 Hi,
 
 I'm using the REST API to change the boot device and attach CD-ROM images.
 At least I try to...  Currently I'm using the following calls to achieve this:
 
 Task: attach cdrom
 Path: https://ovirt-engine.example.com/vms/%%%VM-ID%%%/cdroms
 Method: POST
 Data: cdromfile id='%%%FILE-ID%%%'//cdrom
 
 Task: change boot order
 Path: https://ovirt-engine.example.com/vms/%%%VM-ID%%%
 Method: PUT
 Data: vmosboot dev='%%%BOOT-DEVICE%%%'//os/vm
 
 
 And it seems to work, because I can see the changes to the cdrom...
 
 cdroms
cdrom href=/api/vms/VM-ID/cdroms/---- 
 id=----
vm href=/api/vms/VM-ID id=VM-ID/
file id=FreeBSD-8.3-RELEASE-amd64-disc1.iso/
/cdrom
 /cdroms
 
 ...and the boot device is also changed...
 
[...]
os type=unassigned
boot dev=cdrom/
/os
[...]
 
 ...but the VM won't boot off the CD-ROM device, instead it just
 boots from the first harddisk. So what am I doing wrong?
 
 Besides that I can see these settings on the oVirt Admin Portal, too.
 The first boot device is CD-ROM, the CD is attached and the Image is
 FreeBSD-8.3-RELEASE-amd64-disc1.iso. Looks good to me. But it still
 won't boot from CD-ROM.
 
 The only way I am able to boot from CD-ROM is when using the 
 Run once function on the Admin Portal and configure the CD-ROM
 device/image there (temporarely overwriting my config).
 
 It will NOT work if I configure the CD-ROM device through the REST
 API or the Admin Portal. Just Run Once will do the right thing.
Hi,
regarding the Admin portal way - did you configure the order there or just look 
at it but it was originally configured via REST?

Thanks,
michal
 
 Sounds strange, don't you think? So the question is: Is it a known
 bug or did I broke something with the above API calls?
 
 # rpm -qa '*ovirt*'
 ovirt-engine-sdk-3.1.0.4-1.fc17.noarch
 ovirt-engine-config-3.1.0-2.fc17.noarch
 ovirt-engine-restapi-3.1.0-2.fc17.noarch
 ovirt-engine-3.1.0-2.fc17.noarch
 ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
 ovirt-engine-tools-common-3.1.0-2.fc17.noarch
 ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
 ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
 ovirt-release-fedora-4-2.noarch
 ovirt-engine-userportal-3.1.0-2.fc17.noarch
 ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
 ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
 ovirt-engine-backend-3.1.0-2.fc17.noarch
 ovirt-engine-setup-3.1.0-2.fc17.noarch
 ovirt-engine-notification-service-3.1.0-2.fc17.noarch
 ovirt-engine-genericapi-3.1.0-2.fc17.noarch
 
 
 Thanks
 - 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


Re: [Users] KVM version not showing in Ovirt Manager

2013-01-23 Thread Michal Skrivanek
Hi,
so what is the OS on each server and what package is actually installed there?
ie. the rpm name

Thanks,
michal

On Jan 22, 2013, at 18:55 , Tom Brown t...@ng23.net wrote:

 
 
 
 I think that it's a typo and the right command is: vdsClient .
 The second command doesn't have the typo :).
 
 
 Working node
 
 node002 ~]# vdsClient -s 0 getVdsCaps  vdsClient -s 0 getVdsStats  
 /tmp/node002.log
   HBAInventory = {'iSCSI': [{'InitiatorName': 
 'iqn.1994-05.com.redhat:31b77320b5e6'}], 'FC': []}
   ISCSIInitiatorName = iqn.1994-05.com.redhat:31b77320b5e6
   bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
 '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 
 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': 
 '00:00:00:00:00:00'}}
   bridges = {'ovirtmgmt': {'addr': '10.192.42.196', 'cfg': {'DELAY': '0', 
 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 
 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 
 'off', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
   clusterLevels = ['3.0', '3.1', '3.2']
   cpuCores = 4
   cpuFlags = 
 fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
   cpuModel = Intel(R) Xeon(R) CPU   W3520  @ 2.67GHz
   cpuSockets = 1
   cpuSpeed = 2666.908
   emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0', 'rhel6.1.0', 
 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
   guestOverhead = 65
   hooks = {}
   kvmEnabled = true
   lastClient = 10.192.42.207
   lastClientIface = ovirtmgmt
   management_ip = 
   memSize = 7853
   netConfigDirty = False
   networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': 
 '10.192.42.196', 'cfg': {'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 
 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': 
 '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway': 
 '10.192.42.1', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
   nics = {'eth0': {'addr': '', 'cfg': {'DEVICE': 'eth0', 'BRIDGE': 
 'ovirtmgmt', 'BOOTPROTO': 'dhcp', 'TYPE': 'Ethernet', 'ONBOOT': 'yes'}, 
 'mtu': '1500', 'netmask': '', 'hwaddr': 'd4:85:64:09:34:08', 'speed': 1000}}
   operatingSystem = {'release': '3.el6.centos.9', 'version': '6', 'name': 
 'RHEL'}
   packages2 = {'kernel': {'release': '279.14.1.el6.x86_64', 'buildtime': 
 1352245389.0, 'version': '2.6.32'}, 'spice-server': {'release': '10.el6', 
 'buildtime': 1340375889, 'version': '0.10.1'}, 'vdsm': {'release': 
 '0.77.20.el6', 'buildtime': 1351246440, 'version': '4.10.1'}, 'qemu-kvm': 
 {'release': '2.295.el6_3.8', 'buildtime': 1354636067, 'version': '0.12.1.2'}, 
 'libvirt': {'release': '21.el6_3.6', 'buildtime': 1353577785, 'version': 
 '0.9.10'}, 'qemu-img': {'release': '2.295.el6_3.8', 'buildtime': 1354636067, 
 'version': '0.12.1.2'}}
   reservedMem = 321
   software_revision = 0.77
   software_version = 4.10
   supportedENGINEs = ['3.0', '3.1']
   supportedProtocols = ['2.2', '2.3']
   uuid = 55414E03-C241-11DF-BBDA-64093408D485_d4:85:64:09:34:08
   version_name = Snow Man
   vlans = {}
   vmTypes = ['kvm']
 
 Non Working node
 
 node003 ~]# vdsClient -s 0 getVdsCaps  vdsClient -s 0 getVdsStats
   HBAInventory = {'iSCSI': [{'InitiatorName': 
 'iqn.1994-05.com.redhat:9a7b944e2160'}], 'FC': []}
   ISCSIInitiatorName = iqn.1994-05.com.redhat:9a7b944e2160
   bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
 '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 
 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': 
 '00:00:00:00:00:00'}, 'bond1': {'addr': '', 'cfg': {}, 'mtu': '1500', 
 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}}
   bridges = {'ovirtmgmt': {'addr': '10.192.42.144', 'cfg': {'DELAY': '0', 
 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 
 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 
 'off', 'ports': ['vnet1', 'eth0', 'vnet0']}}
   clusterLevels = ['3.0', '3.1', '3.2']
   cpuCores = 4
   cpuFlags = 
 fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
   cpuModel = Intel(R) Xeon(R) CPU   

Re: [Users] KVM version not showing in Ovirt Manager

2013-01-23 Thread Michal Skrivanek

On Jan 23, 2013, at 16:23 , Tom Brown t...@ng23.net wrote:

 
 
 
 Tom,
 you should have qemu-kvm on Fedora, CentOS and such
 qemu-kvm-rhev on RHEL hosts are supposed to work with downstream RHEV 
 product. How did you get them there?
 You can modify that if you want in vdsm/caps.py in _getKeyPackages() function
 
 http://www.dreyou.org/ovirt/vdsm/Packages/

so…I guess - either do not build it with -rhev(regular upstream/fedora packages 
are without the suffix) or build vdsm with the corresponding modification in 
caps.py

Thanks,
michal
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] KVM version not showing in Ovirt Manager

2013-01-23 Thread Michal Skrivanek

On Jan 23, 2013, at 17:11 , Tom Brown t...@ng23.net wrote:

 
 so…I guess - either do not build it with -rhev(regular upstream/fedora 
 packages are without the suffix) or build vdsm with the corresponding 
 modification in caps.py
 
 
 
 yes - i am not sure why those packages are in dreyou's repo, they weren't 
 there a couple of weeks ago when the last HV was built as that one just 
 pulled the stock CentOS ones.
 
 I may just leave it and wait until 3.2 comes along with official RHEL/CentOS 
 packages
yes
or - you can really just do a modification in that file, there's no need for 
any rebuild of vdsm on that one particular box….it will break on upgrade, but 
if it would solve something for you now - why not.

 
 thanks
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Connecting with vnc to a VM defined as spice

2013-02-04 Thread Michal Skrivanek


On 4 Feb 2013, at 10:52, Gianluca Cecchi gianluca.cec...@gmail.com wrote:

 On Mon, Feb 4, 2013 at 9:55 AM, Michal Skrivanek wrote:
 
 
 On 3 Feb 2013, at 18:53, Gianluca Cecchi wrote:
 
 Hello,
 I have a Windows XP VM  in 3.2 beta defined as spice.
 
 If I want to connect from a client that only has vnc (a Mac for
 example) how can I do from User Portal?
 Even if the VM is powered off then I power it on, on the right I see
 only spice as an option...
 Did you change it in Edit VM dialog? It needs to be switched to vnc there, 
 under Console tab.
 I wonder if it works anyway, I noticed yesterday on live image 3.2 that it 
 doesn't work - please let us know
 
 When you say edit, you say with vm powered off? Or is it a parameter I
 can change dynamically?
 In the first case, this means a running vm you can only connect to it
 one mode and power off if you want to change?
 
 In the mean time I powered off and changed the configuration and set
 to vnc but it seems it didn't work.
 I get the message regarding ip:port and password in web admin portal,
That's correct for now. In 3.3 this will work better:)

 but when I try to connect I don't even get the prompt for password,
 but an error.
That's not correct. What error did you get? Did you use the password/ticket 
displayed in that popup during the period of 120s?

And in User Portal - was the type correct? Did it show the same popup as in 
webadmin?

Thanks,
michal

 
 I tried with novnc and tigervnc from a fedora 17 laptop.
 
 Let me know how to test further in case.
 
 Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] my VMs starts with just 15MB of RAM

2013-02-11 Thread Michal Skrivanek

On Feb 10, 2013, at 20:18 , Rocky rockyba...@gmail.com wrote:

 Hi,
 
 Today after I reinstalled my hypvervisors I just got 15MB of RAM inside
 my guests. I hade this problem on one of my hypervisors before but if I
 started the VMs on the other hypervisors and then migrate the VM to the
 faulty hypervisor all was ok. Just because of that behavior I then
 started to reinstall my hypervisors today.
 
 I am using Centos 6.3 with Dreyous 3.1 repo.
 
 After the install i enabled and installed the Intel(Fake) CPU-package on
 all of the hypervisors.
VMs are not supposed to work with fake virtualization.
Fake VMs are started with 20MB total memory.

What are you trying to achieve? Why did you install the fake virt package?

 
 Now when Im trying to start a VM I only got 15MB of RAM inside the WM,
 almost impossible to boot of course.
 
 One of the machines is definied to use 2048MB and has 2048MB as
 guaranteed memory.
 
 I have attached the vdsm.log from the hypervisor that the VM try to
 start on.
 
 Regards //Ricky
 
 vdsm_15MB.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: [Users] my VMs starts with just 15MB of RAM

2013-02-11 Thread Michal Skrivanek

On Feb 11, 2013, at 11:09 , Ricky rockyba...@gmail.com wrote:

 Hi Michael,
 
 I think I have missunderstod something deeply.
 
 After my reinstall of the hypervisors I got The guest virtual machine
 cannot be started: internal error guest CPU is not compatible with
 host CPU when trying to run a VM. So I found the Fake package and
 after I have restarted vdsmd on the hypervisor Webadmin report
 Intel(Fake) CPU and the VM started, but just with 15-20MB RAM.
Hi,
well, fake package is for something totally different. It won't allow you to 
run anything, it's there for testing purposes only, you won't be able to run a 
VM.
Please try to uninstall it (at worst reinstall the node:-)

Then you should see a proper reporting again. Are you sure your Cluster is 
having the compatible CPU type? Please attach the new logs once the hypervisor 
is without the fake package…

Thanks,
michal

 
 So what I want to do is to start my VMs on the same hardware they
 always have been on. :-)
 
 My hypervisors are equipped AMD Opteron G3.
 
 mvh //Ricky
 
 
 2013/2/11 Michal Skrivanek michal.skriva...@redhat.com:
 
 On Feb 10, 2013, at 20:18 , Rocky rockyba...@gmail.com wrote:
 
 Hi,
 
 Today after I reinstalled my hypvervisors I just got 15MB of RAM inside
 my guests. I hade this problem on one of my hypervisors before but if I
 started the VMs on the other hypervisors and then migrate the VM to the
 faulty hypervisor all was ok. Just because of that behavior I then
 started to reinstall my hypervisors today.
 
 I am using Centos 6.3 with Dreyous 3.1 repo.
 
 After the install i enabled and installed the Intel(Fake) CPU-package on
 all of the hypervisors.
 VMs are not supposed to work with fake virtualization.
 Fake VMs are started with 20MB total memory.
 
 What are you trying to achieve? Why did you install the fake virt package?
 
 
 Now when Im trying to start a VM I only got 15MB of RAM inside the WM,
 almost impossible to boot of course.
 
 One of the machines is definied to use 2048MB and has 2048MB as
 guaranteed memory.
 
 I have attached the vdsm.log from the hypervisor that the VM try to
 start on.
 
 Regards //Ricky
 
 vdsm_15MB.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: [Users] 3.2 final and status of spice console in ie

2013-02-20 Thread Michal Skrivanek
Hi,
did you follow 
http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal?

Thanks,
michal

On Feb 20, 2013, at 00:43 , Gianluca Cecchi gianluca.cec...@gmail.com wrote:

 Hello,
 what is the status of support for spice console with ie9 (32bit on
 win7 32bit in my case) and 3.2 final?
 
 I have a windows xp vm but when I try to login to console from
 win7+ie9 I don't get any activex request to install
 
 ie exact version:
 https://docs.google.com/file/d/0BwoPbcrMv8mvVHZhYnczY3lKaTA/edit?usp=sharing
 
 If after a few minutes I click again on console button I get
 
 Error: A Request to the Server failed with the following Status Code: 400
 
 Tried with both admin and user portal.
 
 Thanks,
 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] 3.2 final and status of spice console in ie

2013-02-20 Thread Michal Skrivanek

On Feb 20, 2013, at 11:37 , Gianluca Cecchi gianluca.cec...@gmail.com wrote:

 On Wed, Feb 20, 2013 at 10:12 AM, Michal Skrivanek  wrote:
 Hi,
 did you follow 
 http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal?
 
 Thanks,
 michal
 
 as soon as http://wiki.ovirt.org web site returns available I'm going to 
 check.
 Right now it seems remaining in waiting state... (it's about half an hour…)
heh, it worked at 10am...
anyway, go ahead with cached copy:-)
http://webcache.googleusercontent.com/search?q=cache:hbhOyY18qscJ:wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portalhl=enstrip=1

 
 Gianluca

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VNC web console

2013-02-21 Thread Michal Skrivanek
On Feb 18, 2013, at 10:10 , Jaco ubuntumu...@gmail.com wrote:

 I've seen this in the list archives, but not sure how much traction it's 
 gained in the intervening period (or ).
Hi,
still pending, but we're getting there:-)

 
 I've fiddled with, and had some pretty decent experiences with Guacamole: 
 http://guac-dev.org/
 An HTML(5?)-based VNC client for a browser - no client-side components needed 
 :)
how would you compare it to novnc?
RDP support might be handy…on the other hand at first sight looking at 
http://sourceforge.net/projects/guacamole/forums/forum/1110834/topic/5236646 
and http://cloudiad.com/analysis/doc1
it looks noVNC would be easier to integrate with. Especially when qemu just 
recently got direct support for websockets. Then we really do not need anything 
at the engine side at all.

Thanks,
michal
 
 Could fit in nicely with the project.
 
 Just putting it out there
 
 - J
 ___
 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] 3.2 final and status of spice console in ie

2013-02-21 Thread Michal Skrivanek


On 20 Feb 2013, at 23:52, Gianluca Cecchi gianluca.cec...@gmail.com wrote:

 On Wed, Feb 20, 2013 at 10:12 AM, Michal Skrivanek wrote:
 Hi,
 did you follow 
 http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal?
 
 Thanks,
 michal
 
 Ok, I was able to install and run the spice plugin on my system with
 WIndows 7 (64bit) and Internet Explorer 9
 It seems from first tests that it works quite well (tested only with
 Windows XP VM right now)
 
 I took the time to change two small things on the wiki page:
Thanks!

 
 - WEB_INF -- WEB-INF
 - Changed the note regarding spice servlet this way:
 NOTE the file web.xml is part of ovirt-engine-backend rpm;  in oVirt
 3.2 the servlet definition for SpiceX.cab is already in place
 
 Also, inside the section regarding portals I noticed that the file
 /usr/share/ovirt-engine/engine.ear/root.war/index.html
 
 is different from what written into the wiki... I didn't change it
 yet, in case you want to retain some sort of 3.1 compatibility...
 In case let me know and I'll update that too.
I'd go ahead and change it, no need to keep obsolete information

 
 Some notes regarding installation
 
 - added link to spice page in portals main page
 - click on it
 - click on button install spice
 - accept activeX install
 
 apparently at this point nothing happened.. I waited a couple of
 minutes.. no virtviewer entry in allprograms section
 Then I tried to open a spice console and again I got the message
 regarding the plugin, accept and then got the install window
 So now I can click again on spice console button of the vm and spice
 console fires up...
 
 I'm going to try with another windows 7 (32bit) system and document better...
 
 Note: I also got the   Error: A Request to the Server failed with the
 following Status Code: 400 window; probably due to the first spice
 console access that implied true installation of plugin...
Yeah, the download may take quite some time and there's no feedback. 
Well,I hope people will eventualy give up on IE;) The xpi plugin, MIME file, 
and HTML5 client would replace ActiveX in the future well enough

Thanks,
michal

 
 Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VNC web console

2013-02-22 Thread Michal Skrivanek

On Feb 21, 2013, at 21:11 , Jaco ubuntumu...@gmail.com wrote:

 
 http://cloudiad.com/analysis/doc1 it looks noVNC would be easier to 
 integrate with.
 Thanks for the link - did not know that.
 
 I think noVNC has a bit more traction in the industry (with good reason), 
 since is does seem to be a fairly simple  straight-forward client, whereas 
 Guagamole is actually a more generic/general VNC ( RDP) proxy.
 In theory Guacamole may be extendible to the SPICE protocol, enabling a 
 single interface for accessing instance consoles.
well, there is HTML5 SPICE client we have in mind for some time as well….it's a 
different project, but since the integration is as easy as (well, relatively:) 
adding the right web page with client I think it's still a better choice for 
initial implementation - http://www.spice-space.org/page/Html5
RDP sounds attractive though, also since it's pushing some of the processing to 
the server(or engine) side it may be more suitable for something like tablets  
where I don't expect high performance on the client side, where 
novnc/html5spice is pushing the processing to exclusively)

hopefully we should see something in 3.3 already…any help welcomed:-) it can be 
already tested separately, even though the usage would be cumbersome, still, 
could give us more data what is worth integrating...

Thanks,
michal
 
 
 
 - J
 ___
 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] VNC web console

2013-02-22 Thread Michal Skrivanek

On Feb 22, 2013, at 14:17 , noc n...@nieuwland.nl wrote:

 On 22-2-2013 12:04, Michal Skrivanek wrote:
 well, there is HTML5 SPICE client we have in mind for some time as 
 well….it's a different project, but since the integration is as easy as 
 (well, relatively:) adding the right web page with client I think it's still 
 a better choice for initial implementation - 
 http://www.spice-space.org/page/Html5
 RDP sounds attractive though, also since it's pushing some of the processing 
 to the server(or engine) side it may be more suitable for something like 
 tablets  where I don't expect high performance on the client side, where 
 novnc/html5spice is pushing the processing to exclusively)
 
 hopefully we should see something in 3.3 already…any help welcomed:-) it can 
 be already tested separately, even though the usage would be cumbersome, 
 still, could give us more data what is worth integrating...
 I just tried but don't get any image. What I did was install git on my host,  
 checked out  the proxy, started it and used 
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Set_Ticket_using_vdsClient
  in a second terminal to set a password and then used my browser to connect 
 to the proxy with the password. The proxy sees my connection but I get an 
 error and no console
 
 There is a VM running with spice on 5900.
 
 [root@host02 ~]# ps -f 22058 | grep spice
 qemu 22058 1  1 13:55 ?Sl 0:04 /usr/bin/qemu-kvm -name 
 firewall01 -S -M pc-0.14 -cpu Conroe -enable-kvm -m 512 -smp 
 1,sockets=1,cores=1,threads=1 -uuid 9e73693c-3759-4ab0-ac09-8263f38ab2bf 
 -smbios
 .
 virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
  -spice 
 port=5900,tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-
 
 # vdsClient -s 0 setVmTicket 9e73693c-3759-4ab0-ac09-8263f38ab2bf password 
 1000
code = 0
message = Done
 
  6: 192.168.216.236: Plain non-SSL (ws://) WebSocket connection
  6: 192.168.216.236: Version hybi-13, base64: 'False'
  6: connecting to: localhost:5900
 
 What is it that I'm doing wrong?
dunno
maybe…something's wrong with the proxy?
the client is trying non-SSL but spice-server/qemu is configured to use SSL…

 
 Joop
 
 --
 irc: jvandewege
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Pools and pre-started VM in 3.2

2013-02-28 Thread Michal Skrivanek

On Feb 27, 2013, at 23:56 , Jiri Belka jbe...@redhat.com wrote:

 On Tue, 26 Feb 2013 16:10:00 +0100
 Gianluca Cecchi gianluca.cec...@gmail.com wrote:
 
 Hello,
 
 f18 node + f18 engine, both in 3.2 final.
 If I create a pool, the prestarted VM field is grayed out.
 See:
 https://docs.google.com/file/d/0BwoPbcrMv8mvN3d2a0drb0szYk0/edit?usp=sharing
 
 After creation of this 5-VM pool,  I can go and edit it and set 2 in
 prestarted field, and after several seconds 2 VM are correctly started
 by engine.
 
 Do I have to configure any engine parameter to be able to set
 prestarted VM at pool creation? Or is this the expected behavior to
 set only on edit?
 
 Works as design, when creating a pool you still do not know/have
 all VMs, so you cannot guarantee they would be prestarted.
 
 So when the pool is really created, then you edit and defined number
 of prestarted VMs.
 
 Am I right?
yes
that's why we've added that help tooltip….but it's still a bit cumbersome…but 
IIRC solving this was a bit complicated because of failure handling

Thanks,
michal
 jbelka
 ___
 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] Userportal SPICE Woes

2013-03-08 Thread Michal Skrivanek

On 8 Mar 2013, at 15:51, Karli Sjöberg wrote:

 tor 2013-03-07 klockan 13:52 +0100 skrev David Jaša:
 
 Hi,
 
 Karli Sjöberg píše v Čt 07. 03. 2013 v 10:01 +:
  Hi, it me again,
  
  the last time this was discussed, the problem seemed to be centred
  around Win/IE, but since patching to:
  # rpm -qa | grep ovirt
  ovirt-engine-config-3.1.0-4.fc17.noarch
  ovirt-engine-dbscripts-3.1.0-4.fc17.noarch
  ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
  ovirt-engine-restapi-3.1.0-4.fc17.noarch
  ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
  ovirt-engine-genericapi-3.1.0-4.fc17.noarch
  ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
  ovirt-engine-webadmin-portal-3.1.0-4.fc17.noarch
  ovirt-engine-setup-3.1.0-4.fc17.noarch
  ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
  ovirt-engine-backend-3.1.0-4.fc17.noarch
  ovirt-engine-tools-common-3.1.0-4.fc17.noarch
  ovirt-engine-3.1.0-4.fc17.noarch
  ovirt-engine-userportal-3.1.0-4.fc17.noarch
  ovirt-engine-notification-service-3.1.0-4.fc17.noarch
  
  No one is able to connect to a spice console though the Userportal at
  all. 
 
 Looks like no one is getting host subject - again. Tomáš?
 
 Come on guys, please tell me if there´s anything we can do to troubleshoot 
 this issue, to help solve a real show-stopper for us!
Would you be able to try it in 3.2?
It was known to be broken somewhere around 3.1 release….

Thanks,
michal

 
 In using oVirt, our organisation is so close to being able to ship out 
 thin-client kiosks instead of buying expensive new HW on a yearly basis, and 
 have our users access their desktops from practically anywhere, even from 
 home if they´d wish. The rest of the entire system works flawlessly, just to 
 fall flat on it´s face right on the finish line. I think that is so sad and 
 silly, because I really love the rest of this product! We´ve set up 
 oVirt-3.1, made a POC template, defined a pool and have been able to have 
 them prestarted as well. But if our users aren´t able to access their console 
 in a seamless, easy way, then what good is it? And knowing that the console 
 works just fine from the adminportal in several different client systems 
 (Fedora, CentOS, Win7) makes me hope that it´s just this small, yet important 
 piece that needs to be corrected.
 
 Anxiously awaiting your response
 Karli Sjöberg
 
 
 
 David
 
  I´ve tried this from my workstation, running Fedora 17:
  
  $ SPICEC_DEBUG_LEVEL=0 firefox
  (plugin-container:18293): SpiceXPI-CRITICAL **: controller connect:
  Filen eller katalogen finns inte
  (plugin-container:18293): SpiceXPI-CRITICAL **: controller connect:
  Filen eller katalogen finns inte
  (plugin-container:18293): SpiceXPI-CRITICAL **: could not get browser
  window, when trying to call OnDisconnected
  
  
  
  Here´s a collegue of mine, running Win7/IE9:
  
  1362648766 INFO [7196:5208] spicex_init_logger: started
  1362648766 DEBUG [7196:5208] COSpiceX::put_DynamicMenu: DynamicMenu
  1362648766 INFO [7196:5208] COSpiceX::put_FullScreen: New FullScreen
  request newVal=0x
  1362648766 DEBUG [7196:5208] COSpiceX::Connect: Running spicec (C:
  \Users\jope\AppData\Local\virt-viewer\bin\remote-viewer.exe
  --spice-controller)
  1362648766 INFO [7196:5208] COSpiceX::Connect: spicec pid 1640
  1362648766 DEBUG [7196:5208] COSpiceX::Connect: connecting to spice
  client's pipe
  1362648767 DEBUG [7196:5208] COSpiceX::send_init: sending init
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 1 :
  str 130.238.96.135 (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 2
  value 5906
  1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 3
  value 5907
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending password
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 11 :
  str IT-Avdelningen-1:%d - Press SHIFT+F12 to Release Cursor (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 10
  value 1
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 14 :
  str release-cursor=shift+f12,toggle-fullscreen=shift+f11 (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 5 :
  str main,inputs,scursor,splayback,srecord,sdisplay (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 7 :
  str DEFAULT (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 8 :
  str C:\Users\jope\AppData\Local\Temp\truststore.pem (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_msg: sending msg id 16
  1362648767 DEBUG [7196:5208] COSpiceX::send_msg: sending msg id 17
  1362648767 INFO [7196:5208] COSpiceX::ExecuteUsbCtrl: USB sharing is
  not requested
  1362648771 INFO [7196:7480] COSpiceX::event_thread: exit_code=0
  

Re: [Users] forced shutdown with client agent

2013-04-20 Thread Michal Skrivanek


On 20 Apr 2013, at 22:42, Itamar Heim ih...@redhat.com wrote:

 On 03/29/2013 04:58 AM, Thomas Scofield wrote:
 I have run into a scenario after installing the client agent.  If a VM
 is shutdown, the client agent calls the shutdown command with a 1 minute
 timeout.
 
 Dummy-2::INFO::2013-03-28
 14:05:21,892::vdsAgentLogic::138::root::Shutting down (timeout = 30,
 message = 'System Administrator has initiated shutdown of this Virtual
 Machine. Virtual Machine is shutting down.'
 
 Since the shutdown command is called with time parameter the VM sets the
 /etc/nologin file. When the VM is forced down the /etc/nologin file is
 not cleared and when it comes back up only root can login until the
 /etc/nologin file is cleared.
 
 hmmm, Vinzenz - should guest agent clear that on guest startup, if guest 
 agent set this at shutdown?
It's not guest agent, shutdown does it. It behaves the same on real hw

 
 
 Is their some some reason the shutdown time is set to 30 seconds
 (rounded up to 1 minute in the code)?  Are there any know issues with
 setting this to 0?
 
 Vinzenz - if we are rounding up - is this a bug?
possibly yes


 
 
 Is this the right way to change it to 0?
 psql engine postgres -c update vdc_options set option_value = '0' where
 option_name = 'VmGracefulShutdownTimeout';
notmally the grace period is there for other users to react befor shutdown 
starts. I wonder if it's that much relevant here.., if we assume single user 
most of the time 0 (i.e. now) should be ok

 
 
 ___
 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] forced shutdown with client agent

2013-04-23 Thread Michal Skrivanek

On Apr 22, 2013, at 23:19 , Itamar Heim ih...@redhat.com wrote:

 On 04/22/2013 01:59 PM, Michal Skrivanek wrote:
 
 - Original Message -
 From: Michal Skrivanekmichal.skriva...@redhat.com
 To:users@ovirt.org, Thomas Scofieldtscofi...@gmail.com, Vinzenz 
 Feenstravfeen...@redhat.com, Barak
 Azulaybazu...@redhat.com, Gal Hammergham...@redhat.com
 Sent: Monday, April 22, 2013 11:48:18 AM
 Subject: Re: [Users] forced shutdown with client agent
 
 
 On Apr 20, 2013, at 22:42 , Itamar Heimih...@redhat.com  wrote:
 
 On 03/29/2013 04:58 AM, Thomas Scofield wrote:
 I have run into a scenario after installing the client agent.  If
 a VM
 is shutdown, the client agent calls the shutdown command with a 1
 minute
 timeout.
 
 Dummy-2::INFO::2013-03-28
 14:05:21,892::vdsAgentLogic::138::root::Shutting down (timeout =
 30,
 message = 'System Administrator has initiated shutdown of this
 Virtual
 Machine. Virtual Machine is shutting down.'
 
 Since the shutdown command is called with time parameter the VM
 sets the
 /etc/nologin file. When the VM is forced down the /etc/nologin
 file is
 not cleared and when it comes back up only root can login until
 the
 /etc/nologin file is cleared.
If you don't want it setting user_shutdown_timeout to 0 should solve this.

 
 hmmm, Vinzenz - should guest agent clear that on guest startup, if
 guest agent set this at shutdown?
 
 
 Is their some some reason the shutdown time is set to 30 seconds
 (rounded up to 1 minute in the code)?  
it is rounded up because unix shutdown works with minutes only. So it's the 
seconds from user_shutdown_timeout is rounded up to minutes.
The Windows one should really be 30s.

 Are there any know issues
 with
 setting this to 0?
 I wouldn't mind changing this to 0 by default if there are no
 objections.
 Barak, Gal, what do you think? Do you see any strong reason for
 keeping a grace period?
 
 The idea was to allow a logged in user to orderly close his work right?
 For that I'm not sure that even 30 seconds is enough.
 For that typically sysadmins use 5 or 10 minutes. 30s is worthless, no one 
 would be able to react that fast…so to me this is the same as initiating 
 shutdown right away. It's graceful anyway and all common apps would save the 
 workspace on SIGTERM anyway. Well, does it even do anything on Windows?
 That's why I'd vote for 0. And keep is configurable in case you want to use 
 it, sure.
 
 
 do we allow users to cancel the shutdown?
nope.
It can be stopped inside the guest, well, if you manage to do that in that 
short time.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Problem with time zone of a desktop VM

2013-05-09 Thread Michal Skrivanek

On May 8, 2013, at 09:12 , Omer Frenkel ofren...@redhat.com wrote:

 
 
 - Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users users@ovirt.org
 Sent: Sunday, May 5, 2013 9:54:25 PM
 Subject: Re: [Users] Problem with time zone of a desktop VM
 
 On Sun, May 5, 2013 at 10:34 AM, Omer Frenkel wrote:
 
 
 you can change the default - 'DefaultTimeZone'
 not sure if its in engine-config
 
 
 Thanks but
 # engine-config -a | grep -i zone
 #
 
 # engine-config -l | grep -i zone
 #
 
 engine-config -g DefaultTimeZone
 Error fetching DefaultTimeZone value: no such entry. Please verify key
 name and property file support.
 
 Leaving apart for a momento the default, trying to solve my particular
 vm timezone problem
 
 engine=# select vm_name,time_zone from vm_static;
 vm_name |   time_zone
 -+
 Blank   |
 infra   | Africa/Algiers
 winxp   |
 test| Africa/Algiers
 (4 rows)
 
 infra and test are ok (CET actually in the gui) so
 
 engine=# update vm_static set time_zone='Africa/Algiers' where
 vm_name='winxp';
 UPDATE 1
 engine=# commit;
 COMMIT
 engine=# select vm_name,time_zone from vm_static;
 vm_name |   time_zone
 -+
 Blank   |
 infra   | Africa/Algiers
 winxp   | Africa/Algiers
 test| Africa/Algiers
 (4 rows)
 
 
 but also after engine service restart, I continue to see gmt-12 in
 edit vm in gui
 
 tried also some commands in ovirt-shell but found no way...
 
 Any help would be appreciated... in charge I'm going to write
 something inside the wiki... if not already there ;-)
 
 well i dont really know, just a long shot,
 try to clear utc_diff in  vm_dynamic:
 update vm_dynamic set utc_diff = null where vm_guid=(select vm_guid from 
 vm_static where vm_name='winxp');
Martin's actively working on TZ defaults. There was an issue where this default 
was not actually applied(I don't think it's discussed in the bug) so most 
likely that's why your db changes are not reflected
https://bugzilla.redhat.com/show_bug.cgi?id=873795

Thanks,
michal

 
 
 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] Problem with time zone of a desktop VM

2013-05-09 Thread Michal Skrivanek

On May 9, 2013, at 17:10 , Gianluca Cecchi gianluca.cec...@gmail.com wrote:

 On Thu, May 9, 2013 at 4:17 PM, Roy Golan wrote:
 
 
 well i dont really know, just a long shot,
 try to clear utc_diff in  vm_dynamic:
 update vm_dynamic set utc_diff = null where vm_guid=(select vm_guid from
 vm_static where vm_name='winxp');
 
 Martin's actively working on TZ defaults. There was an issue where this
 default was not actually applied(I don't think it's discussed in the bug) so
 most likely that's why your db changes are not reflected
 https://bugzilla.redhat.com/show_bug.cgi?id=873795
 
 the patch and some discussion http://gerrit.ovirt.org/#/c/14248/
 
 For the defaults considerations:
 Unfortunately the bug is not visible to me...
 regarding the patch: is it included in 3.2.2? Will it be included in 3.3?
will be in 3.3, yes
it's not finished yet, but it's not complicated and should be in master soon

 
 For my particular VM
 
 engine=# select a.vm_name,b.utc_diff from vm_static a, vm_dynamic b
 where a.vm_guid=b.vm_guid;
 vm_name | utc_diff
 -+--
 winxp   |50394
 infra   |   -1
 test|
 (3 rows)
 
 engine=# update vm_dynamic set utc_diff = null where vm_guid=(select
 vm_guid from vm_static where vm_name='winxp');
 UPDATE 1
 
 engine=# select a.vm_name,b.utc_diff from vm_static a, vm_dynamic b
 where a.vm_guid=b.vm_guid;
 vm_name | utc_diff
 -+--
 winxp   |
 infra   |   -1
 test|
 (3 rows)
 
 engine=# commit;
 COMMIT
 
 engine-# \q
 
 restart of engine and now on boot my vm got UTC time (here in Italy
 16:30 and VM got 14:30), so it seems some effect was put in place.
 
 After that I noticed that for this VM it was set also internet time in
 sync with time.windows.com so I unset it and ran another shutdown and
 power on, but this seems did'nt influence.
 
 Then I shutdown and set in db utc_diff to -1 (like infra VM that is
 set in web gui as GMT+1) restart engine and power on but it keeps two
 hours behind
 
 Then I manually set the time to 16:40 in windows and shutdown and
 power on and the time was retained. Thanks.
 
 Nevertheless  in the GUI I continue to have the VM configured in Edit
 -- Initial Run with GMT-12 and every new VM by default gets that if I
 don't manually change it during creation.
yes, that's the bug, it doesn't honor the configuration default set in 
vdc_options. That will be addressed

Thanks,
michal
 Gianluca

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Guest Agent

2013-05-20 Thread Michal Skrivanek

On May 19, 2013, at 11:07 , Joop jvdw...@xs4all.nl wrote:

 supo...@logicworks.pt wrote:
 For Linux (Ubuntu, Fedora, RH) and Windows (7,8,2008,2012)
 
 The dreyou repo has a guest agent. Its called rhevm-guest-agent and you start 
 it with service ovirt-guest-agent ;-)
For some time already Fedora 17+ has an ovirt-guest-agent package

For Windows you would have to build it, it's mostly python, so not much 
dependencies required.

Thanks,
michal
 
 Joop
 
 ___
 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] install ovirt-guest-agent for windows error

2013-06-14 Thread Michal Skrivanek

On Jun 14, 2013, at 04:56 , Joy joy...@foxmail.com wrote:

 I follow the steps to install 
 https://github.com/oVirt/ovirt-guest-agent/blob/master/ovirt-guest-agent/README-windows.txt
  ovirt-guest-agent, but the following error:
 traceback (more recent call last):
 file boot_service.py, line 158 , in module
 file win32serviceutil.pyc , line 170 , in InstallService
 pywintypes.error:1072,'CreateService','???'
permissions?
Vinzenz?

 
 Will need to how to solve .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: [Users] suspend state

2013-06-26 Thread Michal Skrivanek

On Jun 26, 2013, at 12:09 , Nathanaël Blanchet blanc...@abes.fr wrote:

 Hello,
 
 Each time I suspend any vm on ovirt 3.2, it's long to suspend (2 min) and 
 very long to resume (about 5 min).Is this a regular behaviour?
Hi,
on latest master?
Are you using our new fancy RAM snapshot functionality (there's a checkbox)?

Thanks,
michal

 -- 
 Nathanaël Blanchet
 
 Supervision réseau
 Pôle exploitation et maintenance
 Département des systèmes d'information
 227 avenue Professeur-Jean-Louis-Viala
 34193 MONTPELLIER CEDEX 5 
 Tél. 33 (0)4 67 54 84 55
 Fax  33 (0)4 67 54 84 14
 
 blanc...@abes.fr 
 ___
 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] suspend state

2013-06-26 Thread Michal Skrivanek

On Jun 26, 2013, at 13:46 , Nathanaël Blanchet blanc...@abes.fr wrote:

 
 Le 26/06/2013 12:18, Michal Skrivanek a écrit :
 On Jun 26, 2013, at 12:09 , Nathanaël Blanchet blanc...@abes.fr wrote:
 
 Hello,
 
 Each time I suspend any vm on ovirt 3.2, it's long to suspend (2 min) and 
 very long to resume (about 5 min).Is this a regular behaviour?
 Hi,
 on latest master?
 Are you using our new fancy RAM snapshot functionality (there's a checkbox)?
 
 Thanks,
 michal
 it is ovirt 3.2.2 el6, where can I find this checkbox?
only in master or (future) 3.3:-)  sorry, I meant for snapshots, not 
suspend/resume.

no, it should not take this long for suspend/resume. High load? too big VM? can 
you try with plain virsh?


 -- 
 Nathanaël Blanchet
 
 Supervision réseau
 Pôle exploitation et maintenance
 Département des systèmes d'information
 227 avenue Professeur-Jean-Louis-Viala
 34193 MONTPELLIER CEDEX 5   
 Tél. 33 (0)4 67 54 84 55
 Fax  33 (0)4 67 54 84 14
 
 blanc...@abes.fr
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 -- 
 Nathanaël Blanchet
 
 Supervision réseau
 Pôle exploitation et maintenance
 Département des systèmes d'information
 227 avenue Professeur-Jean-Louis-Viala
 34193 MONTPELLIER CEDEX 5 
 Tél. 33 (0)4 67 54 84 55
 Fax  33 (0)4 67 54 84 14
 blanc...@abes.fr
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVIRT 3.3 beta: Can't start imported VM

2013-07-03 Thread Michal Skrivanek

On Jul 3, 2013, at 15:12 , r...@chef.net wrote:

 Hi,
 
 I've run in problems, when I import a KVM instance.
 
 On a CentOS6.4 KVM 'server' I do a
 virt-v2v -i libvirtxml -o rhev -osd ovirt:/var/lib/exports/VMs --network 
 ovirtmgmt vm1.xml
 
 Extract from vm1.xml
 ...
   os
 type arch='x86_64' machine='rhel5.5.0'hvm/type
 boot dev='hd'/
   /os
  ...
 
 After importing this VM to oVirt, I can't start it on an CentOS 6.4 node
 libvirt.log tells me
 
  error : virNetClientProgramDispatchError:174 : internal error process exited 
 while connecting to monitor: Supported machines are:
 pc RHEL 6.4.0 PC (alias of rhel6.4.0)
 rhel6.4.0  RHEL 6.4.0 PC (default)
 rhel6.3.0  RHEL 6.3.0 PC
 rhel6.2.0  RHEL 6.2.0 PC
 rhel6.1.0  RHEL 6.1.0 PC
 rhel6.0.0  RHEL 6.0.0 PC
 rhel5.5.0  RHEL 5.5.0 PC
 rhel5.4.4  RHEL 5.4.4 PC
 rhel5.4.0  RHEL 5.4.0 PC
 
 Any hints ???

what 3.3 beta are you referring to? 
see http://www.ovirt.org/Cluster_emulation_modes
feature was merged only last week

Thanks,
michal
 
 HaJo ___
 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 beta: Can't start imported VM

2013-07-04 Thread Michal Skrivanek

On Jul 4, 2013, at 09:29 , r...@chef.net wrote:

 Hi,
 
 thank you. Changing the EmulatedMachine value to rhel6.4.0 solved my 
 problem.
 
 FyI.. I'm using the files which are availble on 
 http://resources.ovirt.org/releases/beta/rpm/EL/6/noarch/
 the Jun 20th.

yeah, that doesn't have the feature. In final 3.3 it should work out of the box.

Thanks,
michal

 
 
 Hans-Joachim
  
 ___
 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] SMBIOS Customization ??

2013-07-12 Thread Michal Skrivanek

On 12 Jul 2013, at 10:48, Hans-Joachim Hetscher wrote:

 Hi,
 
 I'm just moving alle my libvirtxml based VM to oVirt, and now I run in a 
 'little' problem.
 
 Some of my machines have 'customized' SMBIOS entries.
 Is there any way, to put SMBIOS entries in oVirt, too?

Hi,
At this moment via vdsm hook you can do that
we have somewhere in our plans to add a proper support for it in GUI, feel free 
to contribute:)

Thanks,
michal

 
 Hans-Joachim ___
 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] f19 guest in oVirt 3.2.2 considerations

2013-07-15 Thread Michal Skrivanek

On Jul 14, 2013, at 15:28 , Dan Kenigsberg dan...@redhat.com wrote:

 On Thu, Jul 11, 2013 at 09:35:21PM +0200, Gianluca Cecchi wrote:
 Successfully installed f19 x86_64 guest desktop via pxe.
 Vm configured in oVirt as other linux
 
 run yum update after install
 
 qemu-kvm process command line on host for this VM contains:
 
 -vga qxl -global qxl-vga.vram_size=671088
 
 On F19 VM xorg qxl driver automatically installed and used and also
 spice-vdagent
 I had to manually install ovirt-guest-agent from standard fedora repo
 -- perhaps it would be nice to have it some sort of automatically
 installed in oVirt guest... how?
 
 
 I put guest in full screen, aka in my setup 1680x1050
 Able to use gnome 3 even if quite slow.
 
 As soon as I start firefox and begin to use it I get this in Xorg.0.log
 
 ...
 [   789.615] - 3th attempt
 [   789.615] - OOM at 640 360 32 (= 921600 bytes)
 [   789.615] Cache contents:  null null null null null null null null
 null null null null null null null null null null null null null null
 null null null null null null null null null null null null null null
 null null null null null null null null null null null null null null
 null null null null null null null  956 1008 null null  974 1017 1020
   total: 5
 [   789.627] - 4th attempt
 [   789.627] - OOM at 640 360 32 (= 921600 bytes)
 [   789.627] Cache contents:  null null null null null null null null
 null null null null null null null null null null null null null null
 null null null null null null null null null null null null null null
 null null null null null null null null null null null null null null
 null null null null null null null  956 1008 null null  974 1017 1020
   total: 5
 [   789.639] Out of video memory: Could not allocate 924160 bytes
 
 Is there any way to customize spice video memory?
 
 Engine passes a specParam named vram for the memory size. Eli, I have
 a vague memory that it was tunabled. Am I right?

it may be, but then in vdsm for each video device we set it to 65536K if there 
is only one monitor or 32768K when there are more. This is currently hardcoded
Also, check out bug 787578 which we planned for 3.3 but it missed it, 
unfortunately.

 
 If not, you could set a vdsm hook to tweak it.

that seems to be the only way at the moment…

Thanks,
mcihal

 
 Dan.
 ___
 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] Cannot connect via spice-html5. How to use noVnc?

2013-07-16 Thread Michal Skrivanek

On Jul 16, 2013, at 08:46 , Itamar Heim ih...@redhat.com wrote:

 On 07/16/2013 07:16 AM, lof yer wrote:
 Since the spice and monitor option are greyed out in IE10, I have to use
 vnc in Windows OS now.
 When will it come back?

I guess there's a bit of confusion…

 
 michal - shouldn't mime base be available?

indeed

what you can use in latest oVirt (master/3.3) is:
SPICE with virt-viewer (standalone client), invoked via ActiveX plugin
deploy as descibed at 
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal
needs IE8+
SPICE with virt-viewer (standalone client), invoked via download of MIME file
browser prompts you where to open the file - associate with the 
virt-viewer application (needs to be a recent one)
works in all browsers/platforms
SPICE with spice-html5 (integrated client)
you need IE11 or (decently recent) Firefox or Chrome
opens in a new page, no client-side installation required, however you 
need to deploy and set up ovirt-websocket-proxy, typically on engine host.
VNC with novnc(integrated client)
same as spice-html5
VNC with virt-viewer or other VNC client (standalone), invoked via MIME
again, works in all browsers
RDP with rdesktop or native Microsoft client, invoked via MIME
works in all browsers, however the format of the downloaded file is 
only recognizable by the native Microsoft RDP client

you need to check in display options dialog the way how the console is 
invoked(plugin or mime or auto based on your platform/browser)

If anything is not according to the options above please let me know

Thanks,
michal


 
 
 
 2013/7/16 Itamar Heim ih...@redhat.com mailto:ih...@redhat.com
 
On 07/15/2013 04:26 PM, lofyer wrote:
 
On 2013/7/15 15:29, Frantisek Kobzik wrote:
 
Hmm, that's strange - in current implementation IE support
is turned
off (because IE version  11 doesn't implement some supporting
functions correctly). Wasn't the spice-html5 option greyed
out in the
Console Options?
 
SpiceX.cab is not related to spice-html5 - it is used for
invoking
console via browser plugin.
 
 
- Original Message -
From: lofyer lof...@gmail.com mailto:lof...@gmail.com
To: Frantisek Kobzik fkob...@redhat.com
mailto:fkob...@redhat.com
Cc: users users@ovirt.org mailto:users@ovirt.org
Sent: Sunday, July 14, 2013 4:56:34 AM
Subject: Re: [Users] Cannot connect via spice-html5.  How
to use noVnc?
 
On 2013/7/12 18:08, Frantisek Kobzik wrote:
 
Hello,
 
for running spice-html5 and novnc you also must update
certificates
in your browser - it means you must add the certificate that
websocket proxy uses (SSL_CERTIFICATE in the config
file) to the
browser (or trust the CA of the engine). Could you try
adding it?
 
Thanks,
Frank.
 
- Original Message -
From: lof yer lof...@gmail.com mailto:lof...@gmail.com
To: users users@ovirt.org mailto:users@ovirt.org
Sent: Friday, July 12, 2013 11:07:57 AM
Subject: [Users] Cannot connect via spice-html5.  How
to use noVnc?
 
Here's my ovirt-websocket-proxy's status when I open the
spice-html5
client
 
ovirt-websocket-proxy.service - oVirt Engine websockets
proxy
Loaded: loaded
(/usr/lib/systemd/system/__ovirt-websocket-proxy.service; 
 enabled)
Active: active (running) since Fri 2013-07-12 17:03:46
CST; 31s ago
Main PID: 19226 (ovirt-websocket)
CGroup: name=systemd:/system/ovirt-__websocket-proxy.service
└─19226 /usr/bin/python
/usr/share/ovirt-engine/__services/ovirt-websocket-__proxy.py
start
 
Jul 12 17:03:46 engine systemd[1]: Started oVirt Engine
websockets
proxy.
Jul 12 17:04:01 engine
ovirt-websocket-proxy.py[__19226]: WebSocket
server settings:
Jul 12 17:04:01 engine
ovirt-websocket-proxy.py[__19226]: - Listen on
*:6100
Jul 12 17:04:01 engine
ovirt-websocket-proxy.py[__19226]: - Flash
security policy server
Jul 12 17:04:01 engine
ovirt-websocket-proxy.py[__19226]: - SSL/TLS
support
Jul 12 17:04:01 engine
ovirt-websocket-proxy.py[__19226]: - Deny
non-SSL/TLS 

Re: [Users] Cannot connect via spice-html5. How to use noVnc?

2013-07-16 Thread Michal Skrivanek

On Jul 16, 2013, at 10:52 , lof yer lof...@gmail.com wrote:

 2013/7/16 Michal Skrivanek mskri...@redhat.com
 
 On Jul 16, 2013, at 08:46 , Itamar Heim ih...@redhat.com wrote:
 
  On 07/16/2013 07:16 AM, lof yer wrote:
  Since the spice and monitor option are greyed out in IE10, I have to use
  vnc in Windows OS now.
  When will it come back?
 
 I guess there's a bit of confusion…
 
 
  michal - shouldn't mime base be available?
 
 indeed
 
 what you can use in latest oVirt (master/3.3) is:
 SPICE with virt-viewer (standalone client), invoked via ActiveX plugin
 deploy as descibed at 
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal
 needs IE8+
 SPICE with virt-viewer (standalone client), invoked via download of MIME file
 browser prompts you where to open the file - associate with the 
 virt-viewer application (needs to be a recent one)
 works in all browsers/platforms
 SPICE with spice-html5 (integrated client)
 you need IE11 or (decently recent) Firefox or Chrome
 opens in a new page, no client-side installation required, however 
 you need to deploy and set up ovirt-websocket-proxy, typically on engine host.
 VNC with novnc(integrated client)
 same as spice-html5
 VNC with virt-viewer or other VNC client (standalone), invoked via MIME
 again, works in all browsers
 RDP with rdesktop or native Microsoft client, invoked via MIME
 works in all browsers, however the format of the downloaded file is 
 only recognizable by the native Microsoft RDP client
 
 you need to check in display options dialog the way how the console is 
 invoked(plugin or mime or auto based on your platform/browser)
 
 If anything is not according to the options above please let me know
 
 Thanks,
 michal
 
 
 
 
 
  2013/7/16 Itamar Heim ih...@redhat.com mailto:ih...@redhat.com
 
 On 07/15/2013 04:26 PM, lofyer wrote:
 
 On 2013/7/15 15:29, Frantisek Kobzik wrote:
 
 Hmm, that's strange - in current implementation IE support
 is turned
 off (because IE version  11 doesn't implement some supporting
 functions correctly). Wasn't the spice-html5 option greyed
 out in the
 Console Options?
 
 SpiceX.cab is not related to spice-html5 - it is used for
 invoking
 console via browser plugin.
 
 
 - Original Message -
 From: lofyer lof...@gmail.com mailto:lof...@gmail.com
 To: Frantisek Kobzik fkob...@redhat.com
 mailto:fkob...@redhat.com
 Cc: users users@ovirt.org mailto:users@ovirt.org
 Sent: Sunday, July 14, 2013 4:56:34 AM
 Subject: Re: [Users] Cannot connect via spice-html5.  How
 to use noVnc?
 
 On 2013/7/12 18:08, Frantisek Kobzik wrote:
 
 Hello,
 
 for running spice-html5 and novnc you also must update
 certificates
 in your browser - it means you must add the certificate that
 websocket proxy uses (SSL_CERTIFICATE in the config
 file) to the
 browser (or trust the CA of the engine). Could you try
 adding it?
 
 Thanks,
 Frank.
 
 - Original Message -
 From: lof yer lof...@gmail.com mailto:lof...@gmail.com
 To: users users@ovirt.org mailto:users@ovirt.org
 Sent: Friday, July 12, 2013 11:07:57 AM
 Subject: [Users] Cannot connect via spice-html5.  How
 to use noVnc?
 
 Here's my ovirt-websocket-proxy's status when I open the
 spice-html5
 client
 
 ovirt-websocket-proxy.service - oVirt Engine websockets
 proxy
 Loaded: loaded
 (/usr/lib/systemd/system/__ovirt-websocket-proxy.service; 
  enabled)
 Active: active (running) since Fri 2013-07-12 17:03:46
 CST; 31s ago
 Main PID: 19226 (ovirt-websocket)
 CGroup: name=systemd:/system/ovirt-__websocket-proxy.service
 └─19226 /usr/bin/python
 
  /usr/share/ovirt-engine/__services/ovirt-websocket-__proxy.py
 start
 
 Jul 12 17:03:46 engine systemd[1]: Started oVirt Engine
 websockets
 proxy.
 Jul 12 17:04:01 engine
 ovirt-websocket-proxy.py[__19226]: WebSocket
 server settings:
 Jul 12 17:04:01 engine
 ovirt-websocket-proxy.py[__19226]: - Listen on
 *:6100
 Jul 12 17:04:01 engine
 ovirt-websocket-proxy.py[__19226]: - Flash
 security policy server
 Jul 12 17:04:01 engine

Re: [Users] oVirt 3.3 SPICE console error 500

2013-07-31 Thread Michal Skrivanek

On Jul 31, 2013, at 10:05 , Jakub Bittner j.bitt...@nbu.cz wrote:

 Dne 26.7.2013 16:24, Einav Cohen napsal(a):
 - Original Message -
 From: Itamar Heim ih...@redhat.com
 Sent: Friday, July 26, 2013 6:55:55 AM
 
 On 07/26/2013 01:07 PM, Tomas Jelinek wrote:
 Well, this is an error introduced by upgrading the GWT and it broke our
 serialization mechanism.
 There is a bug opened (well, not exactly your issue but a different which
 is caused by the same problem - see the comments).
 
 https://bugzilla.redhat.com/show_bug.cgi?id=988021
 is the fix the same for both?
 I believe so. As Tomas mentioned - there are several issues that are being
 caused from the same root problem, hence a single fix should resolve all 
 issues.
 
 sounds like we need to fix asap, and hopefully jakub can take the next
 nightly that will have that fix (and, hmmm, test upgrade from 3.3
 pre-release to 3.3 pre-release...)
 an immediate fix was already merged earlier today: 
 http://gerrit.ovirt.org/#/c/17330/.
 I believe that it will solve all issues that are being caused due to the 
 serialization
 problem of the dateCreated field of the RepoImage class (including the 
 problem reported
 by Jakub in this thread and the problem reported in Bug 988021).
 a better / more robust solution is being worked on as we speak.
 
 - Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Friday, July 26, 2013 8:01:04 AM
 Subject: [Users] oVirt 3.3 SPICE console error 500
 
 Hello,
 I upgraded oVirt to 3.3 and when I want to launch SPICE console I get
 error 500 on web ui. I tried to install websovketproxy package, enabled
 it by engine-config -s WebSocketProxy=Engine:6100  But it did not
 help. I dont know what I did wrong. Logs are bellow. Thank you for advice
 
 == ovirt-engine/engine.log ==
 2013-07-25 15:22:31,717 INFO
 [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-8)
 Running command: SetVmTicketCommand internal: false. Entities affected
 :  ID: 8c6ea349-902f-4457-8c3f-49ee5d4cf6b9 Type: VM
 2013-07-25 15:22:31,726 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
 (ajp--127.0.0.1-8702-8) START, SetVmTicketVDSCommand(HostName =
 node19.nbu.cz, HostId = dc1fde46-66af-4f66-947a-12791cd6b9a0,
 vmId=8c6ea349-902f-4457-8c3f-49ee5d4cf6b9, ticket=7LP81DPq1CpR,
 validTime=120,m userName=admin@internal,
 userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 1b7e23bf
 2013-07-25 15:22:31,764 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
 (ajp--127.0.0.1-8702-8) FINISH, SetVmTicketVDSCommand, log id: 1b7e23bf
 
 == ovirt-engine/server.log ==
 2013-07-25 15:22:31,865 ERROR
 [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webadmin]]
 (ajp--127.0.0.1-8702-8) Exception while dispatching incoming RPC call:
 java.lang.NullPointerException
  at
 com.google.gwt.rpc.server.WebModePayloadSink.getBytes(WebModePayloadSink.java:860)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.push(WebModePayloadSink.java:767)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.constructorFunction(WebModePayloadSink.java:636)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:259)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:236)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:291)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:375)
 [gwt-servlet.jar:]
  at
 com.google.gwt.rpc.client.ast.InvokeCustomFieldSerializerCommand.traverse(InvokeCustomFieldSerializerCommand.java:76)
 [gwt-servlet.jar:]
  at
 

Re: [Users] Cannot connect to VM via browser if engine was not in /etc/hosts

2013-08-01 Thread Michal Skrivanek


On 24 Jun 2013, at 13:09, David Jaša dj...@redhat.com wrote:

 Hi,
 
 So you're connecting via User Portal but then it doesn't work? If it
 doesn't, either you hit a bug or you've tweaked some value that affects
 things...
 
 In general, TLS shouldn't pose a problem because:
 1) ovirt sets up its own CA that issues certificates for the hosts
 2) the CA certificate and respective host certificate subject are passed to 
 the client
 3) the client can verify the host using these information even in cases when 
 connection IP/FQDN doesn't match CN in subject of server certificate
 
 The only condition that indeed breaks it should be display network
 address override _when migrating the VM_ (because then the connection
 data are passed via the host and libvirt doesn't allow to pass the
 arbitrary IP/FQDN yet)
 
 David
 
 PS: Itamar, advice to disable SSL/TLS is IMO bad, bad thing. ;)

No no, you just do that right after setenforce 0 and iptables -F and then it's 
all fine:-D

 
 
 Itamar Heim píše v Po 24. 06. 2013 v 08:55 +0300:
 On 06/24/2013 03:10 AM, lofyer wrote:
 于 2013/6/24 1:47, Itamar Heim 写道:
 On 06/06/2013 11:51 AM, lof yer wrote:
 I connect https://192.168.1.111 and connect to the VM, then the
 remote-viewer shows up, but failed to show the VM desktop.
 Is it the https problem?
 Can I connect to the VM without modify /etc/hosts?
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 was this resolved? sounds like a certificate/dns issue?
 Yes, it's certificate/dns problem.
 But how can I connect via IP instead of FQDN without https?
 
 i guess it depends if you can tell spice client to not validate the ssl 
 certificate.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 -- 
 
 David Jaša, RHCE
 
 SPICE QE based in Brno
 GPG Key: 22C33E24 
 Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
 
 
 ___
 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] is this the oVirt noob/help list?

2013-08-12 Thread Michal Skrivanek
Hi,
you can do that via REST API, but not through GUI.
There's no ticket set if you don't try to invoke the console in portal. You can 
use a hook to configure console access - to enable it password-less by default 
and it will be always open
With MIME launch you get the connection file with the password in it so you can 
grab it from there (or preferably associate with remote-viewer and it will open 
VNC automatically) 
What exactly are you trying to achieve? 

Thanks,
michal

On Aug 11, 2013, at 19:02 , Michael J. McConachie mich...@redhat.com wrote:

 Hi List,
 
 Is this the correct list to ask questions re: basic oVirt noob questions?
 
 If so (re: consoles) I have clients that want to set the password for
 VNC to a static value, or no password at all.
 
 Thanks,
 
 Mike
 ___
 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] Compiling ovirt-guest-agent on FreeBSD

2013-08-19 Thread Michal Skrivanek

On Aug 19, 2013, at 09:41 , Karli Sjöberg karli.sjob...@slu.se wrote:

 Hi!
 
 As part of a template I´m preparing, I´m wondering how to compile the agent 
 with just the basics included. I´ve tried running like:
 
 OPTIONS='
 --without-gdm-plugin --without-gdm2-plugin  --without-kdm-plugin 
 --without-pam-ovirt-cred
 --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no 
 --with-pam-ovirt-cred=no
 --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin 
 --disable-pam-ovirt-cred
 --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no 
 --enablepam-ovirt-cred-=no'
 
 # ./configure ${OPTIONS}
 
 Regardless of how I try, it just responds:
 configure: WARNING: unrecognized options: ${OPTIONS}
 
 I took the package from the official oVirt.org repo, src file:
 ovirt-guest-agent-1.0.6.tar.bz2
 
 What am I doing wrong?

Hi
the parameters are gdm, kdm and sso, set them to no

Thanks,
michal
 
 -- 
 
 Med Vänliga Hälsningar
 ---
 Karli Sjöberg
 Swedish University of Agricultural Sciences
 Box 7079 (Visiting Address Kronåsvägen 8)
 S-750 07 Uppsala, Sweden
 Phone:  +46-(0)18-67 15 66
 karli.sjob...@slu.se ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] spice from windows

2013-08-21 Thread Michal Skrivanek

On Aug 20, 2013, at 22:58 , Itamar Heim ih...@redhat.com wrote:

 On 08/20/2013 04:16 PM, alireza sadeh seighalan wrote:
 hi everyone
 
 how can i access to spice remote from a windows client ? i could connect
 to ovirt manager from firefox (on a windows system) but i couldnt see
 spice icon. in linux we can install spice-xpi but how can i access it
 from windows? thanks in advance
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 options (michal, do we have a wiki around this?):
 1. spice activex for IE
 2. mime based launch of spice client (requires a newer engine/spice client)

For #1 there is 
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal

For #2
http://www.ovirt.org/Features/Non_plugin_console_invocation 

Since 3.3 we have option #3:
http://www.ovirt.org/Features/noVNC_console
http://www.ovirt.org/Features/SpiceHTML5

I guess it should be aggregated now…

Thanks,
michal
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Console access with isolated virtual hosts

2013-08-21 Thread Michal Skrivanek

On Aug 21, 2013, at 13:51 , Peter Bahlyi peter.bah...@mail.com wrote:

 Hi Itamar, thanks for reply. I have actually found that and tried. The issue 
 is that client (remote-viewer on F19) still keeps trying to contact directly 
 the hosts. What I also do not understand is an overall idea behind. As far as 
 I have noticed, RHEV-m does not provide spice-proxy functionality on it's 
 own. If I understand well, it only directs clients to a proxy which sits 
 somewhere else, right? If so, what are pre-requisities on such a proxy 
 solution? What should it be?
Hi,
that's correct. you need to set up the proxy yourself, but it's fairly easy, 
just a simple squid proxy would work…
the only caveat is that you should perhaps increase the timeout just in case 
the connection is idle for a long time. Something like
 pconn_timeout   12 hours
 request_timeout 12 hours
 read_timeout12 hours
and ideally set up ACL so only your clients can connect and they can only go to 
your set of hosts

Thanks,
michal

 
 Regards, Peter
  
 - Original Message -
 From: Itamar Heim
 Sent: 08/21/13 01:23 PM
 To: Peter Bahlyi
 Subject: Re: [Users] VM Console access with isolated virtual hosts
  
 On 08/21/2013 04:37 AM, Peter Bahlyi wrote: 
  Hi everybody, 
  I've got a question - what if my hosts are isolated from the rest of 
  network but I still need to access consoles of my virtual machines with 
  spice protocol? How to get this solved? As far as I've noticed the 
  clients (remote-viewer) connect remotely to the hosts on ports assigned 
  to virtual machines (5900, 5901, 5902) that are in my case unaccessible. 
  I've found something about spice-proxy but there is not any 
  documentation around. Does anybody have experience with this? 
  
  Thanks for any info. 
  
  Regards, 
  Peter 
  
  
  ___ 
  Users mailing list 
  Users@ovirt.org 
  http://lists.ovirt.org/mailman/listinfo/users 
  
 
 have you reviewed http://www.ovirt.org/Features/Spice_Proxy ? 
 hmmm, it seems to lack information on client version to support this
 
  

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] spice from windows

2013-08-23 Thread Michal Skrivanek

On 21 Aug 2013, at 12:22, Itamar Heim wrote:

 On 08/21/2013 06:19 AM, Michal Skrivanek wrote:
 
 On Aug 20, 2013, at 22:58 , Itamar Heim ih...@redhat.com wrote:
 
 On 08/20/2013 04:16 PM, alireza sadeh seighalan wrote:
 hi everyone
 
 how can i access to spice remote from a windows client ? i could connect
 to ovirt manager from firefox (on a windows system) but i couldnt see
 spice icon. in linux we can install spice-xpi but how can i access it
 from windows? thanks in advance
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 options (michal, do we have a wiki around this?):
 1. spice activex for IE
 2. mime based launch of spice client (requires a newer engine/spice client)
 
 For #1 there is
  http://www.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal
 
 For #2
  http://www.ovirt.org/Features/Non_plugin_console_invocation
 
 Since 3.3 we have option #3:
  http://www.ovirt.org/Features/noVNC_console
  http://www.ovirt.org/Features/SpiceHTML5
 
 I guess it should be aggregated now…
 
 especially with the last two and mime type, this one should be updated as 
 well?
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal

Fixing [1] would IMHO be the best. Let's describe it in one place at once.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=997418
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.3 ovirt-websocket-proxy

2013-09-05 Thread Michal Skrivanek

On Sep 5, 2013, at 08:01 , Alon Bar-Lev alo...@redhat.com wrote:

 
 
 - Original Message -
 From: Alex Leonhardt alex.t...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, September 5, 2013 8:57:38 AM
 Subject: Re: [Users] oVirt 3.3 ovirt-websocket-proxy
 
 Honestly, I would manage iptable on VMs by puppet or some other config
 management system ;)

it's on the host, not VMs…
in default deployment mode it's the engine host

Thanks,
michal

 
 I agree. But we have a feature... so better it work... :)
 
 
 Alex
 
 On 09/04/2013 04:14 PM, Jakub Bittner wrote:
 
 Hello,
 
 if I install websocket proxy and configure it for spice-html5 usage by
 ovirt-setup it does not add iptables rules about opening port 6100 to
 /etc/sysconfig/iptables even if I set oVirt to manage iptables. I use centos
 6.4 and oVirt 3.3RC
 
 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
 
 ___
 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] so, what do you want next in oVirt?

2013-09-05 Thread Michal Skrivanek

On Sep 3, 2013, at 14:58 , alireza sadeh seighalan seighal...@gmail.com wrote:

 hi
 
 in ovirt 3.2 there isnt ubuntu in the list. 3.3 is released?can i download it 
 ?
 regards
 
 
 On Tue, Sep 3, 2013 at 5:25 PM, Itamar Heim ih...@redhat.com wrote:
 On 09/03/2013 03:54 PM, alireza sadeh seighalan wrote:
 hi
 
 ubuntu  should list in ther agent list. when you want to create vm's in
 the operating list drop down menu. please dont forget other OS's.
 regards
 
 sorry, I'm still not sure i understand. we added ubuntu and sles to list of 
 OSs in 3.3. can you please elaborate on what is missing?

Ubuntu and SLES in the list didn't make the 3.3 branch off. It should be easy 
enough to backport it to 3.3.1
As well as the guest agent .deb package. The support is there but not in the 
3.3 RC build.

Thanks,
michal

 
 thanks,
Itamar
 
 
 
 On Tue, Sep 3, 2013 at 4:07 PM, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com wrote:
 
 On 09/03/2013 12:02 PM, alireza sadeh seighalan wrote:
 
 hi again
 
 ubuntu agent should be add in the list like vmware .
 
 
 added in which list?
 
 
   about installation
 
 i have to install ovirt packages by local repository and there is
 problem in this status and in adding  host to ovirt manager you
 need to
 install packages that need to internet .
 
 
 why do you need internet? you just need the host to be configured
 with a repo containing the packages, which can be local as well?
 
 regards,
 
 
 On Tue, Sep 3, 2013 at 1:26 PM, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com wrote:
 
  On 09/03/2013 10:53 AM, alireza sadeh seighalan wrote:
 
  hi
 
  please add support from solaris , ubuntu and other OS's.
 
 
  we've added in 3.3 ubuntu and suse as guest os's - i can't
 tell you
  if they work or not.
  you can now easily add on your own more OSs as well:
 http://www.ovirt.org/OS_info
 
  guest agent for ubuntu should be working.
 
 
 
 
installation is  a little hard specially in an
 evironment without
internet.
 
  can you please share more on the issues you faced?
 
  thanks,
  Itamar
 
 
  regards,
 
 
  On Mon, Sep 2, 2013 at 7:43 PM, Doron Fediuck
  dfedi...@redhat.com mailto:dfedi...@redhat.com
 mailto:dfedi...@redhat.com mailto:dfedi...@redhat.com
  mailto:dfedi...@redhat.com
 mailto:dfedi...@redhat.com mailto:dfedi...@redhat.com
 mailto:dfedi...@redhat.com wrote:
 
   - Original Message -
   | From: Karli Sjöberg karli.sjob...@slu.se
 mailto:karli.sjob...@slu.se
  mailto:karli.sjob...@slu.se mailto:karli.sjob...@slu.se
   mailto:karli.sjob...@slu.se
 mailto:karli.sjob...@slu.se mailto:karli.sjob...@slu.se
 mailto:karli.sjob...@slu.se__
   | To: Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com
  mailto:ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com
  mailto:ih...@redhat.com mailto:ih...@redhat.com
 
   | Cc: users@ovirt.org mailto:users@ovirt.org
 mailto:users@ovirt.org mailto:users@ovirt.org
  mailto:users@ovirt.org mailto:users@ovirt.org
 mailto:users@ovirt.org mailto:users@ovirt.org, Jan-Olov
  Persson
   jan-olov.pers...@slu.se
 mailto:jan-olov.pers...@slu.se
 mailto:jan-olov.persson@slu.__se mailto:jan-olov.pers...@slu.se
  mailto:jan-olov.persson@slu.
 mailto:jan-olov.persson@slu.se
 
 mailto:jan-olov.persson@slu.__se
 mailto:jan-olov.pers...@slu.se
 
   | Sent: Monday, September 2, 2013 10:42:52 AM
   | Subject: Re: [Users] so, what do you want next
 in oVirt?
   |
   | Hi,
   |
   | I would like to see a more advanced type of
 Power-Saving
  Cluster
   policy,
   | where an empty Host gets put into a sleep-mode,
 so that
  it draws
   as little
   | power as possible and can be awoken by engine
 when VM's
  starts to
   use more
   | resources.
   |
   | A typical scenario would be that all VM's are spread
  evenly over
   Hosts during
   | day-time, 

Re: [Users] oVirt 3.3 -- Failed to run VM: internal error unexpected address type for ide disk

2013-09-17 Thread Michal Skrivanek

On Sep 13, 2013, at 18:33 , Jason Brooks jbro...@redhat.com wrote:

 I filed a bug: https://bugzilla.redhat.com/show_bug.cgi?id=1007980

Thanks,
we're looking at it but don't know yet if it's on engine side(more likely) or 
vdsm
any special setup setting?
gluster doesn't seem to be related

Thanks,
michal
 
 
 - Original Message -
 From: Jason Brooks jbro...@redhat.com
 To: users users@ovirt.org
 Sent: Thursday, September 12, 2013 1:45:49 PM
 Subject: [Users] oVirt 3.3 -- Failed to run VM: internal error unexpected 
 address type for ide disk
 
 I'm experiencing an issue today on my oVirt 3.3 test setup -- it's an AIO
 engine+host setup, with a second node on a separate machine. Both machines
 are running F19, both have all current F19 updates and all current ovirt-
 beta repo updates.
 
 This is on a GlusterFS domain, hosted from a volume on the AIO machine.
 
 Also, I have the neutron external network provider configured, but these
 VMs aren't using one of these networks.
 
 selinux permissive on both machines, firewall down on both as well
 (firewall rules for gluster don't appear to be set by the engine)
 
 1. Create a new VM w/ virtio disk
 2. VM runs normally
 3. Power down VM
 4. VM won't start, w/ error msg:
 
 internal error unexpected address type for ide disk
 
 5. Changing disk to IDE, removing and re-adding, VM still won't start
 
 6. If created w/ IDE disk from the beginning, VM runs and restarts as
 expected.
 
 Is anyone else experiencing something like this?  It appears to render the
 Gluster FS domain type totally unusable. I wasn't having this problem last
 week...
 
 Here's a chunk from the VDSM log:
 
 Thread-4526::ERROR::2013-09-12 16:02:53,199::vm::2062::vm.Vm::
 (_startUnderlyingVm) vmId=`cc86596b-0a69-4f5e-a4c2-e8d8ca18067e`::
 The vm start process failed
 Traceback (most recent call last):
  File /usr/share/vdsm/vm.py, line 2022, in _startUnderlyingVm
self._run()
  File /usr/share/vdsm/vm.py, line 2906, in _run
self._connection.createXML(domxml, flags),
  File /usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py,
 line 76, in wrapper
ret = f(*args, **kwargs)
  File /usr/lib64/python2.7/site-packages/libvirt.py, line 2805, in
  createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
 libvirtError: internal error unexpected address type for ide disk
 
 
 
 Regards,
 
 Jason
 
 ---
 
 Jason Brooks
 Red Hat Open Source and Standards
 
 @jasonbrooks | @redhatopen
 http://community.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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Engine-devel] question related to sysprep and AD

2013-09-18 Thread Michal Skrivanek
moving to users@ovirt.org list which is more appropriate

- Original Message -
 From: bigclouds bigclo...@163.com
 To: engine-devel engine-de...@ovirt.org
 Sent: Tuesday, September 10, 2013 3:44:17 PM
 Subject: [Engine-devel] question related to sysprep and AD
 
 hi,all
 1.
 it seems that ovirt has implemented to sysprep a windows.
 if this feature works and how to take advantage of it.

yes, it does:)

 2.on UI, there are several input places for AD(domain), if its goal is to add
 a guestvm into a domain?
 how to use it and add a guest into domain?

yes. Configure those values in the Initial Run tab. Not much else except time 
zone (there's a global template per Windows release where you can modify other 
stuff)
Use runonce, attach [sysprep] image...

Thanks,
michal

 3.if there is a way to add a guestvm into domain without reboot?
 thanks.
 
 
 
 ___
 Engine-devel mailing list
 engine-de...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/engine-devel
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Problems with RHEL 5 x86_64 VMs in oVirt 3.3

2013-09-18 Thread Michal Skrivanek


On 17 Sep 2013, at 15:48, Itamar Heim ih...@redhat.com wrote:

 On 09/17/2013 04:44 PM, Raul José Cheleguini wrote:
 Hi Itamar,
 
 Apparently not. I've just upgraded the engine and the node to the latest
 stable packages and it is still unable to start up the installation
 process of RHEL 5 x86_64 based virtual machines.
 
 # rpm -q qemu qemu-kvm vdsm
 qemu-1.4.2-9.fc19.x86_64
 qemu-kvm-1.4.2-9.fc19.x86_64
 vdsm-4.12.1-2.fc19.x86_64
 
 # rpm -q ovirt-engine
 ovirt-engine-3.3.0-4.fc19.noarch
 
 Does anyone else is facing the same issue?
 
 in the meantime, can you try and reproduce on centos/rhel?

Hi,
In addition to that, can you also please add log/observe the actual qemu 
command line(from ps). It might be a weird virtual hw combination.
What console type do you have? Spice or vnc? Try the other one:)
Feel free to open a bug

Thanks,
michal
 
 thanks,
   Itamar
 
 
 
 
 
 
 
 
 On Mon, Sep 16, 2013 at 6:37 PM, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com wrote:
 
On 09/05/2013 06:31 PM, Raul José Cheleguini wrote:
 
Hello all,
 
Please, I'm performing tests with oVirt 3.3 and it has been working
really well, except the fact that the installation of RHEL 5 VMs
is not
happening, not sure why. Does anybody else is experiencing the same
issue? Details:
 
Reproducible steps:
 
1) Start the VM via 'Run once option.
2) Insert the boot parameters, for instance: linux text
3) vmlinuz and initrd are loaded without errors.
4) Black screen with a blinking cursor.
5) Anaconda never come up, Kernel is not loaded apparently.
 
The same behavior occurs with the following versions:
 
RHEL 5.9 x86_64
RHEL 5.8 x86_64
RHEL 5.7 x86_64
 
VM definitions:
 
Operating System: Red Hat Enterprise Linux 5.x x64
Optimized for: Server
 
 
If I simple change to a RHEL 5.9 32Bits ISO (Even with the
'Operating
System' field defined to work for x64), I am able to carry on
with the
VM installation and everything goes ok.
 
Fedora 18 and 19 for x84_64 works well, also RHEL 6 builds for
x86_64.
 
 
Packages in use:
 
ovirt-engine-3.3.0-1.fc19.__noarch
qemu-1.4.2-7.fc19.x86_64
qemu-kvm-1.4.2-7.fc19.x86_64
libvirt-1.0.5.5-1.fc19.x86_64
 
 
Details and data collected:
 
VM name: tests-rhel5-64bits
engine.log
vdsm.log
qemu process arguments
libvirt relevant logs
 
Last test timestamp: 2013-Sep-05, 12:09
VM tests-rhel5-64bits started on Host dell-pe2950-1
 
 
Should I file a bug?
Any help will be really appreciated.
Thanks,
Raul.
 
 
 
_
Users mailing list
Users@ovirt.org mailto:Users@ovirt.org
http://lists.ovirt.org/__mailman/listinfo/users
http://lists.ovirt.org/mailman/listinfo/users
 
 
was this resolved?
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VMs not starting

2013-09-18 Thread Michal Skrivanek

On 18 Sep 2013, at 14:05, Itamar Heim wrote:

 On 09/12/2013 05:07 PM, Lance Oreste wrote:
 I am running ovirt 3.2.1 on fedora 18. Been running for 6 months with no
 issues. I rebooted the host this morning however I am now unable to
 restart the VMs. I am getting
 
  
 2013-Sep-12, 10:05
  
 Failed to run VM win8 (User: admin@internal).
  
 6fea8b6b
  
 oVirt
  
  
 2013-Sep-12, 10:05
  
 Failed to run VM win8 on Host local_host.
  
 6fea8b6b
  
 oVirt
  
  
 2013-Sep-12, 10:05
  
 VM win8 is down. Exit message: internal error process exited while
 connecting to monitor: ((null):13485): Spice-Warning **:
 reds.c:3247:reds_init_ssl: Could not use private key file qemu-kvm:
 failed to initialize spice server .
  
  
 oVirt
 
 
  
  
 
 
 
 
 This message originates from BenTek, Inc. This email message and all
 attachments may contain legally privileged and confidential information
 intended solely for the use of the addressee. If you are not the
 intended recipient, you should immediately stop reading this message and
 delete it from your system. Any unauthorized reading, distribution,
 copying, or other use of this message or its attachments is strictly
 prohibited. All personal messages express solely the sender's views and
 not those of BenTek, Inc. This message may not be copied or distributed
 without this disclaimer. Although this email and any attachments are
 believed to be free of any virus or other defect that might affect any
 computer system into which it is received and opened, it is the
 responsibility of the recipient to ensure that it is virus free and no
 responsibility is accepted by BenTek, Inc. for any loss or damage
 arising in any way from its use. If you received this message in error,
 please notify us immediately at (888) 5-BENTEK.
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 please try to yum update your host to latest packages first (there were 
 similar reports past 2 weeks iirc).

this is a libvirt bug…see https://bugzilla.redhat.com/show_bug.cgi?id=1006697
I think similar fix is either already in or pending a build for F18
you can try to downgrade ibvirt as well

Thanks,
michal
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


<    1   2   3   4   5   6   7   8   9   >