Re: [Users] attempted live snapshot, machine paused, wouldn't restart

2012-12-23 Thread Dafna Ron
I do see that the vm was move to pause at some point but its hard to
debug when we only have some of the log.
I need the vdsm log from the spm and the host that the vm ran on +
engine log (full logs please).

Thanks,
Dafna

On 12/23/2012 05:54 AM, Erik Jacobs wrote:
 Hi all,

 Any thoughts here?


 On Wed, Dec 19, 2012 at 10:19 AM, Erik Jacobs erikmjac...@gmail.com
 mailto:erikmjac...@gmail.com wrote:

 Hi Haim,

 In-line responses follow.


 On Wed, Dec 19, 2012 at 4:02 AM, Haim Ateya hat...@redhat.com
 mailto:hat...@redhat.com wrote:

 Hi Erik,

 in order to debug it, we need some more details, such as
 engine and vdsm logs, can you please attach those logs from
 the moment you took the snapshot?

 http://pastie.org/5553030 (engine.log)
 http://pastebin.ca/2294934 (vdsm.log)
  

 from the log below, it seems as if vm resume operation
 succeeded and vm state changed to powering up.
 btw, did you have an operating system installed on this vm ?
 what was the status of the vm prior to the live snapshot attempt?


 Centos 5.6 guest that was running at the time I hit the create
 snapshot button.

 Status of my 3 storage domains:
  /dev/mapper/mediavg-121028_rhev
   148G   21G  121G  15% /mnt/rhev
 /dev/mapper/mediavg-121028_rheviso
20G  4.2G   15G  23% /mnt/rheviso
 /dev/mapper/mediavg-121028_rhevimport
   9.9G  5.1G  4.3G  55% /mnt/rhevimport

 Thanks!
 -E


 Thanks.
 Haim


 - Original Message -
  From: Erik Jacobs erikmjac...@gmail.com
 mailto:erikmjac...@gmail.com
  To: users@ovirt.org mailto:users@ovirt.org
  Sent: Wednesday, December 19, 2012 5:58:18 AM
  Subject: [Users] attempted live snapshot, machine paused,
 wouldn't restart
 
 
 
 
 
 
  I attempted to take a snapshot of a machine while it was
 running. I
  noticed that the machine was paused, and then I attempted to
 resume
  it. The machine looked like it was going to launch, but the
 events
  tab simply indicated that execution of launching the vm failed.
 
  Here's the engine.log at the time:
  2012-12-18 22:53:55,838 INFO
  [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
  (ajp--0.0.0.0-8009-5) START, IsValidVDSCommand(storagePoolId =
  2ccd03b1-fd0e-4578-88ce-e5065a9742d7, ignoreFailoverLimit =
 false,
  compatabilityVersion = null), log id: 19399f32
  2012-12-18 22:53:55,848 INFO
  [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
  (ajp--0.0.0.0-8009-5) FINISH, IsValidVDSCommand, return:
 true, log
  id: 19399f32
  2012-12-18 22:53:55,894 INFO
  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
  (ajp--0.0.0.0-8009-5) START,
 IsVmDuringInitiatingVDSCommand(vmId =
  35d58779-ee24-4926-8612-e053ff48881b), log id: 76d4a2b2
  2012-12-18 22:53:55,895 INFO
  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
  (ajp--0.0.0.0-8009-5) FINISH, IsVmDuringInitiatingVDSCommand,
  return: false, log id: 76d4a2b2
  2012-12-18 22:53:55,935 INFO
 [org.ovirt.engine.core.bll.RunVmCommand]
  (pool-3-thread-49) [17252a1c] Lock Acquired to object EngineLock
  [exclusiveLocks= key: 35d58779-ee24-4926-8612-e053ff48881b
 value: VM
  , sharedLocks= ]
  2012-12-18 22:53:55,952 INFO
 [org.ovirt.engine.core.bll.RunVmCommand]
  (pool-3-thread-49) [17252a1c] Running command: RunVmCommand
  internal: false. Entities affected : ID:
  35d58779-ee24-4926-8612-e053ff48881b Type: VM
  2012-12-18 22:53:55,966 INFO
  [org.ovirt.engine.core.vdsbroker.ResumeVDSCommand]
  (pool-3-thread-49) [17252a1c] START, ResumeVDSCommand(vdsId =
  0a7046ea-216d-11e2-8fe8-001372eb596b,
  vmId=35d58779-ee24-4926-8612-e053ff48881b), log id: 607d6dc2
  2012-12-18 22:53:55,976 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand]
  (pool-3-thread-49) [17252a1c] START,
 ResumeBrokerVDSCommand(vdsId =
  0a7046ea-216d-11e2-8fe8-001372eb596b,
  vmId=35d58779-ee24-4926-8612-e053ff48881b), log id: 66b1872c
  2012-12-18 22:53:56,292 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand]
  (pool-3-thread-49) [17252a1c] FINISH,
 ResumeBrokerVDSCommand, log
  id: 66b1872c
  2012-12-18 22:53:56,298 INFO
  [org.ovirt.engine.core.vdsbroker.ResumeVDSCommand]
  (pool-3-thread-49) [17252a1c] FINISH, ResumeVDSCommand, 

[Users] Network reconfiguration in ovirt 3.1

2012-12-23 Thread Kevin Maziere Aubry
Hi all

System : Fedora 17
On node :
Libvirt 0.10
Kernel Linux node1 3.6.10-2.fc17.x86_64
Stable VDSM from repo
On manager :
Ovirt 3.1 stable
Kernel Linux ovirt-manager 3.5.4-1.fc17.x86_64


By default the ovirtmgmt interface is created on node as a bridge with the
same parameters than p1p1. That is good so that you keep network working on
the node.

I've setup a new tagged network on Ovirt, which I have to add to all the
node of my cluster.
So I plug this new network on p1p2, do not touch to ovirtmgmt network, and
apply... and the server is lost.
In fact when reconfiguring the network the ovirtmgmt card is set to DHCP,
which is the problem.

And the only solution to make vdsm back online, is to reset the complete
node.

Kévin


-- 

Kevin Mazière
Responsable Infrastructure
Alter Way – Hosting
 1 rue Royal - 227 Bureaux de la Colline
92213 Saint-Cloud Cedex
Tél : +33 (0)1 41 16 38 41
Mob : +33 (0)7 62 55 57 05
 http://www.alterway.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Thin provisioning extending while Make template still a bug?

2012-12-23 Thread Maor Lipchuk
Hi Adrián,
Does the template disk allocation policy indicates thin provisioning or
preallocate?

I also didn't found any bug related to it.
Can you please attach VDSM and engine logs.

Thanks,
Maor

On 12/20/2012 11:28 PM, Adrian Gibanel wrote:
 I'm going to describe the bug.
 
 You create a virtual machine with a thin provisioning hard disk.
 
 You select the virtual machine (which it was stopped in my case) and
 click on Make template.
 
 You wait so that it ends but then when checking storage domain you
 notice that your template has the same size as if it was a preallocated
 image!
 I suppose that in some of the cases you can run out of space.
 
   I've been complaining on the irc about what it seemed Manager to
 ignore that the Make template task had finished, I mean just ignore it
 for about 30 minutes and then saying everything it's ok. But... that's
 another history.
   Two irc people stated that usually people ran this bug where the
 virtual machine gets the preallocated size instead of the thin
 provisioning one.
 
 Although they were not quite sure there's supposedly a bug around this
 subject which I couldn't find on bugzilla.
 
 If the bug is as the one as I describe I would be happy to contribute to
 it with my setup details and logs so that you can find whatever makes it
 not happen in my case while most of the people run accross it.
 
 Thank you for any information you can provide.
 
 -- 
 http://www.btactic.com/*Adrián Gibanel*
 I.T. Manager
 
 +34 675 683 301
 www.btactic.com http://btactic.com/
 
 
 *
 Ens podeu seguir a/Nos podeis seguir en:
 
 http://www.facebook.com/pages/btactic/118651634826400?v=app_9953271133
 i http://twitter.com/btactic*
 
 Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi
 ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en el
 medio ambiente. El medio ambiente es cosa de todos.
 
 AVIS:
 El contingut d'aquest missatge i els seus annexos és confidencial. Si no
 en sou el destinatari, us fem saber que està prohibit utilitzar-lo,
 divulgar-lo i/o copiar-lo sense tenir l'autorització corresponent. Si
 heu rebut aquest missatge per error, us agrairem que ho feu saber
 immediatament al remitent i que procediu a destruir el missatge.
 
 AVISO:
 El contenido de este mensaje y de sus anexos es confidencial. Si no es
 el destinatario, les hacemos saber que está prohibido utilizarlo,
 divulgarlo y/o copiarlo sin tener la autorización correspondiente. Si
 han recibido este mensaje por error, les agradeceríamos que lo hagan
 saber inmediatamente al remitente y que procedan a destruir el mensaje.
 
 
 
 ___
 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] Thin provisioning extending while Make template still a bug?

2012-12-23 Thread Dafna Ron
Are you working on NFS storage?

On 12/23/2012 12:08 PM, Maor Lipchuk wrote:
 Hi Adrián,
 Does the template disk allocation policy indicates thin provisioning or
 preallocate?

 I also didn't found any bug related to it.
 Can you please attach VDSM and engine logs.

 Thanks,
 Maor

 On 12/20/2012 11:28 PM, Adrian Gibanel wrote:
 I'm going to describe the bug.

 You create a virtual machine with a thin provisioning hard disk.

 You select the virtual machine (which it was stopped in my case) and
 click on Make template.

 You wait so that it ends but then when checking storage domain you
 notice that your template has the same size as if it was a preallocated
 image!
 I suppose that in some of the cases you can run out of space.

   I've been complaining on the irc about what it seemed Manager to
 ignore that the Make template task had finished, I mean just ignore it
 for about 30 minutes and then saying everything it's ok. But... that's
 another history.
   Two irc people stated that usually people ran this bug where the
 virtual machine gets the preallocated size instead of the thin
 provisioning one.

 Although they were not quite sure there's supposedly a bug around this
 subject which I couldn't find on bugzilla.

 If the bug is as the one as I describe I would be happy to contribute to
 it with my setup details and logs so that you can find whatever makes it
 not happen in my case while most of the people run accross it.

 Thank you for any information you can provide.

 -- 
 http://www.btactic.com/*Adrián Gibanel*
 I.T. Manager

 +34 675 683 301
 www.btactic.com http://btactic.com/


 *
 Ens podeu seguir a/Nos podeis seguir en:

 http://www.facebook.com/pages/btactic/118651634826400?v=app_9953271133
 i http://twitter.com/btactic*

 Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi
 ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en el
 medio ambiente. El medio ambiente es cosa de todos.

 AVIS:
 El contingut d'aquest missatge i els seus annexos és confidencial. Si no
 en sou el destinatari, us fem saber que està prohibit utilitzar-lo,
 divulgar-lo i/o copiar-lo sense tenir l'autorització corresponent. Si
 heu rebut aquest missatge per error, us agrairem que ho feu saber
 immediatament al remitent i que procediu a destruir el missatge.

 AVISO:
 El contenido de este mensaje y de sus anexos es confidencial. Si no es
 el destinatario, les hacemos saber que está prohibido utilizarlo,
 divulgarlo y/o copiarlo sin tener la autorización correspondiente. Si
 han recibido este mensaje por error, les agradeceríamos que lo hagan
 saber inmediatamente al remitente y que procedan a destruir el mensaje.



 ___
 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


Re: [Users] v2v - converting windows VMs

2012-12-23 Thread Itamar Heim

On 12/21/2012 11:12 AM, Alex Leonhardt wrote:

Hi,

Anyone got any clues about this please ? I'm due to convert some Windows
XP and Windows 7 VMs from VMWare to oVirt and would really appreciate if
someone could let me know where to find that Tools CD.


I don't think we have a tools cd for ovirt yet.
matt - what exactly is needed from it though? will the fedora cd be good 
enough?




Thanks
Alex



2012/12/20 Alex Leonhardt alex.t...@gmail.com mailto:alex.t...@gmail.com

Hi,

i've read up about converting Windows VMs and it needs some Guest
Tools CD -


https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest


where can one get that CD/iso image and whatever else is required ?

Alex




___
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] Network reconfiguration in ovirt 3.1

2012-12-23 Thread Alex Leonhardt
I've had the same issue, turns out it resets itself everytime you 
configure the network interfaces *and* although you fix it it wont 
save the config until I saw the tick box (scroll down) to do so ;) ...


Caught me up a couple times and was going to report it as a bug next week.

The solution is not to reset the node, it's to manually reconfigure the 
NIC to have the same / old IP address, the node will come back to live 
which then enables you to re-save the network config by setting it to 
manual and ticking the box ;)


Alex


On 12/21/2012 08:49 AM, Kevin Maziere Aubry wrote:

Hi all

System : Fedora 17
On node :
Libvirt 0.10
Kernel Linux node1 3.6.10-2.fc17.x86_64
Stable VDSM from repo
On manager :
Ovirt 3.1 stable
Kernel Linux ovirt-manager 3.5.4-1.fc17.x86_64


By default the ovirtmgmt interface is created on node as a bridge with 
the same parameters than p1p1. That is good so that you keep network 
working on the node.


I've setup a new tagged network on Ovirt, which I have to add to all 
the node of my cluster.
So I plug this new network on p1p2, do not touch to ovirtmgmt network, 
and apply... and the server is lost.
In fact when reconfiguring the network the ovirtmgmt card is set to 
DHCP, which is the problem.


And the only solution to make vdsm back online, is to reset the 
complete node.


Kévin


--

Kevin Mazière
Responsable Infrastructure
Alter Way -- Hosting
1 rue Royal - 227 Bureaux de la Colline
92213 Saint-Cloud Cedex
Tél : +33 (0)1 41 16 38 41
Mob : +33 (0)7 62 55 57 05
http://www.alterway.fr http://www.alterway.fr/


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


Re: [Users] Thin provisioning extending while Make template still a bug?

2012-12-23 Thread Adrian Gibanel
This is Local Storage right now. 

- Mensaje original -

 De: Dafna Ron d...@redhat.com
 Para: users@ovirt.org
 Enviados: Domingo, 23 de Diciembre 2012 12:48:39
 Asunto: Re: [Users] Thin provisioning extending while Make template
 still a bug?

 Are you working on NFS storage?

 On 12/23/2012 12:08 PM, Maor Lipchuk wrote:
  Hi Adrián,
  Does the template disk allocation policy indicates thin
  provisioning or
  preallocate?
 
  I also didn't found any bug related to it.
  Can you please attach VDSM and engine logs.
 
  Thanks,
  Maor
 
  On 12/20/2012 11:28 PM, Adrian Gibanel wrote:
  I'm going to describe the bug.
 
  You create a virtual machine with a thin provisioning hard disk.
 
  You select the virtual machine (which it was stopped in my case)
  and
  click on Make template.
 
  You wait so that it ends but then when checking storage domain you
  notice that your template has the same size as if it was a
  preallocated
  image!
  I suppose that in some of the cases you can run out of space.
 
  I've been complaining on the irc about what it seemed Manager to
  ignore that the Make template task had finished, I mean just
  ignore it
  for about 30 minutes and then saying everything it's ok. But...
  that's
  another history.
  Two irc people stated that usually people ran this bug where the
  virtual machine gets the preallocated size instead of the thin
  provisioning one.
 
  Although they were not quite sure there's supposedly a bug around
  this
  subject which I couldn't find on bugzilla.
 
  If the bug is as the one as I describe I would be happy to
  contribute to
  it with my setup details and logs so that you can find whatever
  makes it
  not happen in my case while most of the people run accross it.
 
  Thank you for any information you can provide.
 
  --
  http://www.btactic.com/*Adrián Gibanel*
  I.T. Manager
 
  +34 675 683 301
  www.btactic.com http://btactic.com/

-- 

Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 

Ens podeu seguir a/Nos podeis seguir en: 

i 

Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Thin provisioning extending while Make template still a bug?

2012-12-23 Thread Adrian Gibanel
I've just noticed that I made a typo.
This is the right template disk allocation policy table
(The fix is that second hard disk is preallocated instead of being Thin Prov) 

Alias | Virtual Size | Allocation | Target 
First | 1920 GB  | Thin Prov  | local_storage 
Seco  | 1 GB | Preallocat | local_storage 

- Mensaje original - 

 De: Adrian Gibanel adrian.giba...@btactic.com
 Para: users users@ovirt.org
 Enviados: Lunes, 24 de Diciembre 2012 0:45:24
 Asunto: Re: [Users] Thin provisioning extending while Make template
 still a bug?

 1) So... the mentioned bug does exist or am I just experiencing a
 normal oVirt usage (Making a vm from template with thin provisioning
 works ok without extending)?

 2) About template disk allocation policy...

 When I create a new server based on template and I click on:
 Resource Allocation tab:

 Template Provisioning: Clone

 Alias | Virtual Size | Allocation | Target
 First | 1920 GB | Thin Prov | local_storage
 Seco | 1 GB | Thin Prov | local_storage

-- 

-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users