projects
/
archipelago
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
835f399
)
ci: Do not ping servers on okeanos io
author
Filippos Giannakos
<philipgian@grnet.gr>
Fri, 26 Jul 2013 11:47:55 +0000
(14:47 +0300)
committer
Filippos Giannakos
<philipgian@grnet.gr>
Wed, 31 Jul 2013 07:11:20 +0000
(10:11 +0300)
ci/cluster.py
patch
|
blob
|
history
diff --git
a/ci/cluster.py
b/ci/cluster.py
index
2605d0f
..
a108875
100644
(file)
--- a/
ci/cluster.py
+++ b/
ci/cluster.py
@@
-137,7
+137,7
@@
class _MyFormatter(logging.Formatter):
self._fmt = _yellow("[W] %(msg)s")
elif record.levelno == logging.ERROR:
self._fmt = _red("[E] %(msg)s")
self._fmt = _yellow("[W] %(msg)s")
elif record.levelno == logging.ERROR:
self._fmt = _red("[E] %(msg)s")
- result = super(_MyFormatter, self).format(record)
+ result = logging.Formatter.format(self, record)
self._fmt = format_orig
return result
self._fmt = format_orig
return result
@@
-616,8
+616,11
@@
class Cluster(ConfigClient):
self.wait_status(submitted, "ACTIVE")
self.wait_status(submitted, "ACTIVE")
- for s in self.servers:
- s.ping(100)
+ if self.config.has_option('Global', 'okeanos_io'):
+ io = self.config.getboolean('Global', 'okeanos_io')
+ if not io:
+ for s in self.servers:
+ s.ping(100)
for s in self.servers:
s.inject_files()
for s in self.servers:
s.inject_files()