Re: [Users] Hypervisor info

2014-01-10 Thread Michal Skrivanek

On 10 Jan 2014, at 07:41, Koen Vanoppen wrote:

> Dear all,
> 
> Because of our puppet integration at work, it would like to know if there is 
> a way in ovirt to know, from WITHIN a virtual machine, the hypervisor on wich 
> the vm is running?

look at dmidecode output, BIOS Manufacturer should be oVirt

Thanks,
michal

> 
> Kind regards,
> 
> Koen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Hypervisor info

2014-01-10 Thread Michal Skrivanek

On 10 Jan 2014, at 14:18, Sven Kieske wrote:

> Hi,
> 
> I'm not sure, but might this even be an security issue?

I don't think it's serious, it can easily be changed via a hook, there's also 
an RFE somehwere in queue for this to be configurable directly in UI (not much 
work, 3.5 perhaps)
and since inside the guest you are not aware of migrations you can't really 
"trust" that value anyway

> at least you could get an idea of the underlying infrastructure.

well, yes. But in addition in /etc/vdsm/vdsm.id you can define your very own 
host UUID
but by default yes, after enough runs….

Thanks,
michal

> 
> I'll dig into which infos are furthermore provided
> when I get some time..
> 
> Am 10.01.2014 11:18, schrieb Dan Kenigsberg:
>> On Fri, Jan 10, 2014 at 09:12:39AM +, Sven Kieske wrote:
>>> Hi,
>>> 
>>> yeah of course, there are various scripts for that
>>> i. e. http://www.dmo.ca/blog/detecting-virtualization-on-linux/
>>> 
>>> (google is your friend)
>>> 
>>> the (afaik) fastest way to detect ovirt is:
>>> 
>>> dmidecode | grep oVirt
>>> 
>>> but this needs root privileges.
>>> 
>>> HTH
>>> 
>>> Am 10.01.2014 07:41, schrieb Koen Vanoppen:
 Dear all,
 
 Because of our puppet integration at work, it would like to know if there
 is a way in ovirt to know, from WITHIN a virtual machine, the hypervisor on
 wich the vm is running?
>> 
>> And unfortunately, you can even tell the UUID of the specific host on
>> top of which the VM was first started via
>> 
>>dmidecode -s system-serial-number
>> 
>> in the guest. This feature is unfortunate, as it cannot really be
>> trusted (it does not update upon migration), and breaks an important
>> abstraction.
>> 
>> 
>> 
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] [QE] 3.4.0 Release tracker

2014-01-13 Thread Michal Skrivanek

On Jan 13, 2014, at 11:05 , Sander Grendelman  wrote:

> On Mon, Jan 13, 2014 at 12:32 AM, Dan Kenigsberg  wrote:
>> On Fri, Jan 10, 2014 at 04:55:18PM +0200, Itamar Heim wrote:
>>> On 01/10/2014 01:52 PM, Sander Grendelman wrote:
 Can I propose BZ#1035314 for 3.3.3 or 3.4.0, simple, trivial fix to a hook.
>>> 
>>> Hi Sander,
>>> 
>>> please use bug summary so folks won't have to go and look what the
>>> number means just to see if relevant to them.
>>> 
>>> this is about:
>>> Bug 1035314 - vdsm-hook-nestedvt uses kvm_intel-only syntax
> 
> OK, I'll keep that in mind!
> 
>>> i see you posted a patch in the bug - can you post the patch to
>>> gerrit as well?
>> 
>> I've done that alraedy: http://gerrit.ovirt.org/#/c/23164/
>> 
>> Sander (and others), could you review and formally verify it?
> 
> Looks fine to me, should I also do/confirm something in gerrit?

if you have an account just put Verified +1, and ideally comment on what/how 
you have tested.
If not jstu say the same here and someone will copy it over there:)

Thanks,
michal

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

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


Re: [Users] [vdsm] [QE] 3.4.0 Release tracker

2014-01-13 Thread Michal Skrivanek

On Jan 13, 2014, at 11:05 , Sander Grendelman  wrote:

> On Mon, Jan 13, 2014 at 12:32 AM, Dan Kenigsberg  wrote:
>> On Fri, Jan 10, 2014 at 04:55:18PM +0200, Itamar Heim wrote:
>>> On 01/10/2014 01:52 PM, Sander Grendelman wrote:
 Can I propose BZ#1035314 for 3.3.3 or 3.4.0, simple, trivial fix to a hook.
>>> 
>>> Hi Sander,
>>> 
>>> please use bug summary so folks won't have to go and look what the
>>> number means just to see if relevant to them.
>>> 
>>> this is about:
>>> Bug 1035314 - vdsm-hook-nestedvt uses kvm_intel-only syntax
> 
> OK, I'll keep that in mind!
> 
>>> i see you posted a patch in the bug - can you post the patch to
>>> gerrit as well?
>> 
>> I've done that alraedy: http://gerrit.ovirt.org/#/c/23164/
>> 
>> Sander (and others), could you review and formally verify it?
> 
> Looks fine to me, should I also do/confirm something in gerrit?

if you gave it a try and it works I'll just put V+1 in gerrit for you…

> ___
> vdsm-devel mailing list
> vdsm-de...@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

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


Re: [Users] Migration Failed

2014-01-13 Thread Michal Skrivanek

On Jan 13, 2014, at 11:37 , Neil  wrote:

> Good morning everyone,
> 
> Sorry to trouble you again, anyone have any ideas on what to try next?

Hi Neil,
hm, other than noise I don't really see any failures in migration.
Can you attach both src and dst vdsm log with a hint which VM and at what time 
approx it failed for you?
There are errors for one volume reoccuring all the time, but that doesn't look 
related to the migration

Thanks,
michal

> 
> Thank you so much,
> 
> Regards.
> 
> Neil Wilson.
> 
> On Fri, Jan 10, 2014 at 8:31 AM, Neil  wrote:
>> Hi Dafna,
>> 
>> Apologies for the late reply, I was out of my office yesterday.
>> 
>> Just to get back to you on your questions.
>> 
>> can you look at the vm dialogue and see what boot devices the vm has?
>> Sorry I'm not sure where you want me to get this info from? Inside the
>> ovirt GUI or on the VM itself.
>> The VM has one 2TB LUN assigned. Then inside the VM this is the fstab
>> parameters..
>> 
>> [root@tux ~]# cat /etc/fstab
>> /dev/VolGroup00/LogVol00 /   ext3defaults1 0
>> /dev/vda1 /boot   ext3defaults1 0
>> tmpfs   /dev/shmtmpfs   defaults0 0
>> devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
>> sysfs   /syssysfs   defaults0 0
>> proc/proc   procdefaults0 0
>> /dev/VolGroup00/LogVol01 swapswapdefaults0 0
>> /dev/VolGroup00/LogVol02 /homes  xfs
>> defaults,usrquota,grpquota1 0
>> 
>> 
>> can you write to the vm?
>> Yes the machine is fully functioning, it's their main PDC and hosts
>> all of their files.
>> 
>> 
>> can you please dump the vm xml from libvirt? (it's one of the commands
>> that you have in virsh)
>> 
>> Below is the xml
>> 
>> 
>>  tux
>>  2736197b-6dc3-4155-9a29-9306ca64881d
>>  8388608
>>  8388608
>>  4
>>  
>>1020
>>  
>>  
>>
>>  oVirt
>>  oVirt Node
>>  6-4.el6.centos.10
>>  4C4C4544-0038-5310-8050-C6C04F34354A
>>  2736197b-6dc3-4155-9a29-9306ca64881d
>>
>>  
>>  
>>hvm
>>
>>  
>>  
>>
>>  
>>  
>>Westmere
>>
>>  
>>  
>>
>>  
>>  destroy
>>  restart
>>  destroy
>>  
>>/usr/libexec/qemu-kvm
>>
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>
>>
>>  > io='native'/>
>>  > dev='/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/fd1a562a-3ba5-4ddb-a643-37912a6ae86f/f747ba2b-98e1-47f5-805b-6bb173bfd6ff'/>
>>  
>>  fd1a562a-3ba5-4ddb-a643-37912a6ae86f
>>  
>>  
>>  > function='0x0'/>
>>
>>
>>  
>>  > function='0x1'/>
>>
>>
>>  
>>  > function='0x0'/>
>>
>>
>>  
>>  > function='0x2'/>
>>
>>
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  > function='0x0'/>
>>
>>
>>  > path='/var/lib/libvirt/qemu/channels/tux.com.redhat.rhevm.vdsm'/>
>>  
>>  
>>  
>>
>>
>>  > path='/var/lib/libvirt/qemu/channels/tux.org.qemu.guest_agent.0'/>
>>  
>>  
>>  
>>
>>
>>  
>>  
>>  
>>
>>
>>> listen='0' keymap='en-us' passwdValidTo='2013-09-20T07:56:54'
>> connected='disconnect'>
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>
>>
>>  
>>  
>>  > function='0x0'/>
>>
>>
>>  
>>  > function='0x0'/>
>>
>>  
>>  
>> 
>> 
>> Thank you very much for your help.
>> 
>> Regards.
>> 
>> Neil Wilson.
>> 
>> 
>> 
>> On Wed, Jan 8, 2014 at 4:55 PM, Dafna Ron  wrote:
>>> Hi Neil,
>>> 
>>> the error in the log suggests that the vm is missing a disk...
>>> can you look at the vm dialogue and see what boot devices the vm has?
>>> can you write to the vm?
>>> can you please dump the vm xml from libvirt? (it's one of the commands that
>>> you have in virsh)
>>> 
>>> Thanks,
>>> 
>>> Dafna
>>> 
>>> 
>>> 
>>> On 01/08/2014 02:42 PM, Neil wrote:
 
 Hi guys,
 
 Apologies for the late reply.
 
 The VM (Tux) was created about 2 years ago, it was converted from a
 physical machine using Clonezilla. It's been migrated a number of
 times in the past, only now when trying to move it off node03 is it
 giving this error.
 
 I've looked for any attached images/cd's and found none unfortunately.
 
 Thank you so much for your assistance so far.
 
 Regards.
 
 Neil Wilson.
 
 
 
 On Wed, Jan 8, 2014 at 12:23 PM, Dafna Ron  wrote:
> 
> Thread-847747::INFO::2014-01-07
> 14:30:32,353::logUtils::44::dispatcher::(wrapper) Run and protect:
> inappropriateDevices(thiefId='63da7faa-f92a-4652-90f2-b6660a4fb7b3')
> Thread-847747::INFO::2014-01-07
> 14:30:32,354::logUtils::47::dispatcher::(wrapper) Run and protect:

Re: [Users] Migration Failed

2014-01-14 Thread Michal Skrivanek

On 14 Jan 2014, at 08:43, Neil wrote:

> Sorry, before anyone wastes anymore time on this, I found the issue.
> 
> My NFS ISO domain was attached to the other host node02, but the NFS
> mount wasn't accessible due to the iptables service being activated on
> boot once I had run all the OS updates a while back.
> 
> I've disabled the service again, and the migration has completed successfully.

> 
> Thank you all for your assistance, and I'm sorry for wasting your time.

good it's working for you
I was also checking the internal error and it's 
http://gerrit.ovirt.org/#/c/21700, which is fixed by now

Thanks,
michal

> 
> Regards.
> 
> Neil Wilson.
> 
> 
> 
> On Tue, Jan 14, 2014 at 9:30 AM, Neil  wrote:
>> Good morning everyone,
>> 
>> Sorry for the late reply.
>> 
>> Tom: unfortunately selinux is disabled on all the machines involved.
>> 
>> Michal: Attached are the latest logs, I started the migration at
>> 8:43am and it returned an error/failed at 8:52am. The details of the
>> migration are as follows.
>> 
>> node01 (10.0.2.21) is the destination
>> node03 (10.0.2.23) is the source
>> engine01 (10.0.2.31) is the engine
>> Tux is the VM
>> 
>> Strangely enough the immediate "pop up" error I received in the GUI
>> previously didn't appear this time and it looked like it might
>> actually work, however after waiting quite a while it eventually
>> returned an error in the Tasks as follows...
>> 
>> 2014-Jan-14, 09:05 Refresh image list failed for domain(s): bla-iso
>> (ISO file type). Please check domain activity.
>> 2014-Jan-14, 09:05 Migration failed due to Error: Internal Engine
>> Error. Trying to migrate to another Host (VM: tux, Source:
>> node03.blabla.com, Destination: node01.blabla.com).
>> 2014-Jan-14, 08:52 Migration failed due to Error: Internal Engine
>> Error (VM: tux, Source: node03.blabla.com, Destination:
>> node01.blabla.com).
>> 
>> and then also received an error in the engine.log which is why I've
>> attached that as well.
>> 
>> Please shout if you need any further info.
>> 
>> Thank you so much.
>> 
>> Regards.
>> 
>> Neil Wilson.
>> 
>> On Mon, Jan 13, 2014 at 4:07 PM, Tom Brown  wrote:
>>> 
>>> selinux issue?
>>> 
>>> 
>>> On 13 January 2014 12:48, Michal Skrivanek 
>>> wrote:
>>>> 
>>>> 
>>>> On Jan 13, 2014, at 11:37 , Neil  wrote:
>>>> 
>>>>> Good morning everyone,
>>>>> 
>>>>> Sorry to trouble you again, anyone have any ideas on what to try next?
>>>> 
>>>> Hi Neil,
>>>> hm, other than noise I don't really see any failures in migration.
>>>> Can you attach both src and dst vdsm log with a hint which VM and at what
>>>> time approx it failed for you?
>>>> There are errors for one volume reoccuring all the time, but that doesn't
>>>> look related to the migration
>>>> 
>>>> Thanks,
>>>> michal
>>>> 
>>>>> 
>>>>> Thank you so much,
>>>>> 
>>>>> Regards.
>>>>> 
>>>>> Neil Wilson.
>>>>> 
>>>>> On Fri, Jan 10, 2014 at 8:31 AM, Neil  wrote:
>>>>>> Hi Dafna,
>>>>>> 
>>>>>> Apologies for the late reply, I was out of my office yesterday.
>>>>>> 
>>>>>> Just to get back to you on your questions.
>>>>>> 
>>>>>> can you look at the vm dialogue and see what boot devices the vm has?
>>>>>> Sorry I'm not sure where you want me to get this info from? Inside the
>>>>>> ovirt GUI or on the VM itself.
>>>>>> The VM has one 2TB LUN assigned. Then inside the VM this is the fstab
>>>>>> parameters..
>>>>>> 
>>>>>> [root@tux ~]# cat /etc/fstab
>>>>>> /dev/VolGroup00/LogVol00 /   ext3defaults
>>>>>> 1 0
>>>>>> /dev/vda1 /boot   ext3defaults1
>>>>>> 0
>>>>>> tmpfs   /dev/shmtmpfs   defaults
>>>>>> 0 0
>>>>>> devpts  /dev/ptsdevpts  gid=5,mode=620
>>>>>> 0 0
>>>>>> sysfs   /syssysfs   defaults

Re: [Users] Stuck VM on Migration To

2014-01-16 Thread Michal Skrivanek

On Jan 15, 2014, at 13:12 , Carlo Turco  wrote:

> Hello guys.
> 
> I´m using 3.2 ovirt and suddenly one of my VM started to migrate. The problem 
> is that it´s is Stuck in this process and I can not do nothing on it.
> 
> I take a look on engine.log and there is nothing there showing a problem, if 
> a try to cancel migration, it says
> "2014-01-15 10:08:37,129 WARN 
> [org.ovirt.engine.core.bll.CancelMigrateVmCommand] (ajp--127.0.0.1-8702-3) 
> CanDoAction of action CancelMigrateVm failed. 
> Reasons:VAR__TYPE__VM,VAR__ACTION__CANCEL_MIGRATE,VM_CANNOT_CANCEL_MIGRATION_WHEN_VM_IS_NOT_MIGRATING"
> 
> Suspend
> "2014-01-15 10:10:32,041 WARN [org.ovirt.engine.core.bll.HibernateVmCommand] 
> (ajp--127.0.0.1-8702-7) CanDoAction of action HibernateVm failed. 
> Reasons:ACTION_TYPE_FAILED_VM_IS_NOT_UP,VAR__TYPE__VM,VAR__ACTION__HIBERNATE"
> 
> Run
> "2014-01-15 10:11:13,244 INFO 
> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-50) 
> [1c8495ae] Vm Running failed - vm 
> 68a11fa4-f3b8-430a-af02-0beaa293f49c:core-mag already running, status 
> MigratingTo"
> 
> What can I do?

Hi,
well, as a first step, attach logs:-)
If possible from engine, source vdsm and destination vdsm, along with the VM 
name in question and let's see what's going on….

Thanks,
michal

> 
> Best wishes
> 
> Carlo Turco
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Blank VM Install Console

2014-01-17 Thread Michal Skrivanek

On Jan 17, 2014, at 09:59 , Dafna Ron  wrote:

> well, I have to admit that it has been a while since I tried logging in to a 
> vm console from a Windows OS :)
> Adding some people to this which I think can help more than me...
> 
> 
> On 01/17/2014 12:58 AM, David Li wrote:
>> Well, it didn't even have any traces to tell me if it's installed. I am 
>> supposed to see these according to the instruction but none of them showed 
>> up.
>> 
>>  * IE will prompt you with "This website wants to install the following 
>> add-on SpiceX.cab... proceed by clicking the arrow on the install button and 
>> choose "Install for All Users of this computer".
>>  * Depending on the version of IE a UAC dialog may pop up asking you if 
>> you want to allow "SpiceX.cab" If it does not Click on the install spice 
>> button again and it will.
>>  * In the UAC dialog click on the yes button.
>>  * The install will now proceed in the background.
>> 
>> 
>> I am using W7 64bit with IE11. My engine is running on a RHEL6 machine.

IE11 doesn't really work as of now.
Try some more reasonable browser, IE10 would be also fine.

activex setup requires some manual work as mentione at 
How_to_Connect_to_SPICE_Console_With_Portal wiki
native invocation (that file to download you got) is easier, just associate 
with recent remote viewer and it should open 
it works on Windows, Linux and OSX (needs 
https://github.com/brianwcook/launchvv in addition)

check out http://www.ovirt.org/Console_Client_Resources

Thanks,
mcihal

>> 
>> 
>> - Original Message -
>>> From: Dafna Ron 
>>> To: David Li 
>>> Cc: Madhav V Diwan ; "users@ovirt.org" 
>>> 
>>> Sent: Thursday, January 16, 2014 4:16 PM
>>> Subject: Re: [Users] Blank VM Install Console
>>> 
>>> 1. did you restart you're firefox after install?
>>> 2. what OS are you using?
>>> 
>>> 
>>> On 01/16/2014 11:40 PM, David Li wrote:
  This isn't working for me at this time. I have gone to the end of the
>>> instructions and clicked on "Install Spice" button in IE but nothing
>>> happened.
  Maybe someone with more knowledge should come out and make clarifications.
 
 
  - Original Message -
>  From: Madhav V Diwan 
>  To: David Li 
>  Cc: "users@ovirt.org" 
>  Sent: Thursday, January 16, 2014 1:51 PM
>  Subject: Re: [Users] Blank VM Install Console
> 
>  yuck
> 
>  i dont know why they do not just have this already done in an rpm
> 
>  yes it probably works , i have not tested it ,  but virt-viewer is
>  deprecated in favor of the newer Remote-Viewer
> 
>  by the way
> 
>  worst comes to worst  you can always connect to the ovirt vm node
>  server via virt-manager gui in linux .. or using macports virt-manager
>  in OSX
> 
>  and as long as you have a username and password set up in libvirt
>  password db
>  /etc/libvirt/passwd.db
> 
>  use saslpasswd2 -a libvirt $USER  on your ovirt vm host node
>  to add your user account so you dont mess with ovirt's
> 
>  if you have  winaxe or some other Xwindows on your windows machine you
>  could probably just ssh with putty.exe to your ovirt node server and
>>> run
>  virt-manager from there while displaying back to your windows desktop
> 
> 
> 
>  -Original Message-
>  From: David Li 
>  Reply-to: David Li 
>  To: Madhav V Diwan 
>  Cc: users@ovirt.org 
>  Subject: Re: [Users] Blank VM Install Console
>  Date: Thu, 16 Jan 2014 13:35:02 -0800 (PST)
> 
>  Is this page still applicable to ovirt 3.3.2?
> 
> 
>>> http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal#Add_a_deployment_method_Server_Side
> 
> 
> 
>  - Original Message -
>>From: Madhav V Diwan 
>>To: David Li 
>>Cc: "users@ovirt.org" 
>>Sent: Thursday, January 16, 2014 1:28 PM
>>Subject: Re: [Users] Blank VM Install Console
>> 
>>install them wherever your firefox browser is installed...
>>whichever machine you are using to browse to the portal from
>> 
>>unfortunately i believe ovirts' spice viewing only works on
>>> linux
>>desktops running firefox  currently
>> 
>>also the ovirt  vnc implementation assumes you have
>>> remote-viewer  which
>>can open that .vv file that pops up.. again remote-viewer would
>>> only be
>>available on linux desktops..
>> 
>>there IS a MAC OS port for remote-viewer , but i've never
>>> gotten it to
>>work without a lot of manual URL input
>> 
>> 
>>-Original Message-
>>From: David Li 
>>Reply-to: David Li 
>>To: Madhav V Diwan 
>>Cc: users@ovirt.org 
>>Subject: Re: [Users] Blank VM Install Console
>>Date: Thu, 16 Jan 2014 11:39:20 -0800 (PST)
>> 
>> 
>>Do I need these to be installed on the e

Re: [Users] Blank VM Install Console

2014-01-17 Thread Michal Skrivanek


On 17 Jan 2014, at 23:38, Itamar Heim  wrote:

> On 01/18/2014 12:30 AM, David Li wrote:
>> This time I tried to use "spice html5 browser client". I downloaded the cert 
>> from http:///ovirt-engine/ca.crt. This time the console window " 
>> spice javascript client" showed up in the firefox (24.2.0) but it stays 
>> gray. Nothing can be seen.
>> 
>> So what else am I missing here?
> 
> just to rule out things:
> - is the geust working correctly for you (ssh?)
> - does it happen to consume 100% cpu?
> - does vnc work for you correctly for this guest?

During install, are you sure you said yes to install websocket proxy?

Thanks,
michal

> 
>> 
>> 
>> 
>> 
>> - Original Message -
>>> From: Michal Skrivanek 
>>> To: David Li 
>>> Cc: Meital Avital ; Einav Cohen ; 
>>> Omer Frenkel ; "users@ovirt.org List" 
>>> ; "d...@redhat.com Ron" 
>>> Sent: Friday, January 17, 2014 1:12 AM
>>> Subject: Re: [Users] Blank VM Install Console
>>> 
>>> 
>>> On Jan 17, 2014, at 09:59 , Dafna Ron  wrote:
>>> 
>>>>  well, I have to admit that it has been a while since I tried logging in to
>>> a vm console from a Windows OS :)
>>>>  Adding some people to this which I think can help more than me...
>>>> 
>>>> 
>>>>  On 01/17/2014 12:58 AM, David Li wrote:
>>>>>  Well, it didn't even have any traces to tell me if it's
>>> installed. I am supposed to see these according to the instruction but none 
>>> of
>>> them showed up.
>>>>> 
>>>>>  * IE will prompt you with "This website wants to install the
>>> following add-on SpiceX.cab... proceed by clicking the arrow on the install
>>> button and choose "Install for All Users of this computer".
>>>>>  * Depending on the version of IE a UAC dialog may pop up asking you
>>> if you want to allow "SpiceX.cab" If it does not Click on the install
>>> spice button again and it will.
>>>>>  * In the UAC dialog click on the yes button.
>>>>>  * The install will now proceed in the background.
>>>>> 
>>>>> 
>>>>>  I am using W7 64bit with IE11. My engine is running on a RHEL6 machine.
>>> 
>>> IE11 doesn't really work as of now.
>>> Try some more reasonable browser, IE10 would be also fine.
>>> 
>>> activex setup requires some manual work as mentione at
>>> How_to_Connect_to_SPICE_Console_With_Portal wiki
>>> native invocation (that file to download you got) is easier, just associate 
>>> with
>>> recent remote viewer and it should open
>>> it works on Windows, Linux and OSX (needs 
>>> https://github.com/brianwcook/launchvv
>>> in addition)
>>> 
>>> check out http://www.ovirt.org/Console_Client_Resources
>>> 
>>> Thanks,
>>> mcihal
>>> 
>>>>> 
>>>>> 
>>>>>  - Original Message -
>>>>>>  From: Dafna Ron 
>>>>>>  To: David Li 
>>>>>>  Cc: Madhav V Diwan ;
>>> "users@ovirt.org" 
>>>>>>  Sent: Thursday, January 16, 2014 4:16 PM
>>>>>>  Subject: Re: [Users] Blank VM Install Console
>>>>>> 
>>>>>>  1. did you restart you're firefox after install?
>>>>>>  2. what OS are you using?
>>>>>> 
>>>>>> 
>>>>>>  On 01/16/2014 11:40 PM, David Li wrote:
>>>>>>>   This isn't working for me at this time. I have gone to the
>>> end of the
>>>>>>  instructions and clicked on "Install Spice" button in IE
>>> but nothing
>>>>>>  happened.
>>>>>>>   Maybe someone with more knowledge should come out and make
>>> clarifications.
>>>>>>> 
>>>>>>> 
>>>>>>>   - Original Message -
>>>>>>>>   From: Madhav V Diwan 
>>>>>>>>   To: David Li 
>>>>>>>>   Cc: "users@ovirt.org" 
>>>>>>>>   Sent: Thursday, January 16, 2014 1:51 PM
>>>>>>>>   Subject: Re: [Users] Blank VM Install Console
>>>>>>>> 
>>>>>>>>   yuck
>>>>>>>> 
>>>>>>>>   i dont know w

Re: [Users] VM Migration failed

2014-01-18 Thread Michal Skrivanek
  
>> "/usr/lib64/python2.6/site-__packages/vdsm/__libvirtconnection.py",
>>line 76, in wrapper
>>  ret = f(*args, **kwargs)
>>File "/usr/lib64/python2.6/site-__packages/libvirt.py",
>>line 1178, in migrateToURI2
>>  if ret == -1: raise libvirtError
>>('virDomainMigrateToURI2() failed', dom=self)
>>libvirtError: Failed to inquire lock: No such process
>>    Thread-26::ERROR::2014-01-17
>>17:01:28,917::sampling::355::__vm.Vm::(collect)
>>vmId=`b8787906-187a-4234-a0c9-__58fc4ddf2a57`::Stats
>>function failed: 
>> 
>>The problem is that it doesn't say which process...
>> 
>> 
>>this looks like noise post the migration failing, with probably
>>a more relevant error in libvirt log
>> 
>> 
>>- Original Message -
>> 
>>From: "Itamar Heim" ><mailto:ih...@redhat.com>>
>>To: "Edgars M." ><mailto:edgars.maz...@gmail.com>>, "Meital Bourvine"
>>mailto:mbour...@redhat.com>>
>>Cc: users@ovirt.org <mailto:users@ovirt.org>, "Michal
>>Skrivanek" ><mailto:mskri...@redhat.com>>
>>Sent: Friday, January 17, 2014 9:47:11 PM
>>Subject: Re: [Users] VM Migration failed
>> 
>>On 01/17/2014 06:25 PM, Edgars M. wrote:
>> 
>>Hi Meital
>> 
>>I tried to migrate another VM and it also failed.
>> 
>>This is what I get in UI:
>> 
>> 
>>Migration started (VM: nophpapp01, Source:
>>novmnode1, Destination:
>>novmnode2, User: edgarsm).
>>Migration failed due to Error: Fatal error during
>>migration. Trying to
>>migrate to another Host (VM: nophpapp01, Source:
>>novmnode1, Destination:
>>novmnode2).
>>Migration failed due to Error: Fatal error during
>>migration (VM:
>>nophpapp01, Source: novmnode1, Destination: novmnode2).
>> 
>>There is nothing in /var/log/messages, neither on
>>engine server nor nodes.
>> 
>> 
>>See attachments for engine and vdsm logs. (I am
>>migrating from vmnode1
>>to vmnode2)
>> 
>> 
>>whatever the issue is here, can you please open a bug on
>>trying to
>>return more info to user on the migration error itself
>>(for easier
>>troubleshooting).
>> 
>>thanks,
>>  Itamar
>> 
>> 
>>Thanks for the help
>>Edgars
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>On Fri, Jan 17, 2014 at 4:46 PM, Meital Bourvine
>>mailto:mbour...@redhat.com>
>><mailto:mbour...@redhat.com
>><mailto:mbour...@redhat.com>>> wrote:
>> 
>>  Which error are you getting in the UI?
>>  Can you please attach the full engine and vdsm
>>logs?
>>  Also, please check if there is a relevant
>>error in /var/log/messages
>> 
>> 
>>
>> --__--__
>> 
>> 
>>  *From: *"Edgars M."
>>><mailto:edgars.maz...@gmail.com>
>>  <mailto:edgars.mazurs@gmail.__com
>><mailto:edgars.maz...@gmail.com>>>
>>  *To: *users@ovirt.org
>><mailto:users@ovirt.org> <mailto:users@ovirt.org
>><mailto:users@ovirt.org>>
>>  *Sent: *Friday, January 17, 2014 3:42:37 PM
>>  *Subject: *[Users] VM Migration failed
>&g

