Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wrapper
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
wrapper
Commits
9c64a6c6
Commit
9c64a6c6
authored
Oct 15, 2021
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
fix checking network settings on startup
parent
d3098370
No related branches found
No related tags found
1 merge request
!10
Release
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
wrapper.py
+8
-6
8 additions, 6 deletions
wrapper.py
with
8 additions
and
6 deletions
wrapper.py
+
8
−
6
View file @
9c64a6c6
...
...
@@ -795,8 +795,15 @@ class Targets:
def
main
():
# Command line arguments
args
=
get_args
()
# Ensure network settings are properly configured before allowing a start
if
not
check_networking
():
log
.
error
(
"
Unacceptable network settings, refusing to start.
"
"
Run the suggested commands and restart the wrapper service.
"
)
raise
Exception
# Command line arguments
log
.
info
(
"
Running with configuration: {}
"
.
format
(
args
))
binary_path
=
args
[
"
binary_path
"
]
...
...
@@ -827,11 +834,6 @@ def main():
disable_consensus
=
args
[
"
disable_consensus
"
]
disable_cloudwatch
=
args
[
"
disable_cloudwatch
"
]
# Ensure network settings are properly configured before allowing a start
if
not
check_networking
():
raise
Exception
(
"
Unacceptable network settings, refusing to start.
"
"
Run the suggested commands and restart the wrapper service.
"
)
# The valid "install" paths we can write to, with their local paths for
# this machine
valid_paths
=
{
...
...
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