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
Carlos Ramos Carreño
slapos.core
Commits
f64ef9b8
Commit
f64ef9b8
authored
Aug 06, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop'
parents
ebf36db1
5a4bd503
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+4
-3
slapos/grid/svcbackend.py
slapos/grid/svcbackend.py
+1
-1
No files found.
slapos/grid/slapgrid.py
View file @
f64ef9b8
...
...
@@ -114,8 +114,8 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
parser
.
add_argument
(
"--now"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Launch slapgrid without delay."
)
parser
.
add_argument
(
"--develop"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Launch slapgrid in develop mode. In develop mode, slapgrid
-sr
"
"
ignores .completed file
."
)
help
=
"Launch slapgrid in develop mode. In develop mode, slapgrid "
"
will process all Softare Releases and/or Computer Partitions
."
)
parser
.
add_argument
(
"--only_sr"
,
help
=
"Force the update of a single software release (use url hash),"
"event if is already installed. This option will make all others "
...
...
@@ -610,7 +610,8 @@ class Slapgrid(object):
instance_path
=
os
.
path
.
join
(
self
.
instance_root
,
computer_partition_id
)
timestamp_path
=
os
.
path
.
join
(
instance_path
,
'.timestamp'
)
if
os
.
path
.
exists
(
timestamp_path
):
if
computer_partition_id
not
in
self
.
computer_partition_filter_list
and
\
(
not
self
.
develop
)
and
os
.
path
.
exists
(
timestamp_path
):
old_timestamp
=
open
(
timestamp_path
).
read
()
parameter_dict
=
computer_partition
.
getInstanceParameterDict
()
if
'timestamp'
in
parameter_dict
:
...
...
slapos/grid/svcbackend.py
View file @
f64ef9b8
...
...
@@ -67,7 +67,7 @@ def launchSupervisord(socket, configuration_file):
break
else
:
if
status
[
'statename'
]
==
'RUNNING'
and
status
[
'statecode'
]
==
1
:
logger
.
info
(
'Supervisord already running.'
)
logger
.
debug
(
'Supervisord already running.'
)
return
elif
status
[
'statename'
]
==
'SHUTDOWN_STATE'
and
status
[
'statecode'
]
==
6
:
logger
.
info
(
'Supervisor in shutdown procedure, will check again later.'
)
...
...
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