Dell NativeEdge:如何解决部署错误“无法从端点下载蓝图目录。”
摘要: 在某些部署中,Ansible 节点卡住,并显示以下错误消息: 未能从端点下载蓝图目录。正在回滚到静止请求。 本文旨在了解错误并修复蓝图,以使部署正常工作。
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
症状
在部署期间,您可能会在日志中遇到以下错误:
error nativeedge_log Failed to download blueprint directory from endpoint. Falling back to rest request.
nativeedge_event Task failed 'ne_ansible.tasks.run' -> [Errno 17] Output file 'name_ofthe_blueprint.zip' already exists: 'name_ofthe_blueprint.zip' [retry 2/60]原因
此错误背后的原因是 Ansible 插件无法将其内容与已上传到 EdgeOrchestrator 内部的内容进行比较。当插件尝试再次上传它(例如,在此蓝图内有第二个 Ansible node_template)时,会失败并显示此错误。
NativeEdge Ansible 插件中的问题已记录,并将在下一版本中修复。
解决方案
若要解决此问题,请转到包含蓝图源代码的工作目录,或从 Edge Orchestrator 下载蓝图并将其提取。
使用 Linux 中的任何终端或适用于 Windows 的 Powershell 导航以转至包含蓝图的目录。
对于 Linux,运行以下命令:
find /path/to/directory -type f -empty
对于 Windows,运行以下命令:
Get-ChildItem -Path . -File -Recurse | Where-Object { $_.Length -eq 0 } | ForEach-Object {
# Output the full path of the empty file
$_.FullName
}
输出应提供蓝图内的空文件列表。
以您喜欢的任何方式删除空文件。
重新压缩蓝图并验证问题是否已解决。
受影响的产品
NativeEdge Solutions, NativeEdge文章属性
文章编号: 000256511
文章类型: Solution
上次修改时间: 22 5月 2026
版本: 3
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。