AGL-netboot on Ubuntu20.04(nbd-server)

Description

xnbd-server command was removed from Ubuntu20.04 [1]

Then, agl-netboot doesn't work on Ubuntu 20.04 as host PC. 

AGL should replace to another  item like as "nbd-server".

 

[1] https://launchpad.net/ubuntu/focal/amd64/xnbd-server/

Environment

None

Activity

Corentin Labbe 
May 5, 2023 at 1:29 PM

patch was merged upstream.

Corentin Labbe 
March 10, 2023 at 12:10 PM

patch sent to LAVA t handle this problem https://git.lavasoftware.org/lava/lava/-/merge_requests/2023

Corentin Labbe 
January 24, 2023 at 9:17 AM

Issue created on LAVA https://git.lavasoftware.org/lava/lava/-/issues/585

lava-docker now handle this problem.

Jan-Simon Moeller 
January 20, 2023 at 1:28 PM
(edited)

Long issue description:

Ubuntu deploys a config template to /etc/nbd-server/config which is read in first before cmdline is parsed.

Thus the user was set to 'nbd' and the file were written out by lava under a different user -> thus r/o .

Removing the file or setting user to root will fix the issue.

 

Options: have lava chown the files to nbd:nbd

Options: have lava supply its own config file to match above

Corentin Labbe 
January 20, 2023 at 1:23 PM

The problem was due to /etc/nbd-server/config setting user as nbd.

Fixed

Details

Assignee

Reporter

Contract ID

Priority

Created March 2, 2022 at 1:38 AM
Updated May 8, 2023 at 2:31 PM
Resolved May 5, 2023 at 1:29 PM

Flag notifications