yeap, on a clean install it still happens. I'm running on Ubuntu 8.04 using
the zenoss-stack-2.2.0-linux.bin install.
Before I add anything I add a user, then an alerting rule, then two schedules.
When I go back to see the alerting rule it is now set to Enable: False. When I
try to set it back to True, it dumps.
>From start, here's some issues:
The .bashrc script that is planted by the install has this at the end of the
file:
. /usr/local/zenoss/scripts/setenv.sh. /usr/local/zenoss/scripts/setenv.sh
Since there isn't a file called /usr/local/zenoss/scripts/setenv.sh. (pls note
the trailing dot) then the environment is not read in. It produces the
following error when I su - zenoss:
-su: /usr/local/zenoss/scripts/setenv.sh.: No such file or directory
This probably has some impact on everthing else.
Duplicating the error with zenactions restart -v10:
The webpage shows:
Type: ConflictError
Value: database conflict error (oid 0x6c34, class
Products.ZenEvents.ActionRule.ActionRule)
Traceback (innermost last):
* Module Zope2.App.startup, line 167, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 120, in publish
* Module Zope2.App.startup, line 233, in commit
* Module transaction._manager, line 84, in commit
* Module transaction._transaction, line 381, in commit
* Module transaction._transaction, line 379, in commit
* Module transaction._transaction, line 424, in _commitResources
* Module ZODB.Connection, line 462, in commit
* Module ZODB.Connection, line 495, in _commit
ConflictError: database conflict error (oid 0x6c34, class
Products.ZenEvents.ActionRule.ActionRule)
In zenactions.log I see:
2008-05-21 17:55:17 INFO zen.ZenActions: processed 0 rules in 0.00 secs
2008-05-21 17:56:18 INFO zen.ZenActions: Processed 0 commands in 0.000057
2008-05-21 17:56:18 INFO zen.ZenActions: processed 0 rules in 0.00 secs
2008-05-21 17:57:18 INFO zen.ZenActions: Processed 0 commands in 0.000081
2008-05-21 17:57:18 INFO zen.ZenActions: processed 0 rules in 0.00 secs
2008-05-21 17:58:18 INFO zen.ZenActions: Processed 0 commands in 0.000055
2008-05-21 17:58:18 INFO zen.ZenActions: processed 0 rules in 0.00 secs
2008-05-21 17:58:59 DEBUG zen.Events: looking up ip zenoss-1.verif.local
2008-05-21 17:58:59 DEBUG zen.Events: EventClassInst=Start
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Creating a new connection; Pool
size: 0
2008-05-21 17:58:59 DEBUG zen.Events: update status set clearid =
'7f00010136c413523ffff97a' where device='zenoss-1.verif.local' and
component='zenactions' and eventKey='' and (eventClass='/App/Stop' or
eventClass='/App/Start'): --> 0
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
2008-05-21 17:58:59 INFO zen.ZenActions: Processed 0 commands in 0.001849
2008-05-21 17:58:59 DEBUG zen.ZenActions: call age_events(4, 4);
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:58:59 DEBUG zen.ZenActions: SELECT device, component FROM status
WHERE eventClass = '/Status/Heartbeat'
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:58:59 DEBUG zen.ZenActions: SELECT device, component FROM
heartbeat WHERE DATE_ADD(lastTime, INTERVAL timeout SECOND) <= NOW();
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:58:59 INFO zen.ZenActions: processed 0 rules in 0.01 secs
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:58:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:58:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
....
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
2008-05-21 17:59:59 INFO zen.ZenActions: Processed 0 commands in 0.000054
2008-05-21 17:59:59 DEBUG zen.ZenActions: call age_events(4, 4);
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:59:59 DEBUG zen.ZenActions: SELECT device, component FROM status
WHERE eventClass = '/Status/Heartbeat'
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:59:59 DEBUG zen.ZenActions: SELECT device, component FROM
heartbeat WHERE DATE_ADD(lastTime, INTERVAL timeout SECOND) <= NOW();
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:59:59 INFO zen.ZenActions: processed 0 rules in 0.01 secs
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool
size: 0
2008-05-21 17:59:59 DEBUG zen.DbConnectionPool: Returned a connection; Pool
size: 1
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
....
And just lots of
2008-05-21 17:59:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window starting
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Maintenance window stopping
regular-dave for regular-dave
2008-05-21 17:59:59 DEBUG zen.Schedule: Waiting 0.000000 seconds
over and over.
What else can I capture to help us figure this out?
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=20231#20231
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users