git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2d25a
)
fix ASAP jobs with state != Waiting,Running
author
fsaintma
<frederic.saint-marcel@inria.fr>
Thu, 11 Jun 2015 07:24:10 +0000
(09:24 +0200)
committer
fsaintma
<frederic.saint-marcel@inria.fr>
Thu, 11 Jun 2015 07:24:10 +0000
(09:24 +0200)
sfa/iotlab/iotlabshell.py
patch
|
blob
|
history
diff --git
a/sfa/iotlab/iotlabshell.py
b/sfa/iotlab/iotlabshell.py
index
becdbf5
..
c51a7d6
100644
(file)
--- a/
sfa/iotlab/iotlabshell.py
+++ b/
sfa/iotlab/iotlabshell.py
@@
-109,7
+109,7
@@
class IotLABShell(object):
def get_reserved_nodes(self):
"""
- Get all OAR jobs
with state Waiting or Running
.
+ Get all OAR jobs
not terminated
.
:Example:
{"total":"1907",
@@
-128,7
+128,9
@@
class IotLABShell(object):
"""
logger.warning("iotlashell get_reserved_nodes")
reserved_nodes_dict = {}
- request = 'admin/experiments?state=Running,Waiting'
+ request = ('admin/experiments?state='
+ 'Running,Waiting,toAckReservation,'
+ 'toLaunch,Launching')
try:
experiments = self.api.method(request)
except HTTPError as err: