Re: [Users] importing a kvm.img to ovirt

2012-03-28 Thread Michal Kopacki

On 03/28/2012 02:25 PM, Rene Rosenberger wrote:


Hi,

ihave a kvm image file stored on my ISCSI storage from ovirt. How can 
I import this to ovirt as VM? There is no xml or ovf file L


regards, rene





  You can write simple xml file (only name and image path) and import  
with virt-v2v. After that you have to reconfigure imported machine to 
correct values.


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


Re: [Users] importing a kvm.img to ovirt

2012-03-28 Thread Michal Kopacki

On 03/28/2012 02:35 PM, Rene Rosenberger wrote:


Hi,

how do i create such an xml file. Is somewhere an example or a generator.

Regards, rene



http://libvirt.org/drvqemu.html#xmlconfig   -  at the bottom

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


Re: [Users] disable ballooning mode

2012-03-22 Thread Michal Kopacki
On Wed, 21 Mar 2012 10:52:08 -0400
Omer Frenkel ofren...@redhat.com wrote:

 
 
 - Original Message -
  From: Andrew Cathrow acath...@redhat.com
  To: Michal Kopacki mkopa...@gmail.com
  Cc: users@ovirt.org
  Sent: Wednesday, March 21, 2012 3:08:35 PM
  Subject: Re: [Users] disable ballooning mode
  
  
  
  - Original Message -
   From: Michal Kopacki mkopa...@gmail.com
   To: Andrew Cathrow acath...@redhat.com
   Cc: users@ovirt.org
   Sent: Wednesday, March 21, 2012 9:05:33 AM
   Subject: Re: [Users] disable ballooning mode
   
   On Wed, 21 Mar 2012 08:12:45 -0400
   Andrew Cathrow acath...@redhat.com wrote:
   


- Original Message -
 From: Michal Kopacki mkopa...@gmail.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 21, 2012 8:08:53 AM
 Subject: Re: [Users] disable ballooning mode
 
 On Wed, 21 Mar 2012 07:51:45 -0400
 Andrew Cathrow acath...@redhat.com wrote:
 
  
  
  - Original Message -
   From: Michal Kopacki mkopa...@gmail.com
   To: users@ovirt.org
   Sent: Wednesday, March 21, 2012 3:59:00 AM
   Subject: [Users] disable ballooning mode
   
   I'm trying to get virtual windows and specific software on
   it
   working.
   Windows is working fine but i'm getting blue screen when
   trying
   to
   start this particular application (which works fine in
   vmware).
   I figureout that there could be some kind of problem with
   memory.
  
  what makes you think it's memory?
 
 
   a hunch ?

It's not ballooning - it's not configured. It's unlikely to be
memory
related. What's the application?
   
   
  Yes, I just realized that ballooning is not configured (during
  windows ballooning driver installation).
   
  Mentioned application is a software for switching voip calls.
  There
  is a bunch of helper appliactions (which are working fine),
  problem
  is with main application server/deamon. It is develop internaly
  by
  company I work for.
   
  We use this applications on many physical and wirtual servers
  (including kvm and xen on different hosting providers) and
   never see
  such behave as on ovirt.
  
  oVirt is using KVM under the covers.
  What version of KVM have you tried it on and how is it configured
  (eg. libvirt xml or qemu command line)
  
 
 just guessing here,
 maybe related to the type of the vm' nic?


   It also crossed my mind, but no. I did try virtio/ide and virtio/rtl
   - same result

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


[Users] disable ballooning mode

2012-03-21 Thread Michal Kopacki
I'm trying to get virtual windows and specific software on it working.
Windows is working fine but i'm getting blue screen when trying to
start this particular application (which works fine in vmware). I
figureout that there could be some kind of problem with memory.

My question is about ballonning memory: is it on as default ?

If yes, then how to disable it ?

Did anyone also discovered such problemes ?

-- 
Michal

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


Re: [Users] permanent vnc password and custom properties

2012-03-21 Thread Michal Kopacki
On Tue, 20 Mar 2012 18:17:19 +0200
Itamar Heim ih...@redhat.com wrote:

 On 03/20/2012 02:59 PM, Michal Kopacki wrote:
  Any thoughts how to set vnc password permanently (without any
  scripts outside ovirt). ?
 
  Now I use cli command such:
 
  vdsClient -s 0 setVmTicket 75c42e2e-ac28-45ae-9c78-2e4f68ee9c07
  pass 3600 keep
 
  But it's not so convenient.
 
  Second question is how to use Custom properties box - how should
  command/value looks like ?
 
 
 you can set vmticket from ovirt api/sdk/cli as well, no need to
 directly use the vdsm cli.
 to the ticket action, pass the expiry you want

  Could you present some example ?

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


Re: [Users] permanent vnc password and custom properties

