Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CastorScript
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas-tdaq-software
CastorScript
Commits
2ce1a5b7
Commit
2ce1a5b7
authored
6 years ago
by
Jonas
Browse files
Options
Downloads
Patches
Plain Diff
More changes
parent
ca0786e7
No related branches found
No related tags found
1 merge request
!29
Resolve "Initial Publish uptime of CS instance to IS"
Pipeline
#817247
passed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Script/CastorScript.py
+1
-3
1 addition, 3 deletions
Script/CastorScript.py
Script/cs/Threads/InfoServiceThread.py
+2
-2
2 additions, 2 deletions
Script/cs/Threads/InfoServiceThread.py
with
3 additions
and
5 deletions
Script/CastorScript.py
+
1
−
3
View file @
2ce1a5b7
...
...
@@ -233,9 +233,8 @@ def main(conf):
##### Wait for the threads to finish and then stop #####
manager
.
join
()
logger
.
info
(
'
Manager Thread joined the main thread
'
)
copy
.
join
()
logger
.
info
(
'
Copy Thread joined the main thread
'
)
logger
.
info
(
'
Manager and
Copy Thread
s
joined the main thread
'
)
if
delete
:
delete
.
join
()
logger
.
info
(
'
Delete Thread joined the main thread
'
)
...
...
@@ -245,7 +244,6 @@ def main(conf):
if
conf
.
IS_enabled
:
info_service_thread
.
join
()
logger
.
info
(
'
InfoService Thread joined the main thread
'
)
if
conf
.
DdmMonitoringEnabled
:
ddm_publisher
.
join
()
logger
.
info
(
'
DdmMonitoring Thread joined the main thread
'
)
...
...
This diff is collapsed.
Click to expand it.
Script/cs/Threads/InfoServiceThread.py
+
2
−
2
View file @
2ce1a5b7
...
...
@@ -90,7 +90,7 @@ class InfoServiceThread(threading.Thread):
is_data
.
checkin
()
#self.logger.debug("Update sent: %s", str(is_data))
except
Exception
as
ex
:
self
.
logger
.
error
(
"
Error occured in send_update()
. Error was
: %s
"
,
str
(
ex
))
self
.
logger
.
error
(
"
Error occured in send_update(): %s
"
,
str
(
ex
))
# ##### TESTING FUNCTIONS #####
...
...
@@ -98,7 +98,7 @@ class InfoServiceThread(threading.Thread):
# ## potentially their functionality can be used for migrations between "CastorScriptState" OKS schema definitions
# ## When we change it, we need to make sure that the old version is not on the server, before we can publish the new version
# ## otherwise an error occurs.
# def send_wrong_info_update(self, name_of_unwanted_IS_entry, type_of_unwanted_IS_entry):
# try:
# is_data_type = type_of_unwanted_IS_entry
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment