VMware Cloud Community
XiaoJin2361
Contributor
Contributor

VSAN cluster cannot create virtual machine

The VSAN cluster cannot create a virtual machine, but it can run normally. If it is booted, it will report an error and cannot create "XXXX.vswp".

0 Kudos
2 Replies
XiaoJin2361
Contributor
Contributor

提交错误报告

以下信息将发送到 VMware 的安全支持网站。将会收集此数据来报告该问题,并且如果提供了的话,还会使用此数据检索和显示知识库文章。如果您选择提交错误报告,则报告将安全提交,并将保密处理。如果您不想报告该问题,则请关闭 Web 浏览器。

如果您对所报告的问题仍需要支持,则请单击此处。请注意,VMware 支持专业人员无权访问您已通过此工具发送到 VMware 的任何错误报告。由于您是连接到一个联机服务来发送错误报告的,您的 Internet 协议 (IP) 地址信息也会被收集。您的 IP 地址只用于为您提供知识库文章和生成汇总统计信息。除此之外,此信息不用于对您进行识别或与您进行联系。

要查看我们的数据收集策略,请单击此处

事件详细信息:
类型:信息
时间:2018/10/23 13:28:46
任务详细信息:
名称:CreateVM_Task
描述:创建虚拟机
错误堆栈:
出现了未知错误。
其他事件详细信息:
类型 ID: Info
DataCenter 对象类型: Datacenter
ChainId: 1874799
其他任务详细信息:
VC 内部版本: 3634794
任务 ID: Task
可取消的: True
已取消: False
描述 ID: Folder.createVm
事件链 ID: 0


0 Kudos
TheBobkin
Champion
Champion

Hello XiaoJin2361​,

"The VSAN cluster cannot create a virtual machine, but it can run normally."

If you cannot create a VM/vmdk then you likely either have a cluster partition or are out of space on at least some capacity-tier drives in your cluster. One can check both of these points via Cluster > Monitor > vSAN > Health

If vCenter is down or hosts are not responding and Health is not functional then start via SSH to the hosts with checking cluster membership and vsanDatastore usage and size (e.g. if it is reduced size or 0 then disks/hosts are not participating):

# localcli vsan cluster get

# df -h

"If it is booted, it will report an error and cannot create "XXXX.vswp"."

.vswp Objects are created fresh every time a VM is booted - the same points above apply here (cluster partition and/or out of space). In fact typically you don't even need the cluster to be fully formed to create .vswp as they have Force Provisioning enabled (you still obviously need to be able to see and write to the vsanDatastore though).

Bob

0 Kudos