Re: [Users] Ovirt + Spice + VDI

2012-09-13 Thread Gavin Spurgeon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi Mohsen

 I want to know, we are force to install one windows per user? does spice can 
 provide a multi remote connection to a single windows XP machine?
 I want to install one windows XP as virtual desktop and then share it with 
 more 
 than one users.is it possible in now or in the futures?

Can you explain what you mean by I want to install one windows XP as
virtual desktop and then share it with more than one users.

This, 1st sounds like it will go against the Windows EULA, and 2nd if
you could get multiple concurrent connections, they would all be looking
@ the same shared desktop. so they would all share the same Mouse,
Keyboard and so on... they would not be able to work independently.

For the users to be able to work independently, you would have to use a
Widows Server Edition, and enable the 'Windows Terminal Services' Features.

- -- 

Gavin Spurgeon.
AKA Da Geek

- --
The happiest of people don't necessarily have the best of everything,
they just make the most of everything that comes along their way..

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBRh5sACgkQvp6arS3vDiqzTQCfRceLNEwt+9zSw2c3OBX1jPB/
zVkAn1zyQhfelKAZovu6udx3HIBU8Jr5
=G6Sr
-END PGP SIGNATURE-

--
This message was scanned by DaGeek Spam Filter and is believed to be clean.

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


Re: [Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1

2012-09-13 Thread Karli Sjöberg

13 sep 2012 kl. 01.21 skrev Dead Horse:

Thank you! glad to be able to help ;)

As Itamar mentioned if you are running the spice client inside a VM (dunno if 
this is case) you will need the guest paravirtual driver and/or services for 
mouse handling. I have observed exactly this behavior before when running the 
spice client in a VM when the guest tools/drivers for mouse handling are not 
present (In my case most of the time VirtualBox).

Very amusing bug:) But cripples SPICE´s usage.

I have tested this from 5 different physical machines running Win7/IE, and this 
behavior shows itself only on machines with more than one monitor, or a laptop 
with another monitor attached .e.g. These guest tools you both mention, would 
these be http://spice-space.org/download/binaries/spice-guest-tools-0.1.exe;? 
And can you install them in a physical machine as well?

/Karli


- DHC

On Wed, Sep 12, 2012 at 3:49 PM, Itamar Heim 
ih...@redhat.commailto:ih...@redhat.com wrote:
On 09/12/2012 05:21 PM, Karli Sjöberg wrote:
This is awesome work, thank you so much for this! For our users and
administrators, having a button you just click to get a console is sooo
much easier than having to copy-paste a bunch of cryptic addresses and
passwords, and having to use the infamous, dangerous hacker tool VNC:)

I followed the wiki instructions and a vital piece missing is to restart
ovirt-engine before trying to install the spice-client from the install
portal. I went back and read through the email you first posted and the
restart was mentioned there so I did and then it worked! Wohoo! So you
might want to add that point to the wiki page as well, to avoid future
confusion.

But...when I have virt-viewer(-0.5.3) installed, log in to webadmin and
click for console on a guest, the console shows up. But when I try to go
into the console window with the mouse cursor, the cursor jumps off to
one of the edges of my *monitor*, and not into the console window- as

you would expect. Maybe virt-viewer mistakenly thinks that the edges
of it´s window really are the edges of the whole monitor? Am I holding
it wrong?

do you have spice guest side drivers for local mouse handling?


/Karli

6 sep 2012 kl. 22.36 skrev Dead Horse:

Wiki page added. Feel free to change/edit/contribute or provide feedback.
Link:
http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal

- DHC

On Thu, Aug 30, 2012 at 11:05 PM, Robert Middleswarth
rob...@middleswarth.netmailto:rob...@middleswarth.net 
mailto:rob...@middleswarth.netmailto:rob...@middleswarth.net wrote:

You should be able to create an ID.  Once you create it several
people can update your account I am one of them.

Thanks
Robert


On 08/30/2012 11:17 PM, Dead Horse wrote:
I would be happy to wiki'fy it ;)
I have requested a wiki account so I will just need someone to
grant the proper create/edit page access or create a stub page
and allow edit access to it.
- DHC

On Thu, Aug 30, 2012 at 3:03 PM, Douglas Landgraf
dougsl...@redhat.commailto:dougsl...@redhat.com 
mailto:dougsl...@redhat.commailto:dougsl...@redhat.com wrote:

On 08/30/2012 02:22 AM, Yaniv Kaul wrote:
Thanks!
Can you wiki'fy it (@ wiki.ovirt.orghttp://wiki.ovirt.org/ 
http://wiki.ovirt.org/) ?
Y.
+1

Thanks!





I have seen this question asked many times on this list
and the spice-devel list. Now having figured out how to
make it work I will provide the answer to the rest of
the community.

*NOTE* this only applies to Windows/Internet Explorer
users. There exists no other option other than the html5
spice console (still beta/in development) for windows
users ATM. This will also only work with Internet Explorer.

Basic Steps:
- Install an oVirt server.
- Add at least one node
- Setup storage/iso/export domains

Advanced steps
- Start by downloading:
http://elmarco.fedorapeople.org/spice.cab
- Create a directory for it oVirt looks by default in
/usr/share/spice
- Rename spice.cab to SpiceX.cab and copy it into
/usr/share/spice
- Now edit
/usr/share/ovirt-engine/engine.ear/root.war/WEB-INF and
add the following:

 !-- SpiceX.cab --
  servlet
servlet-nameSpiceX.cab/servlet-name

servlet-classorg.ovirt.engine.core.FileServlet/servlet-class
init-param
  param-nametype/param-name
  param-valueapplication/octet-stream/param-value
/init-param
init-param
  param-namefile/param-name
  param-value/usr/share/spice/SpiceX.cab/param-value
 

[Users] direct lun VM can't create template

2012-09-13 Thread Royce Lv

Guys,
I have a vm with a lun and a qcow disk, when making template from this 
VM, engine reports: *Cannot create Template. Vm has no disks*.

 ps: engine has no log for this action and no request is passed to vdsm.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] mouse problem with muiltiple monitors (was HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1)

2012-09-13 Thread Itamar Heim

On 09/13/2012 10:24 AM, Karli Sjöberg wrote:


13 sep 2012 kl. 01.21 skrev Dead Horse:


Thank you! glad to be able to help ;)

As Itamar mentioned if you are running the spice client inside a VM
(dunno if this is case) you will need the guest paravirtual driver
and/or services for mouse handling. I have observed exactly this
behavior before when running the spice client in a VM when the guest
tools/drivers for mouse handling are not present (In my case most of
the time VirtualBox).


Very amusing bug:) But cripples SPICE´s usage.

I have tested this from 5 different physical machines running Win7/IE,
and this behavior shows itself only on machines with more than one
monitor, or a laptop with another monitor attached .e.g. These guest
tools you both mention, would these be
http://spice-space.org/download/binaries/spice-guest-tools-0.1.exe;?
And can you install them in a physical machine as well?


cc-ing spice-devel to see if they have insights on your issue



/Karli



- DHC

On Wed, Sep 12, 2012 at 3:49 PM, Itamar Heim ih...@redhat.com
mailto:ih...@redhat.com wrote:

On 09/12/2012 05:21 PM, Karli Sjöberg wrote:

This is awesome work, thank you so much for this! For our
users and
administrators, having a button you just click to get a
console is sooo
much easier than having to copy-paste a bunch of cryptic
addresses and
passwords, and having to use the infamous, dangerous hacker
tool VNC:)

