Comment 4 for bug 1887669

Revision history for this message
Ryan Harper (raharper) wrote :

I'm not sure there's a curtin issue here: the probe returns what's expected AFAICT:

2020-07-15 12:43:18,223 DEBUG curtin:1358 Merged storage config:
storage:
    config:
    - blocksize: 512
        device_id: 0.0.262f
        disk_layout: not-formatted
        id: dasd-dasda
        mode: full
        type: dasd
    - device_id: 0.0.262f
        id: disk-dasda
        path: /dev/dasda
        type: disk
    version: 1

wipe: superblock is not valid on type: dasd

##### Validation Errors #####
Additional properties are not allowed ('wipe' was unexpected) in examples/tests/basic-dasd.yaml
{
 "blocksize": 4096,
 "device_id": "0.0.1520",
 "disk_layout": "cdl",
 "id": "dasd_spare",
 "mode": "full",
 "type": "dasd",
 "wipe": "superblock"
}
-----------------------------

Curtin checks if the target disk matches (label, layout, blocksize) and if they don't match the config, it will issue dasdfmt command.