JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  2004

LCG-ROLLOUT 2004

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Replication failed

From:

"Maarten Litmaath, CERN" <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Wed, 17 Nov 2004 22:06:32 +0100

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (218 lines)

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
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager