Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Robert Middleswarth

On 06/24/2012 12:35 PM, Yair Zaslavsky wrote:

On 06/24/2012 07:26 PM, Robert Middleswarth wrote:

On 06/24/2012 12:11 PM, Yair Zaslavsky wrote:

On 06/24/2012 07:02 PM, Robert Middleswarth wrote:

On 06/24/2012 11:55 AM, Yair Zaslavsky wrote:

On 06/24/2012 06:45 PM, Robert Middleswarth wrote:

On 06/24/2012 09:55 AM, Doron Fediuck wrote:

On 22/06/12 04:12, Robert Middleswarth wrote:

Getting a log full of error messages like these.

2012-06-21 21:03:30,075 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-90) Failed to decryptData must start with
zero
2012-06-21 21:03:46,235 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-18) Failed to decryptData must not be longer
than 128 bytes

What is causing this and what can I do to fix it?

Thanks
Robert

Hi Robert,
This really depends on your setup (devel' or yum installed).
There are several DB values which are encrypted during the
installation which you override
by plain text values. In most cases the engine tries to fallback, and
use the original value
it got despite the error. The question now you should answer, is if
you have any other issue.
If things seem to work well, than it's an issue of encrypting the
relevant values (if needed).
If you have other related issues, then setting these values to plain
text should use the fallback
and resolve the issue.


There doesn't seem to be any negitive effect other then making the log
hard to read.  Is there any way to suppress the error?

Thanks
Robert

Robert, I do suggest that you try further to investigate the root cause
for this.
However, it is possible to modify the configuration not to log this
error - you should be able to define a log4j category at
$JBOSS_HOME/standalone/configuration/standalone.xml (under subsystem
xmlns="urn:jboss:domain:logging:1.1) in such a way that for
EncryptionUtils only FATAL messages will appear at the log (and
still, I
suggest that you further try to investigate why this is happening in
the
first place).

Yair

I am fine with investigating why but these error's are so generic I have
no idea what files to check?  Despite tiring a few times I really don't
get Java.

Robert - we can go to two approaches here with logging both require you
to define a log4j category for EncryptionUtils

First approach - as I suggested, move to FATAL - you will not see these
errors.
Second approach - move to DEBUG. I looked at the code, and saw that if
you define a category for EncryptionUtils  with DEBUG level you will
also get a print of stacktrace, this may assist in understanding the
problem you're facing.

Yair,

I checked standalone.xml file and there is no section related to
EncyptionUtils nor was there a definition for engine.log I am guessing
that these are defined in a diff config file.

You should modify this file and add a category for EncryptionUtils -
look at how the category -


 
 
 
 
 



Is defined.
I don't see that at all.  I am using CentOS 6.2 with 
http://www.dreyou.org/ovirt/ Build 8.


Thanks
Robert

What you should do is add


   
 
 
 
 

Near the logger category for "org.ovirt" (I mean, as a sibling to that
element).
Pay attention that here i defined it for FATAL - you may wish to try it
with DEBUG to see the stacktrace.

Yair




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

Thanks
Robert

Thanks
Robert



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


Re: [Users] oVirt 3.1 and Glusterfs using NFS shares.

2012-06-24 Thread Itamar Heim

On 06/24/2012 06:42 PM, Robert Middleswarth wrote:

On 06/23/2012 10:29 PM, Robert Middleswarth wrote:

On 06/23/2012 09:08 PM, Itamar Heim wrote:

On 06/24/2012 03:50 AM, Robert Middleswarth wrote:

It took me a while with lots of trail and error but I am pretty
close to
getting everything working but my latest error seems to be permission
related. Very much like the error one gets with regular nfs and the
share not owned by the correct uid/gid. But there doesn't seem to be a
way to fix it. According to this doc
http://www.gluster.org/community/documentation/index.php/Translators/features/filter

on the Gluster site you can set those but I don't see a way to set that
inside the interface and the files I would need to change get over
written but vdsm. Am I missing something really obvious? Has anyone
actually been able to get ovirt and glusterfs running together. I feel
like I am so close just missing one little piece of the puzzle.


which files are getting written over by vdsm / when?

/var/lib/glusterd/nfs/nfs-server.vol

If you make any change insides the volume tab.


the effort so far was on allowing to provision the gluster volumes.
assumption was posix fs domains should allow to consume them until
native gluster support in qemu will arrive later.
sounds like there is at least one more hurdle around the permissions.

I have tired using it as both glusterfs and nfs and in both cases I am
seeing the same thing. Once you install Gluster 3.3 and fix iptables
join the boxes together volumes creation pretty much works but when I
attempt to mount them they mount as user root and user kvm has no
access to the share.

After getting some sleep. I mounted the volume outside of oVirt. Then
chown it to user 36.36. Then umounted. After doing that I was able to
mount the nfs share inside oVirt. I was then able to bring the Data
Storage and the Data Center on-line. I am uploading ISO right now to
test creating VM's


great.
I think there are several on the list waiting for your 'how to setup 
gluster with ovirt'.
and then we need to see which steps we can improve/remove by supporting 
them out of the box.




Vijay/Shireesh/Bala - any thoughts on how to set the ownership and
permissions so vdsm can use the volume as a storage domain?

Thanks,
Itamar


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

Thanks
Robert



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


Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Yair Zaslavsky
On 06/24/2012 07:26 PM, Robert Middleswarth wrote:
> On 06/24/2012 12:11 PM, Yair Zaslavsky wrote:
>> On 06/24/2012 07:02 PM, Robert Middleswarth wrote:
>>> On 06/24/2012 11:55 AM, Yair Zaslavsky wrote:
 On 06/24/2012 06:45 PM, Robert Middleswarth wrote:
> On 06/24/2012 09:55 AM, Doron Fediuck wrote:
>> On 22/06/12 04:12, Robert Middleswarth wrote:
>>> Getting a log full of error messages like these.
>>>
>>> 2012-06-21 21:03:30,075 ERROR
>>> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>>> (QuartzScheduler_Worker-90) Failed to decryptData must start with
>>> zero
>>> 2012-06-21 21:03:46,235 ERROR
>>> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>>> (QuartzScheduler_Worker-18) Failed to decryptData must not be longer
>>> than 128 bytes
>>>
>>> What is causing this and what can I do to fix it?
>>>
>>> Thanks
>>> Robert
>> Hi Robert,
>> This really depends on your setup (devel' or yum installed).
>> There are several DB values which are encrypted during the
>> installation which you override
>> by plain text values. In most cases the engine tries to fallback, and
>> use the original value
>> it got despite the error. The question now you should answer, is if
>> you have any other issue.
>> If things seem to work well, than it's an issue of encrypting the
>> relevant values (if needed).
>> If you have other related issues, then setting these values to plain
>> text should use the fallback
>> and resolve the issue.
>>
> There doesn't seem to be any negitive effect other then making the log
> hard to read.  Is there any way to suppress the error?
>
> Thanks
> Robert
 Robert, I do suggest that you try further to investigate the root cause
 for this.
 However, it is possible to modify the configuration not to log this
 error - you should be able to define a log4j category at
 $JBOSS_HOME/standalone/configuration/standalone.xml (under subsystem
 xmlns="urn:jboss:domain:logging:1.1) in such a way that for
 EncryptionUtils only FATAL messages will appear at the log (and
 still, I
 suggest that you further try to investigate why this is happening in
 the
 first place).

 Yair
>>> I am fine with investigating why but these error's are so generic I have
>>> no idea what files to check?  Despite tiring a few times I really don't
>>> get Java.
>> Robert - we can go to two approaches here with logging both require you
>> to define a log4j category for EncryptionUtils
>>
>> First approach - as I suggested, move to FATAL - you will not see these
>> errors.
>> Second approach - move to DEBUG. I looked at the code, and saw that if
>> you define a category for EncryptionUtils  with DEBUG level you will
>> also get a print of stacktrace, this may assist in understanding the
>> problem you're facing.
> Yair,
> 
> I checked standalone.xml file and there is no section related to
> EncyptionUtils nor was there a definition for engine.log I am guessing
> that these are defined in a diff config file.

You should modify this file and add a category for EncryptionUtils -
look at how the category -










Is defined.

What you should do is add


  





Near the logger category for "org.ovirt" (I mean, as a sibling to that
element).
Pay attention that here i defined it for FATAL - you may wish to try it
with DEBUG to see the stacktrace.

Yair



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

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


Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Robert Middleswarth

On 06/24/2012 12:11 PM, Yair Zaslavsky wrote:

On 06/24/2012 07:02 PM, Robert Middleswarth wrote:

On 06/24/2012 11:55 AM, Yair Zaslavsky wrote:

On 06/24/2012 06:45 PM, Robert Middleswarth wrote:

On 06/24/2012 09:55 AM, Doron Fediuck wrote:

On 22/06/12 04:12, Robert Middleswarth wrote:

Getting a log full of error messages like these.

2012-06-21 21:03:30,075 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-90) Failed to decryptData must start with zero
2012-06-21 21:03:46,235 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-18) Failed to decryptData must not be longer
than 128 bytes

What is causing this and what can I do to fix it?

Thanks
Robert

Hi Robert,
This really depends on your setup (devel' or yum installed).
There are several DB values which are encrypted during the
installation which you override
by plain text values. In most cases the engine tries to fallback, and
use the original value
it got despite the error. The question now you should answer, is if
you have any other issue.
If things seem to work well, than it's an issue of encrypting the
relevant values (if needed).
If you have other related issues, then setting these values to plain
text should use the fallback
and resolve the issue.


There doesn't seem to be any negitive effect other then making the log
hard to read.  Is there any way to suppress the error?

Thanks
Robert

Robert, I do suggest that you try further to investigate the root cause
for this.
However, it is possible to modify the configuration not to log this
error - you should be able to define a log4j category at
$JBOSS_HOME/standalone/configuration/standalone.xml (under subsystem
xmlns="urn:jboss:domain:logging:1.1) in such a way that for
EncryptionUtils only FATAL messages will appear at the log (and still, I
suggest that you further try to investigate why this is happening in the
first place).

Yair

I am fine with investigating why but these error's are so generic I have
no idea what files to check?  Despite tiring a few times I really don't
get Java.

Robert - we can go to two approaches here with logging both require you
to define a log4j category for EncryptionUtils

First approach - as I suggested, move to FATAL - you will not see these
errors.
Second approach - move to DEBUG. I looked at the code, and saw that if
you define a category for EncryptionUtils  with DEBUG level you will
also get a print of stacktrace, this may assist in understanding the
problem you're facing.

Yair,

I checked standalone.xml file and there is no section related to 
EncyptionUtils nor was there a definition for engine.log I am guessing 
that these are defined in a diff config file.



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

Thanks
Robert

Thanks
Robert

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


Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Yair Zaslavsky
On 06/24/2012 07:02 PM, Robert Middleswarth wrote:
> On 06/24/2012 11:55 AM, Yair Zaslavsky wrote:
>> On 06/24/2012 06:45 PM, Robert Middleswarth wrote:
>>> On 06/24/2012 09:55 AM, Doron Fediuck wrote:
 On 22/06/12 04:12, Robert Middleswarth wrote:
> Getting a log full of error messages like these.
>
> 2012-06-21 21:03:30,075 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> (QuartzScheduler_Worker-90) Failed to decryptData must start with zero
> 2012-06-21 21:03:46,235 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> (QuartzScheduler_Worker-18) Failed to decryptData must not be longer
> than 128 bytes
>
> What is causing this and what can I do to fix it?
>
> Thanks
> Robert
 Hi Robert,
 This really depends on your setup (devel' or yum installed).
 There are several DB values which are encrypted during the
 installation which you override
 by plain text values. In most cases the engine tries to fallback, and
 use the original value
 it got despite the error. The question now you should answer, is if
 you have any other issue.
 If things seem to work well, than it's an issue of encrypting the
 relevant values (if needed).
 If you have other related issues, then setting these values to plain
 text should use the fallback
 and resolve the issue.

>>> There doesn't seem to be any negitive effect other then making the log
>>> hard to read.  Is there any way to suppress the error?
>>>
>>> Thanks
>>> Robert
>> Robert, I do suggest that you try further to investigate the root cause
>> for this.
>> However, it is possible to modify the configuration not to log this
>> error - you should be able to define a log4j category at
>> $JBOSS_HOME/standalone/configuration/standalone.xml (under subsystem
>> xmlns="urn:jboss:domain:logging:1.1) in such a way that for
>> EncryptionUtils only FATAL messages will appear at the log (and still, I
>> suggest that you further try to investigate why this is happening in the
>> first place).
>>
>> Yair
> I am fine with investigating why but these error's are so generic I have
> no idea what files to check?  Despite tiring a few times I really don't
> get Java.

Robert - we can go to two approaches here with logging both require you
to define a log4j category for EncryptionUtils

First approach - as I suggested, move to FATAL - you will not see these
errors.
Second approach - move to DEBUG. I looked at the code, and saw that if
you define a category for EncryptionUtils  with DEBUG level you will
also get a print of stacktrace, this may assist in understanding the
problem you're facing.


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

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


Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Robert Middleswarth

On 06/24/2012 11:55 AM, Yair Zaslavsky wrote:

On 06/24/2012 06:45 PM, Robert Middleswarth wrote:

On 06/24/2012 09:55 AM, Doron Fediuck wrote:

On 22/06/12 04:12, Robert Middleswarth wrote:

Getting a log full of error messages like these.

2012-06-21 21:03:30,075 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-90) Failed to decryptData must start with zero
2012-06-21 21:03:46,235 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-18) Failed to decryptData must not be longer
than 128 bytes

What is causing this and what can I do to fix it?

Thanks
Robert

Hi Robert,
This really depends on your setup (devel' or yum installed).
There are several DB values which are encrypted during the
installation which you override
by plain text values. In most cases the engine tries to fallback, and
use the original value
it got despite the error. The question now you should answer, is if
you have any other issue.
If things seem to work well, than it's an issue of encrypting the
relevant values (if needed).
If you have other related issues, then setting these values to plain
text should use the fallback
and resolve the issue.


There doesn't seem to be any negitive effect other then making the log
hard to read.  Is there any way to suppress the error?

Thanks
Robert

Robert, I do suggest that you try further to investigate the root cause
for this.
However, it is possible to modify the configuration not to log this
error - you should be able to define a log4j category at
$JBOSS_HOME/standalone/configuration/standalone.xml (under subsystem
xmlns="urn:jboss:domain:logging:1.1) in such a way that for
EncryptionUtils only FATAL messages will appear at the log (and still, I
suggest that you further try to investigate why this is happening in the
first place).

Yair
I am fine with investigating why but these error's are so generic I have 
no idea what files to check?  Despite tiring a few times I really don't 
get Java.

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

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


Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Yair Zaslavsky
On 06/24/2012 06:45 PM, Robert Middleswarth wrote:
> On 06/24/2012 09:55 AM, Doron Fediuck wrote:
>> On 22/06/12 04:12, Robert Middleswarth wrote:
>>> Getting a log full of error messages like these.
>>>
>>> 2012-06-21 21:03:30,075 ERROR
>>> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>>> (QuartzScheduler_Worker-90) Failed to decryptData must start with zero
>>> 2012-06-21 21:03:46,235 ERROR
>>> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>>> (QuartzScheduler_Worker-18) Failed to decryptData must not be longer
>>> than 128 bytes
>>>
>>> What is causing this and what can I do to fix it?
>>>
>>> Thanks
>>> Robert
>> Hi Robert,
>> This really depends on your setup (devel' or yum installed).
>> There are several DB values which are encrypted during the
>> installation which you override
>> by plain text values. In most cases the engine tries to fallback, and
>> use the original value
>> it got despite the error. The question now you should answer, is if
>> you have any other issue.
>> If things seem to work well, than it's an issue of encrypting the
>> relevant values (if needed).
>> If you have other related issues, then setting these values to plain
>> text should use the fallback
>> and resolve the issue.
>>
> There doesn't seem to be any negitive effect other then making the log
> hard to read.  Is there any way to suppress the error?
> 
> Thanks
> Robert

Robert, I do suggest that you try further to investigate the root cause
for this.
However, it is possible to modify the configuration not to log this
error - you should be able to define a log4j category at
$JBOSS_HOME/standalone/configuration/standalone.xml (under subsystem
xmlns="urn:jboss:domain:logging:1.1) in such a way that for
EncryptionUtils only FATAL messages will appear at the log (and still, I
suggest that you further try to investigate why this is happening in the
first place).

Yair

> 
> ___
> 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] Getting a stream of errors inside engine.log

2012-06-24 Thread Robert Middleswarth

On 06/24/2012 09:55 AM, Doron Fediuck wrote:

On 22/06/12 04:12, Robert Middleswarth wrote:

Getting a log full of error messages like these.

2012-06-21 21:03:30,075 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] 
(QuartzScheduler_Worker-90) Failed to decryptData must start with zero
2012-06-21 21:03:46,235 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] 
(QuartzScheduler_Worker-18) Failed to decryptData must not be longer than 128 
bytes

What is causing this and what can I do to fix it?

Thanks
Robert

Hi Robert,
This really depends on your setup (devel' or yum installed).
There are several DB values which are encrypted during the installation which 
you override
by plain text values. In most cases the engine tries to fallback, and use the 
original value
it got despite the error. The question now you should answer, is if you have 
any other issue.
If things seem to work well, than it's an issue of encrypting the relevant 
values (if needed).
If you have other related issues, then setting these values to plain text 
should use the fallback
and resolve the issue.

There doesn't seem to be any negitive effect other then making the log 
hard to read.  Is there any way to suppress the error?


Thanks
Robert

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


Re: [Users] oVirt 3.1 and Glusterfs using NFS shares.

2012-06-24 Thread Robert Middleswarth

On 06/23/2012 10:29 PM, Robert Middleswarth wrote:

On 06/23/2012 09:08 PM, Itamar Heim wrote:

On 06/24/2012 03:50 AM, Robert Middleswarth wrote:
It took me a while with lots of trail and error but I am pretty 
close to

getting everything working but my latest error seems to be permission
related. Very much like the error one gets with regular nfs and the
share not owned by the correct uid/gid. But there doesn't seem to be a
way to fix it. According to this doc
http://www.gluster.org/community/documentation/index.php/Translators/features/filter 


on the Gluster site you can set those but I don't see a way to set that
inside the interface and the files I would need to change get over
written but vdsm. Am I missing something really obvious? Has anyone
actually been able to get ovirt and glusterfs running together. I feel
like I am so close just missing one little piece of the puzzle.


which files are getting written over by vdsm / when?

/var/lib/glusterd/nfs/nfs-server.vol

If you make any change insides the volume tab.


the effort so far was on allowing to provision the gluster volumes.
assumption was posix fs domains should allow to consume them until 
native gluster support in qemu will arrive later.

sounds like there is at least one more hurdle around the permissions.
I have tired using it as both glusterfs and nfs and in both cases I am 
seeing the same thing.  Once you install Gluster 3.3 and fix iptables 
join the boxes together volumes creation pretty much works but when I 
attempt to mount them they mount as user root and user kvm has no 
access to the share.
After getting some sleep.  I mounted the volume outside of oVirt.  Then 
chown it to user 36.36.  Then umounted.  After doing that I was able to 
mount the nfs share inside oVirt.   I was then able to bring the Data 
Storage and the Data Center on-line.  I am uploading ISO right now to 
test creating VM's


Vijay/Shireesh/Bala - any thoughts on how to set the ownership and 
permissions so vdsm can use the volume as a storage domain?


Thanks,
   Itamar


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

Thanks
Robert

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


Re: [Users] I am using the CentOS build from the 12th. I the engine is dieing with the following error.

2012-06-24 Thread Ofer Schreiber


- Original Message -
> On 06/21/2012 08:25 PM, Itamar Heim wrote:
> > On 06/21/2012 08:20 PM, Robert Middleswarth wrote:
> >>> On 06/18/2012 04:25 AM, Robert Middleswarth wrote:
>  2012-06-17 05:21:24,682 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (ajp--0.0.0.0-8009-9) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore (Too many open files)
>  2012-06-17 05:21:26,121 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (QuartzScheduler_Worker-88) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore
>  (Too many open files)
>  2012-06-17 05:21:26,130 ERROR
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
>  (QuartzScheduler_Worker-88) XML RPC error in command
>  GetCapabilitiesVDS
>  ( Vds: ann100ovirt01 ), the error was:
>  java.util.concurrent.ExecutionException:
>  java.lang.reflect.InvocationTargetException, SocketException:
>  Too many
>  open files
>  2012-06-17 15:49:08,577 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (QuartzScheduler_Worker-28) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore
>  (Too many open files)
>  2012-06-17 20:21:13,943 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (QuartzScheduler_Worker-64) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore
>  (Too many open files)
>  2012-06-17 20:21:15,949 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (QuartzScheduler_Worker-65) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore
>  (Too many open files)
>  2012-06-17 21:00:15,133 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (QuartzScheduler_Worker-98) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore
>  (Too many open files)
>  2012-06-17 21:07:00,037 WARN
>   [org.ovirt.engine.core.ServletUtils]
>  (ajp--0.0.0.0-8009-5) File
>  "/usr/share/vdsm-bootstrap/deployUtil.py is
>  47867 bytes long. Please reconsider using this servlet for files
>  larger
>  than 8192 bytes.
>  2012-06-17 21:07:00,115 WARN
>   [org.ovirt.engine.core.ServletUtils]
>  (ajp--0.0.0.0-8009-6) File
>  "/usr/share/vdsm-bootstrap/vds_bootstrap.py
>  is 33884 bytes long. Please reconsider using this servlet for
>  files
>  larger than 8192 bytes.
>  2012-06-17 21:32:10,686 WARN
>   [org.ovirt.engine.core.ServletUtils]
>  (ajp--0.0.0.0-8009-6) File
>  "/usr/share/vdsm-bootstrap/deployUtil.py is
>  47867 bytes long. Please reconsider using this servlet for files
>  larger
>  than 8192 bytes.
>  2012-06-17 21:32:10,752 WARN
>   [org.ovirt.engine.core.ServletUtils]
>  (ajp--0.0.0.0-8009-1) File
>  "/usr/share/vdsm-bootstrap/vds_bootstrap.py
>  is 33884 bytes long. Please reconsider using this servlet for
>  files
>  larger than 8192 bytes.
>  2012-06-17 21:44:34,028 ERROR
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
>  (QuartzScheduler_Worker-23) XML RPC error in command ListVDS (
>  Vds:
>  ann100ovirt01 ), the error was:
>  java.util.concurrent.ExecutionException:
>  java.lang.reflect.InvocationTargetException, SocketException:
>  Too many
>  open files
>  2012-06-17 21:44:36,034 ERROR
>  [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
>  (QuartzScheduler_Worker-26) Failed to
>  decryptjava.io.FileNotFoundException:
>  /etc/pki/ovirt-engine/.keystore
>  (Too many open files)
>  2012-06-17 21:44:36,045 ERROR
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
>  (QuartzScheduler_Worker-26) XML RPC error in command
>  GetCapabilitiesVDS
>  ( Vds: ann100ovirt01 ), the error was:
>  java.util.concurrent.ExecutionException:
>  java.lang.reflect.InvocationTargetException, SocketException:
>  Too many
>  open files
> 
> 
>  I restarted ovirt-engine and ran lsof -p 3557
> 
>  I see hundreds of the same open file.
> 
>  java3557 ovirt  839r   REG  253,0 3230  7865608
>  /etc/pki/ovirt-engine/.keystore
>  java3557 ovirt  840r   REG  253,0 3230  7865608
>  /etc/pki/ovirt-engine/.keystore
>  java3557 ovirt  841r   REG  253,0 3230  7865608
>  /etc/pki/ovirt-engine/.keystore
>  java3557 ovirt  842r   REG  253,0 3230  7865608
>  /etc/pki/ovirt-engine/.keystore
>  java3557 ovirt  843r   REG  253,0 3230  7865608
>  /etc/pki/ovirt-engine/.keystore
>  java3557 ovirt  844r   REG  253,0 3230  7865608
>  /etc/pki/ovirt-engine/.keyst

Re: [Users] Getting a stream of errors inside engine.log

2012-06-24 Thread Doron Fediuck
On 22/06/12 04:12, Robert Middleswarth wrote:
> Getting a log full of error messages like these.
> 
> 2012-06-21 21:03:30,075 ERROR 
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] 
> (QuartzScheduler_Worker-90) Failed to decryptData must start with zero
> 2012-06-21 21:03:46,235 ERROR 
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] 
> (QuartzScheduler_Worker-18) Failed to decryptData must not be longer than 128 
> bytes
> 
> What is causing this and what can I do to fix it?
> 
> Thanks
> Robert

Hi Robert,
This really depends on your setup (devel' or yum installed).
There are several DB values which are encrypted during the installation which 
you override
by plain text values. In most cases the engine tries to fallback, and use the 
original value
it got despite the error. The question now you should answer, is if you have 
any other issue.
If things seem to work well, than it's an issue of encrypting the relevant 
values (if needed).
If you have other related issues, then setting these values to plain text 
should use the fallback
and resolve the issue.

-- 

/d

"The answer, my friend, is blowing in the wind" --Bob Dylan, Blowin' in the 
Wind (1963)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users