1) Message boards : Theory Application : New native version v300.08 (Message 51715)
Posted 18 Mar 2025 by [BAT] Svennemans
Post:
All right! Now it works, first workunit returned and valid!

Turns out runc had been installed from the containerd.io package as part of docker. Removing docker and installing runc separate did the trick.

Thanks for the help and sorry for the earlier ot + double post - didn't spot your message until I had already reposted thinking the earlier post somehow failed.
2) Message boards : Theory Application : New native version v300.08 (Message 51697)
Posted 16 Mar 2025 by [BAT] Svennemans
Post:
Unfortunately, even though cvmfs config looks OK, the Theory app still fails.

stderr below

Any idea what's still wrong with the setup?

23:42:47 (2718132): wrapper (7.15.26016): starting
23:42:47 (2718132): wrapper (7.15.26016): starting
23:42:47 (2718132): wrapper: running ../../projects/lhcathome.cern.ch_lhcathome/cranky-0.1.4 ()
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Detected Theory App
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] This application must have permanent access to
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] online repositories via a local CVMFS service.
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] It supports suspend/resume if a couple of
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] requirements are fulfilled.
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Most important:
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] - init process is systemd
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] - cgroups v2 is enabled and 'freezer' is available
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] - the user running this application is a member of the 'boinc' group
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] - sudo is at least version 1.9.10
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] - sudoer file provided by LHC@home is installed
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Checking local requirements.
23:42:47 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Found Sudo-Version 1.9.15p5.
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Probing /cvmfs/alice.cern.ch... OK
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Probing /cvmfs/cernvm-prod.cern.ch... OK
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Probing /cvmfs/grid.cern.ch... OK
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Probing /cvmfs/sft.cern.ch... OK
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Excerpt from "cvmfs_config stat": VERSION HOST PROXY
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] 2.12.7.0 http://s1ral-cvmfs.openhtc.io/cvmfs/alice.cern.ch DIRECT
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Found a local runc version 1.2.2.
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Creating container filesystem.
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Using /cvmfs/cernvm-prod.cern.ch/cvm4
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Starting runc container.
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] To get some details on systemd level run
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] systemctl status Theory_2843-4272113-527_2.scope
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] mcplots runspec: boinc pp z1j 13000 35 - pythia6 6.428 p2010 100000 527
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] ----,^^^^,<<<~_____---,^^^,<<~____--,^^,<~__;_
time="2025-03-16T23:42:50+01:00" level=fatal msg="nsexec-1[2719159]: failed to unshare remaining namespaces: Operation not permitted"
time="2025-03-16T23:42:50+01:00" level=fatal msg="nsexec-0[2719158]: failed to sync with stage-1: next state: Success"
time="2025-03-16T23:42:50+01:00" level=error msg="runc run failed: unable to start container process: can't get final child's PID from pipe: EOF"
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Container Theory_2843-4272113-527_2 finished with status code 1.
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [INFO] Preparing output.
23:42:50 CET +01:00 2025-03-16: cranky-0.1.4: [ERROR] No output found.
23:42:51 (2718132): cranky exited; CPU time 0.203514
23:42:51 (2718132): app exit status: 0xce
23:42:51 (2718132): called boinc_finish(195)
3) Message boards : Number crunching : Recommended CVMFS Configuration for Native Apps - Comments and Questions (Message 51687)
Posted 13 Mar 2025 by [BAT] Svennemans
Post:
Try this

sudo cvmfs_config umount
sudo systemctl restart autofs
sudo cvmfs_config setup
cvmfs_config probe
cvmfs_config stat



That did the trick! I got a normal output from 'stat' this time.

Thanks, man!
4) Message boards : Number crunching : Recommended CVMFS Configuration for Native Apps - Comments and Questions (Message 51683)
Posted 13 Mar 2025 by [BAT] Svennemans
Post:
I don't know.
Maybe you didn't run cvmfs_config setup, or didn't restart autofs after making configuration changes with systemctl restart autofs?

Try troubleshooting steps at

https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#troubleshooting


I did all of those, to no effect.
5) Message boards : Number crunching : Recommended CVMFS Configuration for Native Apps - Comments and Questions (Message 51680)
Posted 13 Mar 2025 by [BAT] Svennemans
Post:
Hi,

I installed cvmfs on an Ubuntu 24.04.

Local config /etc/cvmfs/default.local:

# Must be set: the repositories required for ATLAS/Theory
# If "CVMFS_DEFAULT_DOMAIN" is set to "cern.ch" like in /etc/cvmfs/default.d/50-cern.conf
# simple names will expand to FQRNs,
# e.g. atlas -> atlas.cern.ch
CVMFS_REPOSITORIES="atlas,atlas-condb,grid,cernvm-prod,sft,alice"

# Must be set: to ensure openhtc.io will be used
CVMFS_USE_CDN=yes

# If a local proxy <my_proxy> is available that listens at port <proxy_port>.
# Replace <my_proxy> with either:
# - the computer name of your local proxy; requires a well configured local name resolution
# - the FQDN of your local proxy; requires a well configured local name resolution
# - the IP of your local proxy
# Replace <proxy_port> with your proxy's TCP port; Squid's default would be 3128
# Pattern: CVMFS_HTTP_PROXY="http://<my_proxy>:<proxy_port>;DIRECT"
# Example: CVMFS_HTTP_PROXY="http://squid:3128;DIRECT"

# Only recommended for clusters <5 worker nodes:
# uncomment the next line if no local proxy is available.
CVMFS_HTTP_PROXY="auto;DIRECT"

# further options
CVMFS_KCACHE_TIMEOUT=2
CVMFS_MAX_RETRIES=3
CVMFS_QUOTA_LIMIT=6000
CVMFS_DEBUGLOG=/tmp/cvmfs.log


running cvmfs_config probe:

# cvmfs_config probe
Probing /cvmfs/atlas.cern.ch... OK
Probing /cvmfs/atlas-condb.cern.ch... OK
Probing /cvmfs/grid.cern.ch... OK
Probing /cvmfs/cernvm-prod.cern.ch... OK
Probing /cvmfs/sft.cern.ch... OK
Probing /cvmfs/alice.cern.ch... OK


the 'chkconfig' command just gives a bunch of warnings on not finding an auto proxy - but I'm assuming it then falls back to DIRECT - given that the Probe succeeds?

So probe seems OK, but cvmfs_config stat gives me the following error:

cvmfs_config stat
/usr/bin/cvmfs_config: line 935: cd: /cvmfs/cvmfs-config.cern.ch: Transport endpoint is not connected


Any idea what's wrong here?



©2025 CERN