Message boards : Theory Application : Win11pro - 7.37 (docker)
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8549 - Posted: 20 Mar 2025, 8:38:45 UTC
Last modified: 20 Mar 2025, 9:06:39 UTC

<core_client_version>8.0.2</core_client_version>
<![CDATA[
<message>
Unzul�ssige Funktion.
(0x1) - exit code 1 (0x1)</message>
<stderr_txt>
docker_wrapper config:
workdir: /shared
use GPU: no
Web graphics guest port: 80
create args: --log-driver=k8s-file --cap-add=SYS_ADMIN --device /dev/fuse
verbose: 1
wsl_init(): no usable WSL distro
wsl_init() failed: -1
2025-03-20 06:32:30 (21540): called boinc_finish(1)
</stderr_txt>
Is there something we need to install for running Theory-docker?

Have in CMD with Adminright wsl --install used and
rebooted Win11pro.
ID: 8549 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 195
Credit: 551,737
RAC: 412
Message 8552 - Posted: 20 Mar 2025, 9:59:02 UTC - in response to Message 8549.  

For me is different:


docker_wrapper config:
workdir: /boinc_slot_dir
use GPU: no
Web graphics guest port: 80
create args: --log-driver=k8s-file --cap-add=SYS_ADMIN --device /dev/fuse
verbose: 1
wsl_init(): no usable WSL distro
wsl_init() failed: -1
2025-03-20 10:46:47 (23348): called boinc_finish(1)


And i have and Ubuntu 24.04.2 LTS running on WLS.
Maybe the problem is the boinc manager that doesn't "see" correctly the WSL...
ID: 8552 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8554 - Posted: 20 Mar 2025, 10:11:22 UTC - in response to Message 8552.  

Have now new boincfiles from docker, but need to finish WCG-Tasks next few hours.
ID: 8554 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8555 - Posted: 20 Mar 2025, 10:31:26 UTC - in response to Message 8552.  

You will need the very latest version from the github master branch to run these tasks.
ID: 8555 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8556 - Posted: 20 Mar 2025, 10:41:41 UTC - in response to Message 8555.  
Last modified: 20 Mar 2025, 10:42:32 UTC

win_client_x64_zip
Zuletzt bearbeitet 20. März 2025, 09:59
Besitzer/-in

Laurence Field
Größe 2,7 MB
Direkter Link

https://cernbox.cern.ch
ID: 8556 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8557 - Posted: 20 Mar 2025, 10:47:55 UTC - in response to Message 8556.  

I have also put it on the server.

https://lhcathomedev.cern.ch/lhcathome-dev/download/win_client_x64_.zip
ID: 8557 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8558 - Posted: 20 Mar 2025, 11:18:34 UTC - in response to Message 8557.  
Last modified: 20 Mar 2025, 11:30:37 UTC

Have it downloaded from -dev Server. Thank you.
Need half an hour to test it from now.

wsl.exe --list --online in CMD show possible Distributions.

Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Installieren Sie die neueste PowerShell für neue Funktionen und Verbesserungen! https://aka.ms/PSWindows

PS C:\WINDOWS\system32> wsl ubuntu
Windows-Subsystem für Linux verfügt über keine installierten Distributionen.
Sie können dies beheben, indem Sie eine Distribution mit den folgenden Anweisungen installieren:

"wsl.exe --list --online' zum Auflisten verfügbarer Distributionen verwenden
und "wsl.exe --install <Distro>".
PS C:\WINDOWS\system32> wsl.exe --list --online
Nachstehend finden Sie eine Liste der gültigen Distributionen, die installiert werden können.
Führen Sie die Installation mithilfe des Befehls „wsl.exe --install <Distro>“ aus.

NAME FRIENDLY NAME
AlmaLinux-8 AlmaLinux OS 8
AlmaLinux-9 AlmaLinux OS 9
AlmaLinux-Kitten-10 AlmaLinux OS Kitten 10
Debian Debian GNU/Linux
SUSE-Linux-Enterprise-15-SP5 SUSE Linux Enterprise 15 SP5
SUSE-Linux-Enterprise-15-SP6 SUSE Linux Enterprise 15 SP6
Ubuntu Ubuntu
Ubuntu-24.04 Ubuntu 24.04 LTS
kali-linux Kali Linux Rolling
openSUSE-Tumbleweed openSUSE Tumbleweed
openSUSE-Leap-15.6 openSUSE Leap 15.6
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS
Ubuntu-22.04 Ubuntu 22.04 LTS
OracleLinux_7_9 Oracle Linux 7.9
OracleLinux_8_7 Oracle Linux 8.7
OracleLinux_9_1 Oracle Linux 9.1
PS C:\WINDOWS\system32>
ID: 8558 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8559 - Posted: 20 Mar 2025, 11:29:34 UTC - in response to Message 8558.  

Yes, just install the Ubuntu image.
ID: 8559 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8560 - Posted: 20 Mar 2025, 11:41:31 UTC - in response to Message 8559.  
Last modified: 20 Mar 2025, 11:51:18 UTC

wsl.exe --install Ubuntu

Ubuntu is now installed

wsl.exe -d Ubuntu starting it.

Create a default Unix user account: xxxx

Now the Welcome Ubuntu 24.04.2 LTS is shown.

Boinc is changed from 8.0.2 to 8.1.0.
ID: 8560 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8561 - Posted: 20 Mar 2025, 11:55:49 UTC - in response to Message 8560.  

https://lhcathomedev.cern.ch/lhcathome-dev/result.php?resultid=3390077

This is now the first -dev Task with Boinc 8.1.0.
ID: 8561 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8562 - Posted: 20 Mar 2025, 12:11:38 UTC - in response to Message 8561.  

Debugging is reasonably easy.

Stop the BONC client and make a directory in the slots directory e.g. slot\99
Copy all the files in the projects\lhc_home ... directory to slots\99
Go into the VM and navigate to the slots directory (c: is mount at /mnt )

Create links so you have Dockerfile and enttrypoint.sh pointing to the versioned files.

Run the build

podman build -t test .

This will build the container using the Dockerfile

Run the container

podman run -v ./:boinc_slot_dir test

This will try to run the container from the image.

See if you get any errors.

You can then try to run the docker_wrapper from the windows command prompt.
ID: 8562 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 195
Credit: 551,737
RAC: 412
Message 8566 - Posted: 20 Mar 2025, 13:30:15 UTC - in response to Message 8562.  

Stop the BONC client and make a directory in the slots directory e.g. slot\99
Copy all the files in the projects\lhc_home ... directory to slots\99
Go into the VM and navigate to the slots directory (c: is mount at /mnt )

Done

Create links so you have Dockerfile and enttrypoint.sh pointing to the versioned files.

??
ID: 8566 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8567 - Posted: 20 Mar 2025, 13:42:47 UTC - in response to Message 8566.  

Boinc must be from this morning from docker.com,
but get also the Boinc-Version from 0:30 UTC this night.
ID: 8567 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileLaurence CERN
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 12 Sep 14
Posts: 1114
Credit: 339,209
RAC: 43
Message 8569 - Posted: 20 Mar 2025, 14:05:43 UTC - in response to Message 8566.  
Last modified: 20 Mar 2025, 14:05:58 UTC

Create links so you have Dockerfile and enttrypoint.sh pointing to the versioned files.
??


ln -s Dockerfile Dockerfile_20_03_2025
ln -s enttrypoint.sh enttrypoint.sh_20_03_2025
ID: 8569 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8571 - Posted: 20 Mar 2025, 14:23:17 UTC - in response to Message 8569.  

In reply to Laurence CERN's message of 20 Mar 2025:
Create links so you have Dockerfile and enttrypoint.sh pointing to the versioned files.
??


ln -s Dockerfile Dockerfile_20_03_2025
ln -s enttrypoint.sh enttrypoint.sh_20_03_2025


both running ok, but podman build -t test doesn't come back.
ID: 8571 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 511
Credit: 400,710
RAC: 160
Message 8574 - Posted: 20 Mar 2025, 14:28:55 UTC - in response to Message 8569.  

There's a typo.
Should be 'entrypoint' instead of 'enttrypoint'
ID: 8574 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8575 - Posted: 20 Mar 2025, 14:33:41 UTC - in response to Message 8574.  
Last modified: 20 Mar 2025, 14:49:32 UTC

Command Podman not found, did you mean
command pod2man from deb perl (5.36.0-10ubuntu1)
Try: sudo apt install <deb name>

sudo apt install podman
[sudo] password for maeax:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package podman is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'podman' has no installation candidate
ID: 8575 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 511
Credit: 400,710
RAC: 160
Message 8576 - Posted: 20 Mar 2025, 15:16:24 UTC

sudo add-apt-repository universe
sudo apt install podman
ID: 8576 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
maeax

Send message
Joined: 22 Apr 16
Posts: 709
Credit: 2,114,314
RAC: 6,943
Message 8577 - Posted: 20 Mar 2025, 15:33:52 UTC - in response to Message 8576.  

your Linux commands are all installed now, thank you from a windowsman, NOW:

maeax@THREAD3995:/mnt/c/WINDOWS/system32$ podman build -t test
WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers
Error: no context directory and no Containerfile specified
ID: 8577 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 511
Credit: 400,710
RAC: 160
Message 8578 - Posted: 20 Mar 2025, 15:43:36 UTC - in response to Message 8577.  

Laurence wrote how the command for the local test must look like:
Run the build

podman build -t test .

Important:
cd slots/99
podman build -t test . # the 'space+dot ' .' is part of the command!
ID: 8578 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · Next

Message boards : Theory Application : Win11pro - 7.37 (docker)


©2025 CERN