diff --git a/castor/scheduler/diskmanager/runningtransfersset.py b/castor/scheduler/diskmanager/runningtransfersset.py index e6639269179eae6cb9b1eb7b4247dede978f2a5a..c650837ae5606ad2fece607da35100d129f88e1f 100644 --- a/castor/scheduler/diskmanager/runningtransfersset.py +++ b/castor/scheduler/diskmanager/runningtransfersset.py @@ -92,10 +92,9 @@ class RunningTransfersSet(object): # process we were looking at. We only ignore this process as it has probably # finished in the mean time pass - # then query xroot for its transfers + # then query xroot for its transfers: this query is only allowed on localhost and it does not need to be secured try: - # XXX TODO replace socket.getfqdn() with 'localhost' after deploying the new xrootd-python package - fs = XrdClient.FileSystem(xrootiface.buildXrootURL(socket.getfqdn(), '', None, '')) + fs = XrdClient.FileSystem('root://localhost') # a full URL would be xrootiface.buildXrootURL('localhost', '', None, '') st_stat, resp = fs.query(QueryCode.OPAQUE, "transfers") if not st_stat.ok: # 'Failed to query xrootd server' message diff --git a/debian/control b/debian/control index 51ae013287b22bd1df5c6b09e122fe33380a91f0..06fb535436af7f91f482861951ee18e2d5aa682e 100644 --- a/debian/control +++ b/debian/control @@ -75,7 +75,7 @@ Description: castor (Cern Advanced STORage system) Package: castor-diskserver-manager Architecture: any -Depends: python, logrotate, python-daemon, python-rpyc >= 3.3, python-crypto >= 2.6, xrootd-python, castor-lib = %{version}-%{release}, castor-lib-server = %{version}-%{release} +Depends: python, logrotate, python-daemon, python-rpyc >= 3.3, python-crypto >= 2.6, xrootd-python >= 0.3, castor-lib = %{version}-%{release}, castor-lib-server = %{version}-%{release} Conflicts: castor-dbtools, castor-transfer-manager Description: castor (Cern Advanced STORage system) Disk server manager of CASTOR