Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Simone Rossi
main
Commits
169776e7
Commit
169776e7
authored
Nov 02, 2018
by
Daniele Venzano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set logging level to INFO for a few useful messages in the master
parent
cab287a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
zoe_master/scheduler/elastic_scheduler.py
zoe_master/scheduler/elastic_scheduler.py
+3
-3
No files found.
zoe_master/scheduler/elastic_scheduler.py
View file @
169776e7
...
...
@@ -125,7 +125,7 @@ class ZoeElasticScheduler:
pass
terminate_execution
(
execution
)
log
.
debug
(
'Execution {} terminated successfully'
.
format
(
execution
.
id
))
log
.
info
(
'Execution {} terminated successfully'
.
format
(
execution
.
id
))
def
_refresh_execution_sizes
(
self
):
if
self
.
policy
==
"FIFO"
:
...
...
@@ -236,7 +236,7 @@ class ZoeElasticScheduler:
free_resources
=
current_free_resources
placements
=
cluster_status_snapshot
.
get_service_allocation
()
log
.
debug
(
'Allocation after simulation: {}'
.
format
(
placements
))
log
.
info
(
'Allocation after simulation: {}'
.
format
(
placements
))
# We port the results of the simulation into the real cluster
for
job
in
jobs_to_launch
:
# type: Execution
...
...
@@ -257,7 +257,7 @@ class ZoeElasticScheduler:
start_elastic
(
job
,
placements
)
if
job
.
all_services_active
:
log
.
debug
(
'execution {}: all services are active'
.
format
(
job
.
id
))
log
.
info
(
'execution {}: all services are active'
.
format
(
job
.
id
))
jobs_to_attempt_scheduling
.
remove
(
job
)
self
.
queue
.
remove
(
job
)
self
.
queue_running
.
append
(
job
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment