Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.core
Commits
8639dd7a
Commit
8639dd7a
authored
Mar 09, 2023
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup
parent
b383bfb9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
slapos/grid/SlapObject.py
slapos/grid/SlapObject.py
+1
-1
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+0
-15
No files found.
slapos/grid/SlapObject.py
View file @
8639dd7a
...
@@ -903,7 +903,7 @@ class Partition(object):
...
@@ -903,7 +903,7 @@ class Partition(object):
bad_service_list
.
append
(
process
[
'name'
])
bad_service_list
.
append
(
process
[
'name'
])
if
len
(
bad_service_list
)
>
0
:
if
len
(
bad_service_list
)
>
0
:
raise
ChildProcessError
(
raise
ChildProcessError
(
"The following on-watch service(es) is not running:
\
n
%s
\
n
\
"The following on-watch service(es) is not running:
\
n
%s
\
n
\
For the details, please check the corresponding log."
%
For the details, please check the corresponding log."
%
'
\
n
'
.
join
(
bad_service_list
))
'
\
n
'
.
join
(
bad_service_list
))
...
...
slapos/grid/slapgrid.py
View file @
8639dd7a
...
@@ -1490,11 +1490,6 @@ stderr_logfile_backups=1
...
@@ -1490,11 +1490,6 @@ stderr_logfile_backups=1
except
slapos
.
slap
.
ResourceNotReady
:
except
slapos
.
slap
.
ResourceNotReady
:
return
'(not ready)'
return
'(not ready)'
self
.
logger
.
info
(
'---------------------------------'
)
self
.
logger
.
info
(
'---------------------------------'
)
self
.
logger
.
info
(
'---------------------------------'
)
self
.
logger
.
info
(
'I want generate an output here!!!'
)
self
.
logger
.
info
(
'Finished computer partitions.'
)
self
.
logger
.
info
(
'Finished computer partitions.'
)
self
.
logger
.
info
(
'='
*
80
)
self
.
logger
.
info
(
'='
*
80
)
if
process_error_partition_list
:
if
process_error_partition_list
:
...
@@ -1545,21 +1540,11 @@ stderr_logfile_backups=1
...
@@ -1545,21 +1540,11 @@ stderr_logfile_backups=1
except
slapos
.
slap
.
ResourceNotReady
:
except
slapos
.
slap
.
ResourceNotReady
:
return
'(not ready)'
return
'(not ready)'
self
.
logger
.
info
(
'---------------------------------'
)
self
.
logger
.
info
(
'---------------------------------'
)
self
.
logger
.
info
(
'---------------------------------'
)
self
.
logger
.
info
(
'I want generate an output here!!!'
)
if
promise_error_partition_list
:
if
promise_error_partition_list
:
self
.
logger
.
info
(
'Finished computer partitions.'
)
self
.
logger
.
info
(
'Finished computer partitions.'
)
for
partition
,
exc
in
promise_error_partition_list
:
for
partition
,
exc
in
promise_error_partition_list
:
self
.
logger
.
info
(
' %s[%s]: %s'
,
partition
.
getId
(),
getPartitionType
(
partition
),
exc
)
self
.
logger
.
info
(
' %s[%s]: %s'
,
partition
.
getId
(),
getPartitionType
(
partition
),
exc
)
self
.
logger
.
info
(
'================================='
)
self
.
logger
.
info
(
'================================='
)
self
.
logger
.
info
(
'================================='
)
self
.
logger
.
info
(
'I want generate an output here!!!'
)
# Return success value
# Return success value
if
not
clean_run_promise
:
if
not
clean_run_promise
:
return
SLAPGRID_PROMISE_FAIL
return
SLAPGRID_PROMISE_FAIL
...
...
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