Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Removed davs protocol from allowed direct access schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
PalNilsson committed Dec 10, 2018
1 parent f2cd454 commit 3b3db7a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ File Changes
M movers/mover.py (10)
M movers/rucio_sitemover.py (19)


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

73.7:
Expand Down Expand Up @@ -316,6 +315,13 @@ M movers/objectstore_sitemover.py (15)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

73.8:

Davs in direct access
- Removed davs protocol from allowed direct access schemas (Job, mover)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

TODO:

todo: remove the explicit usages of schedconfig.lfchost and replace with an experiment specific method (getFileCatalog())
Expand Down
2 changes: 1 addition & 1 deletion Job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ def is_directaccess(self, ensure_replica=True):

if ensure_replica:

allowed_replica_schemas = ['root://', 'davs://', 'dcache://', 'dcap://', 'file://', 'https://']
allowed_replica_schemas = ['root://', 'dcache://', 'dcap://', 'file://', 'https://']

if self.turl:
if True not in set([self.turl.startswith(e) for e in allowed_replica_schemas]):
Expand Down
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PICARD 73.7
PICARD 73.8
2 changes: 1 addition & 1 deletion movers/mover.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class JobMover(object):
_stageout_sleeptime_max = 5*60 # seconds, max allowed sleep time in case of stageout failure

direct_remoteinput_allowed_schemas = ['root'] ## list of allowed schemas to be used for direct acccess mode from REMOTE replicas
direct_input_allowed_schemas = ['root', 'davs', 'dcache', 'dcap', 'file', 'https'] ## list of allowed schemas to be used for direct acccess mode from local replicas
direct_input_allowed_schemas = ['root', 'dcache', 'dcap', 'file', 'https'] ## list of allowed schemas to be used for direct acccess mode from local replicas

remoteinput_allowed_schemas = ['root', 'gsiftp', 'dcap', 'davs', 'srm'] ## extend me later if need

Expand Down

0 comments on commit 3b3db7a

Please sign in to comment.