-
Notifications
You must be signed in to change notification settings - Fork 185
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
New spec for python3 gfal2 #7326
Conversation
And I created this PR more to see if @smuzaffar could help us building this spec :-D
Shahzad, if you could spare some time looking into this, the build log can be found at: |
@amaltaro , looks like it requires gfal2 and glib devel packages. Try to install these on the build machine e.g.
also it depens on boost so add
in the |
Thanks for looking into this, Shahzad. Here is my silly question, if I install these dependencies on the build node, shouldn't I also install it on every node that will be running the service that depends on this package? |
yes those should be installed on service node too. I think you do not need |
if servcies are running in a container then just make sure that gfal2 and glib2 are installed in container |
Shahzad, just to avoid possible confusions, what you suggest is to deploy these packages in the build node (do we also need
and on the node running this service - we use docker images/container for production - we only need to install:
is that correct? |
yes that is correct for nodes running the service |
Remade gfal2-python spec with PyPi
@smuzaffar Shahzad, thanks for your prompt review. I'm going to look at your comments and update the code soon. First, I just wanted to see whether this build would indeed fail, since we do not have all the required packages installed in vocms055 AND they are not in their latest version (which has quite some critical bugfixes!). From the GFAL2 documentation: https://dmc-docs.web.cern.ch/dmc-docs/gfal2-python/pip-install.html
then we need to install the following 4 packages, which are required to build
note that gfal2/gfal2-devel might have to be upgraded. The version we get from standard repositories is:
while DMC Production will give us
Shahzad, would you see any reason not to perform these extra steps in the build node (vocms055)? Or @muhammadimranfarooqi Imran, but I know he's on vacation at this moment. If you believe it's fine, then I will contact the VoC to make these modifications on vocms055. PS: our |
@muhammadimranfarooqi @smuzaffar concerning my comment above, please let me know if you see anything missing or any problem with that procedure. If it looks good to you, would you be able to make these changes on vocms055? Otherwise I might contact Germano/VoC. |
Wonderful! Thanks, Imran! |
Fixes dmwm/WMCore#10828
This PR has some requirements for the build node (and also for the node/container running MSUnmerged), given that we do not build all the dependencies brought up with
gfal2-python
. We need to install/enable this DMC EL7 Production repository:and on the build and service-host node, we need to install these 4 packages (glib2 is likely already available):
note that the gfal2 and gfal2-devel packages must have the version
2.20.0-1.el7.cern
or higher.Then, we also have to install the gfal2 plugins on the service-host node (container). This one is mandatory:
but right now, this is the set of packages+plugins that we are deploying in the ms-unmerged image:
https://github.com/dmwm/CMSKubernetes/blob/master/docker/reqmgr2ms-unmerged/Dockerfile#L13-L21
Reference, discussion with gfal2 experts: https://cern.service-now.com/service-portal?id=ticket&table=u_request_fulfillment&n=RQF1903380