2012-03-21 Thread Michal Kopacki
On Tue, 20 Mar 2012 20:33:48 +0200
Ohad Levy ohadl...@gmail.com wrote:

 On Tue, Mar 20, 2012 at 6:17 PM, Itamar Heim ih...@redhat.com wrote:
  On 03/20/2012 02:59 PM, Michal Kopacki wrote:
 
  Any thoughts how to set vnc password permanently (without any
  scripts outside ovirt). ?
 
  Now I use cli command such:
 
  vdsClient -s 0 setVmTicket 75c42e2e-ac28-45ae-9c78-2e4f68ee9c07
  pass 3600 keep
 
  But it's not so convenient.
 
  Second question is how to use Custom properties box - how should
  command/value looks like ?
 
 
  you can set vmticket from ovirt api/sdk/cli as well, no need to
  directly use the vdsm cli.
  to the ticket action, pass the expiry you want
 
 So the pw would be valid for the whole duration regardless of if a
 client is connected or does it expire after the first usage?
 
 Thanks,
 Ohad

   I was thinking about permanent (regardless of connection
   status) but option with expiration after first login is also
   interesting.

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


Re: [Users] disable ballooning mode

2012-03-21 Thread Michal Kopacki
On Wed, 21 Mar 2012 08:12:45 -0400
Andrew Cathrow acath...@redhat.com wrote:

 
 
 - Original Message -
  From: Michal Kopacki mkopa...@gmail.com
  To: Andrew Cathrow acath...@redhat.com
  Cc: users@ovirt.org
  Sent: Wednesday, March 21, 2012 8:08:53 AM
  Subject: Re: [Users] disable ballooning mode
  
  On Wed, 21 Mar 2012 07:51:45 -0400
  Andrew Cathrow acath...@redhat.com wrote:
  
   
   
   - Original Message -
From: Michal Kopacki mkopa...@gmail.com
To: users@ovirt.org
Sent: Wednesday, March 21, 2012 3:59:00 AM
Subject: [Users] disable ballooning mode

I'm trying to get virtual windows and specific software on it
working.
Windows is working fine but i'm getting blue screen when trying
to
start this particular application (which works fine in vmware).
I figureout that there could be some kind of problem with
memory.
   
   what makes you think it's memory?
  
  
a hunch ?
 
 It's not ballooning - it's not configured. It's unlikely to be memory
 related. What's the application?


   Yes, I just realized that ballooning is not configured (during
   windows ballooning driver installation).

   Mentioned application is a software for switching voip calls. There
   is a bunch of helper appliactions (which are working fine), problem
   is with main application server/deamon. It is develop internaly by
   company I work for.

   We use this applications on many physical and wirtual servers
   (including kvm and xen on different hosting providers) and never see
   such behave as on ovirt.

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


[Users] permanent vnc password and custom properties

2012-03-20 Thread Michal Kopacki
 Any thoughts how to set vnc password permanently (without any scripts 
outside ovirt). ?


Now I use cli command such:

vdsClient -s 0 setVmTicket 75c42e2e-ac28-45ae-9c78-2e4f68ee9c07 pass 
3600 keep


But it's not so convenient.

Second question is how to use Custom properties box - how should 
command/value looks like ?


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


Re: [Users] Windows agent

2012-03-16 Thread Michal Kopacki
   Did anyone know anything about plans (timespan) for
   downloadable/installable guest tools for windows ?

-- 
Regards,
Michal

On Thu, 15 Mar 2012 10:37:28 -0400
Andrew Cathrow acath...@redhat.com wrote:

 
 Sources are in git (look at ovirt-guest-agent) but aren't currently
 built in the download site.
 
 - Original Message -
  From: Michal Kopacki mkopa...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, March 15, 2012 10:27:36 AM
  Subject: [Users] Windows agent
  
  Hi,
  
Could someone point me to place where I will find ovirt agent
  files for windows ?
  
  --
  Regards,
  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


[Users] Windows agent

2012-03-15 Thread Michal Kopacki
   Hi,

  Could someone point me to place where I will find ovirt agent files
  for windows ?

-- 
Regards,
Michal
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vdsm issue

2012-03-02 Thread Michal Kopacki
   I found it. 

 My provider (ovh) provides own kernel with grsecurity
   patch. During upgrade F15-F16 it wasn't changed. In grub config
   files, kernel from ovh has lower number (09) than regular distro
   kernels (10). Due to that fact I was constantly starting with
   grsecurity kernel from F15. Without proper configuration for gr 
   regular users (like vdsm) were limited.

  After switch to default distro kernel, everything is ok.

-- 
Michal


On Thu, 1 Mar 2012 14:12:06 +0100
Michal Kopacki mkopa...@gmail.com wrote:

  Hello,
 
I'm not sure if this is proper list but maybe someone will help.
 
 I'm trying to start ovirt-engine and node on same server but it
 appears that vdsm has strange problem. Below are steps i took and
 vdsm error:
 
 1. install fedora 15 (my service provider don't have 16)
 2. upgrade to fedora 16 (dirty yum way)
 3. install ovirt-engine (with yum)
 4. install vdsm and vdsm-cli (with yum)
 
 now vdsm seems to not start completely and i can see this error in
 vdsm.log:
 
 MainThread::ERROR::2012-03-01 12:40:20,731::vdsm::74::vds::(run) 
 Traceback (most recent call last):
File /usr/share/vdsm/vdsm, line 72, in run
  serve_clients(log)
File /usr/share/vdsm/vdsm, line 40, in serve_clients
  cif = clientIF.clientIF(log)
File /usr/share/vdsm/clientIF.py, line 115, in __init__
  self._createLibvirtNetworks()
File /usr/share/vdsm/clientIF.py, line 152, in
 _createLibvirtNetworks nf = netinfo.NetInfo()
File /usr/share/vdsm/netinfo.py, line 268, in __init__
  _netinfo = get()
File /usr/share/vdsm/netinfo.py, line 207, in get
  routes = getRoutes()
File /usr/share/vdsm/netinfo.py, line 165, in getRoutes
  with open(/proc/net/route) as route_file:
 IOError: [Errno 2] No such file or directory: '/proc/net/route'
 
 MainThread::INFO::2012-03-01 12:40:20,731::vdsm::76::vds::(run) VDSM 
 main thread ended. Waiting for 1 other threads...
 MainThread::INFO::2012-03-01 12:40:20,732::vdsm::79::vds::(run) 
 _MainThread(MainThread, started 139809442313984)
 MainThread::INFO::2012-03-01 12:40:20,732::vdsm::79::vds::(run) 
 Thread(libvirtEventLoop, started daemon 139809298802432)
 MainThread::INFO::2012-03-01 12:40:20,789::vdsm::71::vds::(run) I am
 the actual vdsm 4.9-0
 
 Also, I'm able to cat this /proc/net/route file as root
 

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


Re: [Users] vdsm issue

2012-03-01 Thread Michal Kopacki

--
On 2012-03-01 17:42:42 , Itamar Heim (ih...@redhat.com) wrote:


not sure about the error below, but installing vdsm requires more 
configuration done by engine when you choose to add a host.
 I'm not sure what you mean by more configuration. As I 
understand after install of vdsm it will be started as a service which 
apparently is not going well.
can you try adding the host via the engine (it will reboot in the last 
phase...).
 It's exactly what I did. After vsdm install I went to ovirt-engine 
page and add host (localhost in this case). In event window i saw that 
there are components installing and after reboot i can see information 
as below:


This host is in non responding state. Try to Activate it; If the 
problem persists, switch Host to Maintenance mode and try to reinstall it.


Of course Activate solves nothing.

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


Re: [Users] vdsm issue

2012-03-01 Thread Michal Kopacki
On Thu, 1 Mar 2012 10:50:48 -0800
Jason Brooks jbro...@redhat.com wrote:

 I wonder about that dirty yum upgrade bit -- I upgraded a remote F15
 server to F16 yesterday using preupgrade-cli and then went on to
 configure that server as engine+host as you're doing. It worked fine.
 

   I'm afraid it could be the case. There is raid on /boot and /
   (root) partitions and preupgrade-cli didn't work, so I was forced to
   go dirty way. Everything seems to be fine besides vdsm though.

   I'm clueless now. I think I will try to reinstall F15, break raid
   and then try preupgrade.

   btw. how about software raid and ovirt ? did anyone submit issues on
   that ?

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


Re: [Users] vdsm issue

2012-03-01 Thread Michal Kopacki
On Fri, 2 Mar 2012 02:06:15 +0200
Itamar Heim ih...@redhat.com wrote:

 On 03/01/2012 08:41 PM, Michal Kopacki wrote:
  --
  On 2012-03-01 17:42:42 , Itamar Heim (ih...@redhat.com) wrote:
 
  not sure about the error below, but installing vdsm requires more
  configuration done by engine when you choose to add a host.
  I'm not sure what you mean by more configuration. As I understand
  after install of vdsm it will be started as a service which
  apparently is not going well.
  can you try adding the host via the engine (it will reboot in the
  last phase...).
  It's exactly what I did. After vsdm install I went to ovirt-engine
  page and add host (localhost in this case). In event window i saw
  that there are components installing and after reboot i can see
  information as below:
 
  This host is in non responding state. Try to Activate it; If the
  problem persists, switch Host to Maintenance mode and try to
  reinstall it.
 
  Of course Activate solves nothing.
 
 
 how did you add the host (did you use fqdn?)

  I did this using ip address and I'm sure it's not the issue here - I
have done this exactly same on different engine host and it is fine.

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