Re: [Users] Vm's being paused

2014-01-20 Thread Michal Skrivanek

On Jan 20, 2014, at 15:03 , Sven Kieske  wrote:

> Hi,
> 
> this shouldn't happen imho.
> 
> If the VM writes faster than the virtual disk can grow I
> would expect the hypervisor to slow down the writing
> instead of throwing errors?

we extend before run out of space so it should not really happen in real life, 
not in reasonable setups.
unlike the out of space scenario where there's little we can do, just pause.

the threshold for growing the space can be change…or simply use preallocated 
disks if the performance is so bad and VM demands so high.

Thanks
michal

> 
> Am 19.01.2014 19:20, schrieb Dan Yasny:
>> If you have thin provisioned disks, and the
>> VM writes to it's disks faster than the disks can grow, this is exactly
>> what you will see
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] get VM events via API?

2014-01-20 Thread Michal Skrivanek

On Jan 20, 2014, at 15:12 , Itamar Heim  wrote:

> On 01/20/2014 04:08 PM, Sven Kieske wrote:
>> No,
>> 
>> in webadmin this can be accessed by clicking on a vm
>> and select the sub tab "Sessions".
>> 
>> Is this exposed via API?
>> 
>> Use case would be to see if the user logs in, so I can see
>> and verify the vm setup did go well.
> 
> i couldn't see it as well with my 3.3, please open a bug.

yeah, I guess it should go under VM's guest_info (there's guest's IP and FQDN 
right now)

Thanks,
michal

> 
>> 
>> Am 20.01.2014 10:48, schrieb Itamar Heim:
>>> it should, but do you see that under events or the vm info?
>> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Configure VNC-Password timeout

2014-01-20 Thread Michal Skrivanek

On Jan 20, 2014, at 15:26 , Sven Kieske  wrote:

> Hi,
> 
> thanks for the fast reply, I already feared this answer.

btw, password can be disabled completely via vdsm hook; or the 
password/validity can be altered in after_vm_set_ticket hook I suppose as well.

> 
> Against which component should I open the BZ?

webadmin

> 
> Am 20.01.2014 14:58, schrieb Tomas Jelinek:
>> 
>> 
>> - Original Message -
>>> From: "Sven Kieske" 
>>> To: "Users@ovirt.org List" 
>>> Sent: Monday, January 20, 2014 2:41:29 PM
>>> Subject: [Users] Configure VNC-Password timeout
>>> 
>>> Hi,
>>> 
>>> the default timeout for the vnc passwords
>>> is 2 Minutes. I'd like to reconfigure
>>> this.
>>> 
>>> Is there an engine-config value or is
>>> this hardcoded? How can this be changed?
>> 
>> It seems to be hardcoded on the frontend: 
>> VncConsoleModel.java:
>> ...
>> private static final int TICKET_VALIDITY_SECONDS = 120;
>> ...
>> 
>> I would say it would not hurt to have this configurable - could you please 
>> open a bug on this?
> 
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] novnc console button/ticket via REST-API?

2014-01-21 Thread Michal Skrivanek

On Jan 21, 2014, at 11:48 , Sven Kieske  wrote:

> Hi,
> 
> we are quite impressed of the novnc console
> option to get access to the vms.
> 
> however, we want to implement our own
> userportal. So is it possible
> to create the novnc ticket / open a vnc
> session with the vm event via REST-API?
> 
> If yes how?

setting the ticket is a VM's action "ticket"
after that you can spawn your client and connect to the desired host/port you 
get from VM display's address, secureport

Thanks,
michal

> 
> If not, how could this be achieved?
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] novnc console button/ticket via REST-API?

2014-01-21 Thread Michal Skrivanek

On Jan 21, 2014, at 13:15 , Juan Hernandez  wrote:

> On 01/21/2014 12:22 PM, Michal Skrivanek wrote:
>> 
>> On Jan 21, 2014, at 11:48 , Sven Kieske  wrote:
>> 
>>> Hi,
>>> 
>>> we are quite impressed of the novnc console
>>> option to get access to the vms.
>>> 
>>> however, we want to implement our own
>>> userportal. So is it possible
>>> to create the novnc ticket / open a vnc
>>> session with the vm event via REST-API?
>>> 
>>> If yes how?
>> 
>> setting the ticket is a VM's action "ticket"
>> after that you can spawn your client and connect to the desired host/port 
>> you get from VM display's address, secureport
>> 
>> Thanks,
>> michal
>> 
>>> 
>>> If not, how could this be achieved?
>>> 
> 
> To get the ticket for the VNC display you need to do the following:
> 
> curl \
> -k \
> -X POST \
> -H "Accept: application/xml" \
> -H "Content-Type: application/xml" \
> -d "
> 
> " \
> -u admin@internal:** \
> https://whatever/api/vms/your_vm_id/ticket
> 
> That will return something like this:
> 
>  
>
>  IKWW7PpFZhjP
>  7200
>
>
>   ...
>
>
>  complete
>
>  
> 
> The ticket.value is the password for the VNC display. To connect to the
> display you will need also to get the host and port number from the VM
> details:
> 
> curl \
> -k \
> -H "Accept: application/xml" \
> -u admin@internal:** \
> https://whatever/api/vms/your_vm_id
> 
> This will return the following:
> 
>  
>...
>
>  vnc
>  192.168.122.20
>  5900
>  ...
>
>...
>  
> 
> The the ticket.value, vm.display.address and vm.display.port you can
> complete the VNC connection.

minor note: the secure port is the one to be used as by default the host will 
refuse the plaintext connection

> 
> -- 
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

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


Re: [Users] novnc console button/ticket via REST-API?

2014-01-21 Thread Michal Skrivanek

On Jan 21, 2014, at 13:09 , Sven Kieske  wrote:

> Hi,
> 
> Am 21.01.2014 12:22, schrieb Michal Skrivanek:
>> setting the ticket is a VM's action "ticket"
>> after that you can spawn your client and connect to the desired host/port 
>> you get from VM display's address, secureport
> 
> well it's cool I can set the ticket, but the "client" would be novnc in
> our case, so there is no way to get the actual url for this ticket for
> novnc with REST?

there are two steps
you get the password via ticket action (which enables/opens the connection for 
those 120s window)
you get the display details from VM's properties (host, port)
and then you can connect. 

for novnc you'd need to use websocket proxy in addition so you need to get the 
proxy address from engine-config

Thanks,
michal

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

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


Re: [Users] novnc console button/ticket via REST-API?

2014-01-21 Thread Michal Skrivanek

On Jan 21, 2014, at 15:55 , Sven Kieske  wrote:

> Hi,
> 
> yeah we have already setup a websocket proxy on a different host.
> But our goal is not just to use this websocket proxy in the engine
> and clicking the console link in webadmin.
> 
> We want a setup like this:
> 
> Host a: engine
> Host b: websocket proxy
> Host c: custom user portal with a link which opens
> the novnc connection (similar to the link in webadmin
> when I click "console" for a vm).
> 
> how can we construct this link for host c?

right, so what do you miss?
perhaps the websocket proxy address, I don't think it's exposed via REST:/ 
Don't know. Maybe use a fixed one in your environment is good enough?
other than that you have everything, no?

> everything else works. :)
> 
> Am 21.01.2014 15:03, schrieb Michal Skrivanek:
>> 
>> On Jan 21, 2014, at 13:09 , Sven Kieske  wrote:
>> 
>>> Hi,
>>> 
>>> Am 21.01.2014 12:22, schrieb Michal Skrivanek:
>>>> setting the ticket is a VM's action "ticket"
>>>> after that you can spawn your client and connect to the desired host/port 
>>>> you get from VM display's address, secureport
>>> 
>>> well it's cool I can set the ticket, but the "client" would be novnc in
>>> our case, so there is no way to get the actual url for this ticket for
>>> novnc with REST?
>> 
>> there are two steps
>> you get the password via ticket action (which enables/opens the connection 
>> for those 120s window)
>> you get the display details from VM's properties (host, port)
>> and then you can connect. 
>> 
>> for novnc you'd need to use websocket proxy in addition so you need to get 
>> the proxy address from engine-config
>> 
>> Thanks,
>> michal
>> 
>>> 
>>> -- 
>>> Mit freundlichen Grüßen / Regards
>>> 
>>> Sven Kieske
>>> 
>>> Systemadministrator
>>> Mittwald CM Service GmbH & Co. KG
>>> Königsberger Straße 6
>>> 32339 Espelkamp
>>> T: +49-5772-293-100
>>> F: +49-5772-293-333
>>> https://www.mittwald.de
>>> Geschäftsführer: Robert Meyer
>>> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
>>> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
>> 
>> 
>> 
>> 
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

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


Re: [Users] Blank VM Install Console

2014-01-21 Thread Michal Skrivanek


On 21 Jan 2014, at 18:20, David Li  wrote:

> Itamar,
> 
> I tried what you suggested. Now when I restart the VM, it ends up in unknown 
> state. Moreover, all storage domains and the host are all down. What do I 
> need to do to recover from here?

Thos is way beyond graphics issues. You have something wrong with the basic 
setup. Storage connection?
Can all hosts see the engine and vice versa? Any manual firewall tweaks?

Thanks,
michal
> 
> 
> - Original Message -
>> From: Itamar Heim 
>> To: David Li ; Michal Skrivanek 
>> 
>> Cc: "users@ovirt.org List" 
>> Sent: Friday, January 17, 2014 2:53 PM
>> Subject: Re: [Users] Blank VM Install Console
>> 
>> On 01/18/2014 12:49 AM, David Li wrote:
>>> The node is up and running. I can ssh in no problem. VM is started and 
>> running ok with 0% CPU 3% memory.
>>> 
>>> I don't know how to connect VNC to it, my VNC console option is grayed 
>> out.
>> 
>> stop the VM. edit it, change console from spice to vnc, start VM, 
>> connect to it again with vnc.
>> 
>>> 
>>> I also tried " browser plugin" option by installing spice-xpi on 
>> my RHEL6 (which runs the firefox browser). Now when the console is launched, 
>> a 
>> popup window shows up but then an error " Unable to connect to the graphic 
>> server".
>>> 
>>> 
>>> 
>>> 
>>> - Original Message -
>>>> From: Itamar Heim 
>>>> To: David Li ; Michal Skrivanek 
>> 
>>>> Cc: "users@ovirt.org List" 
>>>> Sent: Friday, January 17, 2014 2:38 PM
>>>> Subject: Re: [Users] Blank VM Install Console
>>>> 
>>>> On 01/18/2014 12:30 AM, David Li wrote:
>>>>>This time I tried to use "spice html5 browser client". 
>> I
>>>> downloaded the cert from http:///ovirt-engine/ca.crt. 
>> This time
>>>> the console window " spice javascript client" showed up in 
>> the firefox
>>>> (24.2.0) but it stays gray. Nothing can be seen.
>>>>> 
>>>>>So what else am I missing here?
>>>> 
>>>> just to rule out things:
>>>> - is the geust working correctly for you (ssh?)
>>>> - does it happen to consume 100% cpu?
>>>> - does vnc work for you correctly for this guest?
>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>- Original Message -
>>>>>>From: Michal Skrivanek 
>>>>>>To: David Li 
>>>>>>Cc: Meital Avital ; Einav Cohen
>>>> ; Omer Frenkel ;
>>>> "users@ovirt.org List" ; 
>> "d...@redhat.com
>>>> Ron" 
>>>>>>Sent: Friday, January 17, 2014 1:12 AM
>>>>>>Subject: Re: [Users] Blank VM Install Console
>>>>>> 
>>>>>> 
>>>>>>On Jan 17, 2014, at 09:59 , Dafna Ron  
>> wrote:
>>>>>> 
>>>>>>>  well, I have to admit that it has been a while since I 
>> tried
>>>> logging in to
>>>>>>a vm console from a Windows OS :)
>>>>>>>  Adding some people to this which I think can help more 
>> than me...
>>>>>>> 
>>>>>>> 
>>>>>>>  On 01/17/2014 12:58 AM, David Li wrote:
>>>>>>>>  Well, it didn't even have any traces to tell me 
>> if
>>>> it's
>>>>>>installed. I am supposed to see these according to the 
>> instruction but
>>>> none of
>>>>>>them showed up.
>>>>>>>> 
>>>>>>>>  * IE will prompt you with "This website 
>> wants to
>>>> install the
>>>>>>following add-on SpiceX.cab... proceed by clicking the arrow 
>> on the
>>>> install
>>>>>>button and choose "Install for All Users of this 
>> computer".
>>>>>>>>  * Depending on the version of IE a UAC dialog 
>> may pop up
>>>> asking you
>>>>>>if you want to allow "SpiceX.cab" If it does not 
>> Click on the
>>>> install
>>>>>>spice button again and it will.
>>>>>>>>  * In the UAC dialog click on the yes button.
>>>>>>>> 

Re: [Users] Blank VM Install Console

2014-01-21 Thread Michal Skrivanek


On 21 Jan 2014, at 18:26, David Li  wrote:

> Before the VM install console problem, everything was normal, the cpu, host, 
> storage were done following the quick start guide. 

Well, whatever is the reason the symptoms you see suggests something is either 
crashing (vdsm on the host) or is unreachable or misconfigured now. 
Depends what you did...:)
Might be easier to start from scratch if unsure...


> 
> 
> - Original Message -
>> From: Michal Skrivanek 
>> To: David Li 
>> Cc: Itamar Heim ; "users@ovirt.org List" 
>> Sent: Tuesday, January 21, 2014 9:24 AM
>> Subject: Re: [Users] Blank VM Install Console
>> 
>> 
>> 
>> On 21 Jan 2014, at 18:20, David Li  wrote:
>> 
>>> Itamar,
>>> 
>>> I tried what you suggested. Now when I restart the VM, it ends up in 
>> unknown state. Moreover, all storage domains and the host are all down. What 
>> do 
>> I need to do to recover from here?
>> 
>> Thos is way beyond graphics issues. You have something wrong with the basic 
>> setup. Storage connection?
>> Can all hosts see the engine and vice versa? Any manual firewall tweaks?
>> 
>> Thanks,
>> michal
>>> 
>>> 
>>> - Original Message -
>>>> From: Itamar Heim 
>>>> To: David Li ; Michal Skrivanek 
>> 
>>>> Cc: "users@ovirt.org List" 
>>>> Sent: Friday, January 17, 2014 2:53 PM
>>>> Subject: Re: [Users] Blank VM Install Console
>>>> 
>>>> On 01/18/2014 12:49 AM, David Li wrote:
>>>>> The node is up and running. I can ssh in no problem. VM is started 
>> and 
>>>> running ok with 0% CPU 3% memory.
>>>>> 
>>>>> I don't know how to connect VNC to it, my VNC console option is 
>> grayed 
>>>> out.
>>>> 
>>>> stop the VM. edit it, change console from spice to vnc, start VM, 
>>>> connect to it again with vnc.
>>>> 
>>>>> 
>>>>> I also tried " browser plugin" option by installing 
>> spice-xpi on 
>>>> my RHEL6 (which runs the firefox browser). Now when the console is 
>> launched, a 
>>>> popup window shows up but then an error " Unable to connect to the 
>> graphic 
>>>> server".
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> - Original Message -
>>>>>> From: Itamar Heim 
>>>>>> To: David Li ; Michal Skrivanek 
>>>> 
>>>>>> Cc: "users@ovirt.org List" 
>>>>>> Sent: Friday, January 17, 2014 2:38 PM
>>>>>> Subject: Re: [Users] Blank VM Install Console
>>>>>> 
>>>>>> On 01/18/2014 12:30 AM, David Li wrote:
>>>>>>> This time I tried to use "spice html5 browser 
>> client". 
>>>> I
>>>>>> downloaded the cert from 
>> http:///ovirt-engine/ca.crt. 
>>>> This time
>>>>>> the console window " spice javascript client" showed 
>> up in 
>>>> the firefox
>>>>>> (24.2.0) but it stays gray. Nothing can be seen.
>>>>>>> 
>>>>>>> So what else am I missing here?
>>>>>> 
>>>>>> just to rule out things:
>>>>>> - is the geust working correctly for you (ssh?)
>>>>>> - does it happen to consume 100% cpu?
>>>>>> - does vnc work for you correctly for this guest?
>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> - Original Message -
>>>>>>>> From: Michal Skrivanek 
>> 
>>>>>>>> To: David Li 
>>>>>>>> Cc: Meital Avital ; Einav 
>> Cohen
>>>>>> ; Omer Frenkel 
>> ;
>>>>>> "users@ovirt.org List" ; 
>>>> "d...@redhat.com
>>>>>> Ron" 
>>>>>>>> Sent: Friday, January 17, 2014 1:12 AM
>>>>>>>> Subject: Re: [Users] Blank VM Install Console
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Jan 17, 2014, at 09:59 , Dafna Ron 
>>  
>>>> wrote:
>>>>>>>> 
>>>>>>>>>   well, I have to admit that it has been a whil

Re: [Users] Blank VM Install Console

2014-01-21 Thread Michal Skrivanek


> On 21 Jan 2014, at 22:57, David Li  wrote:
> 
> Hi Michal,
> 
> Itamar asked me to write to you about how to use WebProxy to access the VM 
> console. 
> 
> I have a set up like this on three different physical servers:
> 
> 
> Browser (RHEL6, firefox 24.2.0)  --- ovirt-engine 
> --- host (CPU)
> 
> However the browser machine doesn't have direct connection to the host. It 
> can only go through ovirt-engine machine to access the host. It might be for 
> this reason that I have failed in using SPICE and VNC to see the VM console. 
> Is websocket proxy the viable solution in this case? What are the steps to 
> set up such a connection? Any pointers?

Yes, that's fine, this is the default deployment/installation. You sure you 
opened firewall for websocket proxy? Is is running? Engine-config's 
WebsocketProxy(or similar) parameter points to the right thing?

Thanks,
michal

> 
> Thanks
> 
> David
> 
> 
> 
> - Original Message -
>> From: Itamar Heim 
>> To: David Li ; "d...@redhat.com" ; 
>> Michal Skrivanek 
>> Cc: "users@ovirt.org List" 
>> Sent: Tuesday, January 21, 2014 12:34 PM
>> Subject: Re: [Users] Blank VM Install Console
>> 
>>> On 01/21/2014 10:31 PM, David Li wrote:
>>> Dafna,
>>> 
>>> I have restarted the host and now started to install the Vm from scratch.
>> Following Itamar's suggestion this time, I chose VNC as console option.
>>> How can I use vnc viewer to attach to the VM?
>> 
>> I don't remember if virt-viewer detects the vnc in the .vv file.
>> but you should have the vnc password and connection details in the vv 
>> file to manually connect for sake of testing.
>> 
>> you should also be able to use ovirt cli utility to connect to a vm 
>> which will launch vnc as well (iirc, via virt-viewer, not vnc viewer)
>> 
>>> 
>>> David
>>> 
>>> 
>>> - Original Message -
>>>> From: Dafna Ron 
>>>> To: Michal Skrivanek 
>>>> Cc: David Li ; "users@ovirt.org
>> List" 
>>>> Sent: Tuesday, January 21, 2014 9:38 AM
>>>> Subject: Re: [Users] Blank VM Install Console
>>>> 
>>>> David,
>>>> 
>>>> Let's try to debug the issue you have now.
>>>> Can you please attach engine and vdsm logs?
>>>> 
>>>> Thanks,
>>>> 
>>>> Dafna
>>>> 
>>>> 
>>>>> On 01/21/2014 05:32 PM, Michal Skrivanek wrote:
>>>>> 
>>>>>On 21 Jan 2014, at 18:26, David Li 
>> wrote:
>>>>> 
>>>>>>Before the VM install console problem, everything was normal,
>> the cpu,
>>>> host, storage were done following the quick start guide.
>>>>>Well, whatever is the reason the symptoms you see suggests
>> something is
>>>> either crashing (vdsm on the host) or is unreachable or misconfigured
>> now.
>>>>>Depends what you did...:)
>>>>>Might be easier to start from scratch if unsure...
>>>>> 
>>>>> 
>>>>>> 
>>>>>>- Original Message -
>>>>>>>From: Michal Skrivanek 
>>>>>>>To: David Li 
>>>>>>>Cc: Itamar Heim ;
>> "users@ovirt.org
>>>> List" 
>>>>>>>Sent: Tuesday, January 21, 2014 9:24 AM
>>>>>>>Subject: Re: [Users] Blank VM Install Console
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>On 21 Jan 2014, at 18:20, David Li
>> 
>>>> wrote:
>>>>>>> 
>>>>>>>>Itamar,
>>>>>>>> 
>>>>>>>>I tried what you suggested. Now when I restart the
>> VM, it ends
>>>> up in
>>>>>>>unknown state. Moreover, all storage domains and the host
>> are all
>>>> down. What do
>>>>>>>I need to do to recover from here?
>>>>>>> 
>>>>>>>Thos is way beyond graphics issues. You have something
>> wrong with
>>>> the basic
>>>>>>>setup. Storage connection?
>>>>>>>Can all hosts see the engine and vice versa? Any manual
>> firewall
>>>> tweaks?
>>>>>>> 
>>>>>>>Th

Re: [Users] Blank VM Install Console

2014-01-21 Thread Michal Skrivanek


> On 21 Jan 2014, at 23:18, David Li  wrote:
> 
> Hi Michal,
> 
> Should I use SPICE as console protocol in order to use web proxy? 

It's for both noVNC and SPICE-HTML5 client
Not for virt-viewer or custom native vnc clients
"Spice proxy" would be for similar network layout but native spice client 
(remote-viewer or firefox/IE plugin)
I may have missed that info earlier, are you trying to use browser clients? 
Those need the websocket translation. Or regular/stable way via standalone 
client(that's still the predefined default)

> 
> On my engine, I have:
> 
> WebSocketProxy: Engine:6100 version: general
> WebSocketProxyTicketValiditySeconds: 120 version: general
> 
> So is Webproxy using port 6100?

Yes

> 
> 
> 
> - Original Message -
>> From: Michal Skrivanek 
>> To: David Li 
>> Cc: Itamar Heim ; "d...@redhat.com" ; 
>> "users@ovirt.org List" 
>> Sent: Tuesday, January 21, 2014 2:09 PM
>> Subject: Re: [Users] Blank VM Install Console
>> 
>> 
>> 
>>> On 21 Jan 2014, at 22:57, David Li  wrote:
>>> 
>>> Hi Michal,
>>> 
>>> Itamar asked me to write to you about how to use WebProxy to access the VM
>> console. 
>>> 
>>> I have a set up like this on three different physical servers:
>>> 
>>> 
>>> Browser (RHEL6, firefox 24.2.0)  --- ovirt-engine
>> --- host (CPU)
>>> 
>>> However the browser machine doesn't have direct connection to the host.
>> It can only go through ovirt-engine machine to access the host. It might be 
>> for 
>> this reason that I have failed in using SPICE and VNC to see the VM console. 
>> Is 
>> websocket proxy the viable solution in this case? What are the steps to set 
>> up 
>> such a connection? Any pointers?
>> 
>> Yes, that's fine, this is the default deployment/installation. You sure you 
>> opened firewall for websocket proxy? Is is running? Engine-config's 
>> WebsocketProxy(or similar) parameter points to the right thing?
>> 
>> Thanks,
>> michal
>> 
>>> 
>>> Thanks
>>> 
>>> David
>>> 
>>> 
>>> 
>>> - Original Message -
>>>> From: Itamar Heim 
>>>> To: David Li ;
>> "d...@redhat.com" ; Michal Skrivanek 
>> 
>>>> Cc: "users@ovirt.org List" 
>>>> Sent: Tuesday, January 21, 2014 12:34 PM
>>>> Subject: Re: [Users] Blank VM Install Console
>>>> 
>>>>> On 01/21/2014 10:31 PM, David Li wrote:
>>>>> Dafna,
>>>>> 
>>>>> I have restarted the host and now started to install the Vm from
>> scratch.
>>>> Following Itamar's suggestion this time, I chose VNC as console
>> option.
>>>>> How can I use vnc viewer to attach to the VM?
>>>> 
>>>> I don't remember if virt-viewer detects the vnc in the .vv file.
>>>> but you should have the vnc password and connection details in the vv 
>>>> file to manually connect for sake of testing.
>>>> 
>>>> you should also be able to use ovirt cli utility to connect to a vm 
>>>> which will launch vnc as well (iirc, via virt-viewer, not vnc viewer)
>>>> 
>>>>> 
>>>>> David
>>>>> 
>>>>> 
>>>>> - Original Message -
>>>>>> From: Dafna Ron 
>>>>>> To: Michal Skrivanek 
>>>>>> Cc: David Li ;
>> "users@ovirt.org
>>>> List" 
>>>>>> Sent: Tuesday, January 21, 2014 9:38 AM
>>>>>> Subject: Re: [Users] Blank VM Install Console
>>>>>> 
>>>>>> David,
>>>>>> 
>>>>>> Let's try to debug the issue you have now.
>>>>>> Can you please attach engine and vdsm logs?
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Dafna
>>>>>> 
>>>>>> 
>>>>>>> On 01/21/2014 05:32 PM, Michal Skrivanek wrote:
>>>>>>> 
>>>>>>> On 21 Jan 2014, at 18:26, David Li
>> 
>>>> wrote:
>>>>>>> 
>>>>>>>> Before the VM install console problem, everything
>> was normal,
>>>> the cpu,
>>>>>> host, storage were done following the quick start guide.
>>>>

[Users] multiple storage domains

2014-01-27 Thread Michal Skrivanek
Hey,
I was trying to play with multiple storage domain during the 3.4 test day and 
even though it took me ages to set storage up correctly, the feature itself 
seems to be working just fine. Much easier to select what kind of storage I 
want to use…just Shared vs Local storage pool. VM could use volumes from 
different domains and I didn't have to worry about the right type (other than 
local vs shared, obviously:)

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


Re: [Users] Reboot causes poweroff of VM 3.4 Beta

2014-01-27 Thread Michal Skrivanek

On Jan 27, 2014, at 11:46 , Jonathan Archer  wrote:

> On 25/01/2014 20:02, Roy Golan wrote:
> 
>> Please attach engine.log and vdsm.log
>> 
>> On Jan 25, 2014 5:59 PM, Jon Archer <
>> j...@rosslug.org.uk> wrote:
>>> Hi, Seem to be suffering an issue in 3.4 where if a vm Hi,
>> Seem to be suffering an issue in 3.4 where if a vm is rebooted it 
>> actually shuts down, this occurs for all guests regardless of OS 
>> installed within.
>> 
>> Anyone seen this?
>> 
>> Jon
>> ___
>> Users mailing list
>> 
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> Attached is a sample of the engine.log and vdsm.log during a "reboot" the VM 
> as previously stated shutdown rather than reboot,.
> 
> There wasn't anything in the server.log around the time, the previous entry 
> was at least 30 mins before.
Hi,

your log doesn't contain the relevant part, there's no command logged, other 
than
"Message: VM wcsmail01 is down. Exit message: User shut down"
which means the guest was shut down from inside of the OS

how did you trigger the reboot/shutdown?

Thanks,
michal

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

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


Re: [Users] Reboot causes poweroff of VM 3.4 Beta

2014-01-27 Thread Michal Skrivanek

On Jan 27, 2014, at 11:59 , Jonathan Archer  wrote:

> On 27/01/2014 10:56, Michal Skrivanek wrote:
> 
>> On Jan 27, 2014, at 11:46 , Jonathan Archer  wrote:
>>> On 25/01/2014 20:02, Roy Golan wrote:
>>>> Please attach engine.log and vdsm.log On Jan 25, 2014 5:59 PM, Jon Archer 
>>>> < j...@rosslug.org.uk> wrote:
>>>>> Hi, Seem to be suffering an issue in 3.4 where if a vm Hi,
>>>> Seem to be suffering an issue in 3.4 where if a vm is rebooted it actually 
>>>> shuts down, this occurs for all guests regardless of OS installed within. 
>>>> Anyone seen this? Jon ___ 
>>>> Users mailing list Users@ovirt.org 
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>> Attached is a sample of the engine.log and vdsm.log during a "reboot" the 
>>> VM as previously stated shutdown rather than reboot,. There wasn't anything 
>>> in the server.log around the time, the previous entry was at least 30 mins 
>>> before.
>> Hi,
>> 
>> your log doesn't contain the relevant part, there's no command logged, other 
>> than
>> "Message: VM wcsmail01 is down. Exit message: User shut down"
>> which means the guest was shut down from inside of the OS
>> 
>> how did you trigger the reboot/shutdown?
>> 
>> Thanks,
>> michal
>> 
>>> Thanks 
>>> ___
>>>  Users mailing list Users@ovirt.org 
>>> http://lists.ovirt.org/mailman/listinfo/users
> The reboot was triggered using the reboot command at the console.

