Re: [Users] All VMs disappeared

2013-09-23 Thread Yair Zaslavsky


- Original Message -
 From: Frank Wall f...@moov.de
 To: Yair Zaslavsky yzasl...@redhat.com
 Cc: users@ovirt.org
 Sent: Sunday, September 22, 2013 10:32:42 PM
 Subject: Re: [Users] All VMs disappeared
 
 Hi Yair,
 
 On 15.09.2013 21:19, Yair Zaslavsky wrote:
  I verified that commit c54353b11fb9ac2cb59cbc3e04b58e9114cbecba solved
  this issue as well.
 
 I can confirm that the issue is solved. Thank you!
 
 ovirt-engine-3.3.0-4.fc19.noarch
 ovirt-engine-backend-3.3.0-4.fc19.noarch
 ovirt-engine-cli-3.3.0.4-1.20130829.git5ae0f2c.fc19.noarch
 ovirt-engine-dbscripts-3.3.0-4.fc19.noarch
 ovirt-engine-lib-3.3.0-4.fc19.noarch
 ovirt-engine-restapi-3.3.0-4.fc19.noarch
 ovirt-engine-sdk-python-3.3.0.6-1.fc19.noarch
 ovirt-engine-setup-3.3.0-4.fc19.noarch
 ovirt-engine-setup-plugin-allinone-3.3.0-4.fc19.noarch
 ovirt-engine-tools-3.3.0-4.fc19.noarch
 ovirt-engine-userportal-3.3.0-4.fc19.noarch
 ovirt-engine-webadmin-portal-3.3.0-4.fc19.noarch
 ovirt-host-deploy-1.1.1-1.fc19.noarch
 ovirt-host-deploy-java-1.1.1-1.fc19.noarch
 ovirt-host-deploy-offline-1.1.1-1.fc19.noarch
 ovirt-image-uploader-3.3.0-1.fc19.noarch
 ovirt-iso-uploader-3.3.0-1.fc19.noarch
 ovirt-log-collector-3.3.0-1.fc19.noarch
 
 
 Thanks
 - Frank

Thank you frank for your assistance on this issue and providing us clear 
reproducer.
With you help we were able to track down this issue more efficiently.

Cheers,
Yair

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


Re: [Users] All VMs disappeared

2013-09-22 Thread Frank Wall

Hi Yair,

On 15.09.2013 21:19, Yair Zaslavsky wrote:

I verified that commit c54353b11fb9ac2cb59cbc3e04b58e9114cbecba solved
this issue as well.


I can confirm that the issue is solved. Thank you!

ovirt-engine-3.3.0-4.fc19.noarch
ovirt-engine-backend-3.3.0-4.fc19.noarch
ovirt-engine-cli-3.3.0.4-1.20130829.git5ae0f2c.fc19.noarch
ovirt-engine-dbscripts-3.3.0-4.fc19.noarch
ovirt-engine-lib-3.3.0-4.fc19.noarch
ovirt-engine-restapi-3.3.0-4.fc19.noarch
ovirt-engine-sdk-python-3.3.0.6-1.fc19.noarch
ovirt-engine-setup-3.3.0-4.fc19.noarch
ovirt-engine-setup-plugin-allinone-3.3.0-4.fc19.noarch
ovirt-engine-tools-3.3.0-4.fc19.noarch
ovirt-engine-userportal-3.3.0-4.fc19.noarch
ovirt-engine-webadmin-portal-3.3.0-4.fc19.noarch
ovirt-host-deploy-1.1.1-1.fc19.noarch
ovirt-host-deploy-java-1.1.1-1.fc19.noarch
ovirt-host-deploy-offline-1.1.1-1.fc19.noarch
ovirt-image-uploader-3.3.0-1.fc19.noarch
ovirt-iso-uploader-3.3.0-1.fc19.noarch
ovirt-log-collector-3.3.0-1.fc19.noarch


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


Re: [Users] All VMs disappeared

2013-09-20 Thread Michael McConachie
Hi community.

Centos 6.4 w/Ovirt 3.3.0-0.5.rc.el6.

I have been having the same issue for a few months.  (I thought it was 
just me.)  For me, when I reboot, atleast ~50% of my VMs are gone.  When I 
drill down to check the disks associated with the missing VMS them all 
show illegal states.

