Project

General

Profile

Actions

action #178723

open

coordination #169654: [epic] Create test scenarios for Agama

Create new test scenario to format directly home and configure boot partition in a different disk

Added by JERiveraMoya 21 days ago. Updated 7 days ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
2025-03-12
Due date:
% Done:

0%

Estimated time:

Description

Motivation

There is a couple of feature that can be covered in the same scenario.

  • Disk directly formatted (also called "using the whole disk) or in other words, without involving partitioning. We already covered this when we directly used physical volume but the other possibility is to format directly home.
  • Configure whether (and where, using an alias) Agama should calculate and create the extra partitions needed for booting.

We could combine both in single scenario with a profile which might look like this:

{
    "storage": {
        "drives": [
            {
                "search": "/dev/vda",
                "filesystem": {
                    "path": "/home"
                }
            },
            {
                "search": "/dev/vdb",
                "partitions": [
                    {
                        "filesystem": {
                            "path": "/"
                        }
                    }
                ]
            },
            {
                "search": "/dev/vdc",
                "alias": "boot-disk"
            }
        ],
        "boot": {
            "configure": "true",
            "device": "boot-disk"
        }
    }
}

I possible name could be this: sles_use_whole_disk_and_boot_partition which is "almost" clear.

Acceptance criteria

  • AC1: Create new test suite to format directly home and configure boot partition in a different disk.
  • AC2: Validation should check that boot is really in a separate partition from root and that /home is not in any partition but in the disk itself.
Actions #1

Updated by JERiveraMoya 21 days ago

  • Description updated (diff)
Actions #2

Updated by hjluo 20 days ago

  • Status changed from Workable to In Progress
  • Assignee set to hjluo
Actions #4

Updated by JERiveraMoya 19 days ago

hjluo wrote in #note-3:

Draft without verification runs or validation do not make much sense, please use reporting wisely once you have achieve something that goes beyond the ticket specification.
Reason: to avoid look at something or trigger a review and finding nothing to do, I hope it is understandable.

Actions #5

Updated by hjluo 15 days ago

- now the installation works but can't boot up, now trying to use bootindex=N for qume to see if it works.

Actions #6

Updated by hjluo 7 days ago

  • Now it works with UEFI and try to use templating for jsonnet and add validate_partition.
Actions

Also available in: Atom PDF