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
added a variety of updates to templates, to reference each other.
[monitor.git]
/
findbadpcu.py
diff --git
a/findbadpcu.py
b/findbadpcu.py
index
8ebd891
..
070ddac
100755
(executable)
--- a/
findbadpcu.py
+++ b/
findbadpcu.py
@@
-361,12
+361,6
@@
def main():
global_round = fbsync.round
global_round = fbsync.round
- if config.increment:
- # update global round number to force refreshes across all nodes
- global_round += 1
- fbsync.round = global_round
-
- fbsync.flush()
if config.site is not None:
api = plc.getAuthAPI()
if config.site is not None:
api = plc.getAuthAPI()
@@
-379,6
+373,7
@@
def main():
l_pcus = [pcu for pcu in sets.Set(pcus)]
elif config.pcuselect is not None:
n, pcus = pcu_select(config.pcuselect)
l_pcus = [pcu for pcu in sets.Set(pcus)]
elif config.pcuselect is not None:
n, pcus = pcu_select(config.pcuselect)
+ print pcus
# clear out dups.
l_pcus = [pcu for pcu in sets.Set(pcus)]
# clear out dups.
l_pcus = [pcu for pcu in sets.Set(pcus)]
@@
-392,6
+387,12
@@
def main():
l_pcus = [ config.pcuid ]
l_pcus = [int(pcu) for pcu in l_pcus]
l_pcus = [ config.pcuid ]
l_pcus = [int(pcu) for pcu in l_pcus]
+ if config.increment:
+ # update global round number to force refreshes across all nodes
+ global_round += 1
+ fbsync.round = global_round
+ fbsync.flush()
+
checkAndRecordState(l_pcus, cohash)
return 0
checkAndRecordState(l_pcus, cohash)
return 0