From 973f682fee6ad197745c605c524324cf5151edfa Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 24 Sep 2019 20:40:55 -0500 Subject: req: 3b: Write execution req's for disk keys --- devel/requirements/3b_runner.xml | 110 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 1 deletion(-) (limited to 'devel/requirements') diff --git a/devel/requirements/3b_runner.xml b/devel/requirements/3b_runner.xml index cb0d736..44932c6 100644 --- a/devel/requirements/3b_runner.xml +++ b/devel/requirements/3b_runner.xml @@ -546,7 +546,115 @@ Runner.Execute.diskid - + The system shall verify that each block device specified in a diskid key tuple matches the identification string provided. + + + Runner.Execute.diskid.Failure + If any block device fails the diskid identification string check, the system shall consider this a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.disklabel + The system shall create any disklabels specified in disklabel key tuples. + + + Runner.Execute.disklabel.Overwrite + If a disklabel already exists on the block device where a new disklabel will be written, the system shall erase the existing disklabel before creating the new disklabel. + + + Runner.Execute.disklabel.Failure + If a disklabel cannot be created due to an I/O error, or due to a non-existent block device, the system shall consider this a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.partition + The system shall create any partitions specified in partition key tuples. + + + Runner.Execute.partition.Failure + The system shall consider any failure to create a partition as a fatal error and stop execution of the HorizonScript, unless otherwise specified by a requirement in this tree. + + + Runner.Execute.partition.Failure.Device + If a partition cannot be created due to an I/O error, or due to a non-existent block device, the system shall consider this condition a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.partition.Failure.Numbering + The system shall consider a numbering error, defined as creating a partition with the same index as an existing partition or creating a partition with an invalid index for the block device's label, a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.partition.Failure.Duplicate + If the partition cannot be created because it already exists, and all properties are identical (index, size, type codes), the system shall continue as if the partitioning succeeded. + + + Runner.Execute.encrypt.PVs + If any lvm_pv keys are specified, and any encrypt keys specify the block device where an LVM physical volume will be created, the system shall execute the encrypt keys that correlate with lvm_pv keys before executing the lvm_pv keys. + + + Runner.Execute.lvm_pv + The system shall create any LVM physical volumes specified in lvm_pv keys. + + + Runner.Execute.lvm_pv.Failure + If a LVM physical volume cannot be created due to an I/O error, or due to a non-existent block device, the system shall consider this condition a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.lvm_vg + The system shall create any LVM volume groups specified in lvm_vg keys. + + + Runner.Execute.lvm_vg.Duplicate + If an LVM volume group with the specified name already exists on the computer, the system shall consider this condition a fatal error and stop execution of the HorizonScript unless the volume group is using the same physical volume as specified, in which case the system shall continue as if creation of the LVM volume group succeeded. + + + Runner.Execute.lvm_vg.Failure + If an LVM volume group cannot be created due to an I/O error, or due to a non-existent physical volume, the system shall consider this condition a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.encrypt.LVs + If any lvm_lv keys are specified, and any encrypt keys specify a LVM logical volume that will be created, the system shall execute the encrypt keys that correlate with lvm_lv keys before executing the lvm_lv keys. + + + Runner.Execute.lvm_lv + The system shall create any LVM logical volumes specified in lvm_lv keys. + + + Runner.Execute.lvm_lv.Failure + If an LVM logical volume cannot be created due to an I/O error, or due to a non-existent volume group, the system shall consider this condition a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.encrypt + The system shall create LUKS containers specified in encrypt keys. + + + Runner.Execute.encrypt.Prompt + If an encrypt key does not specify a passphrase, the system shall prompt the User for a passphrase via the listening agent, following the specification in . + + + Runner.Execute.fs + The system shall create file systems specified in fs key tuples. + + + Runner.Execute.fs.Overwrite + If a file system is present on the block device where a new file system is to be created, the system shall overwrite the existing file system. + + + Runner.Execute.fs.Failure + If a file system cannot be created due to an I/O error, or due to a non-existent block device, the system shall consider this condition a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.mount + The system shall mount the file systems specified in mount keys, under the /target namespace. + + + Runner.Execute.mount.UnreadableFS + If a block device specified in a mount key tuple has a file system that is unreadable by the computer, the system shall consider this condition a fatal error and stop execution of the HorizonScript. + + + Runner.Execute.mount.InvalidOption + If a mount option specified in a mount key tuple is invalid, and the file system successfully mounts without that option set, the system shall log a warning to the listening agent and proceed with installation. + + + Runner.Execute.mount.Failure + If a file system cannot be mounted due to an I/O error, or due to a non-existent block device, the system shall consider this condition a fatal error and stop execution of the HorizonScript. -- cgit v1.2.3-60-g2f50