I followed the wiki instructions and a vital piece missing is
to restart
ovirt-engine before trying to install the spice-client from
the install
portal. I went back and read through the email you first
posted and the
restart was mentioned there so I did and then it worked!
Wohoo! So you
might want to add that point to the wiki page as well, to
avoid future
confusion.

But...when I have virt-viewer(-0.5.3) installed, log in to
webadmin and
click for console on a guest, the console shows up. But when I
try to go
into the console window with the mouse cursor, the cursor
jumps off to
one of the edges of my *monitor*, and not into the console
window- as

you would expect. Maybe virt-viewer mistakenly thinks that
the edges
of it´s window really are the edges of the whole monitor? Am I
holding
it wrong?


do you have spice guest side drivers for local mouse handling?


/Karli

6 sep 2012 kl. 22.36 skrev Dead Horse:

Wiki page added. Feel free to change/edit/contribute or
provide feedback.
Link:

http://wiki.ovirt.org/wiki/__How_to_Connect_to_SPICE___Console_With_Portal

http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal

- DHC

On Thu, Aug 30, 2012 at 11:05 PM, Robert Middleswarth
rob...@middleswarth.net mailto:rob...@middleswarth.net
mailto:robert@middleswarth.__net
mailto:rob...@middleswarth.net wrote:

You should be able to create an ID.  Once you create
it several
people can update your account I am one of them.

Thanks
Robert


On 08/30/2012 11:17 PM, Dead Horse wrote:

I would be happy to wiki'fy it ;)
I have requested a wiki account so I will just
need someone to
grant the proper create/edit page access or create
a stub page
and allow edit access to it.
- DHC

On Thu, Aug 30, 2012 at 3:03 PM, Douglas Landgraf
dougsl...@redhat.com
mailto:dougsl...@redhat.com
mailto:dougsl...@redhat.com
mailto:dougsl...@redhat.com wrote:

On 08/30/2012 02:22 AM, Yaniv Kaul wrote:

Thanks!
Can you wiki'fy it (@ wiki.ovirt.org
http://wiki.ovirt.org/ http://wiki.ovirt.org/) ?
Y.

+1

Thanks!




--__--__



I have seen this question asked many
times on this list
and the spice-devel list. Now having
figured out how to
make it work I will provide the answer
to the rest of
the community.

*NOTE* this only applies to
Windows/Internet Explorer
users. There exists no other option

Re: [Users] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread David Jaša
Hi Mohsen,

multiple sessions to the single VM are not on the roadmap. There is
experimental multi-client support but it is to make more users see the
same session.

And adding to what Gavin has already written: oVirt leverages KSM so
that when you have multiple similar VMs on the same host, common parts
of their memory will be shared, thus reducing the one-user-per-VM
overhead.

David


Itamar Heim píše v Čt 13. 09. 2012 v 08:01 +0300:
 On 09/13/2012 07:52 AM, Mohsen Saeedi wrote:
  Thanks itamar
  Can you tell me when is it available? Is it available on development
  versions?
 
 not sure, hence why i cc'd spice-devel for info
 
  Best regards
 
  On Sep 13, 2012 1:14 AM, Itamar Heim ih...@redhat.com
  mailto:ih...@redhat.com wrote:
 
  On 09/12/2012 07:32 PM, Mohsen Saeedi wrote:
 
  Hi
  I want to know, we are force to install one windows per user?
  does spice
  can provide a multi remote connection to a single windows XP
  machine?
  I want to install one windows XP as virtual desktop and then
  share it
  with more than one users.is http://users.is it possible in now
  or in the futures?
  Thanks
 
 
  _
  Users mailing list
  Users@ovirt.org mailto:Users@ovirt.org
  http://lists.ovirt.org/__mailman/listinfo/users
  http://lists.ovirt.org/mailman/listinfo/users
 
 
  adding spice-devel
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24



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


Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread Mohsen Saeedi

  
  
Thanks.
  we want to develope spice for multiple concurrent spice console on
  single OS. for example, we want to use windows XP as single VM for
  multiple users. we want to develop it as spice feature. is it
  possible? any help or idea? shall we work on that experimental
  feature?
  Thanks. 


  
  Alon
  Levy al...@redhat.com wrote on Thu, 13 Sep
  2012 05:47:37 -0400 (EDT):

  
On 09/12/2012 07:32 PM, Mohsen Saeedi wrote:


  Hi
I want to know, we are force to install one windows per user? does
spice
can provide a multi remote connection to a single windows XP
machine?
I want to install one windows XP as virtual desktop and then share
it
with more than one users.is it possible in now or in the futures?
Thanks


  
  
Thanks for the interest. There is no support for multiple client connections using spice protocol. There is only experimental known buggy support that still needs more work. There is no concrete plan when that work will happen.


  

  

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




adding spice-devel

___
Spice-devel mailing list
spice-de...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel


  

  

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


Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread Alon Levy
 Thanks.
 we want to develope spice for multiple concurrent spice console on
 single OS. for example, we want to use windows XP as single VM for
 multiple users. we want to develop it as spice feature. is it
 possible? any help or idea? shall we work on that experimental
 feature?

Great to hear. So the situation is as follows:
 * there has been extensive refactoring of spice-server to support multiple 
concurrent connections, or as they are called in the commit messages: 
multiclients, or multi client, or multiple client support.
 * It isn't set on by default, you need to enable a special environment 
variable, it says in the README, I think SPICE_DEBUG_MC_ENABLED=1 (check first 
in README).
 * The reason it isn't enabled is that spice will abort if you use two clients 
which have different network conditions. This is not usable in production.

The problem requires me to explain a bit more about how spice is architected, 
but since you are suggesting you will work on fixing this, I am glad to do so:

Some nomenclature: (camel case denotes a struct defined in spice-server)
Drawable - spice internal item linking to on device RedDrawable. We limit these 
to NUM_DRAWABLES to avoid ballooning server memory usage.
RedClient - a single client. It can have multiple channels connected. We are 
only interested in the display channel right now, but the problem is mirrored 
for the cursor channel, although it is simpler to fix there.
RedChannel - a single channel. It can have multiple clients.
RedChannelClient - a single instance of a channel for a particular client. 
Contains the socket to the client for this channel (spice has a separate socket 
per channel per client). It contains a queue of outgoing messages to the 
client, messages are dequeued when the socket becomes ready for writing (see 
red_worker.c poll loop)
pipe - the message queue just mentioned is called a pipe, or a message pipe. 
This is the penultimate cause of the abort mentioned: one of the RCCs 
(RedChannelClient) socket because blocked for write for a long time. As a 
result the pipe size increases. Each pipe item references a Drawable. When the 
pipe size reaches NUM_DRAWABLES we get an abort (this is a bit simplified since 
not all pipe items have to reference a Drawable).

Every rendering operation coming from the guest goes through the following 
sequence:
 * read by spice-server from device: QXLInterface::get_command (qemu: 
hw/qxl.c:interface_get_command)
 * allocate a drawable.
 * for each RedChannelClient push to the pipe (creating a PipeItem, taking a 
reference on the drawable)
 * try to send data to each RCC socket

There are a few things we can do:
 (a) dynamically increase NUM_DRAWABLES - this goes against the requirement to 
constrain the amount of memory the server uses (for allowing multiple servers 
on one vm)
  * we can make this configurable for a short term solution.
  * but even with this it is possible that a 
 (b) (this is what I want to do) Replace too long a queue with a single 
