Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. You can configure and specify the free space requirement for all the required partitions.

  2. Disk partitions free space check is performed while deploying cluster, Kyvos Upgrade, Kyvos Patch Deploy & Kyvos Rollback.

  3. The diskValidationsMetadata.json file contains the disk partition details specifying which partitions need to be checked. If any manual configuration is required, the file is located at kyvosmanagerdata/server/userpreferences/.

  4. The configuration is hot deployable, which means after file upload from KM UI in the file is uploaded, all applicable operations where this disk partition check is involved, the newly applied changes in the file will be considered.

  5. If When the disk partition check fails—meaning the required amount of free space on the partitions, as specified in the diskValidationsMetadata.json file, is unavailable—you can still space check fails due to any of the following reasons, and you still want to continue with the operation. The process will not fail; instead, it will change , you need to configure the value of the key continueOnPartitionFreeSpaceCheckFailures property (in the Kyvos.json file) from continueOnPartitionFreeSpaceCheckFailures from false to true. This key determines whether the operation proceeds even if the partition disk check fails

    1 Disk space validation file missing

    2 Partition space is insufficient for any partitions mentioned in the file.

    3 Any error in per node free disk space calculation after Step-1 and Step-2 are satisfied.
    For example,

    Code Block
    {
    "partitions": {
    "/var": { "freeSpace": "2G", "type": "absolute" },
    "/run": { "freeSpace": "96", "type": "percent" }
    }
    }
Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#DEEBFF

Note

The paths /var and /run refer to directories within the Mounted on locations.

Adding, deleting or modifying partition free space information

To upload the diskValidationsMetadata.json configuration file, perform the following steps.

  1. On the navigation pane, click Utilities > Manage Configuration Files.

  2. On the Manage Configuration Files page, click to expand Kyvos Manager > Kyvos Manager folder.

    image-20241018-132705.pngImage Added
  3. In the Kyvos Manager folder, click the kyvosmanagerdata/server/userpreferences/ folder.

  4. Click the Download link to download the diskValidationsMetadata.json file.

  5. In the downloaded file, make the required changes.

  6. Before uploading the file that you want to update and click the corresponding Upload button.

    image-20241018-132705.pngImage Removed

    , ensure that the following:

    1. The file should be a valid JSON file.

    2. The file must have the same key name. For example, "freeSpace" and "type"

  7. After confirming the recommended changes (mentioned in step-6), click the Choose File button to locate the configuration file from your computer network, and click the Upload button.

    Image Added
  8. Click the Save button from the top-right of the screen.

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#FFFAE6

Important

We recommend creating a backup of all the files that you are updating, as Kyvos may not preserve these files during the upgrade.

  1. Click the Choose File button to locate the configuration file from your computer network, and click the Upload button.

    Image Removed
Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#FFFAE6

Important

You must ensure the correctness of file content before upload, as Kyvos Manager will not validate the contents.

  1. Click the Save button from the top-right of the screen.

.