Dell VxRail:如果 API 请求正文中缺少disk_group_type对象,则使用 API 进行的第 15 代群集部署将失败。

Summary: 本文介绍了 API 请求正文中缺少disk_group_type对象的情况。然后,第 15 代群集部署失败,但错误消息具有误导性,它不会说明实际原因。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

使用 VxRail 公共 API /v1/system/initialize 使用 Dell PowerEdge 15G 服务器构建群集时,必须在 API 请求正文中输入disk_group_type值。

如果缺少disk_group_type对象,群集部署验证将失败,并显示错误:
" {"message": "Failed to create workflow instance: Input JSON is not valid. The invalid field is storage, error message is \"'encryption_enabled' is a required property\", path of error field is [storage].", "code": "20102003"}}]}"
此错误消息具有误导性,不会说明缺少disk_group_type对象的真实原因。

Cause

这是 VxRail 8.0.200 版本中的代码问题。
它仅影响第 15 代群集的初始部署,并将在未来的 8.0.x 版本中修复。

Resolution

1.调用 VxRail 公共 API /v1/system/initialize/nodes ,以从自动发现的节点获取“disk_group_type”值。
例如,可从 API 输出中找到以下信息:
"disk_group_config": {
    "recommendation": {
        "type": "2804",
        "description": "Up to 4 Disk Groups (up to 6 capacity drives and 1 cache drive per group)"
    },
    "options": [
        {
            "type": "2804",
            "description": "Up to 4 Disk Groups (up to 6 capacity drives and 1 cache drive per group)"
        }
    ]
}

2.  将“disk_group_type”值添加到 VxRail 首次在“storage”部分下运行 API 请求正文。(请注意,它不在“hosts-->storage”部分下。)
例如:
"storage": {"disk_group_type": "2804"}

3.调用首先运行 API /v1/system/再次初始化 以构建群集。

Additional Information

Affected Products

VxRail Software
Article Properties
Article Number: 000219143
Article Type: Solution
Last Modified: 19 Jun 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.