rendered image. This will free all the drawable references, using a single new 
drawable or possibly another queue (Drawables reference RedDrawables that are 
the device allocated memory, and this new rendered image will be completely in 
non guest ram).

The building blocks for (b) already exist in the server. See for instance 
update_area.

But I've taken a long time to write this and I need to stop now, so if this 
sounds like something you want to do then please ask me further questions, I'm 
also on irc.

Alon

 Thanks.
 
 
 
 Alon Levy al...@redhat.com wrote on Thu, 13 Sep 2012 05:47:37 -0400
 (EDT):
 
 
 
 On 09/12/2012 07:32 PM, Mohsen Saeedi wrote:
 
 Hi
 I want to know, we are force to install one windows per user? does
 spice
 can provide a multi remote connection to a single windows XP
 machine?
 I want to install one windows XP as virtual desktop and then share
 it
 with more than one users.is it possible in now or in the futures?
 Thanks Thanks for the interest. There is no support for multiple
 client connections using spice protocol. There is only experimental
 known buggy support that still needs more work. There is no concrete
 plan when that work will happen.
 
 
 
 ___
 Users mailing list Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users adding spice-devel
 
 ___
 Spice-devel mailing list spice-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/spice-devel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Ovirt 3.1 + Fedora 17 VM

2012-09-13 Thread Ricardo Esteves
Hi,

I'm trying to install Fedora 17 on a VM on Ovirt 3.1, but when the
installation Xorg starts the VM just hangs and cpu goes to 100%, this
also happens with the live cd.

Anyone got this problem? Any fix?

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


Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread David Jaša
John A. Sullivan III píše v Čt 13. 09. 2012 v 08:38 -0400:
 On Thu, 2012-09-13 at 08:06 -0400, Alon Levy wrote:
   Hi Mohsen,
   
   multiple sessions to the single VM are not on the roadmap. There is
   experimental multi-client support but it is to make more users see
   the
   same session.
  
  Moshen,
  
   I misunderstood. In this case, I guess I don't actually see how we could 
  fix your problem without circumventing any mechanism that windows has to 
  count license users.
  
   Please ignore my lengthy email, it won't help you at all.
  
  Alon
 snip
 We are actually quite interested in something like this.  In effect, it
 is RDS but replaces the RDP protocol with SPICE for the advantages SPICE
 brings.
 
 We have also been toying with the idea of using KVM/KSM to move to a
 single server per user.  This would provide much greater isolation and
 non-repudiation but we are concerned about the overhead of KVM on the
 KVM host and deduplication on the SAN.

This is going to get way better, qemu folks are working on discarding
deleted blocks so once you delete something on thin-provisioned storage,
it will be freed for reuse.

If you can afford it, then using  recycling oVirt templates will allow
you to go for 1000+ % storage overcommit right now.

David

   Thanks - John
 
 ___
 Spice-devel mailing list
 spice-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/spice-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24



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


Re: [Users] Ovirt 3.1 + Fedora 17 VM

2012-09-13 Thread Itamar Heim

On 09/13/2012 04:24 PM, Ricardo Esteves wrote:

Hi,

I'm trying to install Fedora 17 on a VM on Ovirt 3.1, but when the
installation Xorg starts the VM just hangs and cpu goes to 100%, this
also happens with the live cd.

Anyone got this problem? Any fix?



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



vnc or spice display?

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


Re: [Users] Ovirt 3.1 + Fedora 17 VM

2012-09-13 Thread Ricardo Esteves

Both.

-Original Message-
From: Itamar Heim ih...@redhat.com
To: Ricardo Esteves ricardo.m.este...@gmail.com
Cc: users@ovirt.org
Subject: Re: [Users] Ovirt 3.1 + Fedora 17 VM
Date: Thu, 13 Sep 2012 17:47:25 +0300


On 09/13/2012 04:24 PM, Ricardo Esteves wrote:
 Hi,

 I'm trying to install Fedora 17 on a VM on Ovirt 3.1, but when the
 installation Xorg starts the VM just hangs and cpu goes to 100%, this
 also happens with the live cd.

 Anyone got this problem? Any fix?



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


vnc or spice display?

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


Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread Mohsen Saeedi

  
  


  
  
 John
  A. Sullivan III jsulli...@opensourcedevel.com
  wrote on Thu, 13 Sep 2012 08:38:11 -0400:

  On Thu, 2012-09-13 at 08:06 -0400, Alon Levy wrote:

  

  Hi Mohsen,

multiple sessions to the single VM are not on the roadmap. There is
experimental multi-client support but it is to make more users see
the
same session.



Moshen,

 I misunderstood. In this case, I guess I don't actually see how we could fix your problem without circumventing any mechanism that windows has to count license users.

 Please ignore my lengthy email, it won't help you at all.

Alon
  

You can use some recipe for get ridding windows XP RDP limitation:
http://www.petri.co.il/multiple-remote-desktop-sessions-on-windows-xp-sp3.htm


  


  
  snip
We are actually quite interested in something like this.  In effect, it
is RDS but replaces the RDP protocol with SPICE for the advantages SPICE
brings.

We have also been toying with the idea of using KVM/KSM to move to a
single server per user.  This would provide much greater isolation and
non-repudiation but we are concerned about the overhead of KVM on the
KVM host and deduplication on the SAN.  Thanks - John


I think so, spice has experimental feature for multiple client to
single windows XP now. is it true??
and what is the details for idea of using KVM/KSM to move to a
single server per user? I didn't understand it very well.
Thanks

  


  

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


Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread John A. Sullivan III
On Thu, 2012-09-13 at 20:16 +0430, Mohsen Saeedi wrote:
 
 
 
 John A. Sullivan III jsulli...@opensourcedevel.com wrote on Thu, 13
 Sep 2012 08:38:11 -0400:
  On Thu, 2012-09-13 at 08:06 -0400, Alon Levy wrote:
Hi Mohsen,

multiple sessions to the single VM are not on the roadmap. There is
experimental multi-client support but it is to make more users see
the
same session.
   Moshen,
   
I misunderstood. In this case, I guess I don't actually see how we could 
   fix your problem without circumventing any mechanism that windows has to 
   count license users.
   
Please ignore my lengthy email, it won't help you at all.
   
   Alon
 You can use some recipe for get ridding windows XP RDP limitation:
 http://www.petri.co.il/multiple-remote-desktop-sessions-on-windows-xp-sp3.htm
 
I think the problems are more legal than technical.  From the above
link:
However, be warned. Before you begin, I need to warn you that patching
the file and allowing more than one concurrent Remote Desktop session
will violate a few lines in the Windows XP EULA. Proceed with caution
and at your own risk.
  snip
  We are actually quite interested in something like this.  In effect, it
  is RDS but replaces the RDP protocol with SPICE for the advantages SPICE
  brings.
  
  We have also been toying with the idea of using KVM/KSM to move to a
  single server per user.  This would provide much greater isolation and
  non-repudiation but we are concerned about the overhead of KVM on the
  KVM host and deduplication on the SAN.  Thanks - John
 I think so, spice has experimental feature for multiple client to
 single windows XP now. is it true??
 and what is the details for idea of using KVM/KSM to move to a single
 server per user? I didn't understand it very well.
 Thanks
