On Wed, 17 Nov 2004, Daniel Cano wrote:
> Hello,
> we are having some problems that we can't locate with some RM-*
> commands. PrintInfo, CopyAndRegister and Copy seem to work, while
> Replicate, 3rd PartyReplicate, 3rd Party Copy and Delete Replicas
All those commands complain about the RMC not being found in the
information system. The RMC is needed whenever an LFN is given:
did you try the CopyAndRegister command without an LFN?
Do those other commands always fail? Can you try again?
> doesn't. Below there is the a part of the test output. This is the first
> error, then (I suppose), the rest are as a consecuence of this one. Any
> ideas?
What BDII are you using? Check the line starting with "mds.url=" in
/opt/edg/var/etc/edg-replica-manager/edg-replica-manager.conf.
> Thanks in advance
>
> Dani
>
> *******************************************************************
>
>
> Checking replication to SE at CERN (lxn1183.cern.ch)
>
> Replicate the file from the default SE to SE at CERN
>
> + edg-replica-manager -v --vo dteam replicateFile lfn:.gtbpru10.ifca.unican.es.0411170744 -d lxn1183.cern.ch
> edg-replica-manager starting..
> Issuing command : replicateFile
> Parameters:
> lfn:.gtbpru10.ifca.unican.es.0411170744
> -d
> lxn1183.cern.ch
> Destination is a host : //lxn1183.cern.ch
> Call replica manager replicatefile function
> Finding best replica of : lfn:.gtbpru10.ifca.unican.es.0411170744
> 'Best' with respect to : lxn1183.cern.ch
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + result=255
> + set +x
>
> List replicas to check if replication was really successful
>
> + edg-replica-manager -v --vo dteam lr lfn:.gtbpru10.ifca.unican.es.0411170744
> edg-replica-manager starting..
> Issuing command : lr
> Parameters:
> lfn:.gtbpru10.ifca.unican.es.0411170744
> Call replica catalog listreplicas function
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + set +x
>
>
> Checking 3rd party replication from lxn1183.cern.ch to the default SE
>
> ++ edg-rm --vo dteam lr lfn:TheUniversalFile.txt
> ++ grep lxn1183.cern.ch
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + ufilesfn=
> + edg-replica-manager -v --vo dteam replicateFile
> edg-replica-manager starting..
> Issuing command : replicateFile
> Parameters:
> Error: replicateFile: Expected 1 arguments, got 0
> org.edg.data.util.CommandLineException: replicateFile: Expected 1 arguments, got 0
> at org.edg.data.util.CommandBase.(CommandBase.java:65)
> at org.edg.data.reptor.client.CommandReplicateFile.(CommandReplicateFile.java:40)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at org.edg.data.util.CommandFactory.createCommand(CommandFactory.java:51)
> at org.edg.data.util.CommandClient.execute(CommandClient.java:127)
> at org.edg.data.reptor.client.Main.main(Main.java:39)
> usage: edg-replica-manager replicateFile sourceFileName [command-options]
> Replicate a file to another SE.
> -d,--destination-file The destination to
> replicate to. This may
> be a fully qualified
> SURL, just an SE host
> name or just be omitted
> - in which case the
> replication will be
> done to the closest SE.
> -n,--streams <#streams> The number of parallel
> streams to use if
> supported by protocol.
> Optional.
> -p,--protocol The protocol to be used
> for the transfer
> (optional).
> Arguments:
> sourceFileName The file to replicate. This may be an LFN, GUID or
> SURL. For LFN and GUID the best SURL is found
> through listBestFile. If the destination SE is
> omitted, the file is replicated to the local SE,
> i.e. it's the same as getBestFile.
> + result=1
> + set +x
>
> List replicas to check if replication was really successful
>
> + edg-replica-manager -v --vo dteam lr lfn:TheUniversalFile.txt
> edg-replica-manager starting..
> Issuing command : lr
> Parameters:
> lfn:TheUniversalFile.txt
> Call replica catalog listreplicas function
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + set +x
>
>
> Checking copyFile for 3rd party replicated file
>
> ++ pwd
> + edg-replica-manager -v --vo dteam cp lfn:TheUniversalFile.txt file:///home/dteam004/globus-tmp.gtbpru10.8221.0/WMS_gtbpru10_08691_https_3a_2f_2flxn1188.cern.ch_3a9000_2fVVewake_5f6WKrtrDVwEiLxw/TheUniversalFile.txt
> edg-replica-manager starting..
> Issuing command : cp
> Parameters:
> lfn:TheUniversalFile.txt
> file:///home/dteam004/globus-tmp.gtbpru10.8221.0/WMS_gtbpru10_08691_https_3a_2f_2flxn1188.cern.ch_3a9000_2fVVewake_5f6WKrtrDVwEiLxw/TheUniversalFile.txt
> Call replica manager copyFile function
> Finding best replica of : lfn:TheUniversalFile.txt
> 'Best' with respect to : null
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + result=255
> + set +x
>
> The contents of TheUniversalFile.txt:
>
> cat: TheUniversalFile.txt: No such file or directory
>
>
> Checking deleteFile command on replicated file
>
> Remove the replica from the default SE: gtbcg13.ifca.unican.es
>
> + edg-replica-manager -v --vo dteam del lfn:TheUniversalFile.txt -s gtbcg13.ifca.unican.es
> edg-replica-manager starting..
> Issuing command : del
> Parameters:
> lfn:TheUniversalFile.txt
> -s
> gtbcg13.ifca.unican.es
> Call replica manager delete function
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + result=255
> + set +x
>
> List replicas to check if file was really deleted
>
> + edg-replica-manager -v --vo dteam lr lfn:TheUniversalFile.txt
> edg-replica-manager starting..
> Issuing command : lr
> Parameters:
> lfn:TheUniversalFile.txt
> Call replica catalog listreplicas function
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + set +x
>
>
> Remove the replicas of test file from lxn1183.cern.ch and the
> default SE: gtbcg13.ifca.unican.es
>
> edg-replica-manager --vo dteam lg lfn:.gtbpru10.ifca.unican.es.0411170744
> ++ edg-replica-manager --vo dteam lg lfn:.gtbpru10.ifca.unican.es.0411170744
> org.edg.data.reptor.info.InfoServiceException: No Service found edg-replica-metadata-catalog
> + myGUID=
> + edg-replica-manager -v --vo dteam del -a --all-lfn
> edg-replica-manager starting..
> Issuing command : del
> Parameters:
> -a
> --all-lfn
> Error: deleteFile: Expected 1 arguments, got 0
> org.edg.data.util.CommandLineException: deleteFile: Expected 1 arguments, got 0
> at org.edg.data.util.CommandBase.(CommandBase.java:65)
> at org.edg.data.reptor.client.CommandDeleteFile.(CommandDeleteFile.java:37)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at org.edg.data.util.CommandFactory.createCommand(CommandFactory.java:51)
> at org.edg.data.util.CommandClient.execute(CommandClient.java:127)
> at org.edg.data.reptor.client.Main.main(Main.java:39)
> usage: edg-replica-manager deleteFile fileName [command-options]
> Delete an SURL from the Grid. For GUIDs the --all-available flag may be set
> to delete all instances that are currently known about by the RLI (be aware
> that there is an finite RLI update latency). It only deletes instances that
> are currently available. Note that this does not guarantee that ALL
> replicas will actually be deleted.
> -s,--storage The storage host from which the
> physical instance is to be
> deleted. This is mandatory for
> LFNs, ignored for SURLs and
> mandatory for GUIDs if the
> --all-available flag is not set.
> --all-lfn Delete all LFN-GUID mappings as
> well. This has only an effect is
> --all-available is also set.
> -a,--all-available If this is set and the file-name
> is a GUID, make a best-effort
> attempt to delete all replicas
> of this file.
> Arguments:
> fileName File to delete. This has to be a grid-file, i.e.
> LFN, SURL or GUID. For GUIDs the --all-available
> flag may be set to attempt to delete all instances
> (on a best-effort basis). For LFNs the storage
> option has to be set.
> + set +x
>
|