Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTS error TRANSFER [5] DESTINATION MAKE_PARENT HTTP 500 : Unexpected server error: 500 with url davs://cmsio5.rc.ufl.edu... #1479

Closed
bockjoo opened this issue Jul 13, 2021 · 11 comments

Comments

@bockjoo
Copy link

bockjoo commented Jul 13, 2021

Hi,
In the xrootd 5.2.0 servers with the Lustre backend storage, I am seeing this error:
TRANSFER [5] DESTINATION MAKE_PARENT HTTP 500 : Unexpected server error: 500 with url davs://cmsio5.rc.ufl.edu:1094/store/mc/RunIISummer20UL18RECO/ST_t-channel_antitop_4f_InclusiveDecays_wtop1p3_TuneCP5_13TeV-powheg-madspin-pythia8/AODSIM/106X_upgrade2018_realistic_v11_L1v1-v3/130000",

Brian described this in
#1466 (comment)

Is this an issue with the xrootd davs protocol or should this be fixed in FTS?
Thanks,
Bockjoo

@abh3
Copy link
Member

abh3 commented Jul 14, 2021

The issue here is that the "stat" optimization has been enabled in the configuration file for the xrootd server being used. If you read past Brian's comment you will see that there is currently no way we can avoid that problem with that optimization enabled relative to the sequence of operations that FTS does. We are exploring several solutions to this problem but the only bypass available today is to either not specify the "mdhold" option on the "cms.dfs" directive or pre-create the directory. I know that neither solution is appealing.

@bockjoo
Copy link
Author

bockjoo commented Jul 14, 2021

Then, I guess I will try it without the mdhold option.
Thanks,
Bockjoo

@bockjoo
Copy link
Author

bockjoo commented Jul 16, 2021

I removed 'mdhold 20m' in the cms.dfs directive, but I still see the FTS error:
[root@cmsio8 ~]# grep cms.dfs /etc/xrootd/xrootd-clustered.cfg
#cms.dfs lookup distrib redirect immed
#cms.dfs lookup central mdhold 20m redirect verify
cms.dfs lookup central redirect verify

[root@cmsio8 ~]# grep "Unable to mkdir" /var/log/xrootd/clustered/xrootd.log | grep /store/mc/RunIISummer20UL18RECO/ST_t-channel_top_4f_hdampdown_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8
210715 21:27:08 28972 ofs_mkdir: cmsprod.17946:118@cmsfts3.fnal.gov Unable to mkdir /store/mc/RunIISummer20UL18RECO/ST_t-channel_top_4f_hdampdown_InclusiveDecays_TuneCP5_13TeV-powheg-madspin-pythia8/AODSIM/106X_upgrade2018_realistic_v11_L1v1-v3/130000; no such file or directory

Is 'cms.dfs lookup central redirect verify' the correct config that you suggested in #1479 (comment) ?
Thanks,
Bockjoo

@abh3
Copy link
Member

abh3 commented Jul 16, 2021 via email

@bockjoo
Copy link
Author

bockjoo commented Jul 16, 2021

The server xrootd.log on cmsio8 has the error 'Unable to mkdir' and cmsio8 is the server.
Is this answer to your question? Are you asking something else?

@abh3
Copy link
Member

abh3 commented Jul 16, 2021 via email

@bockjoo
Copy link
Author

bockjoo commented Jul 16, 2021

The directory is created: Initially on cmsio8, it fails to create the directory but later the directory is created on another server.
FTS seems to be seeing only the initial directory creation failure and issues the error, I think.

@bockjoo
Copy link
Author

bockjoo commented Jul 16, 2021

By the way, I can not reproduce this by submitting an FTS transfer for a file with non-existing parent directory.
So, there may be something that I am missing.
I will test some more much later today and report back.
Thanks!

@abh3
Copy link
Member

abh3 commented Jul 16, 2021 via email

@abh3
Copy link
Member

abh3 commented Sep 21, 2021

Can we close this ticket?

@bockjoo
Copy link
Author

bockjoo commented Sep 21, 2021

I've lost touch of the issue and don't remember how to continue the test.
Yes, please close this one.

@abh3 abh3 closed this as completed Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants