Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felix Seibert
xtreemfs_client
Commits
24c1a179
Commit
24c1a179
authored
Mar 27, 2018
by
Felix Seibert
Browse files
fix environment handling, + debug output
parent
74d885fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtreemfs_client/OSDManager.py
View file @
24c1a179
...
...
@@ -131,7 +131,7 @@ class OSDManager(object):
'''
def
create_distribution_from_existing_files
(
self
,
fix_layout_internally
=
True
,
apply_layout
=
True
,
environment
=
'LOCAL'
,
):
environment
=
'LOCAL'
):
if
self
.
debug
:
print
(
"creating distribution from existing files. osd manager: "
+
str
(
self
))
...
...
@@ -167,7 +167,8 @@ class OSDManager(object):
if
fix_layout_internally
:
self
.
fix_physical_layout_internally
()
else
:
if
environment
is
'SLURM'
:
print
(
"environment in create_from_existing: "
+
str
(
environment
))
if
environment
==
'SLURM'
:
osd_list
=
self
.
distribution
.
get_osd_list
()
osd_to_folders_map
=
{}
all_folders
=
[]
...
...
Write
Preview
Supports
Markdown
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