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

Commit

Permalink
Added detect_client_location() fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PalNilsson committed May 18, 2018
1 parent 16a1d12 commit e7e1135
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,17 @@ QMUL metadata fix

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

72.11 - HOTFIX

Rucio copytool update (from M. Lassnig):
- Removed troublesome API fallback (rucio_sitemover)
- Added -v option for more verbose output (rucio_sitemover)

Bug fix:
- Changed logger.warning -> pUtil.tolog in detect_client_location(), reported by Javier Sanchez Martinez (pilot)

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

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 PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PICARD 72.10
PICARD 72.11
2 changes: 1 addition & 1 deletion pilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2652,7 +2652,7 @@ def detect_client_location(site):
s.connect(("8.8.8.8", 80))
ip = s.getsockname()[0]
except Exception as e:
logger.warning('socket() failed to lookup local IP')
pUtil.tolog('socket() failed to lookup local IP')

return {'ip': ip,
'fqdn': socket.getfqdn(),
Expand Down

0 comments on commit e7e1135

Please sign in to comment.