git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Sets nodes to reboot, uses PCU if available. Defaults to POD/email (with site...
[monitor.git]
/
rt.py
diff --git
a/rt.py
b/rt.py
index
05dce04
..
f3ce1ed
100644
(file)
--- a/
rt.py
+++ b/
rt.py
@@
-8,6
+8,7
@@
import Queue
import time
import comon
from threading import *
import time
import comon
from threading import *
+import config
# RT database access constants file
RT_DB_CONSTANTS_PATH='/etc/planetlab/rt_db'
# RT database access constants file
RT_DB_CONSTANTS_PATH='/etc/planetlab/rt_db'
@@
-170,7
+171,7
@@
class RT(Thread):
#logger.debug("RT: tickets for %s" %host)
self.tickets[host] = tmp
else:
#logger.debug("RT: tickets for %s" %host)
self.tickets[host] = tmp
else:
- logger.debug("RT: no tix for %s
- policy
" %host)
+ logger.debug("RT: no tix for %s" %host)
self.sickNoTicket.put(host)
# Removes hosts that are no longer down.
self.sickNoTicket.put(host)
# Removes hosts that are no longer down.