ok, makes sense there's nothing in the log

> 
> 
> I also have a windows 7 guest, which shuts down when the reboot option is 
> selected.

what doesn't make sense is the behavior:) It should simply reboot, there's 
nothing oVirt is doing in this case…could it be your OS is configured(or has 
decided) to shutdown instead?
 

> 
>  
> Jon
> 
>  
>  

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


Re: [Users] Reboot causes poweroff of VM 3.4 Beta

2014-01-27 Thread Michal Skrivanek

On Jan 27, 2014, at 12:21 , Jonathan Archer  wrote:

> On 27/01/2014 11:03, Michal Skrivanek wrote:
> 
>> On Jan 27, 2014, at 11:59 , Jonathan Archer  wrote:
>>> On 27/01/2014 10:56, Michal Skrivanek wrote:
>>>> On Jan 27, 2014, at 11:46 , Jonathan Archer  wrote:
>>>>> On 25/01/2014 20:02, Roy Golan wrote:
>>>>>> Please attach engine.log and vdsm.log On Jan 25, 2014 5:59 PM, Jon 
>>>>>> Archer < j...@rosslug.org.uk> wrote:
>>>>>>> Hi, Seem to be suffering an issue in 3.4 where if a vm Hi,
>>>>>> Seem to be suffering an issue in 3.4 where if a vm is rebooted it 
>>>>>> actually shuts down, this occurs for all guests regardless of OS 
>>>>>> installed within. Anyone seen this? Jon 
>>>>>> ___ Users mailing list 
>>>>>> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>>>>> Attached is a sample of the engine.log and vdsm.log during a "reboot" the 
>>>>> VM as previously stated shutdown rather than reboot,. There wasn't 
>>>>> anything in the server.log around the time, the previous entry was at 
>>>>> least 30 mins before.
>>>> Hi, your log doesn't contain the relevant part, there's no command logged, 
>>>> other than "Message: VM wcsmail01 is down. Exit message: User shut down" 
>>>> which means the guest was shut down from inside of the OS how did you 
>>>> trigger the reboot/shutdown? Thanks, michal
>>>>> Thanks 
>>>>> ___
>>>>>  Users mailing list Users@ovirt.org 
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>> The reboot was triggered using the reboot command at the console.
>> ok, makes sense there's nothing in the log
>>> I also have a windows 7 guest, which shuts down when the reboot option is 
>>> selected.
>> what doesn't make sense is the behavior:) It should simply reboot, there's 
>> nothing oVirt is doing in this case…could it be your OS is configured(or has 
>> decided) to shutdown instead?
>>> Jon
> Hi,
> 
> I'd be pointed towards the guest OS if it wasn't for 2 things:
> 
> 1) this happens to all guests of both windows and Linux flavours
> 
> 2) the guests are just plain vanilla installs with nothing special.

that is weird. Any special/non-default setting?
do you have libvirt/qemu logs? VDSM doesn't say much other than a clean 
user-initiated shutdown happened.
is ACPI enabled in the guest (unless you manually changed config it always is)
any logs from the guest?

Thanks,
michal

> 
> Jon
> 
>  

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


Re: [Users] Reboot causes poweroff of VM 3.4 Beta

2014-01-27 Thread Michal Skrivanek

On Jan 27, 2014, at 14:55 , Jonathan Archer  wrote:

> On 27/01/2014 13:15, Michal Skrivanek wrote:
> 
>> On Jan 27, 2014, at 12:21 , Jonathan Archer  wrote:
>>> On 27/01/2014 11:03, Michal Skrivanek wrote:
>>>> On Jan 27, 2014, at 11:59 , Jonathan Archer  wrote:
>>>>> On 27/01/2014 10:56, Michal Skrivanek wrote:
>>>>>> On Jan 27, 2014, at 11:46 , Jonathan Archer  wrote:
>>>>>>> On 25/01/2014 20:02, Roy Golan wrote:
>>>>>>>> Please attach engine.log and vdsm.log On Jan 25, 2014 5:59 PM, Jon 
>>>>>>>> Archer < j...@rosslug.org.uk> wrote:
>>>>>>>>> Hi, Seem to be suffering an issue in 3.4 where if a vm Hi,
>>>>>>>> Seem to be suffering an issue in 3.4 where if a vm is rebooted it 
>>>>>>>> actually shuts down, this occurs for all guests regardless of OS 
>>>>>>>> installed within. Anyone seen this? Jon 
>>>>>>>> ___ Users mailing list 
>>>>>>>> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>>>>>>> Attached is a sample of the engine.log and vdsm.log during a "reboot" 
>>>>>>> the VM as previously stated shutdown rather than reboot,. There wasn't 
>>>>>>> anything in the server.log around the time, the previous entry was at 
>>>>>>> least 30 mins before.
>>>>>> Hi, your log doesn't contain the relevant part, there's no command 
>>>>>> logged, other than "Message: VM wcsmail01 is down. Exit message: User 
>>>>>> shut down" which means the guest was shut down from inside of the OS how 
>>>>>> did you trigger the reboot/shutdown? Thanks, michal
>>>>>>> Thanks 
>>>>>>> ___
>>>>>>>  Users mailing list Users@ovirt.org 
>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>> The reboot was triggered using the reboot command at the console.
>>>> ok, makes sense there's nothing in the log
>>>>> I also have a windows 7 guest, which shuts down when the reboot option is 
>>>>> selected.
>>>> what doesn't make sense is the behavior:) It should simply reboot, there's 
>>>> nothing oVirt is doing in this case…could it be your OS is configured(or 
>>>> has decided) to shutdown instead?
>>>>> Jon
>>> Hi, I'd be pointed towards the guest OS if it wasn't for 2 things: 1) this 
>>> happens to all guests of both windows and Linux flavours 2) the guests are 
>>> just plain vanilla installs with nothing special.
>> that is weird. Any special/non-default setting?
>> do you have libvirt/qemu logs? VDSM doesn't say much other than a clean 
>> user-initiated shutdown happened.
>> is ACPI enabled in the guest (unless you manually changed config it always 
>> is)
>> any logs from the guest?
>> 
>> Thanks,
>> michal
>> 
>>> Jon
> Yes it does seem to be weird, nothing special about my setup. Simple gluster 
> setup converted from all-in-one.
> 
> As I mentioned the guests are vanilla with regard to configs.
> 
> Just had a look in the libvirt and qemu logs, nothin in the libvirt, and 
> nothing exciting in the qemu log
> 
> 2014-01-27 13:37:16.842+: starting up
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
> QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name wcssrv01 -S -M rhel6.5.0 
> -cpu Conroe,+vmx -enable-kvm -m 1024 -realtime mlock=off -smp 
> 1,sockets=1,cores=1,threads=1 -uuid 350e285d-8c3a-494b-b484-27784caae976 
> -smbios type=1,manufacturer=oVirt,product=oVirt 
> Node,version=6-5.el6.centos.11.2,serial=439CF517-D52F-11DF-BBDA-C0970C0278AC,uuid=350e285d-8c3a-494b-b484-27784caae976
>  -nodefconfig -nodefaults -chardev 
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/wcssrv01.monitor,server,nowait
>  -mon chardev=charmonitor,id=monitor,mode=control -rtc 
> base=2014-01-27T13:37:16,driftfix=slew -no-shutdown -device 
> piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
> virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device 
> virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive 
> file=/rhev/data-center/mnt/cauldron.arclab:_ISO__DOMAIN/abf4ff41-eb0a-4580-9ad0-bae53d56c6b0/images/----/CentOS-6.5-x86_64-minimal.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial=
>  -device 
&g

Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+

2014-01-28 Thread Michal Skrivanek

On Dec 11, 2013, at 13:54 , Tomas Jelinek  wrote:

> While the question how did this happened I would like to start a parallel 
> discussion about what to
> do when it happens next time (since this osinfo property files are editable 
> we have to expect that
> some used OS will be deleted). It is certainly not correct to fail on NPE on 
> FE...
> 
> I can imagine following options to fix it:
> - fix only on FE by logic like: if the VM has assigned an OS which is not 
> known, consider it is "other" (e.g. "0") 
>  - brings up the question what if the user deletes the "0" from the property 
> file

mapping to Other seems to be fine
If you delete it "0" well, bad luck;)
It also means that with this mapping if you open a running VM and try to save 
it it may likely fail as it tries to update various fields. Well, bad luck 
again.

I'd address this in bug https://bugzilla.redhat.com/show_bug.cgi?id=1046809

Thanks,
michal

> 
> - fix this on engine side and do the magic (e.g. set the "other" if it is 
> undefined) so the FE will never get an incorrectly assigned OS ID
> 
> - have an "undefined" OS ID hardcoded in the engine which can not be deleted 
> by the user and we can assign it when the actual does not exist
>  - again, we can do this re-assignment on FE or engine
>  - brings up the question what the ID should be and what if the user adds 
> some custom item with this ID
> 
> - do not transfer OS as ID and than some properties which maps to this IDs 
> but real objects. So we could do instead of:
> AsyncDataProvider.hasSpiceSupport(getEntity().getOs(), 
> getEntity().getVdsGroupCompatibilityVersion())
> something like getEntity().getOs().hasSpiceSupport()
> So we could have an implementation of "undefined" os which could react 
> appropriately.
> 
> I like most the last option but at the same time it is quite a big 
> refactoring...
> 
> What do you think?
> 
> - Original Message -
>> From: "Frank Wall" 
>> To: "Roy Golan" 
>> Cc: "oVirt Users" 
>> Sent: Wednesday, December 11, 2013 10:48:15 AM
>> Subject: Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
>> 
>> On 2013-12-11 8:18, Roy Golan wrote:
>>> how was this engine installed, upgraded in time? nightly or with
>>> official releases?
>> 
>> This is my complete release timeline for this host/engine:
>> 
>> Sep 02 17:50:37 Installed: ovirt-engine-3.3.0-0.7.rc2.fc19.noarch
>> Sep 13 22:09:41 Updated: ovirt-engine-3.3.0-3.fc19.noarch
>> Sep 22 18:37:26 Updated: ovirt-engine-3.3.0-4.fc19.noarch
>> Okt 27 21:29:08 Updated: ovirt-engine-3.3.0.1-1.fc19.noarch
>> Dec 05 15:22:38 Updated: ovirt-engine-3.3.1-2.fc19.noarch
>> Dez 08 21:31:55 Updated: ovirt-engine-3.3.2-0.1.beta1.fc19.noarch
>> 
>> 
>> Regards
>> - Frank
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Vm's being paused

2014-01-29 Thread Michal Skrivanek

On Jan 28, 2014, at 19:18 , Dafna Ron  wrote:

> yes - engine lost communication with vdsm and it has no way of knowing if the 
> host is down or if there was a network issue so a network issue would cause 
> the same errors that I see in the logs.
> 
> The error you put on the iso is the reason the vm's have failed migration - 
> if a vm is run with a cd and the cd is gone than the vm will not be able to 
> be migrated.

which, as I learned last week, is not entirely correct. Pure libvirt VM seems 
to work fine…so it must be somewhere something in oVirt:(
looking into it
but just for future reference we want it to work:)

> 
> after the engine restart, do you still see a problem with the size or did the 
> report of size changed?
> 
> Dafna
> 
> On 01/28/2014 01:02 PM, Neil wrote:
>> Hi Dafna,
>> 
>> Thanks for coming back to me. I'll try answer your queries one by one.
>> 
>> On Tue, Jan 28, 2014 at 1:38 PM, Dafna Ron  wrote:
>>> you had a problem with your storage on the 14th of Jan and one of the hosts
>>> rebooted (if you have the vdsm log from that day than I can see what
>>> happened on vdsm side)
>>> in engine, I could see a problem with the export domain and this should not
>>> have cause a reboot.
>> 1.) I don't unfortunately have logs going back that far. Looking at
>> all 3 hosts uptime, the one with the least uptime is 21 days, the
>> others are all over 40 days, so there definitely wasn't a host that
>> rebooted on the 14th of Jan, would a network issue or Firewall issue
>> also cause the error you've seen to look as if a host rebooted? There
>> was a bonding mode change on the 14th of January, so perhaps this
>> caused the issue?
>> 
>> 
>>> Can you tell me if you had a problem with the data
>>> domain as well or was it just the export domain? were you having any vm's
>>> exported/imported at that time?
>>> In any case - this is a bug.
>> 2.) I think this was the same day that the bonding mode was changed on
>> the host while the host was live (by mistake), and had SPM running on
>> it. I haven't done any importing or exporting for a few years on this
>> oVirt setup.
>> 
>> 
>>> As for the vm's - if the vm's are no longer in migrating state than please
>>> restart ovirt-engine service (looks like a cache issue)
>> 3.) Restarted ovirt-engine, logging now appears to be normal without any 
>> errors.
>> 
>> 
>>> if they are in migrating state - there should have been a timeout a long
>>> time ago.
>>> can you please run 'vdsClient -s 0 list table' and 'virsh -r list'  on both
>>> all hosts?
>> 4.) Ran on all hosts...
>> 
>> node01.blabla.com
>> 63da7faa-f92a-4652-90f2-b6660a4fb7b3  11232  adam Up
>> 502170aa-0fc6-4287-bb08-5844be6e0352  13986  babbage  Up
>> ff9036fb-1499-45e4-8cde-e350eee3c489  26733  reports  Up
>> 2736197b-6dc3-4155-9a29-9306ca64881d  13804  tux  Up
>> 0a3af7b2-ea94-42f3-baeb-78b950af4402  25257  Moodle   Up
>> 
>>  IdName   State
>> 
>>  1 adam   running
>>  2 reportsrunning
>>  4 tuxrunning
>>  6 Moodle running
>>  7 babbagerunning
>> 
>> node02.blabla.com
>> dfa2cf7c-3f0e-42e3-b495-10ccb3e0c71b   2879  spam Up
>> 23b9212c-1e25-4003-aa18-b1e819bf6bb1  32454  proxy02  Up
>> ac2a3f99-a6db-4cae-955d-efdfb901abb7   5605  software Up
>> 179c293b-e6a3-4ec6-a54c-2f92f875bc5e   8870  zimbra   Up
>> 
>>  IdName   State
>> 
>>  9 proxy02running
>>  10spam   running
>>  12software   running
>>  13zimbra running
>> 
>> node03.blabla.com
>> e42b7ccc-ce04-4308-aeb2-2291399dd3ef  25809  dhcp Up
>> 16d3f077-b74c-4055-97d0-423da78d8a0c  23939  oliver   Up
>> 
>>  IdName   State
>> 
>>  13oliver running
>>  14dhcp   running
>> 
>> 
>>> Last thing is that your ISO domain seems to be having issues as well.
>>> This should not effect the host status but if any of the vm's were booted
>>> from an iso or have an iso attached in the boot sequence this will explain
>>> the migration issue.
>> There was an ISO domain issue a while back, but this was corrected
>> about 2 weeks ago after iptables re-enabled itself on boot after
>> running updates, I've checked now and the ISO domain appears to be
>> fine and I can see all the images stored within.
>> 
>> I've stumbled across what appears to be another error and all three
>> hosts are showing this over and over in /var/log/messages, and I'm not
>> sure if it's related

Re: [Users] Notes on setting spice-proxy console option

2014-01-29 Thread Michal Skrivanek

On Jan 28, 2014, at 20:14 , Marian Krcmarik  wrote:

> 
> 
> - Original Message -
>> From: "David Li" 
>> To: users@ovirt.org
>> Cc: "david li" 
>> Sent: Tuesday, January 28, 2014 7:41:26 PM
>> Subject: [Users] Notes on setting spice-proxy console option
>> 
>> Hi,
>> 
>> I have struggled quite a bit to get it up and running. Over the time, I have
>> accumulated some notes on various things I did so to share with everyone who
>> is interested in doing this. This complements the online doc in a way that
>> might give me a complete picture in one place. However I need some
>> clarifications as I might have forgotten to document certain steps or
>> certain steps I did turn out to be not necessary in the end. It will be
>> great if experts here can help me get the things straight.
>> 
>> 
>> My setup is like:
>> 
>> Browser (firefox 24.2 on RHEL6)  ovirt-engine (3.3.2)
>>  ovirt-node (3.0.3)
>> 
>> No direct network connectivity from the browser machine to the node machine.
>> 
>> These are the major things I installed for spice-proxy to work:
>> 
>> * On ovirt-engine:
>>yum install spice-gtk, virt-viewer, spice-xpi
> These components are client components (what you call Browser machine).
>>yum-install squid
>>   /etc/squid/squid.conf updates:
>> acl localhost src 
>> #http_access deny CONNECT !SSL_ports
> I would rather allow CONNECT to specific Spice ports only 5634-6166:
> acl Spice_ports port 5634-6166
> http_access denny CONNECT !Spice_ports
>> http_access deny !Safe_ports
>> http_port 3128
>> 
>>service squid restart
>>make sure iptables allow 3128
>> 
>>engine-config -s SpiceProxyDefault= http://:3128
>>service ovirt-engine restart
>>
>>*  On browser machine running firefox 24.2.0 on RHEL6 for running browser
>>console plugin client
>>   yum install spice-xpi.
> spice-xpi should bring its dependencies virt-viewer -> spice-gtk -> etc. but 
> If you do not wish to use the plugin launch type, you may install only 
> virt-viewer (without spice-xpi) and use what I guess is called "Native 
> client" launch type.
>>   make sure VM's console option is set to SPICE
>>   
>> Are the above steps reasonable? any missing or redundant?
> Seems fine, just no need the client packages on the engine.
>> 
>> Additional questions:
>> 
>> 1. Will spice-proxy work with the Spice HTML5 client in the browser?
> Probably, but you would need to set the websocket proxy which is part of 
> installation steps for engine as well (I believe).

since it's a proxy as well I'd recommend to use it instead of squid, not in 
addition. By default it's installed on the engine host but it can be deployed 
anywhere else.

>> 2. Is the spice-proxy architecture diagram like:  browser - squid
>> proxy - spice-proxy -- VM
> Browser plugin spice-xpi invokes start of Spice client (virt-viewer) which 
> makes CONNECT to Host machine (where the VM is hosted) through the HTTP proxy 
> (in your case squid).
> Client machine ---> Squid ---> Host (where the VM is hosted).
>> 3. I didn't explicitly install any certs for the squid proxy. Is it
>> automatically taken care of?
> No, no authentication to Squid is supported with Spice now. So If It is 
> publicly visible proxy It's important to set careful proxy rules.
>> 
>> 
>> References:
>> 
>> http://www.ovirt.org/Console_Client_Resources
>> 
>> http://www.ovirt.org/Features/Spice_Proxy
>> 
>> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/pdf/Installation_Guide/Red_Hat_Enterprise_Virtualization-3.3-Installation_Guide-en-US.pdf
>> 
>> 
>> Thanks.
>> 
>> David
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Notes on setting spice-proxy console option

2014-01-29 Thread Michal Skrivanek


> On 29 Jan 2014, at 16:59, David Li  wrote:
> 
> 
> 
> 
> 
> - Original Message -
>> From: Michal Skrivanek 
>> To: Marian Krcmarik ; David Li 
>> Cc: users@ovirt.org
>> Sent: Wednesday, January 29, 2014 6:00 AM
>> Subject: Re: [Users] Notes on setting spice-proxy console option
>> 
>> 
> 
>>>> 
>>>> 1. Will spice-proxy work with the Spice HTML5 client in the browser?
>>> Probably, but you would need to set the websocket proxy which is part of 
>> installation steps for engine as well (I believe).
>> 
>> since it's a proxy as well I'd recommend to use it instead of squid, not 
>> in addition. By default it's installed on the engine host but it can be 
>> deployed anywhere else.
> 
> I am interested in trying this. I tried before but didn't succeed. Is it 
> enough to configure websocket proxy on the engine like this?

Well, this is the default deployment on engine. The engine host is the proxy. 
If that's what you need there is no additional configuration needed. Just say 
yes to websocket proxy during installation and import ca.crt to your browser

Only if you want to run the proxy elsewhere you need to update the below 
parameters accordingly

Thanks,
michal
> 
> WebSocketProxy: :6100 version: general
> WebSocketProxyTicketValiditySeconds: 120 version: general
> 
> Any pointer to a good setup guide?
> 
> David
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4 test day - results

2014-02-03 Thread Michal Skrivanek

On Jan 27, 2014, at 17:02 , Alexander Wels  wrote:

> Hi, I tested the following items during the test day and here are my results:
>  
> 1. "reboot VM" functionality
>  
> The related feature page is: http://www.ovirt.org/Features/Guest_Reboot
> The feature page mentions a policy selection checkbox which I was unable to 
> find in the web admin UI at all. I checked the patches that implement the 
> feature and did not see the check box implementation. The patches did show me 
> that all I need to use the feature was to install the guest agent on the 
> guest. So for my test I installed a fedora guest, and I installed the guest 
> agent on the guest. After about a minute after starting the guest, the reboot 
> button was enabled and pressing it started the reboot sequence on the guest. 
>  
> I had a console open on the guest and it informed me that the admin had 
> started the reboot process and the guest would be rebooted in a minute. I did 
> not find a way to change the time it took for the reboot to happen.
>  
> I did the same test with the REST api, with the same result. The reboot was 
> scheduled for a minute after I issued the command. I did not find a way to 
> change the time with the REST api either. I am guessing that is a future 
> feature.

indeed. The scope of the feature was cut down significantly. No customizations 
other than via vdsm.conf. We hope we'll get the original promises in 3.5:)
The default 60 seconds delay time is for shutdown as well. The future 
customizations are to remove it.

>  
> 2. Fix Control-Alt-Delete functionality in console options
>  
> I had trouble getting spice to work in my test setup, but no issues with VNC. 
> So I tested VNC. I checked the VM console options to make sure that 'Map 
> ctrl-alt-del shortcut to ctrl+alt+end' was checked. Then I connected to a 
> running VM with VNC. I pressed ctrl-+alt+end expected it to issue a 
> ctrl-alt-del to the guest. Nothing happened. I pressed ctrl-alt-del and it 
> properly issued ctrl-alt-del to the guest. I made sure there was no issue 
> with my client by using the menu to issue a ctrl-alt-del to the guest which 
> also resulted in the proper action on the guest. I opened a bug for this:
> https://bugzilla.redhat.com/show_bug.cgi?id=1057763
>  
> I did this test on my Fedora machine, and the description mentions that 
> certain OSes capture the ctrl-alt-del before sending it to the guest, Fedora 
> is not one of those OSes, so maybe my test was not valid?

it seems only the Windows version of virt-viewer supports the mapping. We'll 
grey it out for Linux clients then (or try to push the change to Linux versions 
as well, whichever can be done first)

Thanks,
michal

>  
> 3. Show name of the template in General tab for a VM if the VM is 
> deployed from template via clone allocation.
>  
> This is a very straight forward test. I created a template from a VM. I named 
> the template. Then created a VM from that template using clone allocation. I 
> verified that the name of the template is now properly shown in the VM 
> general sub tab. Works as expected.
>  
> Overall I had issues getting engine installed due to the shmmax issue 
> reported in other threads, and then I had a really hard time adding new hosts 
> from a blank fedora minimum install. I was successful one out of three 
> attempts, which I feel was probably an yum repository issue as I was getting 
> conflicting python-cpopen issues causing VDSM to not start.
>  
> Thanks,
> Alexander
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] [vdsm] Migration failed (previous migrations succeded)

2014-02-03 Thread Michal Skrivanek

On Feb 1, 2014, at 18:25 , Itamar Heim  wrote:

> On 01/31/2014 09:30 AM, Sven Kieske wrote:
>> Hi,
>> 
>> is there any documentation regarding all
>> allowed settings in the vdsm.conf?
>> 
>> I didn't find anything related in the rhev docs
> 
> that's a question for vdsm mailing list - cc-ing…

the vdsm.conf has a description for each parameter…just search for all 
containing "migration":)
we do want to expose some/most/all of them in UI/REST eventually, the 
"migration downtime" setting is there now in 3.4, but others are missing

Thanks,
michal
> 
>> 
>> Am 30.01.2014 21:43, schrieb Itamar Heim:
>>> On 01/30/2014 10:37 PM, Markus Stockhausen wrote:
>> Von: Itamar Heim [ih...@redhat.com]
>> Gesendet: Donnerstag, 30. Januar 2014 21:25
>> An: Markus Stockhausen; ovirt-users
>> Betreff: Re: [Users] Migration failed (previous migrations succeded)
>> 
>> 
>> Now I' getting serious problems. During the migration the VM was
>> doing a rather slow download at 1,5 MB/s. So the memory changed
>> by 15 MB per 10 seconds. No wonder that a check every 10 seconds
>> was not able to see any progress. Im scared what will happen if I
>> want to migrate a medium loaded system runing a database.
>> 
>> Any tip for a parametrization?
>> 
>> Markus
>> 
> 
> what's the bandwidth? default is up to 30MB/sec, to allow up to 3 VMs to
> migrate on 1Gb without congesting it.
> you could raise that if you have 10GB, or raise the bandwidth cap and
> reduce max number of concurrent VMs, etc.
 
 My migration network is IPoIB 10GBit. During our tests only one VM
 was migrated.  Bandwidth cap or number of concurrent VMs has not
 been changed after default install.
 
 Is migration_max_bandwidth in /etc/vdsm/vdsm.conf still the right place?
>>> 
>>> probably
>>> 
 And what settings do you suggest?
>>> 
>>> well, to begin with, 300MB/sec on 10GE (still allowing concurrent
>>> migrations)
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>> 
>>> 
>>> 
>> 
> 
> 
> ___
> vdsm-devel mailing list
> vdsm-de...@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

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


Re: [Users] [vdsm] Migration failed (previous migrations succeded)

2014-02-03 Thread Michal Skrivanek

On Feb 3, 2014, at 16:20 , Gianluca Cecchi  wrote:

> On Mon, Feb 3, 2014 at 1:43 PM, Michal Skrivanek
>  wrote:
>> 
>> On Feb 1, 2014, at 18:25 , Itamar Heim  wrote:
>> 
>>> On 01/31/2014 09:30 AM, Sven Kieske wrote:
>>>> Hi,
>>>> 
>>>> is there any documentation regarding all
>>>> allowed settings in the vdsm.conf?
>>>> 
>>>> I didn't find anything related in the rhev docs
>>> 
>>> that's a question for vdsm mailing list - cc-ing…
>> 
>> the vdsm.conf has a description for each parameter…just search for all 
>> containing "migration":)
>> we do want to expose some/most/all of them in UI/REST eventually, the 
>> "migration downtime" setting is there now in 3.4, but others are missing
>> 
>> Thanks,
>> michal
>>> 
>>>> 
>>>> Am 30.01.2014 21:43, schrieb Itamar Heim:
>>>>> On 01/30/2014 10:37 PM, Markus Stockhausen wrote:
>>>>>>>> Von: Itamar Heim [ih...@redhat.com]
>>>>>>>> Gesendet: Donnerstag, 30. Januar 2014 21:25
>>>>>>>> An: Markus Stockhausen; ovirt-users
>>>>>>>> Betreff: Re: [Users] Migration failed (previous migrations succeded)
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Now I' getting serious problems. During the migration the VM was
>>>>>>>> doing a rather slow download at 1,5 MB/s. So the memory changed
>>>>>>>> by 15 MB per 10 seconds. No wonder that a check every 10 seconds
>>>>>>>> was not able to see any progress. Im scared what will happen if I
>>>>>>>> want to migrate a medium loaded system runing a database.
>>>>>>>> 
>>>>>>>> Any tip for a parametrization?
>>>>>>>> 
>>>>>>>> Markus
>>>>>>>> 
>>>>>>> 
>>>>>>> what's the bandwidth? default is up to 30MB/sec, to allow up to 3 VMs to
>>>>>>> migrate on 1Gb without congesting it.
>>>>>>> you could raise that if you have 10GB, or raise the bandwidth cap and
>>>>>>> reduce max number of concurrent VMs, etc.
>>>>>> 
>>>>>> My migration network is IPoIB 10GBit. During our tests only one VM
>>>>>> was migrated.  Bandwidth cap or number of concurrent VMs has not
>>>>>> been changed after default install.
>>>>>> 
>>>>>> Is migration_max_bandwidth in /etc/vdsm/vdsm.conf still the right place?
>>>>> 
>>>>> probably
>>>>> 
>>>>>> And what settings do you suggest?
>>>>> 
> 
> 
> Not tried myself the change of values, but in a previous thread
> (actually for limiting and not speeding up migration ;-) these two
> parameters were described and to be put in each /etc/vdsm/vdsm.conf

