Giter Site home page Giter Site logo

cern-fts / gfal2-util Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 8.0 303 KB

CLI for gfal2

Home Page: https://dmc-docs.web.cern.ch/dmc-docs/gfal2-util.html

License: Apache License 2.0

Dockerfile 0.54% Makefile 1.89% Python 74.09% Shell 23.47%
gfal protocol python

gfal2-util's People

Contributors

andrea-manzi avatar ayllon avatar carmelopellegrino avatar ellert avatar joaopblopes avatar mpatrascoiu avatar okeeble avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gfal2-util's Issues

CommandRM doesn't run base.CommandBase.__init__

as per the issue title, the gfal2_util.rm.CommandRM class implements its own __init__ method, which doesn't call that of the base class.

As a result, variables defined in the CommandBase.__init__ method are not initialized for CommandRM and, if the gfal-rm takes too long, it fails at line 178 with the following exception:

Traceback (most recent call last):
  File "/bin/gfal-rm", line 37, in <module>
    sys.exit(Gfal2Shell().main(sys.argv))
  File "/usr/lib/python2.7/site-packages/gfal2_util/shell.py", line 74, in main
    return inst.execute(command_func)
  File "/usr/lib/python2.7/site-packages/gfal2_util/base.py", line 178, in execute
    if self.progress_bar is not None:
AttributeError: 'CommandRm' object has no attribute 'progress_bar'

I can provide a pull request to fix this issue.

Please, let me also know if you rather prefer this issue to be opened on CERN GitLab.

Modern way to "bring online"?

I noticed that the command to bring data online from tape storage is legacy, but there were no modern solutions/alternatives provided in the description. Is there a better way to achieve this, or is it still suggested to just use the legacy command? My only concern is that the legacy command may become deprecated in the future and disappear.

When we do transfers via the FTS, that has a --bring-online flag, but we only use that for moving bulk data between sites. Our collaborators use the gfal utilities to access data. Thanks!

Segmentation fault for gfal-copy with gsiftp on RHEL-8

Hello GFAL developers,

we've installed a new VM with RHEL-8 to run our regular transfer tests using the gfal2-tools. They used to run just fine on SL-7, but now our gfal-copy commands randomly fail with Segmentation faults exclusively with the gsiftp transfer protocol (see attached example log).

So far, no core dumps were produced - we're trying to adjust system limits and kernel parameters to enable that. Other relevant information you might need...

$ python3 --version
Python 3.6.8

$ rpm -qa gfal2*
gfal2-plugin-file-2.21.5-1.el8.x86_64
gfal2-plugin-gridftp-2.21.5-1.el8.x86_64
gfal2-2.21.5-1.el8.x86_64
gfal2-plugin-http-2.21.5-1.el8.x86_64
gfal2-plugin-srm-2.21.5-1.el8.x86_64
gfal2-plugin-xrootd-2.21.5-1.el8.x86_64
gfal2-util-scripts-1.8.0-1.el8.noarch

$ uname -a
Linux gm-1-kit-e 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

Do you have other hints on what we should check to find out more information for you?

Best regards,
Xavier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.