I thought it might be hardware related so I replaced all my disks, and 
still have the same issue each time I reboot.  It's gotten so bad that 
that before complete my patch/maint window by rebooting to test updates -- 
I have to export all the disks to an external LUN just to make sure, and 
then detach it from oVirt.  I then re-import that LUN as an export share 
(via NFS) to get themn back into the system. 

Very very strange.  Anyways, it till happens to me being fully upated as 
of 9/20/2013.

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


Re: [Users] All VMs disappeared

2013-09-20 Thread Itamar Heim

On 09/20/2013 07:29 PM, Michael McConachie wrote:

Hi community.

Centos 6.4 w/Ovirt 3.3.0-0.5.rc.el6.

I have been having the same issue for a few months.  (I thought it was
just me.)  For me, when I reboot, atleast ~50% of my VMs are gone.  When I
drill down to check the disks associated with the missing VMS them all
show illegal states.

I thought it might be hardware related so I replaced all my disks, and
still have the same issue each time I reboot.  It's gotten so bad that
that before complete my patch/maint window by rebooting to test updates --
I have to export all the disks to an external LUN just to make sure, and
then detach it from oVirt.  I then re-import that LUN as an export share
(via NFS) to get themn back into the system.

Very very strange.  Anyways, it till happens to me being fully upated as
of 9/20/2013.


this is a (sadly) known issue in 3.3 beta.
it's supposed to be fixed for GA.
please make sure you are using the correct repo.
the GA version is 3.3.0-4.el6.

reminder to upgrade by re-running engine-setup, not only yum update.

thanks,
   Itamar



___
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] All VMs disappeared

2013-09-16 Thread Itamar Heim

On 09/15/2013 10:19 PM, Yair Zaslavsky wrote:



- Original Message -

From: Frank Wall f...@moov.de
To: users@ovirt.org
Sent: Tuesday, August 27, 2013 12:40:06 AM
Subject: Re: [Users] All VMs disappeared

On 09.08.2013 09:48, Jakub Bittner wrote:

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:


I have the same problem, but with a slightly different setup:

- fresh install of Fedora 19 (all updates installed)
- fresh install of oVirt 3.3 RC (no upgrade)
- All-in-One setup with only local storage
- VMs installed from scratch (no import)
- VM/node/engine uptime was about 22 hours before reboot

Now the problem is very the same as reported by Jakub:
Every time I reboot ovirt-engine the VMs will disappear. No matter what
I do before rebooting ovirt-engine - set storage to maintenance, set
host to maintenance - it's always the same.

One interesting thing to note: Only VMs created from my custom template
will disappear! If I create a VM from the blank template, it will NOT
disappear.


Hi frank,
I verified that commit c54353b11fb9ac2cb59cbc3e04b58e9114cbecba solved this 
issue as well.


also worth mentioning this was fixed for 3.3 GA prior to its release.





Of course, the VM Disks can still be found in the filesystem, but it's a
nightmare trying to guess what disk should be attached to what VM... I
consider these VMs lost, since it's (fortunately) my test server, but
still a day of work is lost.

Here are some interesting log entries from engine startup AFTER REBOOT:

2013-08-26 23:03:20,479 INFO
[org.ovirt.engine.core.bll.AsyncTaskManager] (pool-6-thread-7) Failing
task with empty vdsm id AsyncTaskType copyImage : Task
7fa218c7-14c3-4a7f-97e8-341f18c6cb3d Parent Command AddVmFromTemplate

2013-08-26 23:03:20,497 INFO
[org.ovirt.engine.core.bll.AsyncTaskManager] (pool-6-thread-7) Calling
updateTask for task with out vdsm id and AsyncTaskType copyImage : Task
7fa218c7-14c3-4a7f-97e8-341f18c6cb3d Parent Command AddVmFromTemplate
Parameters class {3}

2013-08-26 23:03:20,506 INFO
[org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-7)
CommandAsyncTask::Adding CommandMultiAsyncTasks object for command
4202990d-e85f-4935-a91b-a832bc8582cc

2013-08-26 23:03:20,787 INFO
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (pool-6-thread-7)
[10025b02] Lock Acquired to object EngineLock [exclusiveLocks= key:
vm1.example.com value: VM_NAME

2013-08-26 23:03:20,788 INFO
[org.ovirt.engine.core.bll.CommandMultiAsyncTasks] (pool-6-thread-7)
[10025b02] CommandMultiAsyncTasks::AttachTask: Attaching task
---- to command
4202990d-e85f-4935-a91b-a832bc8582cc.

2013-08-26 23:03:20,796 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask]
(pool-6-thread-7) [10025b02] BaseAsyncTask::LogEndTaskFailure: Task
---- (Parent Command AddVmFromTemplate,
Parameters Type
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with
failure:

2013-08-26 23:03:20,805 INFO
[org.ovirt.engine.core.bll.CommandMultiAsyncTasks] (pool-6-thread-7)
[10025b02] task with DB task ID ---- has
   empty vdsm  task ID and is about to be cleared

2013-08-26 23:03:20,806 INFO
[org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-7)
[10025b02] CommandAsyncTask::EndActionIfNecessary: All tasks of command
4202990d-e85f-4935-a91b-a832bc8582cc has ended - executing EndAction

2013-08-26 23:03:20,807 INFO
[org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-7)
[10025b02] CommandAsyncTask::EndAction: Ending action for 1 tasks
(command ID: 4202990d-e85f-4935-a91b-a832bc8582cc): calling EndAction .

Needless to say that I'm ABSOLUTELY SURE the template-copy tasks
actually did succeed before rebooting, as I was using the VMs,
installing software, rebooting, ... they were all running fine for 22
hours!

These messages exist for every missing VM. A show-stopper for 3.3 if you
ask me :-/


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


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



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


Re: [Users] All VMs disappeared

2013-09-07 Thread Yair Zaslavsky


- Original Message -
 From: Frank Wall f...@moov.de
 To: users@ovirt.org
 Sent: Tuesday, August 27, 2013 2:47:28 PM
 Subject: Re: [Users] All VMs disappeared
 
 On 26.08.2013 23:40, Frank Wall wrote:
  Every time I reboot ovirt-engine the VMs will disappear. No matter
  what I do before rebooting ovirt-engine - set storage to maintenance,
  set host to maintenance - it's always the same.
 
 On IRC #ovirt I was asked to have a look at the async_tasks table
 while cloning a VM from a template. An entry is created in this table,
 but the vdsm_id is incorrect:
 
 engine=# select task_id,action_type,status,vdsm_task_id from
 async_tasks;
   6fa81c23-6f64-444c-bab0-f178fa9233d5 |   2 |  2 |
 ----

vdsm_task_id should not be zero for a long time. Once VDSM creates the 
relevant task, it should return engine the vdsm task id, and engine should 
update it in db.
If you can compile/check from source - see http://gerrit.ovirt.org/#/c/17582/ - 
this should solve this issue.

Yair


 
 Maybe this empty vdsm_id is related to the disappearing vm issue?
 
 
 Thanks
 - Frank
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-09-06 Thread Frank Wall

Hi Andrew,

On 06.09.2013 03:42, Andrew Lau wrote:

Just for reference how'd you empty the async_tasks?


on my oVirt engine I use the following steps to empty async_tasks:


aio:~# su -l postgres

-bash-4.2$ psql
psql (9.2.4)

postgres=# \c engine

engine=# select task_id from async_tasks;
 task_id
-
[...should return one or more rows...]

engine=# delete from async_tasks;


Please make sure that all tasks completed before removing these rows.


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


Re: [Users] All VMs disappeared

2013-09-05 Thread Andrew Lau
I ran into the same issue when importing VMs into oVirt 3.2, assigning them
permissions to a user such as admin would allow them to survive the reboot
and not disappear. In 3.3 that does not seem to be the case. I opened a BZ
but I think it got closed.

Just for reference how'd you empty the async_tasks?

Andrew.

On Tue, Aug 27, 2013 at 10:44 PM, Frank Wall f...@moov.de wrote:

 Hi Laszlo,


 On 27.08.2013 14:24, Laszlo Hornyak wrote:

 If I understand correctly, this is what happens to your installation,
 the AddVmFromTemplate command goes to fail and engine tries to
 compensate, and upon successful compensation you get VM records
 removed from DB and storage cleaned up.


 just to be sure, please note, that the task actually completed
 successfully from my point of view. The new VM (direved from the template
 clone task) is fully usable and on the webadmin the task is shown as
 completed.

 So maybe at some point in time the engine does get the job status wrong
 and the problem begins...


  I need to look into this but I think it should be safe to remove this
 record while the engine is down. Make sure to make a backup if you
 try!


 OK, I did the following test:

 - created a new VM from my custom template (with cloned Disk)
 - waited for the job to complete
 - manually deleted the related DB entry from the table async_tasks
 - set host/node to maintenance
 - rebootet engine

 Result: The VM did NOT disappear! :-)

 I think somehow ovirt-engine does get the results of the job wrong, thus
 it does not recognize that the job completed *successfully* and does a
 retry after reboot (which fails horribly and leads to disappearing VMs).



 Thanks
 - Frank

 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] All VMs disappeared

2013-09-04 Thread Laszlo Hornyak
Hi Frank,

I was working on some priority tasks, but I am trying to save some time to 
identify the root cause of the problem this week. I do have some idea for the 
reason of the error but I did not sort out which one is right and which is 
wrong.

Can you help me with
- vdsm log
- engine log from startup
- the content of async_tasks table before engien startup (dump would be great)

Thank you,
Laszlo

- Original Message -
 From: Frank Wall f...@moov.de
 To: users@ovirt.org
 Cc: Laszlo Hornyak lhorn...@redhat.com
 Sent: Tuesday, September 3, 2013 9:00:24 PM
 Subject: Re: [Users] All VMs disappeared
 
 Hi Laszlo,
 
 On 27.08.2013 16:01, Laszlo Hornyak wrote:
  Thank you Frank, I will investigate this issue.
 
 any update on this issue? It's 100% reproducible, even on a new
 installed RC2 host.
 
 
 Thanks
 - Frank
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-08-29 Thread Laszlo Hornyak
Liron, looks like you were right and it was not the business_entities_snapshot 
but the async_tasks that caused the data loss. I hope there are no more of 
these :) Can you help to figure out how the import operation could have failed 
in this way? Is there a BZ for this already?

Thank you,
Laszlo

- Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Wednesday, August 28, 2013 5:12:23 PM
 Subject: Re: [Users] All VMs disappeared
 
 Dne 27.8.2013 16:01, Laszlo Hornyak napsal(a):
  Thank you Frank, I will investigate this issue.
 
  - Original Message -
  From: Frank Wall f...@moov.de
  To: users@ovirt.org
  Sent: Tuesday, August 27, 2013 2:44:44 PM
  Subject: Re: [Users] All VMs disappeared
 
  Hi Laszlo,
 
  On 27.08.2013 14:24, Laszlo Hornyak wrote:
  If I understand correctly, this is what happens to your installation,
  the AddVmFromTemplate command goes to fail and engine tries to
  compensate, and upon successful compensation you get VM records
  removed from DB and storage cleaned up.
  just to be sure, please note, that the task actually completed
  successfully from my point of view. The new VM (direved from the
  template clone task) is fully usable and on the webadmin the task is
  shown as completed.
 
  So maybe at some point in time the engine does get the job status wrong
  and the problem begins...
 
  I need to look into this but I think it should be safe to remove this
  record while the engine is down. Make sure to make a backup if you
  try!
  OK, I did the following test:
 
  - created a new VM from my custom template (with cloned Disk)
  - waited for the job to complete
  - manually deleted the related DB entry from the table async_tasks
  - set host/node to maintenance
  - rebootet engine
 
  Result: The VM did NOT disappear! :-)
 
  I think somehow ovirt-engine does get the results of the job wrong, thus
  it does not recognize that the job completed *successfully* and does a
  retry after reboot (which fails horribly and leads to disappearing VMs).
 
 
  Thanks
  - Frank
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 Hi,
 
 I manually deleted async_tasks and I dont have problem with disappearing
 of VMs. Thanks
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-08-28 Thread Jakub Bittner

Dne 27.8.2013 16:01, Laszlo Hornyak napsal(a):

Thank you Frank, I will investigate this issue.

- Original Message -

From: Frank Wall f...@moov.de
To: users@ovirt.org
Sent: Tuesday, August 27, 2013 2:44:44 PM
Subject: Re: [Users] All VMs disappeared

Hi Laszlo,

On 27.08.2013 14:24, Laszlo Hornyak wrote:

If I understand correctly, this is what happens to your installation,
the AddVmFromTemplate command goes to fail and engine tries to
compensate, and upon successful compensation you get VM records
removed from DB and storage cleaned up.