yep, they have (brief) description there

> 
> max_outgoing_migrations
> (eg 1 for allowing only one migration at a time)
> 
> migration_max_bandwidth
> (unit is in MBytes/s, vdsm default is 32MiBps and it is for single
> migration, not overall)
> 
> I think it is necessary to follow this workflow for every host

unfortunately yes

> - put host into maintenance
> - stop vdsmd service
> - change values
> - start vdsmd service
> - activate host

> 
> Gianluca

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


Re: [Users] [vdsm] Migration failed (previous migrations succeded)

2014-02-04 Thread Michal Skrivanek

On Feb 4, 2014, at 09:40 , Sven Kieske  wrote:

> Where? in the file itself?

maybe in sample file only...usr/share/doc/vdsm-*/vdsm.conf.sample

Thanks,
michal

> Mine just contains this:
> 
> "[addresses]
> management_port = 54321
> 
> [vars]
> ssl = true"
> 
> This is a CentOS minimal with vdsm installed on top.
> versions are:
> 
> rpm -qa | grep vdsm
> vdsm-4.12.1-4.el6.x86_64
> vdsm-cli-4.12.1-4.el6.noarch
> vdsm-python-4.12.1-4.el6.x86_64
> vdsm-python-cpopen-4.12.1-4.el6.x86_64
> vdsm-xmlrpc-4.12.1-4.el6.noarch
> 
> Is this information maybe just available in the node
> images?
> Did I hit a bug?
> 
> Am 03.02.2014 13:43, schrieb Michal Skrivanek:
>> the vdsm.conf has a description for each parameter
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

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


Re: [Users] CPU and Memory sharing

2014-02-04 Thread Michal Skrivanek

On Feb 4, 2014, at 12:44 , Jaison peter  wrote:

> Hi all ,
> 
>  I would like to know whether CPU or memory sharing among physical nodes are 
> possible in ovirt . Suppose I have 3 physical nodes in my cluster with 24GB 
> RAM and 8 cores each . Then one of my client needs a VM with 32GB RAM and 12 
> cores , that means vm need resources more than a physical server . So is that 
> possible in ovirt cluster .?  If it is not directly possible is they are any  
> cloning & Load balancing methods like in amzon auto scaling ?  

not sharing, but overcommit yes. 
if it really needs more RAM than the host has then it's going to swap…well, you 
may try to use network swap I suppose
performance is not going to be great in any case, obviously.

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

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


Re: [Users] [ANN] oVirt 3.4.0 beta2 is now available

2014-02-10 Thread Michal Skrivanek

On Feb 10, 2014, at 12:06 , Dan Kenigsberg  wrote:

> On Mon, Feb 10, 2014 at 08:04:24AM +0100, Sandro Bonazzola wrote:
>> Il 07/02/2014 18:01, Markus Stockhausen ha scritto:
 Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag 
 von "Sandro Bonazzola [sbona...@redhat.com]
 Gesendet: Freitag, 7. Februar 2014 11:36
 An: annou...@ovirt.org; Users@ovirt.org; engine-devel; arch; VDSM Project 
 Development
 Betreff: [Users] [ANN] oVirt 3.4.0 beta2 is now available
 
 The oVirt team is pleased to announce that the 3.4.0 second beta release 
 is now available for testing.
 
 Release notes and information on the changes for this update are still 
 being worked on and will be available soon on the wiki[1].
 Please ensure to follow install instruction from release notes if you're 
 going to test it.
 The existing repository ovirt-3.4.0-prerelease has been updated for 
 delivering this beta and future refreshes until release candidate.
 
 A new oVirt Node build will be available soon as well.
 
 You're welcome to join us testing this beta release in next week test day 
 [2] scheduled for 2014-02-11!
 
 
 [1] http://www.ovirt.org/OVirt_3.4.0_release_notes
 [2] http://www.ovirt.org/OVirt_3.4_Test_Day
 
 --
 Sandro Bonazzola
>>> 
>>> Hello Sandro,
>>> 
>>> may I politely ask to set BZ 1062615 for target release 3.4.0 - and as a 
>>> blocker too?
>> 
>> Hi,
>> The VDSM maintainer has targeted BZ 1062615 for 3.4.1 so it has not been 
>> considered as blocker for 3.4.0.
>> Dan, any chance of having this fixed in 3.4.0?
> 
> It is purely an Engine issue, and apparently this is a very new
> regression, so I am joining the request to have this fixed in 3.4.0, and
> block GA.

there were/are two issues.
- one in vdsm reporting it which has been merged recently
- then this engine not actually updating the field. This is a regression, 
though it must have happened quite some time ago…may be after 
https://bugzilla.redhat.com/show_bug.cgi?id=967861
A similar solution is supposed to be there for Windows VMs but if I'm not 
mistaken it's not in place yet. I'll check that

Thanks,
michal

> 
> Dan.

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


Re: [Users] [ANN] oVirt 3.4.0 beta2 is now available

2014-02-10 Thread Michal Skrivanek

On Feb 10, 2014, at 14:31 , Michal Skrivanek  wrote:

> 
> On Feb 10, 2014, at 12:06 , Dan Kenigsberg  wrote:
> 
>> On Mon, Feb 10, 2014 at 08:04:24AM +0100, Sandro Bonazzola wrote:
>>> Il 07/02/2014 18:01, Markus Stockhausen ha scritto:
>>>>> Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag 
>>>>> von "Sandro Bonazzola [sbona...@redhat.com]
>>>>> Gesendet: Freitag, 7. Februar 2014 11:36
>>>>> An: annou...@ovirt.org; Users@ovirt.org; engine-devel; arch; VDSM Project 
>>>>> Development
>>>>> Betreff: [Users] [ANN] oVirt 3.4.0 beta2 is now available
>>>>> 
>>>>> The oVirt team is pleased to announce that the 3.4.0 second beta release 
>>>>> is now available for testing.
>>>>> 
>>>>> Release notes and information on the changes for this update are still 
>>>>> being worked on and will be available soon on the wiki[1].
>>>>> Please ensure to follow install instruction from release notes if you're 
>>>>> going to test it.
>>>>> The existing repository ovirt-3.4.0-prerelease has been updated for 
>>>>> delivering this beta and future refreshes until release candidate.
>>>>> 
>>>>> A new oVirt Node build will be available soon as well.
>>>>> 
>>>>> You're welcome to join us testing this beta release in next week test day 
>>>>> [2] scheduled for 2014-02-11!
>>>>> 
>>>>> 
>>>>> [1] http://www.ovirt.org/OVirt_3.4.0_release_notes
>>>>> [2] http://www.ovirt.org/OVirt_3.4_Test_Day
>>>>> 
>>>>> --
>>>>> Sandro Bonazzola
>>>> 
>>>> Hello Sandro,
>>>> 
>>>> may I politely ask to set BZ 1062615 for target release 3.4.0 - and as a 
>>>> blocker too?
>>> 
>>> Hi,
>>> The VDSM maintainer has targeted BZ 1062615 for 3.4.1 so it has not been 
>>> considered as blocker for 3.4.0.
>>> Dan, any chance of having this fixed in 3.4.0?
>> 
>> It is purely an Engine issue, and apparently this is a very new
>> regression, so I am joining the request to have this fixed in 3.4.0, and
>> block GA.
> 
> there were/are two issues.
> - one in vdsm reporting it which has been merged recently
> - then this engine not actually updating the field. This is a regression, 
> though it must have happened quite some time ago…may be after 
> https://bugzilla.redhat.com/show_bug.cgi?id=967861
> A similar solution is supposed to be there for Windows VMs but if I'm not 
> mistaken it's not in place yet. I'll check that

In 3.4 it's there finally, I forgot we changed the dialog for "vminit" feature.
So the TZ dropdown box in General tab should set the time for the next run. 
It's supposed to be changeable for Windows OSs (Linux is always 0). It works in 
UI but apparently the backend code is not changing the utc_diff value. So that 
one we need to fix.
And the updates from vdsm side are not reflected in DB if I understand what the 
bug says…the code looks alright though, so need to verify

Thansk,
michal


> 
> Thanks,
> michal
> 
>> 
>> Dan.
> 

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


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 11 Feb 2014, at 23:57, Greg Sheremeta  wrote:

> I'm having a tough time getting a VM console working via VNC. I set a VM to 
> use VNC, and I installed virt-viewer.
> 
> 1. When I try to open a .vv file with virt-viewer, I get an error "Cannot 
> find guest domain /var/tmp/console.vv"

Old virt-viewer. Where did you get it from?

> 2. Using a VNC client to connect to the host with the password in the .vv 
> file just immediately disconnects it -- no error message.

Did you make it in 120s? Certificates?

> 3. noVNC just gives me an empty popup with a gray background.

You didn't import the engine's CA, did you?

> 
> Any ideas?

The Console Downloads page has all the info to get it work, did you check it 
out? (linked from main landing page, display options, user portal...so you 
shouldn't moss it;)

Thanks,
michal
> 
> Greg Sheremeta
> Red Hat, Inc.
> Sr. Software Engineer, RHEV
> Cell: 919-807-1086
> gsher...@redhat.com
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 12 Feb 2014, at 18:08, Greg Sheremeta  wrote:

> 
> 
> - Original Message -
>> From: "Michal Skrivanek" 
>> To: "Greg Sheremeta" 
>> Cc: "users" 
>> Sent: Wednesday, February 12, 2014 3:43:18 AM
>> Subject: Re: [Users] test day help -- console
>> 
>> 
>> 
>> On 11 Feb 2014, at 23:57, Greg Sheremeta  wrote:
>> 
>>> I'm having a tough time getting a VM console working via VNC. I set a VM to
>>> use VNC, and I installed virt-viewer.
>>> 
>>> 1. When I try to open a .vv file with virt-viewer, I get an error "Cannot
>>> find guest domain /var/tmp/console.vv"
>> 
>> Old virt-viewer. Where did you get it from?
>> 
> 
> It came with F20. I'm on F20 and don't think many other people are. Is it a 
> regression?
> 
> greg@dauntless:~$ yum list installed virt-viewer
> Loaded plugins: langpacks, refresh-packagekit
> google-chrome 
>   3/3
> google-talkplugin 
>   1/1
> Installed Packages
> virt-viewer.x86_64  0.5.7-2.fc20  
>  installed
> 
> greg@dauntless:~$ sudo yum install virt-viewer
> Loaded plugins: langpacks, refresh-packagekit
> Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest version
> Nothing to do
> 
> I don't see RPMs anywhere for 0.6, and compiling it didn't work for me. 
> (configure: error: At least one of spice or vnc must be used)
> 

Strange. I think it's in 0.5.6. 
Oh, remote-viewer, did you try that one?

> 
>>> 2. Using a VNC client to connect to the host with the password in the .vv
>>> file just immediately disconnects it -- no error message.
>> 
>> Did you make it in 120s? 
> 
> Sorry, what?

The security ticket is valid for 120s only

> 
>> Certificates?
> 
> Did not touch any certs. But, see my reply to #1.
> 
>> 
>>> 3. noVNC just gives me an empty popup with a gray background.
>> 
>> You didn't import the engine's CA, did you?
>> 
> 
> You got me, but it should certainly give some error message, no?

Not when you don't trust the cert authority. Unfortunately. That's why we added 
the page to such a prominent place:)

Thanks,
michal
> 
>>> 
>>> Any ideas?
>> 
>> The Console Downloads page has all the info to get it work, did you check it
>> out? (linked from main landing page, display options, user portal...so you
>> shouldn't moss it;)
>> 
>> Thanks,
>> michal
>>> 
>>> Greg Sheremeta
>>> Red Hat, Inc.
>>> Sr. Software Engineer, RHEV
>>> Cell: 919-807-1086
>>> gsher...@redhat.com
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 12 Feb 2014, at 10:09, Yedidyah Bar David  wrote:

> - Original Message -
>> From: "Michal Skrivanek" 
>> To: "Greg Sheremeta" 
>> Cc: "users" 
>> Sent: Wednesday, February 12, 2014 10:43:18 AM
>> Subject: Re: [Users] test day help -- console
>> 
>> 
>> 
>> On 11 Feb 2014, at 23:57, Greg Sheremeta  wrote:
>> 
>>> I'm having a tough time getting a VM console working via VNC. I set a VM to
>>> use VNC, and I installed virt-viewer.
>>> 
>>> 1. When I try to open a .vv file with virt-viewer, I get an error "Cannot
>>> find guest domain /var/tmp/console.vv"
>> 
>> Old virt-viewer. Where did you get it from?
> 
> It's built into current debian, I use it too. Does it support vv files?
> Didn't know that. The same package also has 'remote-viewer', which works
> for me with:
> remote-viewer vnc://host:port

Yep. For some reason only remote-viewer works. No idea why

> 
>> 
>>> 2. Using a VNC client to connect to the host with the password in the .vv
>>> file just immediately disconnects it -- no error message.
> 
> For vv files I use the following script:
> 
> =
> #!/bin/sh
> 
> LOG=$HOME/vv1.log
> echo = $(date) >> $LOG
> echo params "$@" >> $LOG
> 
> vvfile="$1"
> host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' "$vvfile")
> port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' "$vvfile")
> echo "$host" >> $LOG
> echo "$port" >> $LOG
> sed -n 's/^password=\(.*\)/\1/p' "$vvfile" | vncviewer -autopass 
> "${host}::${port}" &
> 
> sleep 2
> /bin/rm -f "$vvfile"
> =
> 
> Verified now that it works (I seldom use it because the default is spice
> which works for me).

Remote-viewer should work the same for VNC. For cclient of choice yes, your 
script is the one to use

> 
>> 
>> Did you make it in 120s?
> 
> That was the main reason for this script :-)
> 
>> Certificates?
> 
> Didn't bother with that.

Alon would be happy to hear that I'm sure:-D
I agree, in reality noone bothers.

> 
>> 
>>> 3. noVNC just gives me an empty popup with a gray background.
>> 
>> You didn't import the engine's CA, did you?
>> 
>>> 
>>> Any ideas?
>> 
>> The Console Downloads page has all the info to get it work, did you check it
>> out? (linked from main landing page, display options, user portal...so you
>> shouldn't moss it;)
> 
> You refer to 'Console Client Resources', which links to [1]?
> I had to do some manual work to get spice-xpi working on Debian as it's not
> packaged for it (and iirc neither are some of the dependencies).

Yes. If you have some handy tips for Debian please feel free to update the page

> 
> [1] http://www.ovirt.org/Console_Client_Resources
> -- 
> Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 12 Feb 2014, at 18:15, Greg Sheremeta  wrote:

> 
> 
> - Original Message -
>> From: "Michal Skrivanek" 
>> To: "Greg Sheremeta" 
>> Cc: "users" 
>> Sent: Wednesday, February 12, 2014 12:12:27 PM
>> Subject: Re: [Users] test day help -- console
>> 
>> 
>> 
>> On 12 Feb 2014, at 18:08, Greg Sheremeta  wrote:
>> 
>>> 
>>> 
>>> - Original Message -
>>>> From: "Michal Skrivanek" 
>>>> To: "Greg Sheremeta" 
>>>> Cc: "users" 
>>>> Sent: Wednesday, February 12, 2014 3:43:18 AM
>>>> Subject: Re: [Users] test day help -- console
>>>> 
>>>> 
>>>> 
>>>> On 11 Feb 2014, at 23:57, Greg Sheremeta  wrote:
>>>> 
>>>>> I'm having a tough time getting a VM console working via VNC. I set a VM
>>>>> to
>>>>> use VNC, and I installed virt-viewer.
>>>>> 
>>>>> 1. When I try to open a .vv file with virt-viewer, I get an error "Cannot
>>>>> find guest domain /var/tmp/console.vv"
>>>> 
>>>> Old virt-viewer. Where did you get it from?
>>> 
>>> It came with F20. I'm on F20 and don't think many other people are. Is it a
>>> regression?
>>> 
>>> greg@dauntless:~$ yum list installed virt-viewer
>>> Loaded plugins: langpacks, refresh-packagekit
>>> google-chrome
>>> 3/3
>>> google-talkplugin
>>> 1/1
>>> Installed Packages
>>> virt-viewer.x86_64
>>> 0.5.7-2.fc20
>>> installed
>>> 
>>> greg@dauntless:~$ sudo yum install virt-viewer
>>> Loaded plugins: langpacks, refresh-packagekit
>>> Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest
>>> version
>>> Nothing to do
>>> 
>>> I don't see RPMs anywhere for 0.6, and compiling it didn't work for me.
>>> (configure: error: At least one of spice or vnc must be used)
>> 
>> Strange. I think it's in 0.5.6.
>> Oh, remote-viewer, did you try that one?
> 
> Yeah, same results.
> 
> Let me try connecting from a different Fedora 20 machine, maybe mine's broken.
> 
>>> 
>>>>> 2. Using a VNC client to connect to the host with the password in the .vv
>>>>> file just immediately disconnects it -- no error message.
>>>> 
>>>> Did you make it in 120s?
>>> 
>>> Sorry, what?
>> 
>> The security ticket is valid for 120s only
> 
> Yes, I beat that.
> 
>> 
>>> 
>>>> Certificates?
>>> 
>>> Did not touch any certs. But, see my reply to #1.
>>> 
>>>> 
>>>>> 3. noVNC just gives me an empty popup with a gray background.
>>>> 
>>>> You didn't import the engine's CA, did you?
>>> 
>>> You got me, but it should certainly give some error message, no?
>> 
>> Not when you don't trust the cert authority. Unfortunately. That's why we
>> added the page to such a prominent place:)
> 
> Not even "Authentication failure" ?

Nope, nothing. For 3.5 we're looking into enabling the debug console so you 
have something to look at...:)

> 
>> 
>> Thanks,
>> michal
>>> 
>>>>> 
>>>>> Any ideas?
>>>> 
>>>> The Console Downloads page has all the info to get it work, did you check
>>>> it
>>>> out? (linked from main landing page, display options, user portal...so you
>>>> shouldn't moss it;)
>>>> 
>>>> Thanks,
>>>> michal
>>>>> 
>>>>> Greg Sheremeta
>>>>> Red Hat, Inc.
>>>>> Sr. Software Engineer, RHEV
>>>>> Cell: 919-807-1086
>>>>> gsher...@redhat.com
>>>>> 
>>>>> ___
>>>>> Users mailing list
>>>>> Users@ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Stuck Migration

2014-02-12 Thread Michal Skrivanek

On Feb 13, 2014, at 00:32 , Maurice James  wrote:

> That worked. Was there any other way to do it without a restart?

probably not

There have been a few fixes in this area…worth checking after upgrade to 3.4

Thanks,
michal

> 
> -Original Message-
> From: Dafna Ron [mailto:d...@redhat.com] 
> Sent: Wednesday, February 12, 2014 10:37 AM
> To: Maurice James
> Cc: Meital Bourvine; users@ovirt.org
> Subject: Re: [Users] Stuck Migration
> 
> If it's not listed in any of the hosts than its a cache issue in engine.
> if you are reluctant to reboot the engine server, than restart the postgress
> and than the engine.
> 
> Dafna
> 
> 
> On 02/12/2014 02:10 PM, Maurice James wrote:
>> 
>> Log is attached
>> --
>> --
>> Date: Wed, 12 Feb 2014 05:52:58 -0500
>> From: mbour...@redhat.com
>> To: midnightst...@msn.com
>> CC: users@ovirt.org
>> Subject: Re: [Users] Stuck Migration
>> 
>> Can you please attach engine and vdsm longs?
>> 
>> 
>> --
>> --
>> 
>>*From: *"Maurice James" 
>>*To: *users@ovirt.org
>>*Sent: *Wednesday, February 12, 2014 12:45:33 PM
>>*Subject: *[Users] Stuck Migration
>> 
>>I have a vm that is shut down and is somehow stuck in a migration
>>state. Im running version 3.3.3-2 on this setup. The vm disk is
>>activated and cannot be deactivated, and the vm is shut down and
>>cannot be started. When I try to start the vm it tells me that it
>>cannot be started because it is in the process of migrating
>> 
>> 
>>___
>>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
> 
> 
> --
> Dafna Ron
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] test day help -- console

2014-02-13 Thread Michal Skrivanek

On Feb 12, 2014, at 18:20 , Greg Sheremeta  wrote:

> 
> 
> - Original Message -
>> From: "Michal Skrivanek" 
>> To: "Yedidyah Bar David" 
>> Cc: "Greg Sheremeta" , "users" 
>> Sent: Wednesday, February 12, 2014 12:16:42 PM
>> Subject: Re: [Users] test day help -- console
>> 
>> 
>> 
>> On 12 Feb 2014, at 10:09, Yedidyah Bar David  wrote:
>> 
>>> - Original Message -
>>>> From: "Michal Skrivanek" 
>>>> To: "Greg Sheremeta" 
>>>> Cc: "users" 
>>>> Sent: Wednesday, February 12, 2014 10:43:18 AM
>>>> Subject: Re: [Users] test day help -- console
>>>> 
>>>> 
>>>> 
>>>> On 11 Feb 2014, at 23:57, Greg Sheremeta  wrote:
>>>> 
>>>>> I'm having a tough time getting a VM console working via VNC. I set a VM
>>>>> to
>>>>> use VNC, and I installed virt-viewer.
>>>>> 
>>>>> 1. When I try to open a .vv file with virt-viewer, I get an error "Cannot
>>>>> find guest domain /var/tmp/console.vv"
>>>> 
>>>> Old virt-viewer. Where did you get it from?
>>> 
>>> It's built into current debian, I use it too. Does it support vv files?
>>> Didn't know that. The same package also has 'remote-viewer', which works
>>> for me with:
>>> remote-viewer vnc://host:port
>> 
>> Yep. For some reason only remote-viewer works. No idea why
>> 
>>> 
>>>> 
>>>>> 2. Using a VNC client to connect to the host with the password in the .vv
>>>>> file just immediately disconnects it -- no error message.
>>> 
>>> For vv files I use the following script:
>>> 
>>> =
>>> #!/bin/sh
>>> 
>>> LOG=$HOME/vv1.log
>>> echo = $(date) >> $LOG
>>> echo params "$@" >> $LOG
>>> 
>>> vvfile="$1"
>>> host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' "$vvfile")
>>> port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' "$vvfile")
>>> echo "$host" >> $LOG
>>> echo "$port" >> $LOG
>>> sed -n 's/^password=\(.*\)/\1/p' "$vvfile" | vncviewer -autopass
>>> "${host}::${port}" &
>>> 
>>> sleep 2
>>> /bin/rm -f "$vvfile"
>>> =
>>> 
>>> Verified now that it works (I seldom use it because the default is spice
>>> which works for me).
>> 
>> Remote-viewer should work the same for VNC. For cclient of choice yes, your
>> script is the one to use
>> 
>>> 
>>>> 
>>>> Did you make it in 120s?
>>> 
>>> That was the main reason for this script :-)
>>> 
>>>> Certificates?
>>> 
>>> Didn't bother with that.
>> 
>> Alon would be happy to hear that I'm sure:-D
>> I agree, in reality noone bothers.
>> 
> 
> It's a pretty invasive thing, IMHO. If I see that I need to install a browser 
> certificate for something, first thing I'm going to do is look for the 
> alternative. :/ It's worse than digging out my 2 factor auth token!!

I agree
alternative is to use the native client or plugin:)
you have 3 choices, unfortunately each needs some action/installation.
But hopefully one out of three should work for everyone

Thanks,
michal

> 
>>> 
>>>> 
>>>>> 3. noVNC just gives me an empty popup with a gray background.
>>>> 
>>>> You didn't import the engine's CA, did you?
>>>> 
>>>>> 
>>>>> Any ideas?
>>>> 
>>>> The Console Downloads page has all the info to get it work, did you check
>>>> it
>>>> out? (linked from main landing page, display options, user portal...so you
>>>> shouldn't moss it;)
>>> 
>>> You refer to 'Console Client Resources', which links to [1]?
>>> I had to do some manual work to get spice-xpi working on Debian as it's not
>>> packaged for it (and iirc neither are some of the dependencies).
>> 
>> Yes. If you have some handy tips for Debian please feel free to update the
>> page
>> 
>>> 
>>> [1] http://www.ovirt.org/Console_Client_Resources
>>> --
>>> Didi
>> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Live Migrate Disks

2014-02-14 Thread Michal Skrivanek

On Feb 14, 2014, at 04:44 , Maurice James  wrote:

> Im running oVirt 3.4.0-0.7.beta2.el6
> 
> rpm -qa |grep qemu-kvm
> qemu-kvm-tools-0.12.1.2-2.415.el6_5.3.x86_64
> qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64
> 
> And its failing with this error in the engine.log

can you do a live VM snapshot at all? If not then the QEMU you're running is 
not supporting it

Thanks,
michal

> 
> 2014-02-13 22:42:12,782 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-12) Failed in SnapshotVDS method
> 2014-02-13 22:42:12,785 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-12) Command SnapshotVDSCommand(HostName = 
> Titan, HostId = 5869805e-5b95-485a-bd8a-07b472d3fcaf, 
> vmId=dfe6ab9e-1f61-4202-ade9-18ade4757a5e) execution failed. Exception: 
> VDSErrorException: VDSGenericException: VDSErrorException: Failed to 
> SnapshotVDS, error = Snapshot failed, code = 48
> 2014-02-13 22:42:13,016 ERROR 
> [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] 
> (org.ovirt.thread.pool-6-thread-12) Command 
> org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand throw Vdc Bll 
> exception. With error message VdcBLLException: Auto-generated live snapshot 
> for VM dfe6ab9e-1f61-4202-ade9-18ade4757a5e failed (Failed with error 
> imageErr and code 13)
> 2014-02-13 22:42:13,017 ERROR 
> [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] 
> (org.ovirt.thread.pool-6-thread-12) Reverting task unknown, handler: 
> org.ovirt.engine.core.bll.lsm.LiveSnapshotTaskHandler
> 
> 
> 
> 
> -Original Message-
> From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com] 
> Sent: Thursday, February 13, 2014 4:09 PM
> To: Maurice James
> Cc: users
> Subject: Re: [Users] Live Migrate Disks
> 
> On Thu, Feb 13, 2014 at 8:56 PM, Maurice James wrote:
>> Is it possible to live migrate disks like storage vMotion?
>> 
> 
> It should be supported since 3.2. See
> http://www.ovirt.org/OVirt_3.2_release_notes
> 
> So in current stable 3.3.3 it should be ok.
> take in mind that it depends on live snapshots, so limitation on RHEL / 
> CerntOS 6.5 apply.
> In that case you should use the recent qemu-kvm rebuilt from jenkins job, as 
> noted in other threads today:
> http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/
> 
> HIH,
> Gianluca
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] SPICE behind NAT

2014-02-14 Thread Michal Skrivanek

On Feb 14, 2014, at 01:38 , Andrew Lau  wrote:

> You just need some proper DST and SRC Nat rules and you should be fine.
> 
> I use mikrotik so its slightly different but the same concept applies. For 
> windows, I don't know, never really cared much as no one uses windows on our 
> ovirt setup :)

the recent enough virt-viewer should work on Windows…if you're in fact talking 
about a client downloaded from http://virt-manager.org/download/ it should work…

for NAT vs non-NAT access ….for exactly that reason there is the "Enable SPICE 
Proxy" checkbox in Console Options dialog for each user, so you can check it 
when connecting from outside and uncheck from local net… 

Thanks,
michal

> 
> But the client tools you linked are for the client accessing the spice 
> session.
> 
> On Feb 14, 2014 3:20 AM, "Alan Murrell"  wrote:
> Quoting "Andrew Lau" :
> 
> Your value for SpiceDefaultProxy should be your external IP
> address/hostname otherwise external users will never know where to connect
> to.
> 
> So the spice proxy would be going out the firewall then looping back in (also 
> known as "hairpinning"), which in my experience is usually a behaviour denied 
> by many firewalls as standard, which is what I believe is happening here.
> 
> This then becomes more of a firewall issue as you're spice proxy is
> 
> I agree.  Would you be willing to share the current IPTables rules on your 
> external firewall so I can confirm this? (sanitised appropriately for actual 
> IPs and/or hostnames, of course)  You can contact me off-list if you prefer.  
> This is more for curiousity/confirmation than anything else.
> 
> I know that when I was on the same LAN as the oVirt box, I had to edit my 
> local hosts file to point the proxy value to the oVirt box itself for the 
> remote-viewer to connect to the Windows desktop.
> 
> If that is indeed what is happening here, I think a better (and more 
> universal) solution would be to have a VPN connection from the remote end 
> user to the network where the oVirt/RHEV server is (site-to-site if the users 
> are in an office and "road warrior" for remote individuals).  Not sure how 
> much of a performance hit that might make, though.  Will need to do some 
> testing.
> 
> working. But just to confirm, if you open up console through chrome it
> should download a console.vv file rather than opening up remote-viewer
> natively, before you run it; open it with a text editor you'll see the
> proxy settings there.
> 
> I took a look and the proxy settings are correct.
> 
> The windows issue is probably just related to non proper drives installed.
> 
> On the machine I am connecting from or the virtual machine I am connecting 
> to?  I downloaded the client from the link here:
> 
>  http://www.spice-space.org/download.html
> 
> Is there a different SPICE client for Windows that is recommended?
> 
> -Alan
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Live Migrate Disks