This is something we are able to do splendidly well with VServer and
X2Go (an NX implementation).  With the VServer hashification feature, I
can have 400 VMs on a host and only take one VM's worth of space for
system files.  Moreover, all instances in memory only take the space of
one instance. Thus, we get deduplication and KSM almost for free.
Because the additional overhead is so minuscule (minimal memory and disk
and almost no virtualization overhead since it is a container technology
instead of a hypervisor), and because there are no licensing issues for
our Linux desktops, it makes sense to give each user a dedicated VM.
Not only does that give us excellent isolation from errant processes but
it also means (because of the details of our implementation) that each
user has a consistent IP address allowing us to correlate network events
with specific users.

In some Windows licensing models, there is no cost differential between
individual workstations and individual VMs.  In that model, we are
investigating the same scenario, viz., a single VM per user.  However,
since we cannot use VServer for Windows guests, we either need to look
at Virtuozzo or produce the same results with KVM/KSM/dedupe.  We
suspect that is much more resource intensive than it is with VServer.

Whatever model we choose, we then need a transport protocol and, as
SPICE is refined especially in its handling of WAN video, we are quite
interested in using it rather than RDP for transport.  I hope that
clarifies it.  Thanks - John

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


Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread Andrew Osborne
Take a look at OSDVT. 



On 13 Sep 2012, at 17:36, John A. Sullivan III 
jsulli...@opensourcedevel.com wrote:

 On Thu, 2012-09-13 at 20:16 +0430, Mohsen Saeedi wrote:
 
 
 
 John A. Sullivan III jsulli...@opensourcedevel.com wrote on Thu, 13
 Sep 2012 08:38:11 -0400:
 On Thu, 2012-09-13 at 08:06 -0400, Alon Levy wrote:
 Hi Mohsen,
 
 multiple sessions to the single VM are not on the roadmap. There is
 experimental multi-client support but it is to make more users see
 the
 same session.
 Moshen,
 
 I misunderstood. In this case, I guess I don't actually see how we could 
 fix your problem without circumventing any mechanism that windows has to 
 count license users.
 
 Please ignore my lengthy email, it won't help you at all.
 
 Alon
 You can use some recipe for get ridding windows XP RDP limitation:
 http://www.petri.co.il/multiple-remote-desktop-sessions-on-windows-xp-sp3.htm
 
 I think the problems are more legal than technical.  From the above
 link:
 However, be warned. Before you begin, I need to warn you that patching
 the file and allowing more than one concurrent Remote Desktop session
 will violate a few lines in the Windows XP EULA. Proceed with caution
 and at your own risk.
 snip
 We are actually quite interested in something like this.  In effect, it
 is RDS but replaces the RDP protocol with SPICE for the advantages SPICE
 brings.
 
 We have also been toying with the idea of using KVM/KSM to move to a
 single server per user.  This would provide much greater isolation and
 non-repudiation but we are concerned about the overhead of KVM on the
 KVM host and deduplication on the SAN.  Thanks - John
 I think so, spice has experimental feature for multiple client to
 single windows XP now. is it true??
 and what is the details for idea of using KVM/KSM to move to a single
 server per user? I didn't understand it very well.
 Thanks
 This is something we are able to do splendidly well with VServer and
 X2Go (an NX implementation).  With the VServer hashification feature, I
 can have 400 VMs on a host and only take one VM's worth of space for
 system files.  Moreover, all instances in memory only take the space of
 one instance. Thus, we get deduplication and KSM almost for free.
 Because the additional overhead is so minuscule (minimal memory and disk
 and almost no virtualization overhead since it is a container technology
 instead of a hypervisor), and because there are no licensing issues for
 our Linux desktops, it makes sense to give each user a dedicated VM.
 Not only does that give us excellent isolation from errant processes but
 it also means (because of the details of our implementation) that each
 user has a consistent IP address allowing us to correlate network events
 with specific users.
 
 In some Windows licensing models, there is no cost differential between
 individual workstations and individual VMs.  In that model, we are
 investigating the same scenario, viz., a single VM per user.  However,
 since we cannot use VServer for Windows guests, we either need to look
 at Virtuozzo or produce the same results with KVM/KSM/dedupe.  We
 suspect that is much more resource intensive than it is with VServer.
 
 Whatever model we choose, we then need a transport protocol and, as
 SPICE is refined especially in its handling of WAN video, we are quite
 interested in using it rather than RDP for transport.  I hope that
 clarifies it.  Thanks - John
 
 ___
 Spice-devel mailing list
 spice-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/spice-devel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Workshop Europe 2012: Call For Participation

2012-09-13 Thread workshop-pc
* workshop...@ovirt.org (workshop...@ovirt.org) wrote:
 =
 oVirt Workshop Europe 2012: Call For Participation
 November 7-9, 2012 - Hotel Fira Palace - Barcelona, Spain
 
 (All submissions must be received before midnight Sep 14th, 2012)
 =

The submission deadline is being pushed out one week to Sep 21st, 2012.

There was a glitch in the CFP system causing the oVirt Workshop option
during CFP submission to disappear.  It has been fixed and we're going
to extend the submission deadline by one week to accommodate.  If you
were having trouble submitting a proposal, please try again.  Sorry for
any inconvenience.

 The oVirt Project is an open virtualization project for anyone who cares
 about Linux-based KVM virtualization. Providing a feature-rich server
 virtualization management system with advanced capabilities for hosts
 and guests, including high availability, live migration, storage
 management, system scheduler, and more. By open we mean open source 
 open governance, done right.
 
 During this workshop you’ll learn about the technical background and
 direction of the oVirt project. You’ll meet the developers, and have an
 opportunity to see and dive into the code right away. The workshop is
 open to all who want to use, get involved with, or  learn about the
 comprehensive open virtualization management platform, oVirt. The
 sessions cover the technical projects details, governance, getting
 involved, usage, and much more. If you have any interest in an Open
 Virtualization Management platform, this workshop is for you!
 
 We are excited to announce that this oVirt Workshop will be held in
 conjunction with the KVM Forum.
 
 http://events.linuxfoundation.org/events/kvm-forum/
 
 The KVM Forum and oVirt Workshop are co-located with the Linux
 Foundation's 2012 LinuxCon Europe in Barcelona, Spain.
 
 oVirt Workshop attendees will be able to attend KVM Forum sessions and
 are eligible to attend LinuxCon Europe for a discounted rate.
 
 http://events.linuxfoundation.org/events/kvm-forum/register
 
 We invite you to lead part of the discussion by submitting a speaking
 proposal for oVirt Workshop 2012.
 
 http://events.linuxfoundation.org/cfp
 
 Suggested topics:
 
  - community use case/stories
  - roadmaps
  - deep dives into features/areas
  - deep dives into code/debugging/tuning
  - integration and extensions
  - components: engine, vdsm, node, sdk/cli, reports, mom, guest agent, etc.
  - subjects: network, storage, vm life cycle, scheduling  sla, gluster, etc.
  - packaging, installation and distributions
  - community infrastructure and services
 
 SUBMISSION REQUIREMENTS
 
 Abstracts due: Sep 14th, 2012
 Notification: Sep 28th, 2012
 
 Please submit a short abstract (~150 words) describing your presentation
 proposal.  In your submission please note how long your talk will take.
 Slots vary in length up to 45 minutes.  Also include in your proposal
 the proposal type -- one of:
 
 - technical talk
 - end-user talk
 - birds of a feather (BOF) session
 
 Submit your proposal here:
 
 http://events.linuxfoundation.org/cfp
 
 You will receive a notification whether or not your presentation proposal
 was accepted by Sep 14th.
 
 END-USER COLLABORATION
 
 One of the big challenges as developers is to know what, where and how
 people actually use our software.  We will reserve a few slots for end
 users talking about their deployment challenges and achievements.
 
 If you are using oVirt in production you are encouraged submit a speaking
 proposal.  Simply mark it as an end-user collaboration proposal.  As an
 end user, this is a unique opportunity to get your input to developers.
 
 BOF SESSION
 
 We will reserve some slots in the evening after the main conference
 tracks, for birds of a feather (BOF) sessions. These sessions will be
 less formal than presentation tracks and targetted for people who would
 like to discuss specific issues with other developers and/or users.
 If you are interested in getting developers and/or uses together to
 discuss a specific problem, please submit a BOF proposal.
 
 LIGHTNING TALKS
 
 In addition to submitted talks we will also have some room for lightning
 talks. These are short (5 minute) discussions to highlight new work or
 ideas that aren't complete enough to warrant a full presentation slot.
 Lightning talk submissions and scheduling will be handled on-site at
 oVirt Workshop.
 
 HOTEL / TRAVEL
 
 The oVirt Workshop Europe 2012 will be held in Barcelona, Spain at the
 Hotel Fira Palace.
 
 http://events.linuxfoundation.org/events/kvm-forum/hotel
 
 Thank you for your interest in oVirt.  We're looking forward to your
 submissions and seeing you at the oVirt Workshop Europe 2012 in November!
 
 Thanks,
 your oVirt Workshop Europe 2012 Program Commitee
 
 Please contact us with any questions or comments.
 workshop...@ovirt.org