just to be sure, please note, that the task actually completed
successfully from my point of view. The new VM (direved from the
template clone task) is fully usable and on the webadmin the task is
shown as completed.

So maybe at some point in time the engine does get the job status wrong
and the problem begins...


I need to look into this but I think it should be safe to remove this
record while the engine is down. Make sure to make a backup if you
try!

OK, I did the following test:

- created a new VM from my custom template (with cloned Disk)
- waited for the job to complete
- manually deleted the related DB entry from the table async_tasks
- set host/node to maintenance
- rebootet engine

Result: The VM did NOT disappear! :-)

I think somehow ovirt-engine does get the results of the job wrong, thus
it does not recognize that the job completed *successfully* and does a
retry after reboot (which fails horribly and leads to disappearing VMs).


Thanks
- Frank

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


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

Hi,

I manually deleted async_tasks and I dont have problem with disappearing 
of VMs. Thanks

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


Re: [Users] All VMs disappeared

2013-08-27 Thread Frank Wall

On 26.08.2013 23:40, Frank Wall wrote:

Every time I reboot ovirt-engine the VMs will disappear. No matter
what I do before rebooting ovirt-engine - set storage to maintenance,
set host to maintenance - it's always the same.


On IRC #ovirt I was asked to have a look at the async_tasks table 
while cloning a VM from a template. An entry is created in this table, 
but the vdsm_id is incorrect:


engine=# select task_id,action_type,status,vdsm_task_id from 
async_tasks;
 6fa81c23-6f64-444c-bab0-f178fa9233d5 |   2 |  2 | 
----


Maybe this empty vdsm_id is related to the disappearing vm issue?


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


Re: [Users] All VMs disappeared

2013-08-27 Thread Laszlo Hornyak
Thank you Frank, I will investigate this issue.

- Original Message -
 From: Frank Wall f...@moov.de
 To: users@ovirt.org
 Sent: Tuesday, August 27, 2013 2:44:44 PM
 Subject: Re: [Users] All VMs disappeared
 
 Hi Laszlo,
 
 On 27.08.2013 14:24, Laszlo Hornyak wrote:
  If I understand correctly, this is what happens to your installation,
  the AddVmFromTemplate command goes to fail and engine tries to
  compensate, and upon successful compensation you get VM records
  removed from DB and storage cleaned up.
 
 just to be sure, please note, that the task actually completed
 successfully from my point of view. The new VM (direved from the
 template clone task) is fully usable and on the webadmin the task is
 shown as completed.
 
 So maybe at some point in time the engine does get the job status wrong
 and the problem begins...
 
  I need to look into this but I think it should be safe to remove this
  record while the engine is down. Make sure to make a backup if you
  try!
 
 OK, I did the following test:
 
 - created a new VM from my custom template (with cloned Disk)
 - waited for the job to complete
 - manually deleted the related DB entry from the table async_tasks
 - set host/node to maintenance
 - rebootet engine
 
 Result: The VM did NOT disappear! :-)
 
 I think somehow ovirt-engine does get the results of the job wrong, thus
 it does not recognize that the job completed *successfully* and does a
 retry after reboot (which fails horribly and leads to disappearing VMs).
 
 
 Thanks
 - Frank
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-08-23 Thread Jakub Bittner

Dne 14.8.2013 18:04, j.bitt...@nbu.cz napsal(a):

Cituji Laszlo Hornyak lhorn...@redhat.com:




- Original Message -

From: Itamar Heim ih...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: Michal Skrivanek mskri...@redhat.com, users@ovirt.org
Sent: Wednesday, August 14, 2013 4:27:17 PM
Subject: Re: [Users] All VMs disappeared

On 08/14/2013 05:19 PM, Jakub Bittner wrote:
 Dne 14.8.2013 10:48, Jakub Bittner napsal(a):
 Dne 14.8.2013 09:57, Liron Aravot napsal(a):
 Jakub, are only your vms disappear? what about the disks?

 - Original Message -
 From: Laszlo Hornyak lhorn...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz
 Cc: users@ovirt.org
 Sent: Wednesday, August 14, 2013 10:39:48 AM
 Subject: Re: [Users] All VMs disappeared



 - Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Wednesday, August 14, 2013 8:09:45 AM
 Subject: Re: [Users] All VMs disappeared

 Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
 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

Re: [Users] All VMs disappeared

2013-08-23 Thread Jakub Bittner

Dne 23.8.2013 10:24, Jakub Bittner napsal(a):

Dne 14.8.2013 18:04, j.bitt...@nbu.cz napsal(a):

Cituji Laszlo Hornyak lhorn...@redhat.com:




- Original Message -

From: Itamar Heim ih...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: Michal Skrivanek mskri...@redhat.com, users@ovirt.org
Sent: Wednesday, August 14, 2013 4:27:17 PM
Subject: Re: [Users] All VMs disappeared

On 08/14/2013 05:19 PM, Jakub Bittner wrote:
 Dne 14.8.2013 10:48, Jakub Bittner napsal(a):
 Dne 14.8.2013 09:57, Liron Aravot napsal(a):
 Jakub, are only your vms disappear? what about the disks?

 - Original Message -
 From: Laszlo Hornyak lhorn...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz
 Cc: users@ovirt.org
 Sent: Wednesday, August 14, 2013 10:39:48 AM
 Subject: Re: [Users] All VMs disappeared



 - Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Wednesday, August 14, 2013 8:09:45 AM
 Subject: Re: [Users] All VMs disappeared

 Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
 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

Re: [Users] All VMs disappeared

2013-08-14 Thread Jakub Bittner

Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):

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)




[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

Re: [Users] All VMs disappeared

2013-08-14 Thread Laszlo Hornyak


- Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Wednesday, August 14, 2013 8:09:45 AM
 Subject: Re: [Users] All VMs disappeared
 
 Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
  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

Re: [Users] All VMs disappeared

2013-08-14 Thread Liron Aravot
Jakub, are only your vms disappear? what about the disks?

- Original Message -
 From: Laszlo Hornyak lhorn...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz
 Cc: users@ovirt.org
 Sent: Wednesday, August 14, 2013 10:39:48 AM
 Subject: Re: [Users] All VMs disappeared
 
 
 
 - Original Message -
  From: Jakub Bittner j.bitt...@nbu.cz
  To: users@ovirt.org
  Sent: Wednesday, August 14, 2013 8:09:45 AM
  Subject: Re: [Users] All VMs disappeared
  
  Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
   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

Re: [Users] All VMs disappeared

2013-08-14 Thread Jakub Bittner

Dne 14.8.2013 09:57, Liron Aravot napsal(a):

Jakub, are only your vms disappear? what about the disks?

- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Wednesday, August 14, 2013 10:39:48 AM
Subject: Re: [Users] All VMs disappeared



- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: users@ovirt.org
Sent: Wednesday, August 14, 2013 8:09:45 AM
Subject: Re: [Users] All VMs disappeared

Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):

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

Re: [Users] All VMs disappeared

2013-08-14 Thread Jakub Bittner

Dne 14.8.2013 10:48, Jakub Bittner napsal(a):

Dne 14.8.2013 09:57, Liron Aravot napsal(a):

Jakub, are only your vms disappear? what about the disks?

- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Wednesday, August 14, 2013 10:39:48 AM
Subject: Re: [Users] All VMs disappeared



- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: users@ovirt.org
Sent: Wednesday, August 14, 2013 8:09:45 AM
Subject: Re: [Users] All VMs disappeared

Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):

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

Re: [Users] All VMs disappeared

2013-08-14 Thread Itamar Heim

On 08/14/2013 05:19 PM, Jakub Bittner wrote:

Dne 14.8.2013 10:48, Jakub Bittner napsal(a):

Dne 14.8.2013 09:57, Liron Aravot napsal(a):

Jakub, are only your vms disappear? what about the disks?

- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Wednesday, August 14, 2013 10:39:48 AM
Subject: Re: [Users] All VMs disappeared



- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: users@ovirt.org
Sent: Wednesday, August 14, 2013 8:09:45 AM
Subject: Re: [Users] All VMs disappeared

Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):

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

Re: [Users] All VMs disappeared

2013-08-14 Thread Liron Aravot


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz
 Cc: Michal Skrivanek mskri...@redhat.com, users@ovirt.org
 Sent: Wednesday, August 14, 2013 5:27:17 PM
 Subject: Re: [Users] All VMs disappeared
 
 On 08/14/2013 05:19 PM, Jakub Bittner wrote:
  Dne 14.8.2013 10:48, Jakub Bittner napsal(a):
  Dne 14.8.2013 09:57, Liron Aravot napsal(a):
  Jakub, are only your vms disappear? what about the disks?
 
  - Original Message -
  From: Laszlo Hornyak lhorn...@redhat.com
  To: Jakub Bittner j.bitt...@nbu.cz
  Cc: users@ovirt.org
  Sent: Wednesday, August 14, 2013 10:39:48 AM
  Subject: Re: [Users] All VMs disappeared
 
 
 
  - Original Message -
  From: Jakub Bittner j.bitt...@nbu.cz
  To: users@ovirt.org
  Sent: Wednesday, August 14, 2013 8:09:45 AM
  Subject: Re: [Users] All VMs disappeared
 
  Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
  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

Re: [Users] All VMs disappeared

2013-08-14 Thread Laszlo Hornyak


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz
 Cc: Michal Skrivanek mskri...@redhat.com, users@ovirt.org
 Sent: Wednesday, August 14, 2013 4:27:17 PM
 Subject: Re: [Users] All VMs disappeared
 
 On 08/14/2013 05:19 PM, Jakub Bittner wrote:
  Dne 14.8.2013 10:48, Jakub Bittner napsal(a):
  Dne 14.8.2013 09:57, Liron Aravot napsal(a):
  Jakub, are only your vms disappear? what about the disks?
 
  - Original Message -
  From: Laszlo Hornyak lhorn...@redhat.com
  To: Jakub Bittner j.bitt...@nbu.cz
  Cc: users@ovirt.org
  Sent: Wednesday, August 14, 2013 10:39:48 AM
  Subject: Re: [Users] All VMs disappeared
 
 
 
  - Original Message -
  From: Jakub Bittner j.bitt...@nbu.cz
  To: users@ovirt.org
  Sent: Wednesday, August 14, 2013 8:09:45 AM
  Subject: Re: [Users] All VMs disappeared
 
  Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
  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

Re: [Users] All VMs disappeared

2013-08-14 Thread j . bittner

Cituji Laszlo Hornyak lhorn...@redhat.com:




- Original Message -

From: Itamar Heim ih...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: Michal Skrivanek mskri...@redhat.com, users@ovirt.org
Sent: Wednesday, August 14, 2013 4:27:17 PM
Subject: Re: [Users] All VMs disappeared

On 08/14/2013 05:19 PM, Jakub Bittner wrote:
 Dne 14.8.2013 10:48, Jakub Bittner napsal(a):
 Dne 14.8.2013 09:57, Liron Aravot napsal(a):
 Jakub, are only your vms disappear? what about the disks?

 - Original Message -
 From: Laszlo Hornyak lhorn...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz
 Cc: users@ovirt.org
 Sent: Wednesday, August 14, 2013 10:39:48 AM
 Subject: Re: [Users] All VMs disappeared



 - Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Wednesday, August 14, 2013 8:09:45 AM
 Subject: Re: [Users] All VMs disappeared

 Dne 13.8.2013 18:29, Laszlo Hornyak napsal(a):
 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

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

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

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

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] All VMs disappeared

2013-08-12 Thread Jakub Bittner

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)
[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:]
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

I restarted management node and both nodes and this problem disappeared.
But I still can not see any VMs.
___
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


Hi,

I do not have them in database. Both commands shows nothing
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-08-12 Thread Greg Sheremeta
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)
   [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

Re: [Users] All VMs disappeared

2013-08-12 Thread Laszlo Hornyak
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

Re: [Users] All VMs disappeared

2013-08-12 Thread Jakub Bittner

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)
[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

Re: [Users] All VMs disappeared

2013-08-12 Thread Jakub Bittner

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) 


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


[vdsbroker.jar

Re: [Users] All VMs disappeared

2013-08-12 Thread Itamar Heim

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)

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

Re: [Users] All VMs disappeared

2013-08-12 Thread Jakub Bittner

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) 



[vdsbroker.jar

[Users] All VMs disappeared

2013-08-09 Thread Jakub Bittner

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) 
[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:]

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


Re: [Users] All VMs disappeared

2013-08-09 Thread Jakub Bittner

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) 
[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:]

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
I restarted management node and both nodes and this problem disappeared. 
But I still can not see any VMs.

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


Re: [Users] All VMs disappeared

2013-08-09 Thread Laszlo Hornyak
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)
  [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:]
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 I restarted management node and both nodes and this problem disappeared.
 But I still can not see any VMs.
 ___
 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