2014-02-14 Thread Michal Skrivanek

On Feb 14, 2014, at 14:21 , Michal Skrivanek  
wrote:

> 
> On Feb 14, 2014, at 04:44 , Maurice James  wrote:
> 
>> Im running oVirt 3.4.0-0.7.beta2.el6
>> 
>> rpm -qa |grep qemu-kvm
>> qemu-kvm-tools-0.12.1.2-2.415.el6_5.3.x86_64
>> qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64
>> 
>> And its failing with this error in the engine.log
> 
> can you do a live VM snapshot at all? If not then the QEMU you're running is 
> not supporting it

i.e. see "[Users] issues with live snapshot" thread:-)

> 
> Thanks,
> michal
> 
>> 
>> 2014-02-13 22:42:12,782 ERROR 
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
>> (org.ovirt.thread.pool-6-thread-12) Failed in SnapshotVDS method
>> 2014-02-13 22:42:12,785 ERROR 
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
>> (org.ovirt.thread.pool-6-thread-12) Command SnapshotVDSCommand(HostName = 
>> Titan, HostId = 5869805e-5b95-485a-bd8a-07b472d3fcaf, 
>> vmId=dfe6ab9e-1f61-4202-ade9-18ade4757a5e) execution failed. Exception: 
>> VDSErrorException: VDSGenericException: VDSErrorException: Failed to 
>> SnapshotVDS, error = Snapshot failed, code = 48
>> 2014-02-13 22:42:13,016 ERROR 
>> [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] 
>> (org.ovirt.thread.pool-6-thread-12) Command 
>> org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand throw Vdc Bll 
>> exception. With error message VdcBLLException: Auto-generated live snapshot 
>> for VM dfe6ab9e-1f61-4202-ade9-18ade4757a5e failed (Failed with error 
>> imageErr and code 13)
>> 2014-02-13 22:42:13,017 ERROR 
>> [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] 
>> (org.ovirt.thread.pool-6-thread-12) Reverting task unknown, handler: 
>> org.ovirt.engine.core.bll.lsm.LiveSnapshotTaskHandler
>> 
>> 
>> 
>> 
>> -Original Message-
>> From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com] 
>> Sent: Thursday, February 13, 2014 4:09 PM
>> To: Maurice James
>> Cc: users
>> Subject: Re: [Users] Live Migrate Disks
>> 
>> On Thu, Feb 13, 2014 at 8:56 PM, Maurice James wrote:
>>> Is it possible to live migrate disks like storage vMotion?
>>> 
>> 
>> It should be supported since 3.2. See
>> http://www.ovirt.org/OVirt_3.2_release_notes
>> 
>> So in current stable 3.3.3 it should be ok.
>> take in mind that it depends on live snapshots, so limitation on RHEL / 
>> CerntOS 6.5 apply.
>> In that case you should use the recent qemu-kvm rebuilt from jenkins job, as 
>> noted in other threads today:
>> http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/
>> 
>> HIH,
>> Gianluca
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] [QE] oVirt 3.4.0 RC status

2014-02-14 Thread Michal Skrivanek

On Feb 14, 2014, at 09:51 , Sandro Bonazzola  wrote:

> Hi,
> oVirt 3.4.0 beta2 has been released and is actually on QA.
> We're going to tart composing oVirt 3.4.0 RC this Monday 2014-02-17 09:00 UTC 
> from 3.4 branches.
> This build will be used for a third Test Day scheduled for Wed 2014-02-19.
> 
> The bug tracker [1] shows the following bugs blocking the release:
> WhiteboardBug ID  Status  Summary
> integration   1058018 POSTupgrade from 3.3 overwrites exports with acl 
> None
> storage   1057761 NEW Can't discover iSCSI target
> virt  1062615 POSTutc_diff not updated according to a change in 
> VM settings

patch is posted and awaiting review (and backport)

> 
> There are still 376 bugs [2] targeted to 3.4.0.
> Excluding node and documentation bugs we still have 252 bugs [3] targeted to 
> 3.4.0.
> Please review them as soon as possible.
> 
> Maintainers / Assignee:
> - Please remember to rebuild your packages before 2014-02-17 09:00 UTC if you 
> want them to be included in 3.4.0 RC.
> - Please add the bugs to the tracker if you think that 3.4.0 should not be 
> released without them fixed.
> - Please provide ETA on blockers bugs
> - Please update the target to 3.4.1 or any next release for bugs that won't 
> be in 3.4.0:
>  it will ease gathering the blocking bugs for next releases.
> - Please fill release notes, the page has been created here [4]
> - Please update http://www.ovirt.org/OVirt_3.4_TestDay before 2014-02-19
> 
> 
> Be prepared for upcoming oVirt 3.4.0 Test Day on 2014-02-19!
> Thanks to all people already testing 3.4.0 beta 2!
> 
> [1] https://bugzilla.redhat.com/1024889
> [2] http://red.ht/1eIRZXM
> [3] http://red.ht/1auBU3r
> [4] http://www.ovirt.org/OVirt_3.4.0_release_notes
> 
> -- 
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] After upgrade of ovirt > 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Michal Skrivanek

On 25 Feb 2014, at 08:32, Ayal Baron wrote:

> Michal, please see inline
> 
> - Original Message -
>> - Original Message -
>>> From: "R P Herrold" 
>>> To: "Ricky Schneberger" 
>>> Cc: users@ovirt.org
>>> Sent: Monday, February 24, 2014 6:42:54 PM
>>> Subject: [Users] After upgrade of ovirt > 3.3 all Windows vms lost their
>>> activation against Microsoft
>>> 
>>> On Mon, 24 Feb 2014, Ricky Schneberger wrote:
>>> 
> Why is the Windows VMs always lost their activation against Microsoft
> after that I have upgrade ovirt?
>>> ...
 Yes I am sure its related to the upgrade.

only upgrade, not a specific VM run? In other words it doesn't check the BIOS 
serial number since that's different on each hypervisor.

 
 In the application log of the VM we can see  "hardware has changed from
 previous boot" and also we have a licensing system on another host that
 got in a stucked state because of the same reason - "hardware has
 changed from previous boot".
>>> 
>>> I see the following discussions ... changes in bios, or
>>> hardware device numbers, seem to trigger this
>>> 
>>> (Citrix instances)
>>> http://support.citrix.com/article/CTX135542
>>> 
>>> http://support.citrix.com/article/CTX132220/
>>> 
>>> http://discussions.citrix.com/topic/313096-windows-activation-license-mak-used/#entry1674492
>>> 
>>> http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-7-activation-always-come-back-after/b26f8338-ae51-44d1-a0d9-b3a71643548a
>>> 
>>> So the issue may in some cases be avoided, but in others, will
>>> need oVirt attention to not changing values refered to by the
>>> licensing validation code.  Identifying all those test point
>>> valuess so they may be preserved, looks like something the
>>> upstream (commercial) vendor would not be very interesting in
>>> revealing as it would impact their revenue model, so it
>>> probably needs a set of 'reproducers' identified, and test
>>> cases written ...
>> 
>> I think the best solution would be if Microsoft would send some patches :-)
>> 
>> Ricky, would you open a bug so we can track this issue?
> 
> oVirt tries to keep stable device addresses (e.g. pci slot) specifically to 
> prevent this issue.
> The way it is done is that after running the VM we query libvirt for all the 
> device addresses and on next run we provide libvirt with the same addresses 
> to keep the devices from changing.
> This feature was not available in 3.0 so I see 2 options here:
> 1. this VM was not started (or was running) since 3.0
> 2. introduction of new virtual hardware caused a change in the device 
> addresses for some reason (bug).

in addition to stable PCI addresses, new QEMU/KVM release sometimes change the 
system hardware - emulated machine mode.
or if it is really subtle, it can also be triggered by new devices (e.g. 
balloon, virtio-console (used to be in 3.0, removed in 3.1, optional in 3.3)) 
or simple upgrade of virtio drivers

anyway, so what changes in devices you can see after upgrade? 

Thanks,
michal

> 
> Anyway, adding Michal who is more familiar with this part than I.
> 
> 
>> 
>> Nir
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 

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


Re: [Users] oVirt 3.5 planning

2014-02-25 Thread Michal Skrivanek

On 25 Feb 2014, at 14:13, Itamar Heim wrote:

> On 02/25/2014 11:55 AM, Sven Kieske wrote:
>> RFE: Allow to configure the timeout for VNC password authentication
>> via webadmin (you can do this via API but not via webadmin).
>> I don't need it, but I guess it would be convenient for many users.
>> https://bugzilla.redhat.com/show_bug.cgi?id=1055566
> 
> michal - wasn't this an option in the past for manual vnc invocation?

nope. just the API way.
I don't find the solution of someone going in manually entering the pwd on some 
command line as something not really ideal. The .vv should be associated with a 
script or remote-viewer and then 120s should always be enough to launch it

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


[Users] concurrent SPICE access [was: Re: oVirt 3.5 planning]

2014-02-25 Thread Michal Skrivanek

On Feb 25, 2014, at 20:38 , Itamar Heim  wrote:

> On 02/25/2014 09:20 PM, Markus Stockhausen wrote:
>> 3) Shared console access for two or more administrators
>> 
>> https://bugzilla.redhat.com/show_bug.cgi?id=1060854
> 
> michal - is this just a config in the .vv file? I'd expect qemu needs to 
> support this as well? especially since the ticketing mechanism is designed to 
> disconnect previous user?

last time I remember the concurrent connection to SPICE was experimental
Did it change since?

yes, if it is supported now the oVirt ticketing would need to be changed or 
disabled

Thanks,
michal

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


Re: [Users] Disk Migration

2014-02-27 Thread Michal Skrivanek

On Feb 27, 2014, at 08:15 , Nir Soffer  wrote:

> - Original Message -
>> From: "Dafna Ron" 
>> To: "Maurice James" 
>> Cc: "Ofer Blaut" , users@ovirt.org
>> Sent: Wednesday, February 26, 2014 7:34:11 PM
>> Subject: Re: [Users] Disk Migration
>> 
>> On 02/26/2014 05:24 PM, Maurice James wrote:
>>> I have a specific interface set up for migrations. Why do disk
>>> migrations not use the interface that I have set for migrations? Is
>>> that by design? Shouldnt it use the interfaces that I have set aside
>>> for migrations? VM migrations work as they should but not disk migrations
>> 
>> I don't think that you can configure interface for disk migration.
>> Disk migration is actually copy of information from the original disk to
>> a new disk created on a new domain + delete of the original disk once
>> that is done.
>> it's not actually a migration and so I am not sure you can actually
>> configure an interface for that.
>> adding ofer - perhpas he has a solution or it's possible and I am not
>> aware of it.
> 
> I guess that *not* using the migration network for storage operation is
> the expected behavior, to make migration faster and safer.
> 
> Michal, Dan, can you elaborate on this?

with storage offloading it's probably not going to be significant, however 
today it likely is.
Nir, why would not using migration network make it better? Won't we have the 
same problem as before without migration network at all, i.e. choking the 
management channel?
Should we maybe consider a dedicated "storage" network?

Thanks,
michal

> 
> Nir

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


Re: [Users] concurrent SPICE access [was: Re: oVirt 3.5 planning]

2014-02-27 Thread Michal Skrivanek

On Feb 27, 2014, at 10:19 , Markus Stockhausen  wrote:

>> Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von 
>> "Itamar Heim [ih...@redhat.com]
>> Gesendet: Donnerstag, 27. Februar 2014 09:53
>> An: Sven Kieske; users@ovirt.org
>> Betreff: Re: [Users] concurrent SPICE access [was: Re:  oVirt 3.5 planning]
>> 
>> On 02/27/2014 10:52 AM, Itamar Heim wrote:
>>> On 02/27/2014 10:51 AM, Sven Kieske wrote:
 Well, you generate a separate ticket to the same vm.
 resulting in another vnc-session to the server, but the input/output
 is shared, you can see in real time when the other user types etc.
>>> 
>>> iirc, the ticketing mechanism works in a way that a new ticket
>>> disconnects the previous session?
>> 
>> (on connection with the new ticket)
> 
> In the VNC case this does not work. I do not know if its by design or
> just a bug/feature. Either Ovirt does not instruct libvirt to create a new
> VNC ticket with option "disconnect all connected clients" or this 
> information is not correctly interpreted by qemu.

well, sort of both. We keep the QEMU/libvirt  default which is to honor 
client's request.
Which is in case of novnc by default "shared", other common clients like 
vncviewer default to "disconnect"

I wonder if anyone is using the shared behavior or we should disallow it. Or 
make it optional, which is nice but as always comes with a price of development 
time.

> 
> If you launch a client that initiates a shared connection to the console 
> then existing connections will stay open. This magically works if you
> use the novnc client (as Sven explained).
> 
> The only thing that prevents a concurrent access to the console with
> virt-viewer is the fact that it enforces a single VNC connection.

yes

> 
> So state is as follows:
> 
> SPICE: disconnect happens during ticket creation

It's on connection as well, it just can't be controlled (not that it matters:)

Thanks,
michal


> VNC: disconnect may happen during client connection
> 
> You can check that behaviour if you associate a .VV file with a text editor. 
> With SPICE the existing console connection is terminated just before the
> .VV file opens in the editor. With VNC the existing session stays open.
> 
> Markus___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Migration Failed

2014-02-27 Thread Michal Skrivanek

On Feb 27, 2014, at 10:09 , Gadi Ickowicz  wrote:

> Hi,
> 
> Unfortunately it seems the vdsm logs cycled - these vdsm logs do not match 
> the times for the engine log snippet you pasted - they start at around 10:00 
> AM and the engine points to 8:33…

seeing "error = Could not connect to peer VDS" points me to a possible direct 
network connectivity issue between the those two hosts. Src vdsm needs to be 
able to talk to dst vdsm

Thanks,
michal

> 
> Gadi Ickowicz
> 
> - Original Message -
> From: "Koen Vanoppen" 
> To: "Meital Bourvine" , users@ovirt.org
> Sent: Thursday, February 27, 2014 11:04:11 AM
> Subject: Re: [Users] Migration Failed
> 
> In attachment... 
> Thanx! 
> 
> 
> 2014-02-27 9:21 GMT+01:00 Meital Bourvine < mbour...@redhat.com > : 
> 
> 
> 
> Hi Koen, 
> 
> Can you please attach the relevant vdsm logs? 
> 
> 
> 
> 
> 
> From: "Koen Vanoppen" < vanoppen.k...@gmail.com > 
> To: users@ovirt.org 
> Sent: Thursday, February 27, 2014 9:38:46 AM 
> Subject: [Users] Migration Failed 
> 
> 
> Dear all, 
> 
> I added a new host to our ovirt. Everything went good, exept in the beginnen 
> there was a problem with the firmware of the FibreCard but that is solved 
> (maybe relevant to the issue coming up ;-) ), host is green en up now. But 
> when I tried to migrate a machine for testing purpose to see if everythin was 
> ok, I get the following error in the engine.log and the migration fails: 
> 
> 2014-02-27 08:33:08,082 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] 
> (pool-6-thread-49) [f1a68d8] Running command: MigrateVmCommand internal: 
> false. Entities affected : ID: 3444fc9d-0395-4cbb-9a11-28a42802560c Type: VM 
> 2014-02-27 08:33:08,362 INFO 
> [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-6-thread-49) 
> [f1a68d8] START, MigrateVDSCommand(HostName = soyuz, HostId = 
> 6dfa2f9c-85c6-4fb3-b65f-c84620115a1a, 
> vmId=3444fc9d-0395-4cbb-9a11-28a42802560c, srcHost= 
> soyuz.brusselsairport.aero , dstVdsId=6707fa40-753a-4c95-9304-e47198477e4d, 
> dstHost= buran.brusselsairport.aero:54321 , migrationMethod=ONLINE, 
> tunnelMigration=false), log id: 50cd7284 
> 2014-02-27 08:33:08,371 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
> (pool-6-thread-49) [f1a68d8] VdsBroker::migrate::Entered 
> (vm_guid=3444fc9d-0395-4cbb-9a11-28a42802560c, srcHost= 
> soyuz.brusselsairport.aero , dstHost= buran.brusselsairport.aero:54321 , 
> method=online 
> 2014-02-27 08:33:08,405 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
> (pool-6-thread-49) [f1a68d8] START, MigrateBrokerVDSCommand(HostName = soyuz, 
> HostId = 6dfa2f9c-85c6-4fb3-b65f-c84620115a1a, 
> vmId=3444fc9d-0395-4cbb-9a11-28a42802560c, srcHost= 
> soyuz.brusselsairport.aero , dstVdsId=6707fa40-753a-4c95-9304-e47198477e4d, 
> dstHost= buran.brusselsairport.aero:54321 , migrationMethod=ONLINE, 
> tunnelMigration=false), log id: 20806b79 
> 2014-02-27 08:33:08,441 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
> (pool-6-thread-49) [f1a68d8] FINISH, MigrateBrokerVDSCommand, log id: 
> 20806b79 
> 2014-02-27 08:33:08,451 INFO 
> [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-6-thread-49) 
> [f1a68d8] FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 50cd7284 
> 2014-02-27 08:33:08,491 INFO 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (pool-6-thread-49) [f1a68d8] Correlation ID: f1a68d8, Job ID: 
> c3642418-3f05-41eb-8b1d-07fe04867742, Call Stack: null, Custom Event ID: -1, 
> Message: Migration started (VM: ADW-DevSplunk, Source: soyuz, Destination: 
> buran, User: admin@internal). 
> 2014-02-27 08:33:20,036 INFO 
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
> (DefaultQuartzScheduler_Worker-82) VM ADW-DevSplunk 
> 3444fc9d-0395-4cbb-9a11-28a42802560c moved from MigratingFrom --> Up 
> 2014-02-27 08:33:20,042 INFO 
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
> (DefaultQuartzScheduler_Worker-82) Adding VM 
> 3444fc9d-0395-4cbb-9a11-28a42802560c to re-run list 
> 2014-02-27 08:33:20,051 ERROR 
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
> (DefaultQuartzScheduler_Worker-82) Rerun vm 
> 3444fc9d-0395-4cbb-9a11-28a42802560c. Called from vds soyuz 
> 2014-02-27 08:33:20,107 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
> (pool-6-thread-50) START, MigrateStatusVDSCommand(HostName = soyuz, HostId = 
> 6dfa2f9c-85c6-4fb3-b65f-c84620115a1a, 
> vmId=3444fc9d-0395-4cbb-9a11-28a42802560c), log id: 75ac0a46 
> 2014-02-27 08:33:20,124 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
> (pool-6-thread-50) Failed in MigrateStatusVDS method 
> 2014-02-27 08:33:20,130 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
> (pool-6-thread-50) Error code noConPeer and error message 
> VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = 
> Could not connect to peer V

Re: [Users] Disk Migration

2014-02-28 Thread Michal Skrivanek

On 28 Feb 2014, at 15:27, Nir Soffer wrote:

> - Original Message -
>> From: "Michal Skrivanek" 
>> To: "Nir Soffer" 
>> Cc: d...@redhat.com, "Dan Kenigsberg" , "Maurice James" 
>> , "Ofer Blaut"
>> , "Users@ovirt.org Users" 
>> Sent: Thursday, February 27, 2014 10:12:26 AM
>> Subject: Re: [Users] Disk Migration
>> 
>> 
>> On Feb 27, 2014, at 08:15 , Nir Soffer  wrote:
>> 
>>> - Original Message -
>>>> From: "Dafna Ron" 
>>>> To: "Maurice James" 
>>>> Cc: "Ofer Blaut" , users@ovirt.org
>>>> Sent: Wednesday, February 26, 2014 7:34:11 PM
>>>> Subject: Re: [Users] Disk Migration
>>>> 
>>>> On 02/26/2014 05:24 PM, Maurice James wrote:
>>>>> I have a specific interface set up for migrations. Why do disk
>>>>> migrations not use the interface that I have set for migrations? Is
>>>>> that by design? Shouldnt it use the interfaces that I have set aside
>>>>> for migrations? VM migrations work as they should but not disk migrations
>>>> 
>>>> I don't think that you can configure interface for disk migration.
>>>> Disk migration is actually copy of information from the original disk to
>>>> a new disk created on a new domain + delete of the original disk once
>>>> that is done.
>>>> it's not actually a migration and so I am not sure you can actually
>>>> configure an interface for that.
>>>> adding ofer - perhpas he has a solution or it's possible and I am not
>>>> aware of it.
>>> 
>>> I guess that *not* using the migration network for storage operation is
>>> the expected behavior, to make migration faster and safer.
>>> 
>>> Michal, Dan, can you elaborate on this?
>> 
>> with storage offloading it's probably not going to be significant, however
>> today it likely is.
>> Nir, why would not using migration network make it better? Won't we have the
>> same problem as before without migration network at all, i.e. choking the
>> management channel?
> 
> Gigs of data sent of the same netowrk used for migarations would make 
> migration
> slower when the network is saturated.

well, you saturate one or the other…still from the functional perspective it's 
better to not choke the management…so either use the migration network (and the 
migrations will compete with disk moves) or a separate network.
I'd be tempted to say that typically having too many different networks might 
be an overkill and difficult to set up/maintain

> 
>> Should we maybe consider a dedicated "storage" network?
> 
> This can be setup now in 3.4.
> 
> Sergey, can you explain how this is configured now in 3.4?

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


Re: [Users] Installing all in one ovirt server

2014-03-08 Thread Michal Skrivanek


> On 09 Mar 2014, at 01:26, Itamar Heim  wrote:
> 
>> On 03/06/2014 01:03 PM, Sven Kieske wrote:
>> I'll take this as an opportunity to ask some questions:
>> if and under what circumstances can the "default" DC
>> be safely removed if you do not use it?
>> 
>> Or can't you delete it, would it break something (what)?
>> 
>> Why is there a "default" DC in the first place?
> 
> iirc, so the default template will have a cluster, as null is not allowed.
> michal - maybe with template verisons or instance types this will now be 
> possible (as cluster can be null for one of them iirc)?

Yes. We can now remove quite a few limitations specific to the blank template. 
Thinking of renaming it to "default" and allow editing and versioning it. 
You can't delete it at the moment though

Thanks,
michal

> 
>> 
>> Am 06.03.2014 11:54, schrieb Yedidyah Bar David:
 From: "Andy Michielsen" 
 To: users@ovirt.org
 Sent: Wednesday, March 5, 2014 6:23:33 PM
 Subject: [Users] Installing all in one ovirt server
>>> 
 Hello,
>>> 
 I just finnished installing a new ovirt all in one installation and I 
 noticed
 that I have 2 datacenters.
>>> 
 A default one and a local_datacenter. I don't understand why I have 2
 datacenters but I suppose I can delete one.
>>> 
>>> Default is always created. Normal setups start with just it, and others can 
>>> be created if needed.
>>> 
>>> local_datacenter is all-in-one-specific - you were asked about it during 
>>> setup - name, location etc.
>>> It's "local" in that it uses a local directory on the host, so VMs on it 
>>> cannot be migrated to other
>>> hosts if/when you add them.
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.3.3 - Migration failures

2014-03-12 Thread Michal Skrivanek


> On 12 Mar 2014, at 15:52, LANGE Thomas  wrote:
> 
> Hi !
>  
> I am testing all the functionalities of oVirt for work and I have some issues 
> regarding live migration.
> Here’s my configuration:
> -   pc001 : CentOS 6.5 minimal with VDSM (4.13.3-3.el6)
> -   pc002 : CentOS 6.5 minimal with VDSM (4.13.3-3.el6) and ovirt-engine 
> (3.3.3-2.el6)
> -   pc003 : CentOS 6.5 with VDSM (4.13.3-3.el6)
> All these servers are in the same cluster and datacenter is using NFS for 
> storage.
>  
> Here’s my problem : I have one VM (called Debian) running on a specific host 
> (pc003.lan). I try to migrate it to another host (pc001.lan) but the 
> migration fails. As a result, the VM is still running on pc003 and the number 
> of running VMs on this host is still the same; but I can see one more VM 
> running on the host pc001. It does the same thing with other VMs (mavm1, 
> mavm2, mavm3, Debian2….). At the end, the administration portal tells me I 
> have 7VMs running on host pc001, 4 on pc002 and 3 on pc001; I have only 7 VMs 
> , not 14.

Hi,
...running - i.e. they are shown as the green triangle as if they are running, 
all 14 of them?

>  
> From now, some errors keep showing up in the log (see attachment). It says 
> that migrations are still running but I cannot cancel them in the 
> administration portal and they never stop/succeed/fail. This problem occurred 
> some time after I enabled quotas in the Datacenter but I don’t know if it’s 
> related in any way.

Might be. Does it disappear when you disable quota?:)


> If I reboot pc001, the number of running VM is reset to 0, but any attempt to 
> migrate a VM to this host does the same thing again. Also, restarting the 
> engine did not fix this issue.
>  
> Does anyone have an idea about what’s happening ? I’m new with oVirt and I 
> don’t know what to do to solve this.

seems a destination creation issue. Please reproduce with one VM and get the 
logs from both source and destination host from that time. 

Thanks,
michal
>  
> Thanks for your help !
>  
> Regards,
>  
> Thomas LANGÉ
>  
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Clone VM from another VM - API

2014-03-23 Thread Michal Skrivanek


> On 23 Mar 2014, at 11:21, Itamar Heim  wrote:
> 
>> On 03/18/2014 04:27 PM, Tejesh M wrote:
>> Hi
>> 
>> Is that possible to Clone a VM from another VM without taking a Snapshot
>> through Java SDK?
> 
> planned for 3.5.

Internally it will need to do a snapshot as well, so the flow you can write now 
won't be much different, just more api calls

Thanks,
michal
> 
>> 
>> --
>> Thanks & Regards
>> Tejesh
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Clone VM from another VM - API

2014-03-23 Thread Michal Skrivanek


> On 23 Mar 2014, at 12:04, Michal Skrivanek  
> wrote:
> 
> 
> 
>>> On 23 Mar 2014, at 11:21, Itamar Heim  wrote:
>>> 
>>> On 03/18/2014 04:27 PM, Tejesh M wrote:
>>> Hi
>>> 
>>> Is that possible to Clone a VM from another VM without taking a Snapshot
>>> through Java SDK?
>> 
>> planned for 3.5.
> 
> Internally it will need to do a snapshot as well, so the flow you can write 
> now won't be much different, just more api calls

More right now, less in 3.5:)

> 
> Thanks,
> michal
>> 
>>> 
>>> --
>>> Thanks & Regards
>>> Tejesh
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Windows guest time behind an hour after reboot

2014-03-24 Thread Michal Skrivanek

On Mar 20, 2014, at 16:15 , Bob Doolittle  wrote:

> I have a similar issue, but my Windows clocks are always 4 hours ahead now, 
> as if they were set to UTC. What time zone are you in?
> 
> I have been under the impression that this is likely due to: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1062615 but haven't tried the fix 
> myself yet (supposed to be fixed in 3.4).

likely
the guest's HW clock should be now set to the offset of the selected TZ. For 
default Linux installs this should be UTC (I think still you can't select 
anything else), for Windows this should be the desired time zone.
Not sure how it handles DST but at least it should be consistently coming up 
with the same time:)

Thanks,
michal


> 
> -Bob
> 
> 
> On Thu, Mar 20, 2014 at 10:49 AM, Blaster  wrote:
> Ever since the “Spring Forward” on March 9th, my Windows 7 guests are behind 
> an hour every time they reboot.   The Fedora 20 guests are just fine.
> 
> I can set the correct time, reboot, comes back up an hour behind.  I’ve tried 
> setting the time zone in the properties to both GMT and to the correct 
> timezone, still the same, behind an hour on reboot.
> 
> What am I doing wrong?
> 
> And what affect does setting the time zone in the properties supposed to have 
> on the guest?
> 
> Thanks..
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] oVirt 3.5 planning

2014-03-24 Thread Michal Skrivanek

On Mar 18, 2014, at 13:30 , Sven Kieske  wrote:

> 
> 
> Am 18.03.2014 13:24, schrieb Federico Alberto Sayd:
>> On 24/02/14 13:59, Itamar Heim wrote:
>>> with oVirt 3.4 getting close to GA with many many great features, time
>>> to collect requests for 3.5...
>> Add progress bar to task tab to indicate the progress percent of
>> snapshot creation, vm clonation, migration, etc.
> 
> Some kind of progress indication would indeed be very cool!

the live migration will hopefully make it for 3.5

> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] oVirt 3.5 planning

2014-03-26 Thread Michal Skrivanek

On Mar 26, 2014, at 10:51 , Itamar Heim  wrote:

> On 03/26/2014 05:44 AM, Sven Kieske wrote:
>> And I still have 2 cool features which would be cool to include for 3.5:
>> 
>> Add Debian 7 to the list of operating systems for VMs (I guess there is
>> not much work to be done for that)
> 
> care to give it a shot :)
> really simple sample to follow:
> http://gerrit.ovirt.org/#/c/22273/
> 
>> 
>> Here's the RFE for that:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1073453
>> 
>> And provide qemu-guest-agent (not ovirt-guest-agent)
>> for more operating systems, at least centos.
>> 
>> ubuntu 12.04 and debian would also be cool.
>> 
>> I can create an RFE for that if you want.
> 
> qemu-guest-agent for centos should be opened in centos (not sure why its not 
> already available)?
> 
> qemu-guest-agent is part of the qemu/kvm ecosystem and for debian/ubuntu - 
> should be raised on qemu-devel and opened in ubuntu/debian?

note so far in 3.4/3.5 still the only thing it brings you is the Backup API 
feature - quiesce of drives during taking of the snapshot.
For most of other uses you don't actually need it and you can --nodeps it...

Thanks,
michal

> 
> 
>> 
>> Am 24.02.2014 17:59, schrieb Itamar Heim:
>>> with oVirt 3.4 getting close to GA with many many great features, time
>>> to collect requests for 3.5...
>> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


[Users] 3.5 virt feature overview

2014-04-04 Thread michal . skrivanek
BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Europe/Belgrade
BEGIN:STANDARD
DTSTART:16010101T03
TZOFFSETTO:+0100
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
TZNAME:CET
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
TZOFFSETTO:+0200
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
TZNAME:CEST
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:07e7b6c9-ea50-4c4a-81de-8fc6fbf41e4e
SUMMARY:3.5 virt feature overview
ATTENDEE;CN=Tomas Jelinek;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE:mailto:tjeli...@redhat.com
ATTENDEE;CN=Omer Frenkel;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRU
 E:mailto:ofren...@redhat.com
ATTENDEE;CN=users@oVirt.org;ROLE=OPT-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE:mailto:users@ovirt.org
ORGANIZER;CN=Michal Skrivanek:mailto:michal.skriva...@redhat.com
DTSTART;TZID="Europe/Belgrade":20140410T16
DTEND;TZID="Europe/Belgrade":20140410T164500
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20140404T075150Z
DTSTAMP:20140404T075150Z
SEQUENCE:0
DESCRIPTION:The following is a new meeting request:\n\nSubject: 3.5 virt fea
 ture overview \nOrganizer: "Michal Skrivanek"  
 \n\nTime: Thursday\, April 10\, 2014\, 4:00:00 PM - 4:45:00 PM GMT +01:00 Be
 lgrade\, Bratislava\, Budapest\, Ljubljana\, Prague\n \nRequired: tjelinek@r
 edhat.com\; ofren...@redhat.com \nOptional: users@ovirt.org \n\n*~*~*~*~*~*~
 *~*~*~*\n\nHi all\, \n\nWe will present virt features for version 3.5: \n\n*
  Edit running VM\, Omer\, ~5min \n* Instance Types\, Tomas\, ~15min \n* all 
 the other features:)\, Michal\, ~10min  \n* Q&A\, ~10min\n\nDial in: \nhttps
 ://www.intercallonline.com/listNumbersByCode.action?confCode=7948954260 \nco
 nf id: 794 895 4260 # \n\nThanks\,\nmichal
END:VEVENT
END:VCALENDAR___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fail snapshot

2014-04-04 Thread Michal Skrivanek

On 4 Apr 2014, at 12:45, Kevin Tibi wrote:

> Hi,
> 
> I have a pb when i try to snapshot a VM.

are you running the right qemu/libvirt from virt-preview repo?

> 
> Ovirt engine self hosted 3.4. Two node (host01 and host02).
> 
> my engine.log :
> 
> 2014-04-04 12:30:03,013 INFO  
> [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] 
> (org.ovirt.thread.pool-6-thread-24) Ending command successfully: 
> org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand
> 2014-04-04 12:30:03,028 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-24) START, SnapshotVDSCommand(HostName = 
> host01, HostId = fcb9a5cf-2064-42a5-99fe-dc56ea39ed81, 
> vmId=cb038ccf-6c6f-475c-872f-ea812ff795a1), log id: 36463977
> 2014-04-04 12:30:03,075 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-24) Failed in SnapshotVDS method
> 2014-04-04 12:30:03,076 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-24) Command 
> org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand return value
>  StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=48, 
> mMessage=Snapshot failed]]
> 2014-04-04 12:30:03,077 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-24) HostName = host01
> 2014-04-04 12:30:03,078 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-24) Command SnapshotVDSCommand(HostName = 
> host01, HostId = fcb9a5cf-2064-42a5-99fe-dc56ea39ed81, 
> vmId=cb038ccf-6c6f-475c-872f-ea812ff795a1) execution failed. Exception: 
> VDSErrorException: VDSGenericException: VDSErrorException: Failed to 
> SnapshotVDS, error = Snapshot failed, code = 48
> 2014-04-04 12:30:03,080 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] 
> (org.ovirt.thread.pool-6-thread-24) FINISH, SnapshotVDSCommand, log id: 
> 36463977
> 2014-04-04 12:30:03,083 WARN  
> [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] 
> (org.ovirt.thread.pool-6-thread-24) Wasnt able to live snapshot due to error: 
> VdcBLLException: VdcBLLException: 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
> VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = 
> Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48). 
> VM will still be configured to the new created snapshot
> 2014-04-04 12:30:03,097 INFO  
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (org.ovirt.thread.pool-6-thread-24) Correlation ID: 5650b99f, Job ID: 
> c1b2d861-2a52-49f1-9eaa-1b63aa8b4fba, Call Stack: 
> org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
> VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = 
> Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48)
> 
> 
> My /var/log/messages
> 
> Apr  4 12:30:04 host01 vdsm vm.Vm ERROR 
> vmId=`cb038ccf-6c6f-475c-872f-ea812ff795a1`::The base volume doesn't exist: 
> {'device': 'disk', 'domainID': '5ae613a4-44e4-42cb-89fc-7b5d34c1f30f', 
> 'volumeID': '3b6cbb5d-beed-428d-ac66-9db3dd002e2f', 'imageID': 
> '646df162-5c6d-44b1-bc47-b63c3fdab0e2'}
> 
> My /var/log/libvirt/libvirt.log
> 
> 2014-04-04 10:40:13.886+: 8234: debug : qemuMonitorIOWrite:462 : 
> QEMU_MONITOR_IO_WRITE: mon=0x7f77ec0ccce0 
> buf={"execute":"query-blockstats","id":"libvirt-20842"}
>  len=53 ret=53 errno=11
> 2014-04-04 10:40:13.888+: 8234: debug : qemuMonitorIOProcess:354 : 
> QEMU_MONITOR_IO_PROCESS: mon=0x7f77ec0ccce0 buf={"return": [{"device": 
> "drive-ide0-1-0", "parent": {"stats": {"flush_total_time_ns": 0, 
> "wr_highest_offset": 0, "wr_total_time_ns": 0, "wr_bytes": 0, 
> "rd_total_time_ns": 0, "flush_operations": 0, "wr_operations": 0, "rd_bytes": 
> 0, "rd_operations": 0}}, "stats": {"flush_total_time_ns": 0, 
> "wr_highest_offset": 0, "wr_total_time_ns": 0, "wr_bytes": 0, 
> "rd_total_time_ns": 11929902, "flush_operations": 0, "wr_operations": 0, 
> "rd_bytes": 135520, "rd_operations": 46}}, {"device": "drive-virtio-disk0", 
> "parent": {"stats": {"flush_total_time_ns": 0, "wr_highest_offset": 
> 22184332800, "wr_total_time_ns": 0, "wr_bytes": 0, "rd_total_time_ns": 0, 
> "flush_operations": 0, "wr_operations": 0, "rd_bytes": 0, "rd_operations": 
> 0}}, "stats": {"flush_total_time_ns": 34786515034, "wr_highest_offset": 
> 22184332800, "wr_total_time_ns": 5131205369094, "wr_bytes": 5122065408, 
> "rd_tota
 l_time_ns": 12987633373, "flush_operations": 285398, "wr_operations": 401232, 
"rd_bytes": 392342016, "rd_operations": 15069}}], "id": "libvirt-20842"}
>  len=1021
> 2014-04-04 10:40:13.888+: 8263: debug : qemuMonitorGetBlockStatsInfo:1478 
> : mon=0x7f77ec0ccce0 dev=ide0-1-0
> 2014-04-04 10:40:13.889+: 8263: debug : qemuMonitorSend:904 : 
> Q

Re: [Users] TSC clocksource gets lost after live migration

2014-04-04 Thread Michal Skrivanek
Hi,
this is more for the KVM folks I suppose…can you get the qemu process cmdline 
please?

Thanks,
michal

On 3 Apr 2014, at 12:13, Markus Stockhausen wrote:

> Hello,
> 
> we have an up to date ovirt 3.4 installation. Inside we are running SLES11 SP3
> VMs (Kernel 3.0.76-0.11). After live migration of these VMs they all of a 
> sudden
> do not react any longer and CPU usage of the VM goes to 100%.
> 
> We identified kvm-clock source to be the culprit and therefore switched to 
> another
> clocksource. We ended with hpet but are not happy with that as our inital goal
> was to use the more simple designed TSC clocksoure. 
> 
> The reason behind that is the question I have for you experts.
> 
> Our hosts all have the constant_tsc CPU flag available. Just to mention these
> are not identical hosts. We have a mix of Xeon 5500 and 5600 machines. E.G.
> [root@colovn01 ~]# cat /proc/cpuinfo | grep constant_tsc | wc -l
> 8
> 
> When we start the VM the client sees TSC as available clocksource:
> 
> colvm53:~ # cat 
> /sys/devices/system/clocksource/clocksource0/available_clocksource
> kvm-clock tsc hpet acpi_pm
> 
> After the first live migration to another host that also has constant_tsc 
> (see above)
> that flag is lost inside the VM.
> 
> colvm53:~ # cat 
> /sys/devices/system/clocksource/clocksource0/available_clocksource
> kvm-clock hpet acpi_pm
> 
> Any ideas?
> 
> Markus
> 
> 
> ___
> 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] HA

2014-04-04 Thread Michal Skrivanek

On 4 Apr 2014, at 15:14, Sander Grendelman wrote:

> Do you have power management configured?
> Was the "failed" host fenced/rebooted?
> 
> 
> On Fri, Apr 4, 2014 at 2:21 PM, Koen Vanoppen  wrote:
> So... It is possible for a fully automatic migration of the VM to another 
> hypervisor in case Storage connection fails?
> How can we make this happen? Because for the moment, when we tested the 
> situation they stayed in pause state.
> (Test situation:
> Unplug the 2 fibre cables from the hypervisor
> VM's go in pause state
> VM's stayed in pause state until the failure was solved

as said before, it's not safe hence we (try to) not migrate them.
They only get paused when they actually access the storage which may not be 
always the case. I.e. the storage connection is severed, host deemed 
NonOperational and VMs are getting migrated from it, then some of them will 
succeed if they didn't access that "bad" storage … the paused VMs will remain 
(mostly, it can still happen that they appear paused migrated on other host 
when the disk access occurs only at the last stage of migration)


so in other words, if you want to migrate the VMs without interruption it's not 
sometimes possible
if you are fine with the VMs restarted in short time on other host then power 
management/fencing will help here

Thanks,
michal
> )
> 
> 
> 
> They only returned when we restored the fiber connection to the Hypervisor…

yes, since 3.3 we have the autoresume feature

Thanks,
michal


> 
> Kind Regards,
> 
> Koen
> 
> 
> 
> 2014-04-04 13:52 GMT+02:00 Koen Vanoppen :
> So... It is possible for a fully automatic migration of the VM to another 
> hypervisor in case Storage connection fails?
> How can we make this happen? Because for the moment, when we tested the 
> situation they stayed in pause state.
> (Test situation:
> Unplug the 2 fibre cables from the hypervisor
> VM's go in pause state
> VM's stayed in pause state until the failure was solved
> )
> 
> 
> 
> They only returned when we restored the fiber connection to the Hypervisor...
> 
> Kind Regards,
> 
> Koen
> 
> 
> 2014-04-03 16:53 GMT+02:00 Koen Vanoppen :
> 
> -- Forwarded message --
> From: "Doron Fediuck" 
> Date: Apr 3, 2014 4:51 PM
> Subject: Re: [Users] HA
> To: "Koen Vanoppen" 
> Cc: "Omer Frenkel" , , "Federico 
> Simoncelli" , "Allon Mureinik" 
> 
> 
> 
> - Original Message -
> > From: "Koen Vanoppen" 
> > To: "Omer Frenkel" , users@ovirt.org
> > Sent: Wednesday, April 2, 2014 4:17:36 PM
> > Subject: Re: [Users] HA
> >
> > Yes, indeed. I meant not-operational. Sorry.
> > So, if I understand this correctly. When we ever come in a situation that we
> > loose both storage connections on our hypervisor, we will have to manually
> > restore the connections first?
> >
> > And thanx for the tip for speeding up thins :-).
> >
> > Kind regards,
> >
> > Koen
> >
> >
> > 2014-04-02 15:14 GMT+02:00 Omer Frenkel < ofren...@redhat.com > :
> >
> >
> >
> >
> >
> > - Original Message -
> > > From: "Koen Vanoppen" < vanoppen.k...@gmail.com >
> > > To: users@ovirt.org
> > > Sent: Wednesday, April 2, 2014 4:07:19 PM
> > > Subject: [Users] HA
> > >
> > > Dear All,
> > >
> > > Due our acceptance testing, we discovered something. (Document will
> > > follow).
> > > When we disable one fiber path, no problem multipath finds it way no pings
> > > are lost.
> > > BUT when we disabled both the fiber paths (so one of the storage domain is
> > > gone on this host, but still available on the other host), vms go in 
> > > paused
> > > mode... He chooses a new SPM (can we speed this up?), put's the host in
> > > non-responsive (can we speed this up, more important) and the VM's stay on
> > > Paused mode... I would expect that they would be migrated (yes, HA is
> >
> > i guess you mean the host moves to not-operational (in contrast to
> > non-responsive)?
> > if so, the engine will not migrate vms that are paused to do io error,
> > because of data corruption risk.
> >
> > to speed up you can look at the storage domain monitoring timeout:
> > engine-config --get StorageDomainFalureTimeoutInMinutes
> >
> >
> > > enabled) to the other host and reboot there... Any solution? We are still
> > > using oVirt 3.3.1 , but we are planning a upgrade to 3.4 after the easter
> > > holiday.
> > >
> > > Kind Regards,
> > >
> > > Koen
> > >
> 
> Hi Koen,
> Resuming from paused due to io issues is supported (adding relevant folks).
> Regardless, if you did not define power management, you should manually 
> approve
> source host was rebooted in order for migration to proceed. Otherwise we risk
> split-brain scenario.
> 
> 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

Re: [Users] how do you connect to a host's serial console

2014-04-07 Thread Michal Skrivanek

On Apr 6, 2014, at 21:50 , Jeremiah Jahn  wrote:

> I just can't seem to figure this out.  I've enabled 'VirtIO Console
> Device' yet I can't seem to find anyplace that will let me get there.
> If I go to virsh on the host and try ttyconsoe that doesn't  work
> either.  thanks for any help.

Does not work. Pending this[1] patch to get in.

Thanks,
michal

[1] http://gerrit.ovirt.org/#/c/25979/

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

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


Re: [Users] CLI Command

2014-04-07 Thread Michal Skrivanek

On Mar 31, 2014, at 15:11 , Maurice James  wrote:

> what is the command to change the console protocol from vnc to spice via the 
> shell?

you need to edit the VM and change it's display, pretty much the same way as 
any other VM property

Thanks,
michal

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

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


Re: [Users] how do you connect to a host's serial console

2014-04-07 Thread Michal Skrivanek

On Apr 7, 2014, at 15:57 , Jeremiah Jahn  wrote:

> So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly
> what I need, just curious how long I'll have to wait. I know this is
> every developers favorite question.

one needs to nag Vinzenz frequently enough….:-D

….but should be 3.4.1

Thanks,
michal

> 
> On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek
>  wrote:
>> 
>> On Apr 6, 2014, at 21:50 , Jeremiah Jahn  
>> wrote:
>> 
>>> I just can't seem to figure this out.  I've enabled 'VirtIO Console
>>> Device' yet I can't seem to find anyplace that will let me get there.
>>> If I go to virsh on the host and try ttyconsoe that doesn't  work
>>> either.  thanks for any help.
>> 
>> Does not work. Pending this[1] patch to get in.
>> 
>> Thanks,
>> michal
>> 
>> [1] http://gerrit.ovirt.org/#/c/25979/
>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> 

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


Re: [Users] how do you connect to a host's serial console

2014-04-07 Thread Michal Skrivanek

On Apr 7, 2014, at 16:23 , Jeremiah Jahn  wrote:

> thx, So dumb question at this point. I'm in the process of moving from
> virt-manager to ovirt.  virsh has an edit domain function, or I can
> edit the xml by hand. I'm able to locate the xml on the host, but
> obviously if I edit it by hand it will be replaced by vdsm. I'm having
> a hell of a time trying to find the xml on the engine, so that I can
> try modifying the xml to add a serial console.  Based on that code
> that's all that's really going on with that patch. So I'd think I can
> wing it by modifying the db or xml directly.  Just not sure where to
> go to do so.  I'm guessing I could go into vm_device and replace
> device='virtio-serial' with 'serial'  but that seems to easy. Any
> pointers you've got on how the xml is stored or produced would be
> great.

It's a bit more complicated than that….there's no XML stored in the backend. 
You'd be better off applying the patch over and compile yourself:)
The supported way of how to amend the libvirt XML is via VDSM hooks. You need 
to intercept the created XML and add whatever is needed, see 
http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base for 
what you're trying to do...

Thanks,
michal

> 
> On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek
>  wrote:
>> 
>> On Apr 7, 2014, at 15:57 , Jeremiah Jahn  
>> wrote:
>> 
>>> So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly
>>> what I need, just curious how long I'll have to wait. I know this is
>>> every developers favorite question.
>> 
>> one needs to nag Vinzenz frequently enough:-D
>> 
>> but should be 3.4.1
>> 
>> Thanks,
>> michal
>> 
>>> 
>>> On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek
>>>  wrote:
>>>> 
>>>> On Apr 6, 2014, at 21:50 , Jeremiah Jahn  
>>>> wrote:
>>>> 
>>>>> I just can't seem to figure this out.  I've enabled 'VirtIO Console
>>>>> Device' yet I can't seem to find anyplace that will let me get there.
>>>>> If I go to virsh on the host and try ttyconsoe that doesn't  work
>>>>> either.  thanks for any help.
>>>> 
>>>> Does not work. Pending this[1] patch to get in.
>>>> 
>>>> Thanks,
>>>> michal
>>>> 
>>>> [1] http://gerrit.ovirt.org/#/c/25979/
>>>> 
>>>>> ___
>>>>> Users mailing list
>>>>> Users@ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>> 
>> 

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


Re: [Users] set domain credentials to be used during sysprep joining an AD domain.

2014-04-07 Thread Michal Skrivanek

On Apr 7, 2014, at 11:19 , Itamar Heim  wrote:

> On 04/07/2014 08:47 AM, Roy Golan wrote:
>> On 04/06/2014 08:57 PM, Jeff Clay wrote:
>>> i'm having trouble finding how set the domain user credentials used
>>> when joing a computer to an AD domain using sysprep. i've found where
>>> ovirt stores the windows product keys, and the settings in
>>> engine-config, but i don't see anything about the domain user
>>> credentials. Do I need to replace the domain user variables in
>>> sysprep.w7 and statically set them to what I need?
> 
> I'm pretty sure we are not supposed to be limiting the domains a VM can join 
> to the domains a user can authenticate to?

 the dropdown field is editable so one can enter any custom domain 
then it gets replaced in the system's sysprep template. 

the same goes for user credentials - tehre's the Alternate Credentials 
checkbox…does it not work?

BTW note in 3.4 you would be able to use a custom sysprep file (with existing 
variables substitution)

Thanks,
michal

> 
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> * first configure you domain if not already done
>> 
>>  $ engine-manage-domains add --domain=DOMAIN --provider=activeDirectory
>> --user=USER  --add-permissions
>> 
>> * make sure your vm Os Type is set to  Windows 7 (or whatever type your
>> installing)  - Edit the Vm and see the drop-down at the first dialog screen
>> * then click Run-once (right click a vm from VMs tab) and go to Initial
>> Run tab in the dialog.
>> * in the boot options make sure sysprep is set
>> 
>> Thanks,
>> Roy
>> 
>> 
>> 
>> 
>> 
>> ___
>> 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] how do you connect to a host's serial console

2014-04-07 Thread Michal Skrivanek


> On 07 Apr 2014, at 22:25, Jeremiah Jahn  wrote:
> 
> And just to verify... All hooking scripts have to be placed on each
> host by hand?

Yes

> 
> On Mon, Apr 7, 2014 at 2:40 PM, Antoni Segura Puimedon
>  wrote:
>> 
>> 
>> - Original Message -
>>> From: "Michal Skrivanek" 
>>> To: "Jeremiah Jahn" 
>>> Cc: users@ovirt.org
>>> Sent: Monday, April 7, 2014 4:31:11 PM
>>> Subject: Re: [Users] how do you connect to a host's serial console
>>> 
>>> 
>>> On Apr 7, 2014, at 16:23 , Jeremiah Jahn 
>>> wrote:
>>> 
>>>> thx, So dumb question at this point. I'm in the process of moving from
>>>> virt-manager to ovirt.  virsh has an edit domain function, or I can
>>>> edit the xml by hand. I'm able to locate the xml on the host, but
>>>> obviously if I edit it by hand it will be replaced by vdsm. I'm having
>>>> a hell of a time trying to find the xml on the engine, so that I can
>>>> try modifying the xml to add a serial console.  Based on that code
>>>> that's all that's really going on with that patch. So I'd think I can
>>>> wing it by modifying the db or xml directly.  Just not sure where to
>>>> go to do so.  I'm guessing I could go into vm_device and replace
>>>> device='virtio-serial' with 'serial'  but that seems to easy. Any
>>>> pointers you've got on how the xml is stored or produced would be
>>>> great.
>>> 
>>> It's a bit more complicated than thatthere's no XML stored in the 
>>> backend.
>>> You'd be better off applying the patch over and compile yourself:)
>>> The supported way of how to amend the libvirt XML is via VDSM hooks. You 
>>> need
>>> to intercept the created XML and add whatever is needed, see
>>> http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base
>>> for what you're trying to do...
>> 
>> Yup, before_vm_start before_vm_migrate should allow you to do what you want.
>> 
>>> 
>>> Thanks,
>>> michal
>>> 
>>>> 
>>>> On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek
>>>>  wrote:
>>>>> 
>>>>> On Apr 7, 2014, at 15:57 , Jeremiah Jahn 
>>>>> wrote:
>>>>> 
>>>>>> So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly
>>>>>> what I need, just curious how long I'll have to wait. I know this is
>>>>>> every developers favorite question.
>>>>> 
>>>>> one needs to nag Vinzenz frequently enough:-D
>>>>> 
>>>>> but should be 3.4.1
>>>>> 
>>>>> Thanks,
>>>>> michal
>>>>> 
>>>>>> 
>>>>>> On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek
>>>>>>  wrote:
>>>>>>> 
>>>>>>> On Apr 6, 2014, at 21:50 , Jeremiah Jahn 
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> I just can't seem to figure this out.  I've enabled 'VirtIO Console
>>>>>>>> Device' yet I can't seem to find anyplace that will let me get there.
>>>>>>>> If I go to virsh on the host and try ttyconsoe that doesn't  work
>>>>>>>> either.  thanks for any help.
>>>>>>> 
>>>>>>> Does not work. Pending this[1] patch to get in.
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> michal
>>>>>>> 
>>>>>>> [1] http://gerrit.ovirt.org/#/c/25979/
>>>>>>> 
>>>>>>>> ___
>>>>>>>> Users mailing list
>>>>>>>> Users@ovirt.org
>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>> 
>>>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4 Templates break Foreman Provisioning/Adding host

2014-04-08 Thread Michal Skrivanek

On Apr 7, 2014, at 14:47 , Matt .  wrote:

> Hi Guys,
> 
> 
> On Foreman 1.4.2 it seems that you have issues with oVirt 3.4 when adding a 
> host.
> 
> When you add this host you will get an error as oVirt now has more templating 
> stuff:

you mean guest, right.
what errors are in Foreman logs? oVirt logs?

Thanks,
michal

> 
> VM template.id|name required for add
> 
> 
> Is there a workaround for this to get the creation of VM go further ?
> 
> 
> Thanks!
> 
> Matt
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] how do you connect to a host's serial console

2014-04-08 Thread Michal Skrivanek

On Apr 7, 2014, at 23:04 , Jeremiah Jahn  wrote:

> that seems silly. Seems like the kinda thing that would be a nice
> feature to have in the webadmin stuff. esp if you have 100's of hosts.
> oh well, thanks for the help.

you're not supposed to need a hook under normal circumstances, when the 
functionality is useful enough it should be built into vdsm natively…well, 
that's in progress for this one for 3.4.1:)

Thanks,
michal

> 
> On Mon, Apr 7, 2014 at 3:46 PM, Michal Skrivanek
>  wrote:
>> 
>> 
>>> On 07 Apr 2014, at 22:25, Jeremiah Jahn  
>>> wrote:
>>> 
>>> And just to verify... All hooking scripts have to be placed on each
>>> host by hand?
>> 
>> Yes
>> 
>>> 
>>> On Mon, Apr 7, 2014 at 2:40 PM, Antoni Segura Puimedon
>>>  wrote:
>>>> 
>>>> 
>>>> - Original Message -
>>>>> From: "Michal Skrivanek" 
>>>>> To: "Jeremiah Jahn" 
>>>>> Cc: users@ovirt.org
>>>>> Sent: Monday, April 7, 2014 4:31:11 PM
>>>>> Subject: Re: [Users] how do you connect to a host's serial console
>>>>> 
>>>>> 
>>>>> On Apr 7, 2014, at 16:23 , Jeremiah Jahn 
>>>>> wrote:
>>>>> 
>>>>>> thx, So dumb question at this point. I'm in the process of moving from
>>>>>> virt-manager to ovirt.  virsh has an edit domain function, or I can
>>>>>> edit the xml by hand. I'm able to locate the xml on the host, but
>>>>>> obviously if I edit it by hand it will be replaced by vdsm. I'm having
>>>>>> a hell of a time trying to find the xml on the engine, so that I can
>>>>>> try modifying the xml to add a serial console.  Based on that code
>>>>>> that's all that's really going on with that patch. So I'd think I can
>>>>>> wing it by modifying the db or xml directly.  Just not sure where to
>>>>>> go to do so.  I'm guessing I could go into vm_device and replace
>>>>>> device='virtio-serial' with 'serial'  but that seems to easy. Any
>>>>>> pointers you've got on how the xml is stored or produced would be
>>>>>> great.
>>>>> 
>>>>> It's a bit more complicated than thatthere's no XML stored in the 
>>>>> backend.
>>>>> You'd be better off applying the patch over and compile yourself:)
>>>>> The supported way of how to amend the libvirt XML is via VDSM hooks. You 
>>>>> need
>>>>> to intercept the created XML and add whatever is needed, see
>>>>> http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a 
>>>>> base
>>>>> for what you're trying to do...
>>>> 
>>>> Yup, before_vm_start before_vm_migrate should allow you to do what you 
>>>> want.
>>>> 
>>>>> 
>>>>> Thanks,
>>>>> michal
>>>>> 
>>>>>> 
>>>>>> On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek
>>>>>>  wrote:
>>>>>>> 
>>>>>>> On Apr 7, 2014, at 15:57 , Jeremiah Jahn 
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly
>>>>>>>> what I need, just curious how long I'll have to wait. I know this is
>>>>>>>> every developers favorite question.
>>>>>>> 
>>>>>>> one needs to nag Vinzenz frequently enough:-D
>>>>>>> 
>>>>>>> but should be 3.4.1
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> michal
>>>>>>> 
>>>>>>>> 
>>>>>>>> On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek
>>>>>>>>  wrote:
>>>>>>>>> 
>>>>>>>>> On Apr 6, 2014, at 21:50 , Jeremiah Jahn 
>>>>>>>>> 
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> I just can't seem to figure this out.  I've enabled 'VirtIO Console
>>>>>>>>>> Device' yet I can't seem to find anyplace that will let me get there.
>>>>>>>>>> If I go to virsh on the host and try ttyconsoe that doesn't  work
>>>>>>>>>> either.  thanks for any help.
>>>>>>>>> 
>>>>>>>>> Does not work. Pending this[1] patch to get in.
>>>>>>>>> 
>>>>>>>>> Thanks,
>>>>>>>>> michal
>>>>>>>>> 
>>>>>>>>> [1] http://gerrit.ovirt.org/#/c/25979/
>>>>>>>>> 
>>>>>>>>>> ___
>>>>>>>>>> Users mailing list
>>>>>>>>>> Users@ovirt.org
>>>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>>>> 
>>>>>>> 
>>>>> 
>>>>> ___
>>>>> Users mailing list
>>>>> Users@ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>> 

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


Re: [Users] oVirt 3.4 Templates break Foreman Provisioning/Adding host

2014-04-08 Thread Michal Skrivanek
/catch_json_parse_errors.rb:9:in `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in
>  `context'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in
>  `block in call'
> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
>  `_run__1124345173183733839__call__3625976562279559551__callbacks'
> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
>  `__run_callback'
> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in
>  `_run_call_callbacks'
> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
>  `run_callbacks'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in
>  `call_app'
> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in 
> `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in 
> `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in
>  `forward'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in
>  `pass'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in
>  `invalidate'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in
>  `call!'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
>  `method_missing'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in
>  `call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in 
> `block in call'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in 
> `each'
> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in 
> `call'
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
>  `process_request'
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:140:in
>  `accept_and_process_next_request'
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:108:in
>  `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler.rb:441:in
>  `block (3 levels) in start_threads'
> Rolling back due to a problem: [Set up compute instance 
> test.office.local.domain 2 failed [# "test.office.local.domain", ip: "172.16.20.71", last_compile: nil, 
> last_freshcheck: nil, last_report: nil, updated_at: nil, source_file_id: nil, 
> created_at: nil, mac: nil, root_pass: "$1$Aij0BWBk$hIOQlMuf7vfad2x8aIAS/.", 
> serial: nil, puppet_status: 0, domain_id: 1, architecture_id: 1, 
> operatingsystem_id: 1, environment_id: 1, subnet_id: 2, ptable_id: 9, 
> medium_id: 5, build: true, comment: "", disk: "", installed_at: nil, 
> model_id: nil, hostgroup_id: nil, owner_id: 1, owner_type: "User", enabled: 
> true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, 
> uuid: nil, compute_resource_id: 1, puppet_proxy_id: 1, certname: nil, 
> image_id: nil, organization_id: nil, location_id: nil, type: "Host::Managed", 
> compute_profile_id: nil, otp: nil, realm_id: nil, provision_method: "build">, 
> :setCompute]]
> Failed to save: Failed to create a compute ovirt-domain-local(oVirt) instance 
> test.office.local.domain: VM 
> template.id
> |name required for add
> 
> 
> 
> 
> 2014-04-08 9:07 GMT+02:00 Michal Skrivanek :
> 
> On Apr 7, 2014, at 14:47 , Matt .  wrote:
> 
> > Hi Guys,
> >
> >
> > On Foreman 1.4.2 it seems that you have issues with oVirt 3.4 when adding a 
> > host.
> >
> > When you add this host you will get an error as oVirt now has more 
> > templating stuff:
> 
> you mean guest, right.
> what errors are in Foreman logs? oVirt logs?
> 
> Thanks,
> michal
> 
> >
> > VM template.id|name required for add
> >
> >
> > Is there a workaround for this to get the creation of VM go further ?
> >
> >
> > Thanks!
> >
> > Matt
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> 

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


Re: [Users] oVirt 3.4 Templates break Foreman Provisioning/Adding host

2014-04-08 Thread Michal Skrivanek

On Apr 8, 2014, at 14:31 , "Matt ."  wrote:

> HI,
> 
> This was more than 1,5 year ago, I can't remember 100%
> 
> I create a new Datacenter as I wanted and putted the otherone "offline" or so 
> and removed it. The Default Cluster was not able to remove because of this 
> Template which was OK.

yes, the cluster needs to remain.
We're finally taking some steps to be able to remove/replace a Blank 
template…nothing final yet.

> 
> I discussed this at #ovirt back those days and it was the only option to get 
> rid of "Default Datacenter".
> 
> I didn't see   logs @ the engine.log to be honest.

there you should see some specific error…I guess. If this is really related to 
that removal, there should be something in the log. I'm not aware of any change 
in the API itself…

Thanks,
michal

> 
> Cheers,
> 
> Matt
> 
> 
> 2014-04-08 14:17 GMT+02:00 Michal Skrivanek :
> 
> On Apr 8, 2014, at 14:08 , Matt .  wrote:
> 
> > Hi,
> >
> > It seems that it's an issue with the Default Datacenter that is removed, 
> > the Cluster still exists because of it's default template there is in.
> 
> How did you remove the Default Datacenter. It shouldn't let you because of 
> that Blank template…
> 
> Thanks,
> michal
> 
> >
> > This is what Foreman Logs:
> >
> > Started POST "/hosts" for xxx.xxx.xxx.xxx at 2014-04-07 20:40:01 +0200
> > Processing by HostsController#create as */*
> >   Parameters: {"utf8"=>"✓", 
> > "authenticity_token"=>"frTtd5bG6PoC5+2j+qXiGS4TNdJ9tstEgap5BRUoTdA=", 
> > "host"=>{"name"=>"test", "hostgroup_id"=>"", "compute_resource_id"=>"1", 
> > "compute_profile_id"=>"", "environment_id"=>"1", "puppet_ca_proxy_id"=>"1", 
> > "puppet_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", 
> > "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", 
> > "compute_attributes"=>{"cluster"=>"f8a641ba-14df-4500-9a1b-79011afeb7eb", 
> > "template"=>"", "cores"=>"2", "memory"=>"2147483648", 
> > "interfaces_attributes"=>{"new_interfaces"=>{"name"=>"", 
> > "network"=>"c97b81ed-b615-48f0-8293-425c8818fdc4", "_delete"=>""}, 
> > "new_1396895988009"=>{"name"=>"nic1", 
> > "network"=>"e922b54d-71f0-411d-8efb-05af771822e4", "_delete"=>""}}, 
> > "volumes_attributes"=>{"new_volumes"=>{"size_gb"=>"", 
> > "storage_domain"=>"0944ba31-1e23-4e6f-b8f8-81f5df9ccc7a", "_delete"=>"", 
> > "id"=>""}, "new_1396895996127"=>{"size_gb"=>"25", 
> > "storage_domain"=>"7818bd60-f275-438f-96a5-03c69cdd3555", "_delete"=>"", 
> > "id"=>""}}, "start"=>"1"}, "domain_id"=>"1", "realm_id"=>"", "mac"=>"", 
> > "subnet_id"=>"2", "ip"=>"172.16.20.71", 
> > "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", 
> > "type"=>"Nic::Managed", "mac"=>"", "name"=>"", "domain_id"=>"", "ip"=>"", 
> > "provider"=>"IPMI"}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", 
> > "provision_method"=>"build", "build"=>"1", "medium_id"=>"5", 
> > "ptable_id"=>"9", "disk"=>"", "root_pass"=>"[FILTERED]", 
> > "is_owned_by"=>"1-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", 
> > "overwrite"=>"false"}, "capabilities"=>"build image", "provider"=>"Ovirt"}
> > Adding Compute instance for test.office.local.dom

Re: [Users] how do you connect to a host's serial console

2014-04-08 Thread Michal Skrivanek

On Apr 8, 2014, at 15:46 , Jeremiah Jahn  wrote:

> That's a nice theory you've got there... :) I'd think a little script
> management would go a long way until you have _every_ possible use
> case in the system. :)  

it's not about every possible use case, it's about keeping the code working. 
Letting hooks go wild and unmaintained is not a good idea…
There were discussions on mailing list about having a nice interface in UI for 
hooks  but as far as I remember it was always turned down
Though I personally would welcome at least a monitoring of deployed hooks 
somewhere in the UI…

Thanks,
michal

> As a developer I find at some point I always
> get talked into adding that extra bit of flexibility even though no
> user should ever need it. They always find something I never thought
> of.
> 
> btw, do I put feature requests in bugzilla, or is there some other place?
> 
> Thanks for all of the help.
> 
> On Tue, Apr 8, 2014 at 2:11 AM, Michal Skrivanek
>  wrote:
>> 
>> On Apr 7, 2014, at 23:04 , Jeremiah Jahn  
>> wrote:
>> 
>>> that seems silly. Seems like the kinda thing that would be a nice
>>> feature to have in the webadmin stuff. esp if you have 100's of hosts.
>>> oh well, thanks for the help.
>> 
>> you're not supposed to need a hook under normal circumstances, when the 
>> functionality is useful enough it should be built into vdsm natively...well, 
>> that's in progress for this one for 3.4.1:)
>> 
>> Thanks,
>> michal
>> 
>>> 
>>> On Mon, Apr 7, 2014 at 3:46 PM, Michal Skrivanek
>>>  wrote:
>>>> 
>>>> 
>>>>> On 07 Apr 2014, at 22:25, Jeremiah Jahn  
>>>>> wrote:
>>>>> 
>>>>> And just to verify... All hooking scripts have to be placed on each
>>>>> host by hand?
>>>> 
>>>> Yes
>>>> 
>>>>> 
>>>>> On Mon, Apr 7, 2014 at 2:40 PM, Antoni Segura Puimedon
>>>>>  wrote:
>>>>>> 
>>>>>> 
>>>>>> - Original Message -
>>>>>>> From: "Michal Skrivanek" 
>>>>>>> To: "Jeremiah Jahn" 
>>>>>>> Cc: users@ovirt.org
>>>>>>> Sent: Monday, April 7, 2014 4:31:11 PM
>>>>>>> Subject: Re: [Users] how do you connect to a host's serial console
>>>>>>> 
>>>>>>> 
>>>>>>> On Apr 7, 2014, at 16:23 , Jeremiah Jahn 
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> thx, So dumb question at this point. I'm in the process of moving from
>>>>>>>> virt-manager to ovirt.  virsh has an edit domain function, or I can
>>>>>>>> edit the xml by hand. I'm able to locate the xml on the host, but
>>>>>>>> obviously if I edit it by hand it will be replaced by vdsm. I'm having
>>>>>>>> a hell of a time trying to find the xml on the engine, so that I can
>>>>>>>> try modifying the xml to add a serial console.  Based on that code
>>>>>>>> that's all that's really going on with that patch. So I'd think I can
>>>>>>>> wing it by modifying the db or xml directly.  Just not sure where to
>>>>>>>> go to do so.  I'm guessing I could go into vm_device and replace
>>>>>>>> device='virtio-serial' with 'serial'  but that seems to easy. Any
>>>>>>>> pointers you've got on how the xml is stored or produced would be
>>>>>>>> great.
>>>>>>> 
>>>>>>> It's a bit more complicated than thatthere's no XML stored in the 
>>>>>>> backend.
>>>>>>> You'd be better off applying the patch over and compile yourself:)
>>>>>>> The supported way of how to amend the libvirt XML is via VDSM hooks. 
>>>>>>> You need
>>>>>>> to intercept the created XML and add whatever is needed, see
>>>>>>> http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a 
>>>>>>> base
>>>>>>> for what you're trying to do...
>>>>>> 
>>>>>> Yup, before_vm_start before_vm_migrate should allow you to do what you 
>>>>>> want.
>

Re: [ovirt-users] [Users] 3.5 virt feature overview

2014-04-10 Thread Michal Skrivanek

On Apr 4, 2014, at 09:51 , michal.skriva...@redhat.com wrote:

> The following is a new meeting request:
> 
> Subject: 3.5 virt feature overview 
> Organizer: "Michal Skrivanek"  
> 
> Time: Thursday, April 10, 2014, 4:00:00 PM - 4:45:00 PM GMT +01:00 Belgrade, 
> Bratislava, Budapest, Ljubljana, Prague
> 
> Required: tjeli...@redhat.com; ofren...@redhat.com 
> Optional: users@ovirt.org 
> 
> *~*~*~*~*~*~*~*~*~*
> 
> Hi all, 
> 
> We will present virt features for version 3.5: 
> 
> * Edit running VM, Omer, ~5min 
> * Instance Types, Tomas, ~15min 
> * all the other features:), Michal, ~10min  
> * Q&A, ~10min

please note that given the fact that the two major features have very nice wiki 
pages and the rest are nits we're going to use them[1][2] and the general 
spreadsheet[3]

Thanks,
michal

[1] http://www.ovirt.org/Features/Edit_Running_VM
[2] http://www.ovirt.org/Features/Instance_Types
[3] 
https://docs.google.com/spreadsheet/ccc?key=0AuAtmJW_VMCRdHJ6N1M3d1F1UTJTS1dSMnZwMF9XWVE


> 
> Dial in: 
> https://www.intercallonline.com/listNumbersByCode.action?confCode=7948954260 
> conf id: 794 895 4260 # 
> 
> Thanks,
> 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] [Users] 3.5 virt feature overview

2014-04-10 Thread Michal Skrivanek

On Apr 10, 2014, at 14:00 , Sven Kieske  wrote:

> For edit running vm, there is a somewhat related BZ:
> https://bugzilla.redhat.com/show_bug.cgi?id=1054070
> 
> It would be cool to be able to change the cd-rom
> (especially for cloud-init) while the vm runs.
> 
> it doesn't look like a hard patch as it seems
> to be already working for sysprep.

well, there are things which need to be verified first. Only detach works for 
sysprep floppy. It would probably work for CD…but they can be bootable so need 
to check the impact.
changing bootorder only - we didn't yet check if we can even do that


> 
> it would be cool to expose this via api.
> 
> thanks
> 
> Am 10.04.2014 12:57, schrieb Michal Skrivanek:
>> 
>> On Apr 4, 2014, at 09:51 , michal.skriva...@redhat.com wrote:
>> 
>>> The following is a new meeting request:
>>> 
>>> Subject: 3.5 virt feature overview 
>>> Organizer: "Michal Skrivanek"  
>>> 
>>> Time: Thursday, April 10, 2014, 4:00:00 PM - 4:45:00 PM GMT +01:00 
>>> Belgrade, Bratislava, Budapest, Ljubljana, Prague
>>> 
>>> Required: tjeli...@redhat.com; ofren...@redhat.com 
>>> Optional: users@ovirt.org 
>>> 
>>> *~*~*~*~*~*~*~*~*~*
>>> 
>>> Hi all, 
>>> 
>>> We will present virt features for version 3.5: 
>>> 
>>> * Edit running VM, Omer, ~5min 
>>> * Instance Types, Tomas, ~15min 
>>> * all the other features:), Michal, ~10min  
>>> * Q&A, ~10min
>> 
>> please note that given the fact that the two major features have very nice 
>> wiki pages and the rest are nits we're going to use them[1][2] and the 
>> general spreadsheet[3]
>> 
>> Thanks,
>> michal
>> 
>> [1] http://www.ovirt.org/Features/Edit_Running_VM
>> [2] http://www.ovirt.org/Features/Instance_Types
>> [3] 
>> https://docs.google.com/spreadsheet/ccc?key=0AuAtmJW_VMCRdHJ6N1M3d1F1UTJTS1dSMnZwMF9XWVE
>> 
>> 
>>> 
>>> Dial in: 
>>> https://www.intercallonline.com/listNumbersByCode.action?confCode=7948954260
>>>  
>>> conf id: 794 895 4260 # 
>>> 
>>> Thanks,
>>> 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
>> 
>> 
>> 
> 
> -- 
> 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] [Users] HA

2014-04-11 Thread Michal Skrivanek

On 11 Apr 2014, at 09:00, Koen Vanoppen wrote:

> Hi All,
> 
> Any news about this? DSM hook or anything?
> Thanx!
> 
> Kind regards
> 
> 
> 2014-04-09 9:37 GMT+02:00 Omer Frenkel :
> 
> 
> - Original Message -
> > From: "Koen Vanoppen" 
> > To: users@ovirt.org
> > Sent: Tuesday, April 8, 2014 3:41:02 PM
> > Subject: Re: [Users] HA
> >
> > Or with other words, the SPM and the VM should move almost immediate after
> > the storage connections on the hypervisor are gone. I know, I'm asking to
> > much maybe, but we would be very happy :-) :-).
> >
> > So sketch:
> >
> > Mercury1 SPM
> > Mercury 2
> >
> > Mercury1 loses both fibre connections --> goes in non-operational and the VM
> > goes in paused state and stays this way, until I manually reboot the host so
> > it fences.
> >
> > What I would like is that when mercury 1 loses both fibre connections. He
> > fences immediate so the VM's are moved also almost instantly... If this is
> > possible... :-)
> >
> > Kind regards and thanks for all the help!
> >
> 
> Michal, is there a vdsm hook for vm moved to pause?
> if so, you could send KILL to it, and engine will identify vm was killed+HA,
> so it will be restarted, and no need to reboot the host, it will stay in 
> non-operational until storage is fixed.

you have to differentiate - if only the VMs would be paused, yes, you can do 
anything (also change the err reporting policy to not pause the VM)
but if the host becomes non-operational then it simply doesn't work, vdsm got 
stuck somewhere (often in get blk device stats)
proper power management config should fence it

Thanks,
michal

> 
> >
> >
> > 2014-04-08 14:26 GMT+02:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
> >
> >
> >
> > Ok,
> > Thanx already for all the help. I adapted some things for quicker respons:
> > engine-config --get FenceQuietTimeBetweenOperationsInSec-->180
> > engine-config --set FenceQuietTimeBetweenOperationsInSec=60
> >
> > engine-config --get StorageDomainFalureTimeoutInMinutes-->180
> > engine-config --set StorageDomainFalureTimeoutInMinutes=1
> >
> > engine-config --get SpmCommandFailOverRetries-->5
> > engine-config --set SpmCommandFailOverRetries
> >
> > engine-config --get SPMFailOverAttempts-->3
> > engine-config --set SPMFailOverAttempts=1
> >
> > engine-config --get NumberOfFailedRunsOnVds-->3
> > engine-config --set NumberOfFailedRunsOnVds=1
> >
> > engine-config --get vdsTimeout-->180
> > engine-config --set vdsTimeout=30
> >
> > engine-config --get VDSAttemptsToResetCount-->2
> > engine-config --set VDSAttemptsToResetCount=1
> >
> > engine-config --get TimeoutToResetVdsInSeconds-->60
> > engine-config --set TimeoutToResetVdsInSeconds=30
> >
> > Now the result of this is that when the VM is not running on the SPM that it
> > will migrate before going in pause mode.
> > But when we tried it, when the vm is running on the SPM, it get's in paused
> > mode (for safety reasons, I know ;-) ). And stays there until the host gets
> > MANUALLY fenced by rebooting it. So now my question is... How can I make the
> > hypervisor fence (so reboots, so vm is moved) quicker?
> >
> > Kind regards,
> >
> > Koen
> >
> >
> > 2014-04-04 16:28 GMT+02:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
> >
> >
> >
> >
> >
> > Ja das waar. Maar was aan't rijden... Dus ik stuur maar door dan :-). Ik heb
> > reeds de time out aangepast. Die stond op 5 min voor hij den time out ging
> > geven. Staat nu op 2 min
> > On Apr 4, 2014 4:14 PM, "David Van Zeebroeck" <
> > david.van.zeebro...@brusselsairport.be > wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> > Ik heb ze ook he
> >
> >
> >
> > Maar normaal had de fencing moeten werken als ik het zo lees
> >
> > Dus daar is ergens iets verkeerd gelopen zo te lezen
> >
> >
> >
> > From: Koen Vanoppen [mailto: vanoppen.k...@gmail.com ]
> > Sent: vrijdag 4 april 2014 16:07
> > To: David Van Zeebroeck
> > Subject: Fwd: Re: [Users] HA
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > David Van Zeebroeck
> >
> > Product Manager Unix Infrastructure
> >
> > Information & Communication Technology
> >
> > Brussels Airport Company
> >
> > T +32 (0)2 753 66 24
&

Re: [ovirt-users] [Users] HA

2014-04-11 Thread Michal Skrivanek

On 11 Apr 2014, at 14:47, Koen Vanoppen wrote:

> The Power management is configured correctly. And as long as the host who 
> loses his storage isn't the SPM, there is no problem.

ah, I see

> If I can make it work that, when the VM is pauzed it's get switched of and 
> (HA-way) reboots itself. I'm perfectly happy :-).

I'm not entirely sure that the after_vm_pause() hook gets invoked in this case. 
It was not intended for involuntary pause…but give it a try!:)
otherwise ….well, you can always do a periodic query…not very effective though

Thanks,
michal

> 
> Kind regards,
> 
> 
> -- Forwarded message --
> From: Koen Vanoppen 
> Date: 2014-04-11 14:47 GMT+02:00
> Subject: Re: [ovirt-users] [Users] HA
> To: Michal Skrivanek 
> 
> 
> The Power management is configured correctly. And as long as the host who 
> loses his storage isn't the SPM, there is no problem.
> If I can make it work that, when the VM is pauzed it's get switched of and 
> (HA-way) reboots itself. I'm perfectly happy :-).
> 
> Kind regards,
> 
> 
> 
> 
> 2014-04-11 9:37 GMT+02:00 Michal Skrivanek :
> 
> 
> On 11 Apr 2014, at 09:00, Koen Vanoppen wrote:
> 
>> Hi All,
>> 
>> Any news about this? DSM hook or anything?
>> Thanx!
>> 
>> Kind regards
>> 
>> 
>> 2014-04-09 9:37 GMT+02:00 Omer Frenkel :
>> 
>> 
>> - Original Message -
>> > From: "Koen Vanoppen" 
>> > To: users@ovirt.org
>> > Sent: Tuesday, April 8, 2014 3:41:02 PM
>> > Subject: Re: [Users] HA
>> >
>> > Or with other words, the SPM and the VM should move almost immediate after
>> > the storage connections on the hypervisor are gone. I know, I'm asking to
>> > much maybe, but we would be very happy :-) :-).
>> >
>> > So sketch:
>> >
>> > Mercury1 SPM
>> > Mercury 2
>> >
>> > Mercury1 loses both fibre connections --> goes in non-operational and the 
>> > VM
>> > goes in paused state and stays this way, until I manually reboot the host 
>> > so
>> > it fences.
>> >
>> > What I would like is that when mercury 1 loses both fibre connections. He
>> > fences immediate so the VM's are moved also almost instantly... If this is
>> > possible... :-)
>> >
>> > Kind regards and thanks for all the help!
>> >
>> 
>> Michal, is there a vdsm hook for vm moved to pause?
>> if so, you could send KILL to it, and engine will identify vm was killed+HA,
>> so it will be restarted, and no need to reboot the host, it will stay in 
>> non-operational until storage is fixed.
> 
> you have to differentiate - if only the VMs would be paused, yes, you can do 
> anything (also change the err reporting policy to not pause the VM)
> but if the host becomes non-operational then it simply doesn't work, vdsm got 
> stuck somewhere (often in get blk device stats)
> proper power management config should fence it
> 
> Thanks,
> michal
> 
>> 
>> >
>> >
>> > 2014-04-08 14:26 GMT+02:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
>> >
>> >
>> >
>> > Ok,
>> > Thanx already for all the help. I adapted some things for quicker respons:
>> > engine-config --get FenceQuietTimeBetweenOperationsInSec-->180
>> > engine-config --set FenceQuietTimeBetweenOperationsInSec=60
>> >
>> > engine-config --get StorageDomainFalureTimeoutInMinutes-->180
>> > engine-config --set StorageDomainFalureTimeoutInMinutes=1
>> >
>> > engine-config --get SpmCommandFailOverRetries-->5
>> > engine-config --set SpmCommandFailOverRetries
>> >
>> > engine-config --get SPMFailOverAttempts-->3
>> > engine-config --set SPMFailOverAttempts=1
>> >
>> > engine-config --get NumberOfFailedRunsOnVds-->3
>> > engine-config --set NumberOfFailedRunsOnVds=1
>> >
>> > engine-config --get vdsTimeout-->180
>> > engine-config --set vdsTimeout=30
>> >
>> > engine-config --get VDSAttemptsToResetCount-->2
>> > engine-config --set VDSAttemptsToResetCount=1
>> >
>> > engine-config --get TimeoutToResetVdsInSeconds-->60
>> > engine-config --set TimeoutToResetVdsInSeconds=30
>> >
>> > Now the result of this is that when the VM is not running on the SPM that 
>> > it
>> > will migrate before going in pause mode.
>> > But when we tried it, when the vm is running on the SPM, it get's in pause

Re: [ovirt-users] Snapshot removal

2014-04-17 Thread Michal Skrivanek

On Apr 15, 2014, at 04:09 , Maurice Moe James  wrote:

> Is it it me or does it take a very long time to delete a snapshot?
> Upwards of 30 minutes to delete a snapshot of a 7 GB drive

what kind of storage you're using? if it is block-based it zeroes out the data 
which takes time

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

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


Re: [ovirt-users] IPAddress and FQDN Empty for the VM

2014-04-17 Thread Michal Skrivanek

On Apr 15, 2014, at 09:51 , Udaya Kiran P  wrote:

> Hi Sven,
> 
> I am trying to open the console for VM using SPICE, which fails with an error 
> - Unable to connect to libvirt with URI[none].
> 
> I think it is because the VM hasn't been assigned an IP by the engine. What 
> settings I am missing here? Do I need to change any network settings so that 
> VMs get their IP during their creation?

Hi,

you don't need any networking in the guest for console access

are you opening the console via that .vv file? Do you have a recent-enough 
virt-viewer? Check out http://www.ovirt.org/Console_Client_Resources

Thanks,
michal

> 
> Please suggest.
> 
> I have attached the screenshots.
> 
> Appreciate your help..!!
> 
> Regards,
> Udaya Kiran
> On Tuesday, 15 April 2014 1:01 PM, Sven Kieske  wrote:
> You need to install the ovirt-guest-agent to see this kind of
> information.
> For Ubuntu, there is a ppa, which you have to install:
> 
> https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu
> 
> See also:
> http://www.ovirt.org/Ubuntu/GuestAgent
> 
> HTH
> 
> Am 15.04.2014 08:29, schrieb Udaya Kiran P:
> > Hi All,
> > 
> > I have added two hosts (FC19) to oVirt Engine 3.4.0-1. I have launched an 
> > Ubuntu 12.04 LTS VM on one of the Hosts.
> > 
> > The oVirt Web Portal is not displaying IPAddress and FQDN for the VM.
> > 
> > Please help me troubleshoot this.
> > 
> > Appreciate your help.
> > 
> > Thank You.
> > 
> > Regards,
> > Udaya Kiran
> 
> 
> -- 
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] VMs get hang

2014-04-17 Thread Michal Skrivanek

On Apr 15, 2014, at 14:18 , Maurice James  wrote:

> From my experience it could be the following,
> 
> Network contention
> Disk latency (slow disks)
> 
> Is the ovirt manager also a VM host?

that wouldn't matter, the communication is between the host and SPICE client 
only, engine is not involved.

> 
> From: "Yusufi M R" 
> To: users@ovirt.org
> Sent: Tuesday, April 15, 2014 6:12:24 AM
> Subject: [ovirt-users] VMs get hang
> 
> Hello Everyone,
>  
> I have ovirt 3.3 setup with around 15 VMs created in it. We have CentOS5 on 
> this VM. The users have problem accessing the VMs at times. While they are 
> working on console, it just gets hang. There is no response to the keyboard. 
> Have look at the resource usage during this time, CPU and RAM is normal.
>  
> The clients uses user portal to launch the VM from Firefox. Spice is used for 
> remote viewing.

what spice client?

Thanks,
michal

>  
> Do anyone have come across this issue ? Looking forward for your help.
> 
> Regards,
> Yusuf
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] Unable to edit virt-v2v import VM - 3.4.0

2014-04-17 Thread Michal Skrivanek

On Apr 15, 2014, at 22:11 , Trey Dockendorf  wrote:

> I just imported a VM using the following command:
> 
> virt-v2v -ic qemu+ssh://root@kvm1.DOMAIN/system -o rhev -os
> 192.168.202.245:/tank/ovirt/import_export --network ovirtmgmt --vmtype
> server syslog.DOMAIN
> 
> I successfully imported it in the oVirt web UI, but when I try to edit
> the VM I get the following message, "Cannot edit VM. Cannot set single
> display device via VNC display.".
> 
> I noticed the "Single PCI" option in the Console section is checked,
> when none of my other VMs have this checked.

might be a bug…(Shahar?)

> 
> Another VM I imported using version 3.3.x does not have this checked.

may be related to that source VM's display config?

> 
> The checkbox is greyed out, so I can't make any modifications in the
> "Edit" dialog.

try to switch to SPICE display, at least temporarily…

Thanks,
michal

> Any suggestions?
> 
> For issues regarding importing from KVM using virt-v2v, what logs are
> useful besides engine.log?
> 
> Thanks
> - Trey
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] cloud-init woes w/ templates

2014-04-17 Thread Michal Skrivanek

On Apr 12, 2014, at 15:39 , Andrew Lau  wrote:

> Hi,
> 
> Has anyone had any success with cloud-init and templates with ovirt
> 3.4? So far, it seems to be able to configure things like networks
> etc. But when it goes to do with passwords, it must be set again in
> the "run once" or in the "Initial Run" even if "Use already configured
> password" is set.

Hi,
which version you're talking about?

> 
> Another thing, why is it only setup to change the root password? By
> default cloud-init will block root, so nearly all images need to be
> modified ie.
> sed -i 's/disable_root: 1/disable_root: 0\nchpasswd: { expire: False
> }/g' /etc/cloud/cloud.cfg

yeah. this has been fixed recently

> 
> Otherwise, you'll login and it'll ask you to change your password.
> Defeats the purpose of setting it through cloud-init? I'm also not
> being able to just set an SSH key, it insists a password otherwise the
> key won't get uploaded.

hm, not sure, Shahar?

> 
> Finally, templates seem to be lacking validation. Where "Initial Run"
> and "Run Once" will give the red box if you have the wrong syntax
> while templates don't care.

syntax of what?

Thanks,
michal

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

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


Re: [ovirt-users] difference between thin/depentend and clone/dependent vm virtual machine

2014-04-17 Thread Michal Skrivanek

On Apr 16, 2014, at 16:41 , Tamer Lima  wrote:

> 
> 
> Hello,
> 
> I created VMs by two ways : 
>  
> 1)  on tab virtual machines > new vm  > template (centos_65_64bits)
> 1.1 configuration : I do not select stateless checkbox
> 1.2 this process takes a 1h30 to create each machine. 
> 
> 2)  on tab pools > new vm  > template (centos_65_64bits)
> 2.1 default configuration : stateless
> 2.2 Here I created 3 virtual machines at once
> 2.3 this process takes only one minute 
> 
> On the tab virtual machines I can see all virtual machines. 
> Pooled machines have different icon image
> and description is different too:
> 
> machines generated from tab VM  are described as clone/dependent
> - clone is a phisical copy?
> machines generated from tab POOL are described as thin/independent
> - thin is a just a  reference to template vm ? what is phisical? any 
> configuration file?

yeah, sort of.
just google thin provisioning in general:)


> 
> 
> In practice, what is the difference between these machines ?
> 
> 
> 
> 
> http://www.ovirt.org/Features/PrestartedVm
> "Today there are 2 types of Vm pools:
>   • Manual - the Vm is supposed to be manually returned to the pool. In 
> practice, this is not really entirely supported.
>   • Automatic - once the user shuts down the Vm - it returns to the pool 
> (stateless)."
> 
>  all vm created from pool  are stateless ?

the automatic pool, yes

Thanks,
michal

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

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


Re: [ovirt-users] cloud-init woes w/ templates

2014-04-17 Thread Michal Skrivanek

On Apr 17, 2014, at 13:13 , Andrew Lau  wrote:

> On Thu, Apr 17, 2014 at 7:40 PM, Michal Skrivanek
>  wrote:
>> 
>> On Apr 12, 2014, at 15:39 , Andrew Lau  wrote:
>> 
>>> Hi,
>>> 
>>> Has anyone had any success with cloud-init and templates with ovirt
>>> 3.4? So far, it seems to be able to configure things like networks
>>> etc. But when it goes to do with passwords, it must be set again in
>>> the "run once" or in the "Initial Run" even if "Use already configured
>>> password" is set.
>> 
>> Hi,
>> which version you're talking about?
> It seems the key won't save unless a password is specified.

sorry, I mean which oVirt version you're talking about:)

> 
>> 
>>> 
>>> Another thing, why is it only setup to change the root password? By
>>> default cloud-init will block root, so nearly all images need to be
>>> modified ie.
>>> sed -i 's/disable_root: 1/disable_root: 0\nchpasswd: { expire: False
>>> }/g' /etc/cloud/cloud.cfg
>> 
>> yeah. this has been fixed recently
> That's good news!
> 
>> 
>>> 
>>> Otherwise, you'll login and it'll ask you to change your password.
>>> Defeats the purpose of setting it through cloud-init? I'm also not
>>> being able to just set an SSH key, it insists a password otherwise the
>>> key won't get uploaded.
>> 
>> hm, not sure, Shahar?
>> 
>>> 
>>> Finally, templates seem to be lacking validation. Where "Initial Run"
>>> and "Run Once" will give the red box if you have the wrong syntax
>>> while templates don't care.
>> 
>> syntax of what?
> eg. you put a netmask of 24 instead of the 255.255.255.0 it wants, in
> the template section it won't give that red box warning it's invalid.
> Initial Run/Run Once will..

ah, ok, good catch, definitely a bug ….(however there was a general validation 
issue in the Edit VM….Martin? related/same issue?)

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

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


Re: [ovirt-users] VMs get hang

2014-04-18 Thread Michal Skrivanek

On Apr 18, 2014, at 01:25 , Maurice James  wrote:

> Which wouldnt matter the network contention and slow disks, or the manager 
> hosting VMs?

only the last one:) the management node is not involved in performance of 
individual VM host nodes nor in the console communication

it may be network between the clients and hosts. Then worth checking the VM's 
guest load, then host's overall load (that would be that slow storage)

Thanks,
michal

> 
> 
> Sent from my Galaxy S®III
> 
> 
>  Original message 
> From: Michal Skrivanek 
> Date:04/17/2014 5:53 AM (GMT-05:00) 
> To: Yusufi M R 
> Cc: users@ovirt.org,Maurice James 
> Subject: Re: [ovirt-users] VMs get hang 
> 
> 
> On Apr 15, 2014, at 14:18 , Maurice James  wrote:
> 
> > From my experience it could be the following,
> > 
> > Network contention
> > Disk latency (slow disks)
> > 
> > Is the ovirt manager also a VM host?
> 
> that wouldn't matter, the communication is between the host and SPICE client 
> only, engine is not involved.
> 
> > 
> > From: "Yusufi M R" 
> > To: users@ovirt.org
> > Sent: Tuesday, April 15, 2014 6:12:24 AM
> > Subject: [ovirt-users] VMs get hang
> > 
> > Hello Everyone,
> >  
> > I have ovirt 3.3 setup with around 15 VMs created in it. We have CentOS5 on 
> > this VM. The users have problem accessing the VMs at times. While they are 
> > working on console, it just gets hang. There is no response to the 
> > keyboard. Have look at the resource usage during this time, CPU and RAM is 
> > normal.
> >  
> > The clients uses user portal to launch the VM from Firefox. Spice is used 
> > for remote viewing.
> 
> what spice client?
> 
> Thanks,
> michal
> 
> >  
> > Do anyone have come across this issue ? Looking forward for your help.
> > 
> > Regards,
> > Yusuf
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 

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


Re: [ovirt-users] difference between thin/depentend and clone/dependent vm virtual machine

2014-04-18 Thread Michal Skrivanek

On Apr 17, 2014, at 16:43 , Tamer Lima  wrote:

> hi,  thanks for reply
> 
> I am investigating what is and how "thin virtualization" works
> 
> Do you know if  HADOOP is indicated to work under "thin" environment ?
> On Hadoop I will put large workloads  and this  thin virtualization  utilizes 
> more resources than exists (shareable environment)
> that is,
> if I have a real physical necessity of 500gb for each hadoop host  and my 
> Thin Virtualization has  2TB on NFS,  I can have only 4 virtual machines  
> (500GB each), or less.
> 
> For this case I believe clone virtual machine is the right choice. But in my 
> environment it takes 1h30m to build one cloned virtual machine.

if you plan to overcommit then go with thin. The drawback is that if you of 
course hit the physical limit the VMs will run out of space...
if you plan to allocate 500GB each, consume all of it, never plan to grow then 
go with the "clone"….yes, it's going to take time to write all that stuff. With 
"thin" you need to do the same amount of writes, but gradually over time while 
you're allocating it it

hope it helps

Thanks,
michal

> 
> 
> 
> Am I correct ?
> 
> 
> 
>   
> 
> On Thu, Apr 17, 2014 at 7:33 AM, Michal Skrivanek 
>  wrote:
> 
> On Apr 16, 2014, at 16:41 , Tamer Lima  wrote:
> 
> >
> >
> > Hello,
> >
> > I created VMs by two ways :
> >
> > 1)  on tab virtual machines > new vm  > template (centos_65_64bits)
> > 1.1 configuration : I do not select stateless checkbox
> > 1.2 this process takes a 1h30 to create each machine.
> >
> > 2)  on tab pools > new vm  > template (centos_65_64bits)
> > 2.1 default configuration : stateless
> > 2.2 Here I created 3 virtual machines at once
> > 2.3 this process takes only one minute
> >
> > On the tab virtual machines I can see all virtual machines.
> > Pooled machines have different icon image
> > and description is different too:
> >
> > machines generated from tab VM  are described as clone/dependent
> > - clone is a phisical copy?
> > machines generated from tab POOL are described as thin/independent
> > - thin is a just a  reference to template vm ? what is phisical? any 
> > configuration file?
> 
> yeah, sort of.
> just google thin provisioning in general:)
> 
> 
> >
> >
> > In practice, what is the difference between these machines ?
> >
> >
> >
> >
> > http://www.ovirt.org/Features/PrestartedVm
> > "Today there are 2 types of Vm pools:
> >   • Manual - the Vm is supposed to be manually returned to the pool. In 
> > practice, this is not really entirely supported.
> >   • Automatic - once the user shuts down the Vm - it returns to the 
> > pool (stateless)."
> >
> >  all vm created from pool  are stateless ?
> 
> the automatic pool, yes
> 
> Thanks,
> michal
> 
> >
> >
> > thanks
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> 

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


Re: [ovirt-users] configuration maximus

2014-04-24 Thread Michal Skrivanek

On Apr 24, 2014, at 08:32 , Itamar Heim  wrote:

> On 04/24/2014 09:13 AM, Ovirt User wrote:
>> i need to put 200 VM on a single node, but i need to know if this is possible
>> there are a documents with maximus configuration?
> 
> it should be possible. i remember a bug we are chasing when trying to boot 
> them up all together though.
> michal?

it's going to work, it just may get a longer time to bring them up when you 
mass-start all of them at once
there's no defined max….it just gets sluggish depending on your setup/layout

> 
>> 
>> Il giorno 24/apr/2014, alle ore 07:39, Itamar Heim  ha 
>> scritto:
>> 
>>> On 04/23/2014 11:49 PM, Ovirt User wrote:
Hello,
 
 1) how many Vm per node are supported ?
>>> 
>>> should be ok with a couple of hundreds.
>>> 
 2) how many virtual CPU per node are supported ?
>>> 
>>> virtual cpu are per VM? should be ok with >100 per VM (assuming you have a 
>>> machine with enough cores!).
>>> I doubt anyone tested maxing these two figures out together, i don't see a 
>>> relevant use case.
>>> 
>>> 
 
 i don't find configuration maximus ..
 
 thanks
 Lukas
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
>>> 
>> 
> 

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


Re: [ovirt-users] Spurious error message when the RHEV capacity is maxed out?

2014-04-24 Thread Michal Skrivanek

On Apr 24, 2014, at 07:40 , Itamar Heim  wrote:

> On 04/24/2014 12:31 AM, Satya Vempati wrote:
>> We have about 900 vms in a RHEV-M 3.3 installation (3.3.2-0.50.el6ev)
>> with three hosts.
>> 
>> Each VM has 1 socket, 1 core for CPU and 256 MB memory and 2 x 1TB disks
>> + one 5 GB boot disk.
>> 
>> Each host has 2 cpu sockets with 4 cpu cores per socket.
>> 
>> When we power on about 250 of these vms, we cannot power on any more vms.
> 
> is this a 'monday morning effect' (are you trying to launch them all 
> together)?

even that would work, we just serialize the requests so it could only take a 
long time...

> 
>> 
>> Attempting to do so gets the error (in the RHEV-M) console.
>> 
>> Bad volume specification {'index': 0, 'iface': 'virtio', 'reqsize': '0',
>> 'format': 'raw', 'bootOrder': '1', 'volumeID':
>> '14aa7302-7f6d-4b80-922d-3fc090695447', 'apparentsize': '5368709120',
>> 'imageID': '97b1985e-e507-4927-91e9-7393cde5', 'specParams': {},
>> 'readonly': 'false', 'domainID': '0c7abccc-1b97-4b39-ab96-e977a19fac3a',
>> 'optional': 'false', 'deviceId': '97b1985e-e507-4927-91e9-7393cde5',
>> 'truesize': '0', 'poolID': '5849b030-626e-47cb-ad90-3ce782d831b3',
>> 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'type':
>> 'disk'}.

check both engine and vdsm logs to identify if it's on the engine side or some 
trouble at the host...

Thanks,
michal


>> 
>> This looks like a spurious error, as we can power on the same VM after
>> rebooting the hosts.
>> 
>> And also, the hosts do not really look maxed out (CPU usage is around
>> 25%, memory around 50%), but no more vm’s can be powered on.
>> 
>> I was looking for a sizing guide, and found only
>> https://access.redhat.com/site/sites/default/files/attachments/rhev_sizing_0812.pdf
>> 
>> Is there any other information available?
>> 
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> 

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


Re: [ovirt-users] qemu-kvm-rhev for el6

2014-04-25 Thread Michal Skrivanek

On Apr 24, 2014, at 06:09 , Paul Jansen  wrote:

> >hello,
> >
> >does anyone know if there are an existent bugzilla to track the release 
> >of qemu-kvm-rhev rpms under el (like centos)?
> >Because I've looked at bugzilla and google docs oVirt Planning & 
> >Tracking with no luck
> >
> >best regards
> >a
> 
> I think this is the best fit that I have found so far: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1009100

yes. It got side-tracked by implementing the detection whether it's there or 
not, that is now implemented.
we still want to track building it ourselves…I'm not sure how far we 
got….Sandro?

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

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


Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-14 Thread Michal Skrivanek

> On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi  wrote:
> 
> Hi guys, I just installed oVirt 4.1 - works great!
> 
> But the questing is, we have around 50 existing  kvm hosts, is it really 
> possible during adding them to oVirt add all VMs from them to oVirt?

you can try GUI Import VM via libvirt, unless you use some exotic 
options/storage it should work just fine

> 
> Second options I see - import disks to oVirts and re-create machines

that’s possible as well, disk by disk.

Thanks,
michal

> 
> Thanks for the help. 
> ___
> 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] Memory ballooning not working on RHEV 4.1?

2017-04-16 Thread Michal Skrivanek

> On 14 Apr 2017, at 18:56, Joseph Chapman  wrote:
> 
> Hello all, 
> 
> I have a RHEV 4.1 host running Windows 10 VMs. I have installed the balloon 
> driver on the VMs (RHEV guest tools), and enabled memory ballooning on the 
> cluster using RHEV-M. On the VMs, I have set the system memory to Memory 
> Size: 4GB, Maximum Memory: 16GB. 

Hi Joseph,
ballooning is unrelated to the memory hot plug. You need ballooning for memory 
overcommit to reclaim the guest’s memory back to host/other VMs. If that is 
what you want to do the just enable ballooning and use 16GB memory size

> 
> While I can manually hot plug memory, I am not seeing additional memory being 
> automatically allocated to the VMs during a SQL workload. The documentation 
> for RHEV 4.1 is not clear on whether or not this automatic ballooning is 
> functional (earlier documentation suggests that it is functional only by use 
> of an API).

hotplugging is user action, on demand. If you want to have complete control 
over the guest memory size you can use hotplugging without balloon.
It’s somewhat overlapping, ballooning is more flexible(can inflate and deflate 
based on host memory pressure), on the other hand requires guest cooperation 
and some time to settle on the right value.

Thanks,
michal

> 
> I am new to RHEV and would appreciate some help troubleshooting this. Please 
> let me know if there's any additional information I should provide. I 
> messaged this mailing list on suggestion from someone in the IRC. I hope this 
> is in-bounds. 
> 
> Thanks for your time! 
> 
> -- 
> Joseph Chapman
> http://fjchapman.tumblr.com 
> +1 828 777 0751 
> ___
> 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] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Michal Skrivanek

> On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi  wrote:
> 
> Hi Shahar,
> That's for the info,
> I'm getting this errors when trying to do with ssh method, even though I can 
> run virsh -c qemu+ssh://user@tank4/system list without any problems

can you run that as a “vdsm” user? You need to exchange keys for “vdsm” (note 
it has disabled login, so you need to use "runuser" or something)

Thanks,
michal

> 
> Here's the error,
> 
> 2017-04-18 07:24:06,152Z ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
>  (default task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command 
> 'GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5, 
> GetVmsFromExternalProviderParameters:{runAsync='true', 
> hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', 
> url='qemu+ssh://test@tank4/system', username='test', originType='KVM', 
> namesOfVms='null'})' execution failed: VDSGenericException: 
> VDSErrorException: Failed to GetVmsNamesFromExternalProviderVDS, error = 
> Cannot recv data: Host key verification failed.: Connection reset by peer, 
> code = 65
> 
> 2017-04-18 07:18:05,381Z ERROR 
> [org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default task-52) 
> [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception: 
> org.ovirt.engine.core.common.errors.EngineException: EngineException: 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
> VDSGenericException: VDSErrorException: Failed to 
> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key 
> verification failed.: Connection reset by peer, code = 65 (Failed with error 
> unexpected and code 16)
>   at 
> org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118) 
> [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.executeQueryCommand(GetVmsFromExternalProviderQuery.java:40)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) 
> [dal.jar:]
>   at 
> org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(DefaultBackendQueryExecutor.java:14)
>  [bll.jar:]
>   at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579) 
> [bll.jar:]
>   at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) 
> [bll.jar:]
>   at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
> [:1.8.0_121]
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  [rt.jar:1.8.0_121]
>   at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
> 
> On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi  <mailto:shav...@redhat.com>> wrote:
> Hi,
> There is a wiki page for importing VMs from other hypervisors here:
> https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/
>  
> <https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/>
> 
> and specific for KVM from Libvirt the wiki page is in progress but you can 
> read about it here:
> https://github.com/oVirt/ovirt-site/pull/876/files 
> <https://github.com/oVirt/ovirt-site/pull/876/files>
> 
> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek 
> mailto:michal.skriva...@redhat.com>> wrote:
> 
> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi  > <mailto:konra...@gmail.com>> wrote:
> >
> > Hi guys, I just installed oVirt 4.1 - works great!
> >
> > But the questing is, we have around 50 existing  kvm hosts, is it really 
> > possible during adding them to oVirt add all VMs from them to oVirt?
> 
> you can try GUI Import VM via libvirt, unless you use some exotic 
> options/storage it should work just fine
> 
> >
> > Second options I see - import disks to oVirts and re-create machines
> 
> that’s possible as well, disk by disk.
> 
> Thanks,
> michal
> 
> >
> > Thanks for the help.
> > ___
> > Users mailing list
> > Users@ovirt.org <mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users 
> > <http://lists.ovirt.org/mailman/listinfo/users>
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users 
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 

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


Re: [ovirt-users] vm "maximum memory" setting questions

2017-04-18 Thread Michal Skrivanek

> On 18 Apr 2017, at 11:46, Nelson Lameiras  
> wrote:
> 
> Hello,
> 
> A new vm setting "maximum memory" has appeared in oVirt >4 which by default 
> has the value "current memory”*4

In 4.1

> 
> - Why is "maximum memory" setting necessary to set?

> - Why isn't this value set to "infinity" by default ?

Because it’s recommended to be about 4x the startup size by linux kernel

> 
> It seems to me kind of uselessly counter productif to have to decide a 
> maximum memory amount beforehand. if we do this, will we have to set maximum 
> CPU cores also in the future (being devil's advocate here ;) )

You don’t have to decide, you can keep the default 4x.
For CPUs it is not currently needed and is set according to engine-config 
maximum supported by qemu-kvm - 288 in 4.1

Thanks,
michal
.
> 
> I did searched oVirt documentation, but very little information is available.
> Maybe this is an libvirt question, but I'm hopping a oVirt guru could quickly 
> enlighten me.
> 
> cordialement, regards,
> 
> 
>  
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70
> nelson.lamei...@lyra-network.com 
> www.lyra-network.com  | www.payzen.eu 
> 
>  
> 
>  
> 
>  
>  
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
> 
> ___
> 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] Question about Huge Pages

2017-04-18 Thread Michal Skrivanek
> On 18 Apr 2017, at 18:03, Gianluca Cecchi  wrote:
>
> Hello,
> I'm testing virtualization of some Oracle servers.
> I have 4.1.1 with CentOS 7.3 servers as hypervisors.
> Typically on physical Oracle servers I configure huge pages for Oracle memory 
> areas.
> In particular I disable Transparent Huge Pages, because they are known to be 
> in conflict with Oracle performances, both in RAC and in standalone 
> configurations.
> In RHEL systems I configure "transparent_hugepage=never" boot parameter, 
> while in Oracle Linux OS uek kernels it is already disabled by default.
> I notice that in CentOS 7.3, by default, transparent huge pages are 
> configured:
>
> [root@ov300 ~]# cat /proc/meminfo | grep -i huge
> AnonHugePages:  17006592 kB
> HugePages_Total:   0
> HugePages_Free:0
> HugePages_Rsvd:0
> HugePages_Surp:0
> Hugepagesize:   2048 kB
> [root@ov300 ~]#
>
> I'm going to configure a VM with 64Gb of ram and with an Oracle RDBMS that 
> would have 16Gb of SGA.
> I suspect that I could have problems if I dont' change configuration at 
> hypervisor level...
>
> What do you think about this subject?
> Is there any drawback if I manually configure the hypervisors to boot with  
> the "transparent_hugepage=never" boot parameter?

Why not reserving regular hugepages for VMs on boot? then you can use
it with vdsm hook for that Oracle VM. It improves VM performance in
general, the only drawback is less flexibility since that memory can't
be used by others unless they specifically ask for  hugepages.
Also, I suppose you disable KSM, and I'm not sure about ballooning,
unless you need it I'd disable it too.

The hook is being improved right now in master, but it should be
usable in stable too.

Thanks,
michal
>
> Thanks in advance,
> 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: [ovirt-users] Announcing VM Portal 0.1.4

2017-04-20 Thread Michal Skrivanek

> On 20 Apr 2017, at 09:22, Nathanaël Blanchet  wrote:
> 
> Works well, good job, but I can't see which kind of new feature VM Portal 
> brings compared to Basic User Portal.
> 
> 

Depends from which POV you look at it - there's the “Goals” section on 
https://github.com/oVirt/ovirt-web-ui
But it’s a great question which you can help with - what new feature would you 
like to see? Please go ahead and file suggestions and bugs on the project page

Thanks,
michal

> 
> Le 20/04/2017 à 08:50, Marek Libra a écrit :
>> Hello All,
>> 
>> Let me announce availability of the VM Portal v0.1.4 for preliminary testing.
>> We are looking forward to your feedback which we will try to incorporate 
>> into oncoming stable 1.0.0 version.
>> 
>> The VM Portal aims to be a drop-in replacement of the existing Basic User 
>> Portal.
>> Revised list of Extended User Portal features will be implemented to ideally 
>> replace it as well.
>> 
>> The VM Portal is installed by default since oVirt 4.1.
>> 
>> The simplest way to try latest version is via Docker by [1].
>> Once oVirt credentials are entered and initialization is finished, you can 
>> access it on [2].
>> 
>> If you prefer to stay as closest to the production setup as possible, the 
>> latest rpms are available on project's yum repo [3].
>> Then you can access the portal from [4].
>> 
>> Prerequisites: The VM Portal requires ovirt-engine 4.0+, so far mostly 
>> tested on 4.1.
>> 
>> Please note, the docker image is so far meant to just simplify user testing 
>> and is not ready for production setup.
>> Unless decided otherwise in the future, stable releases are still planed to 
>> be deployed via rpms.
>> 
>> For issue reporting or enhancement ideas, please use project's github issue 
>> tracker [5].
>> 
>> Thank you for your feedback,
>> Marek
>> 
>> 
>> [1] docker run --rm -it -e 
>> ENGINE_URL=https://[OVIRT.ENGINE.FQDN]/ovirt-engine/ -p 3000:3000 
>> mareklibra/ovirt-web-ui:latest
>> [2] http://localhost:3000 
>> [3] https://people.redhat.com/mlibra/repos/ovirt-web-ui 
>> 
>> [4] https://[OVIRT.ENGINE.FQDN]/ovirt-engine/web-ui
>> [5] https://github.com/oVirt/ovirt-web-ui/issues 
>> 
>> 
>> 
>> -- 
>> MAREK LIBRA
>> SENIOR SOFTWARE ENGINEER
>> Red Hat Czech
>> 
>>  
>> 
>> ​
>> 
>> 
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org 
>> http://lists.ovirt.org/mailman/listinfo/users 
>> 
> 
> -- 
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 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: [ovirt-users] Change cluster compatibilty version 3.6-->4.0

2017-04-20 Thread Michal Skrivanek

> On 20 Apr 2017, at 09:38, Nathanaël Blanchet  wrote:
> 
> Hi Lionel :)
> 
> 
> Le 20/04/2017 à 08:48, Lionel Caignec a écrit :
>> Hi,
>> 
>> i've upgraded all my host and manager to ovirt 4, and now i want to upgrade 
>> compatibility version of my cluster.
>> 
>> But when i change the value ovirt warn me whit message : needing reboot all 
>> VM.
>> 
>> Does the manager reboot the vm on is own ? or can I can do it myself manualy?
> You can do it manually, but some vms properties will be changed ( vmconsole 
> to disabled and virtio scsi to enabled)

You _have_ to do that manually, oVirt won’t restart them for you, it will just 
keep nagging with the “pending change” triangle icon. This is so you can do 
that whenever it is convenient for that particular VM
A bit more is going to change for that VM - the emulated hardware is being 
changed, as well as behavior of oVirt features leveraging them (mostly the new 
features requiring some QEMU functionality, like hot plugging, higher number of 
vCPUs and such)

Thanks,
michal

>> 
>> Thank you.
>> 
>> --
>> Lionel Caignec
>> 
>> Centre Informatique National de l' Enseignement Supérieur
>> 950 rue de Saint Priest
>> 34097 MONTPELLIER Cedex 5
>> Tel : (33) 04 67 14 14 14
>> Fax : (33)04 67 52 37 63
>> http://www.cines.fr
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> -- 
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 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: [ovirt-users] Change cluster compatibilty version 3.6-->4.0

2017-04-20 Thread Michal Skrivanek

> On 20 Apr 2017, at 09:56, Lionel Caignec  wrote:
> 
> Cool thank you Michal and Nathanael.
> 
> I was affraid that ovirt restart all on is own.
> 
> Juste one question more, reboot is sufficient or do i need power off and 
> power on vm?

Sorry for using the confusing term - A guest-side reboot is not sufficient, it 
needs to be a power cycle from guest POV, so shut down and power on in oVirt

Thanks,
michal

> 
> ----- Mail original -
> De: "Michal Skrivanek" 
> À: "blanchet" , "Lionel Caignec" 
> Cc: "users" 
> Envoyé: Jeudi 20 Avril 2017 09:46:35
> Objet: Re: [ovirt-users] Change cluster compatibilty version 3.6-->4.0
> 
>> On 20 Apr 2017, at 09:38, Nathanaël Blanchet  wrote:
>> 
>> Hi Lionel :)
>> 
>> 
>> Le 20/04/2017 à 08:48, Lionel Caignec a écrit :
>>> Hi,
>>> 
>>> i've upgraded all my host and manager to ovirt 4, and now i want to upgrade 
>>> compatibility version of my cluster.
>>> 
>>> But when i change the value ovirt warn me whit message : needing reboot all 
>>> VM.
>>> 
>>> Does the manager reboot the vm on is own ? or can I can do it myself 
>>> manualy?
>> You can do it manually, but some vms properties will be changed ( vmconsole 
>> to disabled and virtio scsi to enabled)
> 
> You _have_ to do that manually, oVirt won’t restart them for you, it will 
> just keep nagging with the “pending change” triangle icon. This is so you can 
> do that whenever it is convenient for that particular VM
> A bit more is going to change for that VM - the emulated hardware is being 
> changed, as well as behavior of oVirt features leveraging them (mostly the 
> new features requiring some QEMU functionality, like hot plugging, higher 
> number of vCPUs and such)
> 
> Thanks,
> michal
> 
>>> 
>>> Thank you.
>>> 
>>> --
>>> Lionel Caignec
>>> 
>>> Centre Informatique National de l' Enseignement Supérieur
>>> 950 rue de Saint Priest
>>> 34097 MONTPELLIER Cedex 5
>>> Tel : (33) 04 67 14 14 14
>>> Fax : (33)04 67 52 37 63
>>> http://www.cines.fr
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> 
>> -- 
>> Nathanaël Blanchet
>> 
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 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


  1   2   3   4   5   6   7   8   9   10   >