Message boards : ATLAS application : Suse tumbleweed boinc can't start virtualbox VM
Message board moderation

To post messages, you must log in.

AuthorMessage
MPI für Physik

Send message
Joined: 20 Mar 15
Posts: 7
Credit: 1,137,656,546
RAC: 235,167
Message 44304 - Posted: 12 Feb 2021, 16:08:05 UTC

Hi,

we are setting up shop on our new machines with Suse tumbleweed. We install boinc and vbox as usual, and we get tasks after joining the machine to my account.

However, they all fail with

...
2021-02-12 16:57:13 (62116): Starting VM. (boinc_1ce17a18ec64a970, slot#0)
2021-02-12 16:57:13 (62116): Error in start VM for VM: -2135228411
Command:
VBoxManage -q startvm "boinc_1ce17a18ec64a970" --type headless
Output:
VBoxManage: error: Could not launch the VM process for the machine 'boinc_1ce17a18ec64a970' (VERR_ACCESS_DENIED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "LaunchVMProcess(a->session, sessionType.raw(), ComSafeArrayAsInParam(aBstrEnv), progress.asOutParam())" at line 726 of file VBoxManageMisc.cpp
...

This is AFAICT the same error as here

https://forums.virtualbox.org/viewtopic.php?f=3&t=99518

https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5499#43250

We tried

skluth@atlas246:~$ groups boinc
boinc : boinc vboxusers

but it does not fix the problem.

It looks like something Suse t-weed specific in how boinc and vbox are configured.

Any great ideas?

Cheers, Stefan
ID: 44304 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2499
Credit: 248,063,611
RAC: 122,028
Message 44305 - Posted: 12 Feb 2021, 17:06:52 UTC - in response to Message 44304.  

Suse Leap keeps older kernels after an upgrade which sometimes causes similar issues.
I'm not sure if Tumbleweed does the same.
To fix it you may remove all kernels except the most recent one.
Then reboot and run "[sudo] rcvboxdrv setup" (just to be sure; it should run automatically).

In rare cases permissions are wrong at higher levels.
Hence, each level of the path /var/lib/boinc/... should be checked.
ID: 44305 · Report as offensive     Reply Quote
MPI für Physik

Send message
Joined: 20 Mar 15
Posts: 7
Credit: 1,137,656,546
RAC: 235,167
Message 44321 - Posted: 16 Feb 2021, 21:11:33 UTC - in response to Message 44304.  

It was simple, boinc needs to be member of group vboxusers in order for the vbox handling to work.

A simple fix is to add user boinc to group vboxusers, and restart the boinc daemon.

For a large pool of machines that doesn't really scale, so we let systemd do the work with

skluth@atlas246:~$ cat /etc/systemd/system/boinc-client.service
...
[Service]
...
User=boinc
SupplementaryGroups=vboxusers
...
That makes systemd start boinc as a member of group vboxusers. After that it worked fine. Its a simple config file, and thus easily distributed.
ID: 44321 · Report as offensive     Reply Quote
tullio

Send message
Joined: 19 Feb 08
Posts: 708
Credit: 4,336,250
RAC: 0
Message 44323 - Posted: 17 Feb 2021, 5:34:23 UTC

I am running Tumbleweed in a Virtual Machine on a Windows 10 host. It is constantly updated and I have to reboot it nearly every time. My latest kernel is 5.10.14.I have kept it as the sole machine in Science United. Last time it updated 2300 Linux packages and I rebooted it.
Tullio
ID: 44323 · Report as offensive     Reply Quote
tullio

Send message
Joined: 19 Feb 08
Posts: 708
Credit: 4,336,250
RAC: 0
Message 44337 - Posted: 18 Feb 2021, 2:50:56 UTC

I am now downloading 226 updates with kernel 5.10.16
Tulllio
ID: 44337 · Report as offensive     Reply Quote

Message boards : ATLAS application : Suse tumbleweed boinc can't start virtualbox VM


©2024 CERN