Re: [Users] Problem Creating oVirt Engine

2013-08-13 Thread Sandro Bonazzola
Il 13/08/2013 03:40, Richie@HIP ha scritto:
 Let me throw a couple of Ifs and see what others feel…?
 
 Could it be that VirtualBox AND Parallels cannot handle an oVirtEngine VM…?   
 In other words, oVirtEngine is allergic to both of these…?
 Could it be that oVirtEngine cannot be implemented in a VM…?

No. There is also a feature for having oVirt engine inside a VM on a
host manged by that engine:
http://www.ovirt.org/Features/Self_Hosted_Engine


 Could it be that 4 or 6 Gb of RAM is to little for oVirtEngine…? 

4Gb is the minimum requirement for the RAM.

 I saw some minimum specs for oVirt in the documentation pages in the web 
 Albeit the Minimum RAM was described as 4 Gb., I believe it stated that it 
 should be more. (refer to 
 http://www.ovirt.org/Quick_Start_Guide#Prerequisites - Prerequisites. 
 Could it be that that is the case in a Physical Machine rather than a VM I I 
 can access all the resources and come closer to the prerequisites described 
 before…?
 Could it be that I need to define a Virtual Machine's hard disk size of X 
 amount or more…?

25Gb is the minimum requirement for the HD.

 In my initial trials, I created a VBox VM with 8 Gb HD. and oVirtEngine 
 would't install and Fedora 18 kept showing error messages something like XYZ 
 was without space (can't remember the exact error text)
 I later created the Virtual HD with 15 Gb and oVirtEngine repository stuff 
 installation was possible…!!!

With only 15Gb I think you'll go out of free space quite soon.


 Could it be that the oVirtEngine Adminnistrator Portal needs to do 
 something, maybe in the Postgress database or somewhere else, and is chocking 
 for lack of HD space…?  
 VirtualBox doesn't expand Virtual HDs automatically to well - like Parallel 
 does.  
 I haven't tried my oVirtEngine VM  I began under a Parallels VM to see if I 
 get the same effect (is.e. omer oVirt Portals not opening) - but then all 
 the host machines that I have at hand have 8 Gb Ram and can't be expanded any 
 further to meet the prerequisites defined at 
 http://www.ovirt.org/Quick_Start_Guide#Prerequisites.  
 Any ideas.  In what environment have others implemented oVirtEngine 
 successfully in the past…?
 
 So far, If I can't show oVirt working at least in the management side, all 
 healthcare partners and clients of mine will go with the tried and tested 
 like Microsoft Hyper-V or VMWare. ReHat's version of oVirt it still to 
 expensive and there's little if any RedHat support providers in Puerto Rico.  
 Hence, I'l at a crossroad here and getting this to work is imperative so I 
 can convince people to move to Linux and many will then adopt the commercial 
 edition for support; but only if they can ee that the thing works and can 
 compete with the entrenched and competing solutions.
 
 
 José E (Richie) Piovanetti, MD, MS 
 M: 787-615-4884 | richiepiovane...@healthcareinfopartners.com
 
 
 
 
 
 
 On Aug 12, 2013, at 2:25 AM, Alon Bar-Lev alo...@redhat.com wrote:
 


 - Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Richie@HIP richiepiovane...@healthcareinfopartners.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 6:56:47 AM
 Subject: Re: [Users] Problem Creating oVirt Engine

 On 08/12/2013 04:04 AM, Richie@HIP wrote:
 How would I run the oVirtEngine in Debug Mode…?  Any parameter needs to
 be set..?  Which one…?

 I hope version 3.3 overcomes many of these setup issues.  Pray to the
 almighty.

 I saw alon merged a lot of patches yesterday, so definitely worth trying
 if you can do a clean install with it (from nightly i guess)
 its a brand new installer in 3.3.

 merge - no... submitted.
 but nothing related.



 Richie

 José E (Richie) Piovanetti, MD, MS
 M: 787-615-4884 | richiepiovane...@healthcareinfopartners.com






 On Aug 11, 2013, at 2:49 AM, Yair Zaslavsky yzasl...@redhat.com wrote:



 - Original Message -
 From: Richie@HIP richiepiovane...@healthcareinfopartners.com
 To: Itamar Heim ih...@redhat.com
 Cc: users@ovirt.org
 Sent: Saturday, August 10, 2013 5:41:58 AM
 Subject: Re: [Users] Problem Creating oVirt Engine

 Last week I dove deep into a fiends network and Active Directory
 infrastructure trying to install oVirtEngine with default values.  I was
 able to have AD DHCP recognize the VirtualBox oViertEngine VM and it took
 the better part of three (3) hours to get the DHCP to recognize the
 Name
 of the computer; it would show the IP and MAC address, but with empty
 name.  Finally I discovered that the name of the VM Fedora 18 machine
 had
 to be defines under System Settings  Details   Overview  Device Name;
 t
 had localloop.localdomain and chained to ovirtenine and reotedh P
 showed
 e Name of the  computer.  The DNS entry had to be made by hand since for
 some reason the DHCP lease was not being copied to the DNS database.

 Once both of these (DHCP and DNS where death with, oVirtEngine installed
 as
 documented - without errors and hangs.

 Then I opened the Welcome to oVirt 

Re: [Users] All VMs disappeared

2013-08-13 Thread Itamar Heim

On 08/13/2013 08:50 AM, Jakub Bittner wrote:

Dne 12.8.2013 22:44, Itamar Heim napsal(a):

On 08/12/2013 06:59 PM, Jakub Bittner wrote:

Dne 12.8.2013 14:54, Jakub Bittner napsal(a):

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):

I looked around Noam's patch and that should not cause such behavior.
I am wondering how that lost VM's could happen.

Jakub, can you give a more detailed description what you were doing
with oVirt when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, users@ovirt.org
Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI NullPointerException.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the
exception no
longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the
quotes) in
the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

Hi Jakub,

Could you check through DB or REST-API if the VM's are in your
DB?
select * from vm_static;
or
curl -u admin@internal:blablabla [engine-url]api/vms

It seems Noam fixed this issue already in
c2295c31fa645e1ba1b94cd557bd1fecb40c8829.

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: users@ovirt.org
Sent: Friday, August 9, 2013 1:06:53 PM
Subject: Re: [Users] All VMs disappeared

Dne 9.8.2013 09:48, Jakub Bittner napsal(a):

Hello,

Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs
disappeared from VMs tab. Nodes running on centos too.
Repeating
problem in log is:


2013-08-09 09:44:24,203 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-45) Failed to refresh VDS ,
vds =
7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error =
java.lang.NullPointerException, continuing.:
java.lang.NullPointerException
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237)


