~dbungert/curtin:lp-2023317-nested-ptable

Last commit made on 2024-02-19
Get this branch:
git clone -b lp-2023317-nested-ptable https://git.launchpad.net/~dbungert/curtin
Only Dan Bungert can upload to this branch. If you are Dan Bungert please log in for upload directions.

Branch merges

Branch information

Name:
lp-2023317-nested-ptable
Repository:
lp:~dbungert/curtin

Recent commits

0bff9aa... by Dan Bungert

maybe

237053d... by Olivier Gayot

Merge branch 'nvme-o-tcp-storageconfig'

https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/458446

6b297fe... by Dan Bungert

block: fix kname kernel ref

e1e633c... by Olivier Gayot

nvme: configure nvme-stas when necessary

When a NVMe controller is present in the storage config, we now
configure nvme-stas so that the remote drives can be discovered and made
available using nvme-tcp at boot.

Signed-off-by: Olivier Gayot <email address hidden>

54db5d0... by Olivier Gayot

nvme: add NVMe controller info for NVMe disks, as an optional field

In the storage config, disks now support the optional "nvme_controller"
property.

This property holds the identifier of an existing "nvme_controller"
object (which is new).

a nvme_controller object has the following properties:
 * id: a unique identifier that can be referenced in a disk.
 * type: hardcoded to "nvme_controller"
 * transport: usually "pcie", but we will look for the value "tcp"
 * tcp_port: only if transport is set to "tcp" - will indicate the port
   to connect to as an integer.
 * tcp_addr: only if transport is set to "tcp" - will indicate the
   IP address (could be IPv4 or IPv6) to connect to.

The presence of a "nvme_controller" object in the config will trigger
installation of nvme-cli and nvme-stas during curthooks, even if the
controller specifies transport = "pcie" or if the controller is actually
unused for the installation. For now, we will recommend not having
any "nvme_controller" objects in the config if we don't install to a
drive connected using NVMe over TCP.

Signed-off-by: Olivier Gayot <email address hidden>

1997a16... by Dan Bungert

block_meta: dm_crypt extensions for cryptswap

665d5cc... by Dan Bungert

unittest/block_meta: make dm_crypt tests easier

Refactor TestDmCryptHandler a bit so that tests can inherit from
DmCryptCommon and use setUpStorageConfig to provide a custom storage
config.

439fa71... by Dan Bungert

vmtests: +cryptsetup

662f978... by Kenyon Ralph <email address hidden>

doc/apt_source: fix list markup

24cd99e... by Olivier Gayot

Add missing build dependencies when building curtin as debs

When building debian packages for curtin, the test suite runs and fails
because of a few missing dependencies.

Add what's missing so we can have a green build.

Signed-off-by: Olivier Gayot <email address hidden>