VM creation fails with "NodeCreateFailed"
Applies to
- NetApp ONTAP Select
- NetApp ONTAP Deploy
- VMware ESXi
- VMware vSphere
Issue
The
sdotadmin_server.log
show that the vm cannot be found after the initial creation attempt:PATH:
(ONTAPdeploy) !bash
admin@ONTAPdeploy: cd /opt/netapp/log
--- sdotadmin_server.log snip ---
2021-10-12 08:12:49,438|ERROR| 1418|85207|logger.py|132|node.py|1766:vm_node_create| vm create error: <SDOTAdminError(key="NodeCreateFailed", message="Node "cluster01-01" create failed. Reason: Could not locate VM 'cluster01-01'.. Manual deletion of this node from its host may be required.")>
2021-10-12 08:12:49,443|DEBUG| 1418|85207|logger.py|132|client_api_helper.py|136:is_vm_on_host| is_vm_on_host executing
2021-10-12 08:12:49,449|DEBUG| 1418|85207|logger.py|132|client_api_helper.py|172:vm_get| vm_get executing
2021-10-12 08:12:50,237|DEBUG| 1418|85207|rest.py|173|response body: {"code":13,"details":"<vmname> invalid - no vm named 'cluster01-01' on host 'xxx.xxx.xxx.xxx'","type":"InvalidArg"}
2021-10-12 08:12:50,243|ERROR| 1418|85207|logger.py|132|client_api_helper.py|184:vm_get| Unable to locate VM "cluster01-01" on host "xxx.xxx.xxx.xxx". Reason: <vmname> invalid - no vm named 'cluster01-01' on host 'xxx.xxx.xxx.xxx'