[vdsbroker.jar:]

  at
sun.reflect.GeneratedMethodAccessor171.invoke(Unknown
Source) [:1.7.0_25]
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


[rt.jar:1.7.0_25]
  at java.lang.reflect.Method.invoke(Method.java:606)
[rt.jar:1.7.0_25]
  at
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)


[scheduler.jar:]
  at
org.quartz.core.JobRunShell.run(JobRunShell.java:213)
[quartz.jar:]
  at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)


[quartz.jar:]

2013-08-09 09:44:27,039 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-47) Failed to refresh VDS ,
vds =
653e34a6-6b7e-4757-9042-dc02e7a0cddf : node3.x.com, error =
java.lang.NullPointerException, continuing.:
java.lang.NullPointerException
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)


[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383)



[Users] oVirt and Infiniband

2013-08-13 Thread Koch (ovido)
Hi,

Does anyone have oVirt (or a plain KVM hypervisor) running on Infiniband
where the virtual machines are bridged to an Infiniband interface (with
EoIB kernel module)?

I'm having issues in such a setup where vms can't communicate over this
bridge...


Regards,
René



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


Re: [Users] All VMs disappeared

2013-08-13 Thread Jakub Bittner

Dne 13.8.2013 15:39, Itamar Heim napsal(a):

On 08/13/2013 08:50 AM, Jakub Bittner wrote:

Dne 12.8.2013 22:44, Itamar Heim napsal(a):

On 08/12/2013 06:59 PM, Jakub Bittner wrote:

Dne 12.8.2013 14:54, Jakub Bittner napsal(a):

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):
I looked around Noam's patch and that should not cause such 
behavior.

I am wondering how that lost VM's could happen.

Jakub, can you give a more detailed description what you were doing
with oVirt when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, users@ovirt.org
Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI 
NullPointerException.


Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the
exception no
longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the
quotes) in
the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

Hi Jakub,

Could you check through DB or REST-API if the VM's are in your
DB?
select * from vm_static;
or
curl -u admin@internal:blablabla [engine-url]api/vms

It seems Noam fixed this issue already in
c2295c31fa645e1ba1b94cd557bd1fecb40c8829.

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: users@ovirt.org
Sent: Friday, August 9, 2013 1:06:53 PM
Subject: Re: [Users] All VMs disappeared

Dne 9.8.2013 09:48, Jakub Bittner napsal(a):

Hello,

Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs
disappeared from VMs tab. Nodes running on centos too.
Repeating
problem in log is:


2013-08-09 09:44:24,203 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-45) Failed to refresh VDS ,
vds =
7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error =
java.lang.NullPointerException, continuing.:
java.lang.NullPointerException
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313) 




[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968) 




[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542) 




[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383) 




[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237) 




[vdsbroker.jar:]

  at
sun.reflect.GeneratedMethodAccessor171.invoke(Unknown
Source) [:1.7.0_25]
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 




[rt.jar:1.7.0_25]
  at java.lang.reflect.Method.invoke(Method.java:606)
[rt.jar:1.7.0_25]
  at
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 




[scheduler.jar:]
  at
org.quartz.core.JobRunShell.run(JobRunShell.java:213)
[quartz.jar:]
  at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 




[quartz.jar:]

2013-08-09 09:44:27,039 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-47) Failed to refresh VDS ,
vds =
653e34a6-6b7e-4757-9042-dc02e7a0cddf : node3.x.com, error =
java.lang.NullPointerException, continuing.:
java.lang.NullPointerException
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313) 




[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968) 




[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542) 




[vdsbroker.jar:]
  at

Re: [Users] All VMs disappeared

2013-08-13 Thread Itamar Heim

On 08/13/2013 05:31 PM, Jakub Bittner wrote:

Dne 13.8.2013 15:39, Itamar Heim napsal(a):

On 08/13/2013 08:50 AM, Jakub Bittner wrote:

Dne 12.8.2013 22:44, Itamar Heim napsal(a):

On 08/12/2013 06:59 PM, Jakub Bittner wrote:

Dne 12.8.2013 14:54, Jakub Bittner napsal(a):

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):

I looked around Noam's patch and that should not cause such
behavior.
I am wondering how that lost VM's could happen.

Jakub, can you give a more detailed description what you were doing
with oVirt when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, users@ovirt.org
Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI
NullPointerException.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the
exception no
longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the
quotes) in
the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

Hi Jakub,

Could you check through DB or REST-API if the VM's are in your
DB?
select * from vm_static;
or
curl -u admin@internal:blablabla [engine-url]api/vms

It seems Noam fixed this issue already in
c2295c31fa645e1ba1b94cd557bd1fecb40c8829.

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: users@ovirt.org
Sent: Friday, August 9, 2013 1:06:53 PM
Subject: Re: [Users] All VMs disappeared

Dne 9.8.2013 09:48, Jakub Bittner napsal(a):

Hello,

Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs
disappeared from VMs tab. Nodes running on centos too.
Repeating
problem in log is:


2013-08-09 09:44:24,203 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-45) Failed to refresh VDS ,
vds =
7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error =
java.lang.NullPointerException, continuing.:
java.lang.NullPointerException
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)



[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)



[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)



[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383)



[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237)



[vdsbroker.jar:]

  at
sun.reflect.GeneratedMethodAccessor171.invoke(Unknown
Source) [:1.7.0_25]
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)



[rt.jar:1.7.0_25]
  at java.lang.reflect.Method.invoke(Method.java:606)
[rt.jar:1.7.0_25]
  at
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)



[scheduler.jar:]
  at
org.quartz.core.JobRunShell.run(JobRunShell.java:213)
[quartz.jar:]
  at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)



[quartz.jar:]

2013-08-09 09:44:27,039 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-47) Failed to refresh VDS ,
vds =
653e34a6-6b7e-4757-9042-dc02e7a0cddf : node3.x.com, error =
java.lang.NullPointerException, continuing.:
java.lang.NullPointerException
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)



[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)



[vdsbroker.jar:]
  at
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)



[vdsbroker.jar:]
  at

Re: [Users] All VMs disappeared

2013-08-13 Thread Laszlo Hornyak
Ahoj Jakub,

Just one more idea: could you turn statement logging on in postgresql before 
you try again?
It is in /var/lib/pgsql/data/postgresql.conf 
log_statement = 'all'


- Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: Itamar Heim ih...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, August 13, 2013 5:20:29 PM
 Subject: Re: [Users] All VMs disappeared
 
 Dne 13.8.2013 17:02, Itamar Heim napsal(a):
  On 08/13/2013 05:31 PM, Jakub Bittner wrote:
  Dne 13.8.2013 15:39, Itamar Heim napsal(a):
  On 08/13/2013 08:50 AM, Jakub Bittner wrote:
  Dne 12.8.2013 22:44, Itamar Heim napsal(a):
  On 08/12/2013 06:59 PM, Jakub Bittner wrote:
  Dne 12.8.2013 14:54, Jakub Bittner napsal(a):
  Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):
  I looked around Noam's patch and that should not cause such
  behavior.
  I am wondering how that lost VM's could happen.
 
  Jakub, can you give a more detailed description what you were
  doing
  with oVirt when this happened? Maybe the bug is still there.
 
  Thank you,
  Laszlo
 
  - Original Message -
  From: Greg Sheremeta gsher...@redhat.com
  To: Laszlo Hornyak lhorn...@redhat.com
  Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
  nslom...@redhat.com, users@ovirt.org
  Sent: Monday, August 12, 2013 1:23:40 PM
  Subject: Re: [Users] All VMs disappeared
 
  Not the one I fixed, 987907. It was a simple UI
  NullPointerException.
 
  Greg
 
 
  - Original Message -
  From: Laszlo Hornyak lhorn...@redhat.com
  To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
  nslom...@redhat.com, Greg Sheremeta
  gsher...@redhat.com
  Cc: users@ovirt.org
  Sent: Monday, August 12, 2013 7:21:26 AM
  Subject: Re: [Users] All VMs disappeared
 
  Well if they are no longer in DB then that explains why the
  exception no
  longer occurs, but at the cost of database corruption.
  Noam and Greg, can these bugs cause data corruption?
 
  Thank you,
  Laszlo
 
  - Original Message -
  From: Jakub Bittner j.bitt...@nbu.cz
  To: Greg Sheremeta gsher...@redhat.com
  Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
  Sent: Monday, August 12, 2013 9:05:09 AM
  Subject: Re: [Users] All VMs disappeared
 
  Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):
  It could also be this bug[1], for which I just submitted a
  fix.
 
  [1] https://bugzilla.redhat.com/show_bug.cgi?id=987907
 
  You can work around it by typing just VMs: (without the
  quotes) in
  the
  search bar.
 
  Greg
 
 
  - Original Message -
  From: Laszlo Hornyak lhorn...@redhat.com
  To: Jakub Bittner j.bitt...@nbu.cz
  Cc: users@ovirt.org
  Sent: Friday, August 9, 2013 11:21:26 AM
  Subject: Re: [Users] All VMs disappeared
 
  Hi Jakub,
 
  Could you check through DB or REST-API if the VM's are in
  your
  DB?
  select * from vm_static;
  or
  curl -u admin@internal:blablabla [engine-url]api/vms
 
  It seems Noam fixed this issue already in
  c2295c31fa645e1ba1b94cd557bd1fecb40c8829.
 
  Thank you,
  Laszlo
 
  - Original Message -
  From: Jakub Bittner j.bitt...@nbu.cz
  To: users@ovirt.org
  Sent: Friday, August 9, 2013 1:06:53 PM
  Subject: Re: [Users] All VMs disappeared
 
  Dne 9.8.2013 09:48, Jakub Bittner napsal(a):
  Hello,
 
  Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs
  disappeared from VMs tab. Nodes running on centos too.
  Repeating
  problem in log is:
 
 
  2013-08-09 09:44:24,203 WARN
  [org.ovirt.engine.core.vdsbroker.VdsManager]
  (DefaultQuartzScheduler_Worker-45) Failed to refresh VDS ,
  vds =
  7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error =
  java.lang.NullPointerException, continuing.:
  java.lang.NullPointerException
at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)
 
 
 
 
  [vdsbroker.jar:]
at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)
 
 
 
 
  [vdsbroker.jar:]
at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)
 
 
 
 
  [vdsbroker.jar:]
at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383)
 
 
 
 
  [vdsbroker.jar:]
at
  org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237)
 
 
 
 
  [vdsbroker.jar:]
 
at
  sun.reflect.GeneratedMethodAccessor171.invoke(Unknown
  Source) [:1.7.0_25]
at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
 
 
 
  [rt.jar:1.7.0_25]
at
  java.lang.reflect.Method.invoke(Method.java:606)
  [rt.jar:1.7.0_25]
at
  org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)
 
 
 
 
  [scheduler.jar:]
at
  org.quartz.core.JobRunShell.run(JobRunShell.java:213)
  [quartz.jar:]
at
  org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
 
 
 
 
  

Re: [Users] virt-v2v import needs saslauth credentials

2013-08-13 Thread Richard W.M. Jones
On Mon, Aug 12, 2013 at 04:49:02PM -0400, Jim Kinney wrote:
 I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
 it's corresponding xml. I'm trying to run virt-v2v to put things into the
 proper formats/places for ovirt but I need to use my proper credentials to
 access the qemu:///system space.
 
 Where/how do I do this? man pages have no suggestions on virt-v2v. I have a
 user/passwd combo in saslauth that works for virsh.
 
 virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
 /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
 virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
 message: authentication failed: Failed to step SASL negotiation: -7
 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)

This is really a libvirt question, to which I don't know the answer.

Complex libvirt authentication (such as SASL) may ask the user a
series of questions, such as username and password.  Are you running
virt-v2v interactively at a terminal?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v import needs saslauth credentials

