Kickstart Storage Configuration Hangs

Home » CentOS » Kickstart Storage Configuration Hangs
CentOS 2 Comments

While playing with some CS9 kickstart installation attempts
(manually/graphical works) I noticed following:

What ever I provide as ks file “anaconda” outputs (text mode):


Saving storage configuration … Checking storage configuration …
.
.
………………………………………………….

The ks file has nothing special, the storage related lines are:

ignoredisk –only-use=nvme0n1
zerombr clearpart –all –initlabel –drives=nvme0n1

and then the part/volgroup/logvol lines.

Does someone have the same issue?

I guess anaconda is not ready? Because even the ks file from the manually installed system does not work …

2 thoughts on - Kickstart Storage Configuration Hangs

  • Once upon a time, Leon Fauster said:

    I installed a 9-stream VM from kickstart today, so I don’t think it is a general issue. Did you look at the logs to see what is happening?

  • Am 05.04.22 um 23:01 schrieb Chris Adams:

    Also here, installing a couple CS9 VMs with the same ks file works flawless.

    For the sake of extending the view field I tested this ks with F35 and F36 images. The same result on this hardware. Speak, “Checking storage configuration” forever. Also a “wipe -a /dev/nvme0n1” beforehand didn’t help. So, it must be a low-level issue specifically to this hardware (dell notebook). Its just strange that a graphical installation done manually works without such issue.

    Someone with any idea?

    Last lines of anacondas storage log:

    $ tail -40 storage.log

    DEBUG:anaconda.modules.storage.bootloader.base:_is_valid_location(nvme0n1p1)
    returning True WARNING:anaconda.modules.storage.bootloader.base:nvme0n1p1 not bootable DEBUG:anaconda.modules.storage.bootloader.base:_is_valid_format(nvme0n1p1)
    returning True DEBUG:anaconda.modules.storage.bootloader.base:is_valid_stage1_device(nvme0n1p1)
    returning True DEBUG:anaconda.modules.storage.bootloader.base:Is nvme0n1p2 a valid stage2 target device?
    DEBUG:anaconda.modules.storage.bootloader.base:_is_valid_disklabel(nvme0n1p2)
    returning True DEBUG:anaconda.modules.storage.bootloader.base:_is_valid_size(nvme0n1p2)
    returning True DEBUG:anaconda.modules.storage.bootloader.base:_is_valid_partition(nvme0n1p2)
    returning True DEBUG:anaconda.modules.storage.bootloader.base:_is_valid_format(nvme0n1p2)
    returning True DEBUG:anaconda.modules.storage.bootloader.base:is_valid_stage2_device(nvme0n1p2)
    returning True DEBUG:anaconda.modules.storage.checker.utils:Available memory: 6,56 GiB
    DEBUG:blivet: DeviceTree.get_device_by_path: path:
    /dev/nvme0n1p1 ; incomplete: False ; hidden: False ;
    DEBUG:blivet: DeviceTree.get_device_by_path returned non-existent 512 MiB partition nvme0n1p1 (80) with non-existent efi filesystem mounted at /boot/efi DEBUG:blivet: DeviceTree.get_device_by_path: path:
    /dev/nvme0n1p2 ; incomplete: False ; hidden: False ;
    DEBUG:blivet: DeviceTree.get_device_by_path returned non-existent 1024 MiB partition nvme0n1p2 (87) with non-existent ext4
    filesystem mounted at /boot DEBUG:blivet: DeviceTree.get_device_by_path: path:
    /dev/nvme0n1p3 ; incomplete: False ; hidden: False ;
    DEBUG:blivet: DeviceTree.get_device_by_path returned non-existent 475,44 GiB partition nvme0n1p3 (73) with non-existent lvmpv DEBUG:anaconda.modules.storage.partitioning.validate:Storage check started with constraints {‘min_ram’: Size (320 MiB),
    ‘root_device_types’: set(), ‘min_partition_sizes’: {‘/’: Size (250 MiB),
    ‘/usr’: Size (250 MiB), ‘/tmp’: Size (50 MiB), ‘/var’: Size (384 MiB),
    ‘/home’: Size (100 MiB), ‘/boot’: Size (512 MiB)},
    ‘req_partition_sizes’: {}, ‘must_be_on_linuxfs’: {‘/’, ‘/usr’, ‘/home’,
    ‘/usr/lib’, ‘/usr/share’, ‘/var’, ‘/tmp’}, ‘must_be_on_root’: {‘/mnt’,
    ‘/sbin’, ‘/proc’, ‘lost+found’, ‘/lib’, ‘/root’, ‘/etc’, ‘/bin’,
    ‘/dev’}, ‘must_not_be_on_root’: set(), ‘reformat_allowlist’: {‘/boot’,
    ‘/usr’, ‘/var’, ‘/tmp’}, ‘reformat_blocklist’: {‘/usr/local’,
    ‘/var/www’, ‘/opt’, ‘/home’}, ‘swap_is_recommended’: False,
    ‘luks2_min_ram’: Size (128 MiB)}. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_root. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_s390_constraints. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_partition_formatting. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_partition_sizes. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_partition_format_sizes. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_bootloader. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_gpt_biosboot. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_opal_compatibility. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_swap. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_swap_uuid. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_mountpoints_on_linuxfs. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_mountpoints_on_root. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_mountpoints_not_on_root. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_unlocked_devices_have_key. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_luks_devices_have_key. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_luks2_memory_requirements. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_mounted_partitions. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_lvm_destruction. DEBUG:anaconda.modules.storage.partitioning.validate:Run sanity check verify_requests. DEBUG:anaconda.modules.storage.partitioning.validate:Storage check finished with success. DEBUG:anaconda.modules.storage.storage:The storage model has changed. DEBUG:anaconda.modules.storage.storage:The partitioning CUSTOM is applied.