Re: [Users] HA: Re: HA: Re: HP Integrated Lights Out 3

2012-09-13 Thread Darrell Budic
That fix worked for me (ipmilan wise, anyway. Still no go on ilo, but we knew 
that, right?). Thanks Itamar!

Dmitriy, make sure you do this to all your host nodes, it may run the test from 
any of them. You'll also want to be sure you delete 
/usr/share/vdsm/BindingXMLRPC.pyc and .pyo, otherwise the compiled python is 
likely to still get used. Finally, I did need to restart vdsmd on all my nodes, 
service vdsmd restart on my Centos 6.3 system. Glad to know you can do that 
without causing problems for running vms.

I did notice that the ovirt management GUI still shows 3 Alerts in the alert 
area, and they are all Power Management test failed errors dated from the 
first time their particular node was added to the cluster. This is even after 
restarting a vdsmd again and seeing Host xxx power management was verified 
successfully. in the event log.

  -Darrell

On Sep 13, 2012, at 5:45 PM, Itamar Heim wrote:

 On 09/13/2012 08:42 AM, Dmitriy A Pyryakov wrote:
 Itamar Heim ih...@redhat.com написано 13.09.2012 11:09:24:
 
  От: Itamar Heim ih...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: Darrell Budic darrell.bu...@bigwells.net, users@ovirt.org
  Дата: 13.09.2012 11:09
  Тема: Re: [Users] HA: Re: HP Integrated Lights Out 3
 
  On 09/13/2012 06:00 AM, Dmitriy A Pyryakov wrote:
   Darrell Budic darrell.bu...@bigwells.net написано 13.09.2012
 07:43:44:
  
От: Darrell Budic darrell.bu...@bigwells.net
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
Дата: 13.09.2012 07:43
Тема: Re: [Users] HP Integrated Lights Out 3
   
I have this problem too. I actually tracked it down to the engine
not passing the arguments to the fence scripts but then got
distracted and never followed up with a report. In my case, the data
base was correct, and if I ran the fence script by hand, it would
work, but the vdsm wasn't running it with the options or even all
the arguments (username/pw, etc). I've tried it with ilo3 and
ipmilan both, same issue.
   
If you'd like, I can recreate some of my debugging, I'd gotten so
far as to to hack some print statements into the fence scripts to
demonstrate what was happening. Lost that with some rebuilds, but
easy enough to recreate...
   
-Darrell
  
   Hello, Darrell.
  
   It would be great!
 
  may i suggest you first try to apply this patch to vdsm (just edit the
  relevant line in vdsm)
 
  commit 59934118e3a30c57539d2b71016532bdd9c4ab17
  Author: Roy Golan rgo...@redhat.com
  Date: Thu Aug 9 16:34:10 2012 +0300
 
  fenceNode API is missing the options argument
 
  Change-Id: Ib2ce9b0f71040f9198413fa06c5d8768994842ec
  Signed-off-by: Roy Golan rgo...@redhat.com
  Reviewed-on: http://gerrit.ovirt.org/7058
  Reviewed-by: Dan Kenigsberg dan...@redhat.com
  Reviewed-by: Omer Frenkel ofren...@redhat.com
  Tested-by: Omer Frenkel ofren...@redhat.com
 
  diff --git a/vdsm/BindingXMLRPC.py b/vdsm/BindingXMLRPC.py
  index cc5300f..8b548e4 100644
  --- a/vdsm/BindingXMLRPC.py
  +++ b/vdsm/BindingXMLRPC.py
  @@ -357,7 +357,7 @@ class BindingXMLRPC(object):
  secure=False, options=''):
  api = API.Global()
  return api.fenceNode(addr, port, agent, username, password,
  - action, secure)
  + action, secure, options)
 
  def setLogLevel(self, level):
  api = API.Global()
 
 
 There is my part of old /usr/share/vdsm/BindingXMLRPC.py file from proxy
 host:
 
 def fenceNode(self, addr, port, agent, username, password, action,
 secure=False, options=''):
 api = API.Global(self.cif)
 return api.fenceNode(addr, port, agent, username, password,
 action, secure)
 
 there is replased:
 
 def fenceNode(self, addr, port, agent, username, password, action,
 secure=False, options=''):
 api = API.Global(self.cif)
 return api.fenceNode(addr, port, agent, username, password,
 action, secure, options)
 
 I restart ovirt-engine and still see no option presented in vdsm.log.
 Test still failed.
 
 this is a vdsm change, not an ovirt-engine (restart vdsm?)
 is this ovirt node or plain fedora/el6?
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

Darrell Budic
Bigwells Technology LLC
office: 312.529.7816
cell: 608.239.4628



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


Re: [Users] vdsm/engine do not like Infiniband

2012-09-13 Thread Justin Clift
On 14/09/2012, at 7:26 AM, Dead Horse wrote:
 When attempting to activate/add a host with Infiniband cards present:
snip
 
 NOTE the length of the Infiniband card hwaddr perhaps a clue to the above 
 engine DB insert barf? -- (ERROR: value too long for type character 
 varying(20))


Ouch, that sounds like a bug. :

Would you be ok to open a BZ about it?

Regards and best wishes,

Justin Clift

--
Aeolus Community Manager
http://www.aeolusproject.org

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


Re: [Users] vdsm/engine do not like Infiniband

2012-09-13 Thread Andrew Cathrow
Yes you are right there is a known issue with the mac address length in IB 
cards. IIRC there was a hardware vendor who was working on a patch to extend 
the length and add the appropriate validation.


Dead Horse deadhorseconsult...@gmail.com wrote:

When attempting to activate/add a host with Infiniband cards present:

vdsm.log
Thread-14::DEBUG::2012-09-13
16:16:29,306::BindingXMLRPC::884::vds::(wrapper) return getCapabilities
with {'status': {'message': 'Done', 'code': 0}, 'info': {'HBAInventory':
{'iSCSI': [{'InitiatorName': 'iqn.2012-09.net.azeroth:kezan'}], 'FC': []},
'packages2': {'kernel': {'release': '200.29.3.el6uek.x86_64', 'buildtime':
1346177011.0, 'version': '2.6.39'}, 'spice-server': {'release': '10.el6',
'buildtime': 1340343617L, 'version': '0.10.1'}, 'vdsm': {'release':
'435.el6', 'buildtime': 1347508928L, 'version': '4.10.0'}, 'qemu-kvm':
{'release': '2.295.el6_3.2', 'buildtime': 1346867328L, 'version':
'0.12.1.2'}, 'libvirt': {'release': '21.el6_3.4', 'buildtime': 1345740034L,
'version': '0.9.10'}, 'qemu-img': {'release': '2.295.el6_3.2', 'buildtime':
1346867328L, 'version': '0.12.1.2'}}, 'cpuModel': 'Intel(R) Xeon(R)
CPU   E5540  @ 2.53GHz', 'hooks': {}, 'vmTypes': ['kvm'],
'supportedProtocols': ['2.2', '2.3'], 'networks': {'ovirtmgmt': {'iface':
'ovirtmgmt', 'addr': '3.57.111.31', 'cfg': {'IPV6INIT': 'no', 'IPADDR':
'3.57.111.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO': 'none', 'STP':
'off', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu':
'1500', 'netmask': '255.255.252.0', 'stp': 'off', 'bridged': True,
'gateway': '0.0.0.0', 'ports': ['bond2']}, 'maelstrom': {'iface':
'maelstrom', 'addr': '', 'cfg': {'IPV6INIT': 'no', 'DELAY': '0',
'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'maelstrom', 'TYPE': 'Bridge',
'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged':
True, 'gateway': '0.0.0.0', 'ports': ['bond0']}, 'twistingnether':
{'iface': 'twistingnether', 'addr': '3.70.204.31', 'cfg': {'IPV6INIT':
'no', 'IPADDR': '3.70.204.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO':
'none', 'STP': 'off', 'DEVICE': 'twistingnether', 'TYPE': 'Bridge',
'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.252.0', 'stp': 'off',
'bridged': True, 'gateway': '3.70.204.254', 'ports': ['bond1']}},
'bridges': {'ovirtmgmt': {'addr': '3.57.111.31', 'cfg': {'IPV6INIT': 'no',
'IPADDR': '3.57.111.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO': 'none',
'STP': 'off', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'},
'mtu': '1500', 'netmask': '255.255.252.0', 'stp': 'off', 'ports':
['bond2']}, 'maelstrom': {'addr': '', 'cfg': {'IPV6INIT': 'no', 'DELAY':
'0', 'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'maelstrom', 'TYPE':
'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off',
'ports': ['bond0']}, 'twistingnether': {'addr': '3.70.204.31', 'cfg':
{'IPV6INIT': 'no', 'IPADDR': '3.70.204.31', 'DELAY': '0', 'PREFIX': '22',
'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'twistingnether', 'TYPE':
'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.252.0',
'stp': 'off', 'ports': ['bond1']}}, 'uuid':
'FF28----00212883CE4C_00:15:17:00:10:0a',
'lastClientIface': 'twistingnether', 'nics': {'ib0': {'addr':
'192.168.1.1', 'cfg': {'IPV6INIT': 'no', 'IPADDR': '192.168.1.1', 'MTU':
'65520', 'PREFIX': '16', 'BOOTPROTO': 'none', 'CONNECTED_MODE': 'yes',
'DEVICE': 'ib0', 'TYPE': 'Infiniband', 'ONBOOT': 'yes'}, 'mtu': '65520',
'netmask': '255.255.0.0', 'hwaddr':
'80:00:04:04:fe:80:00:00:00:00:00:00:00:12:79:ff:ff:b5:b0:f1', 'speed': 0},
'ib1': {'addr': '', 'cfg': {'IPV6INIT': 'no', 'MTU': '65520', 'BOOTPROTO':
'none', 'CONNECTED_MODE': 'yes', 'DEVICE': 'ib1', 'TYPE': 'Infiniband',
'ONBOOT': 'no'}, 'mtu': '2044', 'netmask': '', 'hwaddr':
'80:00:04:05:fe:80:00:00:00:00:00:00:00:12:79:ff:ff:b5:b0:f2', 'speed': 0},
'eth5': {'permhwaddr': '00:15:17:00:10:0B', 'addr': '', 'cfg': {'SLAVE':
'yes', 'IPV6INIT': 'no', 'HWADDR': '00:15:17:00:10:0B', 'BOOTPROTO':
'none', 'MASTER': 'bond2', 'DEVICE': 'eth5', 'ONBOOT': 'yes'}, 'mtu':
'1500', 'netmask': '', 'hwaddr': '00:15:17:00:10:0a', 'speed': 1000},
'eth4': {'permhwaddr': '00:15:17:00:10:0A', 'addr': '', 'cfg': {'SLAVE':
'yes', 'IPV6INIT': 'no', 'HWADDR': '00:15:17:00:10:0A', 'BOOTPROTO':
'none', 'MASTER': 'bond2', 'DEVICE': 'eth4', 'ONBOOT': 'yes'}, 'mtu':
'1500', 'netmask': '', 'hwaddr': '00:15:17:00:10:0a', 'speed': 1000},
'eth3': {'permhwaddr': '00:21:28:83:CE:4B', 'addr': '', 'cfg': {'SLAVE':
'yes', 'HWADDR': '00:21:28:83:CE:4B', 'BOOTPROTO': 'none', 'MASTER':
'bond1', 'DEVICE': 'eth3', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '',
'hwaddr': '00:21:28:83:ce:4a', 'speed': 1000}, 'eth2': {'permhwaddr':
'00:21:28:83:CE:4A', 'addr': '', 'cfg': {'SLAVE': 'yes', 'HWADDR':
'00:21:28:83:CE:4A', 'BOOTPROTO': 'none', 'MASTER': 'bond1', 'DEVICE':
'eth2', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':
'00:21:28:83:ce:4a', 'speed': 1000}, 'eth1': {'permhwaddr':
'00:21:28:83:CE:49', 'addr': '', 

[Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3

2012-09-13 Thread Dmitriy A Pyryakov
Itamar Heim ih...@redhat.com написано 14.09.2012 04:45:31:

 От: Itamar Heim ih...@redhat.com
 Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Копия: users@ovirt.org
 Дата: 14.09.2012 04:45
 Тема: Re: HA: Re: [Users] HA: Re:   HP Integrated Lights Out 3

 On 09/13/2012 08:42 AM, Dmitriy A Pyryakov wrote:
  Itamar Heim ih...@redhat.com написано 13.09.2012 11:09:24:
 
От: Itamar Heim ih...@redhat.com
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: Darrell Budic darrell.bu...@bigwells.net, users@ovirt.org
Дата: 13.09.2012 11:09
Тема: Re: [Users] HA: Re: HP Integrated Lights Out 3
   
On 09/13/2012 06:00 AM, Dmitriy A Pyryakov wrote:
 Darrell Budic darrell.bu...@bigwells.net написано 13.09.2012
  07:43:44:

  От: Darrell Budic darrell.bu...@bigwells.net
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
  Дата: 13.09.2012 07:43
  Тема: Re: [Users] HP Integrated Lights Out 3
 
  I have this problem too. I actually tracked it down to the
engine
  not passing the arguments to the fence scripts but then got
  distracted and never followed up with a report. In my case, the
data
  base was correct, and if I ran the fence script by hand, it
would
  work, but the vdsm wasn't running it with the options or even
all
  the arguments (username/pw, etc). I've tried it with ilo3 and
  ipmilan both, same issue.
 
  If you'd like, I can recreate some of my debugging, I'd gotten
so
  far as to to hack some print statements into the fence scripts
to
  demonstrate what was happening. Lost that with some rebuilds,
but
  easy enough to recreate...
 
  -Darrell

 Hello, Darrell.

 It would be great!
   
may i suggest you first try to apply this patch to vdsm (just edit
the
relevant line in vdsm)
   
commit 59934118e3a30c57539d2b71016532bdd9c4ab17
Author: Roy Golan rgo...@redhat.com
Date: Thu Aug 9 16:34:10 2012 +0300
   
fenceNode API is missing the options argument
   
Change-Id: Ib2ce9b0f71040f9198413fa06c5d8768994842ec
Signed-off-by: Roy Golan rgo...@redhat.com
Reviewed-on: http://gerrit.ovirt.org/7058
Reviewed-by: Dan Kenigsberg dan...@redhat.com
Reviewed-by: Omer Frenkel ofren...@redhat.com
Tested-by: Omer Frenkel ofren...@redhat.com
   
diff --git a/vdsm/BindingXMLRPC.py b/vdsm/BindingXMLRPC.py
index cc5300f..8b548e4 100644
--- a/vdsm/BindingXMLRPC.py
+++ b/vdsm/BindingXMLRPC.py
@@ -357,7 +357,7 @@ class BindingXMLRPC(object):
secure=False, options=''):
api = API.Global()
return api.fenceNode(addr, port, agent, username, password,
- action, secure)
+ action, secure, options)
   
def setLogLevel(self, level):
api = API.Global()
   
 
  There is my part of old /usr/share/vdsm/BindingXMLRPC.py file from
proxy
  host:
 
  def fenceNode(self, addr, port, agent, username, password, action,
  secure=False, options=''):
  api = API.Global(self.cif)
  return api.fenceNode(addr, port, agent, username, password,
  action, secure)
 
  there is replased:
 
  def fenceNode(self, addr, port, agent, username, password, action,
  secure=False, options=''):
  api = API.Global(self.cif)
  return api.fenceNode(addr, port, agent, username, password,
  action, secure, options)
 
  I restart ovirt-engine and still see no option presented in vdsm.log.
  Test still failed.

 this is a vdsm change, not an ovirt-engine (restart vdsm?)
 is this ovirt node or plain fedora/el6?

I change vdsm...

Restarting vdsm fix it!
My hosts are two fedora 17 with degraded to 3.4 kernel (3.4.9-2.fc16.x86_64
)

Now ilo3 and ipmilan work fine!
Thank you so much!___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] HA: Re: HA: Re: HA: Re: HP Integrated Lights Out 3

2012-09-13 Thread Dmitriy A Pyryakov
Darrell Budic darrell.bu...@bigwells.net написано 14.09.2012 05:32:33:

 От: Darrell Budic darrell.bu...@bigwells.net
 Кому: Itamar Heim ih...@redhat.com
 Копия: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru, users@ovirt.org
 Дата: 14.09.2012 05:32
 Тема: Re: [Users] HA: Re:  HA: Re:   HP Integrated Lights Out 3

 That fix worked for me (ipmilan wise, anyway. Still no go on ilo,
 but we knew that, right?). Thanks Itamar!
 Dmitriy, make sure you do this to all your host nodes, it may run
 the test from any of them. You'll also want to be sure you delete /
 usr/share/vdsm/BindingXMLRPC.pyc and .pyo, otherwise the compiled
 python is likely to still get used.

there is no necessity

 Finally, I did need to restart
 vdsmd on all my nodes, service vdsmd restart on my Centos 6.3
 system.

that's right!

 Glad to know you can do that without causing problems for running vms.


yeah

thank you.

 I did notice that the ovirt management GUI still shows 3 Alerts in
 the alert area, and they are all Power Management test failed
 errors dated from the first time their particular node was added to
 the cluster. This is even after restarting a vdsmd again and seeing
 Host xxx power management was verified successfully. in the event log.

   -Darrell

 On Sep 13, 2012, at 5:45 PM, Itamar Heim wrote:

 On 09/13/2012 08:42 AM, Dmitriy A Pyryakov wrote:
 Itamar Heim ih...@redhat.com написано 13.09.2012 11:09:24:

  От: Itamar Heim ih...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: Darrell Budic darrell.bu...@bigwells.net, users@ovirt.org
  Дата: 13.09.2012 11:09
  Тема: Re: [Users] HA: Re: HP Integrated Lights Out 3
 
  On 09/13/2012 06:00 AM, Dmitriy A Pyryakov wrote:
   Darrell Budic darrell.bu...@bigwells.net написано 13.09.2012
 07:43:44:
  
От: Darrell Budic darrell.bu...@bigwells.net
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
Дата: 13.09.2012 07:43
Тема: Re: [Users] HP Integrated Lights Out 3
   
I have this problem too. I actually tracked it down to the engine
not passing the arguments to the fence scripts but then got
distracted and never followed up with a report. In my case, the
data
base was correct, and if I ran the fence script by hand, it would
work, but the vdsm wasn't running it with the options or even all
the arguments (username/pw, etc). I've tried it with ilo3 and
ipmilan both, same issue.
   
If you'd like, I can recreate some of my debugging, I'd gotten so
far as to to hack some print statements into the fence scripts to
demonstrate what was happening. Lost that with some rebuilds, but
easy enough to recreate...
   
-Darrell
  
   Hello, Darrell.
  
   It would be great!
 
  may i suggest you first try to apply this patch to vdsm (just edit the
  relevant line in vdsm)
 
  commit 59934118e3a30c57539d2b71016532bdd9c4ab17
  Author: Roy Golan rgo...@redhat.com
  Date: Thu Aug 9 16:34:10 2012 +0300
 
  fenceNode API is missing the options argument
 
  Change-Id: Ib2ce9b0f71040f9198413fa06c5d8768994842ec
  Signed-off-by: Roy Golan rgo...@redhat.com
  Reviewed-on: http://gerrit.ovirt.org/7058
  Reviewed-by: Dan Kenigsberg dan...@redhat.com
  Reviewed-by: Omer Frenkel ofren...@redhat.com
  Tested-by: Omer Frenkel ofren...@redhat.com
 
  diff --git a/vdsm/BindingXMLRPC.py b/vdsm/BindingXMLRPC.py
  index cc5300f..8b548e4 100644
  --- a/vdsm/BindingXMLRPC.py
  +++ b/vdsm/BindingXMLRPC.py
  @@ -357,7 +357,7 @@ class BindingXMLRPC(object):
  secure=False, options=''):
  api = API.Global()
  return api.fenceNode(addr, port, agent, username, password,
  - action, secure)
  + action, secure, options)
 
  def setLogLevel(self, level):
  api = API.Global()
 

 There is my part of old /usr/share/vdsm/BindingXMLRPC.py file from proxy
 host:

 def fenceNode(self, addr, port, agent, username, password, action,
 secure=False, options=''):
 api = API.Global(self.cif)
 return api.fenceNode(addr, port, agent, username, password,
 action, secure)

 there is replased:

 def fenceNode(self, addr, port, agent, username, password, action,
 secure=False, options=''):
 api = API.Global(self.cif)
 return api.fenceNode(addr, port, agent, username, password,
 action, secure, options)

 I restart ovirt-engine and still see no option presented in vdsm.log.
 Test still failed.

 this is a vdsm change, not an ovirt-engine (restart vdsm?)
 is this ovirt node or plain fedora/el6?
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

 Darrell Budic
 Bigwells Technology LLC
 office: 312.529.7816
 cell: 608.239.4628___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vdsm/engine do not like Infiniband

2012-09-13 Thread Dead Horse
Bug opened BZ857294 (https://bugzilla.redhat.com/show_bug.cgi?id=857294)

What would be a suggestion to work around this ATM and still be able to use
and keep the IB cards in the system?

- DHC


On Thu, Sep 13, 2012 at 6:49 PM, Andrew Cathrow acath...@redhat.com wrote:

 Yes you are right there is a known issue with the mac address length in IB
 cards. IIRC there was a hardware vendor who was working on a patch to
 extend the length and add the appropriate validation.


 Dead Horse deadhorseconsult...@gmail.com wrote:

 When attempting to activate/add a host with Infiniband cards present:

 vdsm.log
 Thread-14::DEBUG::2012-09-13
 16:16:29,306::BindingXMLRPC::884::vds::(wrapper) return getCapabilities
 with {'status': {'message': 'Done', 'code': 0}, 'info': {'HBAInventory':
 {'iSCSI': [{'InitiatorName': 'iqn.2012-09.net.azeroth:kezan'}], 'FC': []},
 'packages2': {'kernel': {'release': '200.29.3.el6uek.x86_64', 'buildtime':
 1346177011.0, 'version': '2.6.39'}, 'spice-server': {'release': '10.el6',
 'buildtime': 1340343617L, 'version': '0.10.1'}, 'vdsm': {'release':
 '435.el6', 'buildtime': 1347508928L, 'version': '4.10.0'}, 'qemu-kvm':
 {'release': '2.295.el6_3.2', 'buildtime': 1346867328L, 'version':
 '0.12.1.2'}, 'libvirt': {'release': '21.el6_3.4', 'buildtime': 1345740034L,
 'version': '0.9.10'}, 'qemu-img': {'release': '2.295.el6_3.2', 'buildtime':
 1346867328L, 'version': '0.12.1.2'}}, 'cpuModel': 'Intel(R) Xeon(R)
 CPU   E5540  @ 2.53GHz', 'hooks': {}, 'vmTypes': ['kvm'],
 'supportedProtocols': ['2.2', '2.3'], 'networks': {'ovirtmgmt': {'iface':
 'ovirtmgmt', 'addr': '3.57.111.31', 'cfg': {'IPV6INIT': 'no', 'IPADDR':
 '3.57.111.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO': 'none', 'STP':
 'off', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu':
 '1500', 'netmask': '255.255.252.0', 'stp': 'off', 'bridged': True,
 'gateway': '0.0.0.0', 'ports': ['bond2']}, 'maelstrom': {'iface':
 'maelstrom', 'addr': '', 'cfg': {'IPV6INIT': 'no', 'DELAY': '0',
 'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'maelstrom', 'TYPE': 'Bridge',
 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged':
 True, 'gateway': '0.0.0.0', 'ports': ['bond0']}, 'twistingnether':
 {'iface': 'twistingnether', 'addr': '3.70.204.31', 'cfg': {'IPV6INIT':
 'no', 'IPADDR': '3.70.204.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO':
 'none', 'STP': 'off', 'DEVICE': 'twistingnether', 'TYPE': 'Bridge',
 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.252.0', 'stp': 'off',
 'bridged': True, 'gateway': '3.70.204.254', 'ports': ['bond1']}},
 'bridges': {'ovirtmgmt': {'addr': '3.57.111.31', 'cfg': {'IPV6INIT': 'no',
 'IPADDR': '3.57.111.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO': 'none',
 'STP': 'off', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'},
 'mtu': '1500', 'netmask': '255.255.252.0', 'stp': 'off', 'ports':
 ['bond2']}, 'maelstrom': {'addr': '', 'cfg': {'IPV6INIT': 'no', 'DELAY':
 '0', 'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'maelstrom', 'TYPE':
 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off',
 'ports': ['bond0']}, 'twistingnether': {'addr': '3.70.204.31', 'cfg':
 {'IPV6INIT': 'no', 'IPADDR': '3.70.204.31', 'DELAY': '0', 'PREFIX': '22',
 'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'twistingnether', 'TYPE':
 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.252.0',
 'stp': 'off', 'ports': ['bond1']}}, 'uuid':
 'FF28----00212883CE4C_00:15:17:00:10:0a',
 'lastClientIface': 'twistingnether', 'nics': {'ib0': {'addr':
 '192.168.1.1', 'cfg': {'IPV6INIT': 'no', 'IPADDR': '192.168.1.1', 'MTU':
 '65520', 'PREFIX': '16', 'BOOTPROTO': 'none', 'CONNECTED_MODE': 'yes',
 'DEVICE': 'ib0', 'TYPE': 'Infiniband', 'ONBOOT': 'yes'}, 'mtu': '65520',
 'netmask': '255.255.0.0', 'hwaddr':
 '80:00:04:04:fe:80:00:00:00:00:00:00:00:12:79:ff:ff:b5:b0:f1', 'speed': 0},
 'ib1': {'addr': '', 'cfg': {'IPV6INIT': 'no', 'MTU': '65520', 'BOOTPROTO':
 'none', 'CONNECTED_MODE': 'yes', 'DEVICE': 'ib1', 'TYPE': 'Infiniband',
 'ONBOOT': 'no'}, 'mtu': '2044', 'netmask': '', 'hwaddr':
 '80:00:04:05:fe:80:00:00:00:00:00:00:00:12:79:ff:ff:b5:b0:f2', 'speed': 0},
 'eth5': {'permhwaddr': '00:15:17:00:10:0B', 'addr': '', 'cfg': {'SLAVE':
 'yes', 'IPV6INIT': 'no', 'HWADDR': '00:15:17:00:10:0B', 'BOOTPROTO':
 'none', 'MASTER': 'bond2', 'DEVICE': 'eth5', 'ONBOOT': 'yes'}, 'mtu':
 '1500', 'netmask': '', 'hwaddr': '00:15:17:00:10:0a', 'speed': 1000},
 'eth4': {'permhwaddr': '00:15:17:00:10:0A', 'addr': '', 'cfg': {'SLAVE':
 'yes', 'IPV6INIT': 'no', 'HWADDR': '00:15:17:00:10:0A', 'BOOTPROTO':
 'none', 'MASTER': 'bond2', 'DEVICE': 'eth4', 'ONBOOT': 'yes'}, 'mtu':
 '1500', 'netmask': '', 'hwaddr': '00:15:17:00:10:0a', 'speed': 1000},
 'eth3': {'permhwaddr': '00:21:28:83:CE:4B', 'addr': '', 'cfg': {'SLAVE':
 'yes', 'HWADDR': '00:21:28:83:CE:4B', 'BOOTPROTO': 'none', 'MASTER':
 'bond1', 'DEVICE': 'eth3', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '',
 'hwaddr': '00:21:28:83:ce:4a',