2013-08-13 Thread Richard W.M. Jones
On Mon, Aug 12, 2013 at 05:26:54PM -0400, Jim Kinney wrote:
 On trying the import in ovirt after the completion of the conversion using
 -o rhev -os ip:/var/lib/exports/exports ..., I found an error in the
 vdsm.log:
 
 Thread-199989::ERROR::2013-08-12
 15:10:57,371::task::833::TaskManager.Task::(_setError)
 Task=`6fa2a23e-0194-4f67-b157-a3f831780d12`::Unexpected error
 Traceback (most recent call last):
   File /usr/share/vdsm/storage/task.py, line 840, in _run
 return fn(*args, **kargs)
   File /usr/share/vdsm/logUtils.py, line 42, in wrapper
 res = f(*args, **kwargs)
   File /usr/share/vdsm/storage/hsm.py, line 2891, in getVolumeInfo
 imgUUID=imgUUID, volUUID=volUUID).getInfo()
   File /usr/share/vdsm/storage/fileSD.py, line 250, in produceVolume
 return fileVolume.FileVolume(repoPath, self.sdUUID, imgUUID, volUUID)
   File /usr/share/vdsm/storage/fileVolume.py, line 71, in __init__
 volume.Volume.__init__(self, repoPath, sdUUID, imgUUID, volUUID)
   File /usr/share/vdsm/storage/volume.py, line 128, in __init__
 self.validate()
   File /usr/share/vdsm/storage/volume.py, line 140, in validate
 self.validateImagePath()
   File /usr/share/vdsm/storage/fileVolume.py, line 522, in
 validateImagePath
 raise se.ImagePathError(imageDir)
 ImagePathError: Image path does not exist or cannot be accessed/created:
 ('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)

What happens if you do:

qemu-img info 
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b

Rich.

 I have setenforce=0 with same result.
 So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain number
 for the entire process in exports. The 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b
 was the name of the dir created from the virt-v2v process.
 
 The ovirt import gui provides this error:
 Error while executing action: Cannot import VM. VM's Image does not exist.
 
 I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported
 format error).
 
 
 
 On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney jim.kin...@gmail.com wrote:
 
  I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
  it's corresponding xml. I'm trying to run virt-v2v to put things into the
  proper formats/places for ovirt but I need to use my proper credentials to
  access the qemu:///system space.
 
  Where/how do I do this? man pages have no suggestions on virt-v2v. I have
  a user/passwd combo in saslauth that works for virsh.
 
  virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
  /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
  virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
  message: authentication failed: Failed to step SASL negotiation: -7
  (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
 
  --
  --
  James P. Kinney III
  *
  *Every time you stop a school, you will have to build a jail. What you
  gain at one end you lose at the other. It's like feeding a dog on his own
  tail. It won't fatten the dog.
  - Speech 11/23/1900 Mark Twain
  *
  http://heretothereideas.blogspot.com/
  *
 
 
 
 
 -- 
 -- 
 James P. Kinney III
 *
 *Every time you stop a school, you will have to build a jail. What you gain
 at one end you lose at the other. It's like feeding a dog on his own tail.
 It won't fatten the dog.
 - Speech 11/23/1900 Mark Twain
 *
 http://heretothereideas.blogspot.com/
 *

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


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v import needs saslauth credentials

2013-08-13 Thread Daniel P. Berrange
On Tue, Aug 13, 2013 at 05:34:29PM +0100, Richard W.M. Jones wrote:
 On Mon, Aug 12, 2013 at 04:49:02PM -0400, Jim Kinney wrote:
  I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
  it's corresponding xml. I'm trying to run virt-v2v to put things into the
  proper formats/places for ovirt but I need to use my proper credentials to
  access the qemu:///system space.
  
  Where/how do I do this? man pages have no suggestions on virt-v2v. I have a
  user/passwd combo in saslauth that works for virsh.
  
  virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
  /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
  virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
  message: authentication failed: Failed to step SASL negotiation: -7
  (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
 
 This is really a libvirt question, to which I don't know the answer.
 
 Complex libvirt authentication (such as SASL) may ask the user a
 series of questions, such as username and password.  Are you running
 virt-v2v interactively at a terminal?

More importantly does virt-v2v use the virConnectOpenAuth() method
which enables callbacks to be provided to prompt for auth ? If not,
then it'll need to be updated to support authentication.

Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v import needs saslauth credentials

2013-08-13 Thread Richard W.M. Jones
On Tue, Aug 13, 2013 at 05:50:38PM +0100, Daniel P. Berrange wrote:
 More importantly does virt-v2v use the virConnectOpenAuth() method
 which enables callbacks to be provided to prompt for auth ? If not,
 then it'll need to be updated to support authentication.

Yes it does:

https://git.fedorahosted.org/cgit/virt-v2v.git/tree/lib/Sys/VirtConvert/Connection/LibVirt.pm#n101

That code seems to answer the original question, although it doesn't
seem to be documented.  It looks as if the username comes from the
libvirt URI (ie. -oc option, I'm not sure exactly how it's encoded)
and the password comes from ~/.netrc (must be mode 0600).

Probably best to ask Matt about this one.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v import needs saslauth credentials

2013-08-13 Thread Jim Kinney
qemu-img info
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f
image:
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f
file format: raw
virtual size: 3.0G (3221225472 bytes)
disk size: 1.1G


Different dirs as I'm trying various combos with same failure to import.
But the qemu-img data is good.

ll
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f
-rw-rw. 1 vdsm kvm 3221225472 Aug  9 17:37
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f



On Tue, Aug 13, 2013 at 12:35 PM, Richard W.M. Jones rjo...@redhat.comwrote:

 On Mon, Aug 12, 2013 at 05:26:54PM -0400, Jim Kinney wrote:
  On trying the import in ovirt after the completion of the conversion
 using
  -o rhev -os ip:/var/lib/exports/exports ..., I found an error in the
  vdsm.log:
 
  Thread-199989::ERROR::2013-08-12
  15:10:57,371::task::833::TaskManager.Task::(_setError)
  Task=`6fa2a23e-0194-4f67-b157-a3f831780d12`::Unexpected error
  Traceback (most recent call last):
File /usr/share/vdsm/storage/task.py, line 840, in _run
  return fn(*args, **kargs)
File /usr/share/vdsm/logUtils.py, line 42, in wrapper
  res = f(*args, **kwargs)
File /usr/share/vdsm/storage/hsm.py, line 2891, in getVolumeInfo
  imgUUID=imgUUID, volUUID=volUUID).getInfo()
File /usr/share/vdsm/storage/fileSD.py, line 250, in produceVolume
  return fileVolume.FileVolume(repoPath, self.sdUUID, imgUUID, volUUID)
File /usr/share/vdsm/storage/fileVolume.py, line 71, in __init__
  volume.Volume.__init__(self, repoPath, sdUUID, imgUUID, volUUID)
File /usr/share/vdsm/storage/volume.py, line 128, in __init__
  self.validate()
File /usr/share/vdsm/storage/volume.py, line 140, in validate
  self.validateImagePath()
File /usr/share/vdsm/storage/fileVolume.py, line 522, in
  validateImagePath
  raise se.ImagePathError(imageDir)
  ImagePathError: Image path does not exist or cannot be accessed/created:
 
 ('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)

 What happens if you do:

 qemu-img info
 /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b

 Rich.

  I have setenforce=0 with same result.
  So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain
 number
  for the entire process in exports. The
 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b
  was the name of the dir created from the virt-v2v process.
 
  The ovirt import gui provides this error:
  Error while executing action: Cannot import VM. VM's Image does not
 exist.
 
  I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported
  format error).
 
 
 
  On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney jim.kin...@gmail.com
 wrote:
 
   I need to convert a vmdk to ovirt use. I have a qcow2 formatted image
 and
   it's corresponding xml. I'm trying to run virt-v2v to put things into
 the
   proper formats/places for ovirt but I need to use my proper
 credentials to
   access the qemu:///system space.
  
   Where/how do I do this? man pages have no suggestions on virt-v2v. I
 have
   a user/passwd combo in saslauth that works for virsh.
  
   virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n
 ovirtmgmt
  
 /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
   virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
   message: authentication failed: Failed to step SASL negotiation: -7
   (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt
 result)
  
   --
   --
   James P. Kinney III
   *
   *Every time you stop a school, you will have to build a jail. What you
   gain at one end you lose at the other. It's like feeding a dog on his
 own
   tail. It won't fatten the dog.
   - Speech 11/23/1900 Mark Twain
   *
   http://heretothereideas.blogspot.com/
   *
  
 
 
 
  --
  --
  James P. Kinney III
  *
  *Every time you stop a school, you will have to build a jail. What you
 gain
  at one end you lose at the other. It's like feeding a dog on his own
 tail.
  It won't fatten the dog.
  - Speech 11/23/1900 Mark Twain
  *
  http://heretothereideas.blogspot.com/
  *

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


 --
 Richard Jones, Virtualization Group, Red Hat
 http://people.redhat.com/~rjones
 Fedora Windows cross-compiler. Compile Windows 

Re: [Users] message about excessive bounces

2013-08-13 Thread Itamar Heim

On 08/12/2013 12:54 PM, Gianluca Cecchi wrote:

Hello,
I just received a mail about what in subject ..

Your membership in the mailing list Users has been disabled due to
excessive bounces

I re-enabled my membership in the mean time.
Just to know if it is actually a problem of mine (aka gmail and no
configuration change at all) or list related.
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



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