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. Disk partitions free space check is performed while deploying cluster, Kyvos Upgrade, Kyvos Patch Deploy & Kyvos Rollback

  2. 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/.

  3. 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.

  4. The name of the file is diskValidationsMetadata.json

  5. The location of the file is kyvosmanagerdata/server/userpreferences/

...

  1. When the disk space check fails due to any of the following reasons, and you still want to continue with the operation, you need to configure the value of the continueOnPartitionFreeSpaceCheckFailures property (in the Kyvos.json file) from false to true.

    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, navigate to the file that you want to update and click the corresponding Upload button.

    image-20241018-132705.pngImage Removed

    , 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, 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.

...

.

...

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.

...

.