I'm trying to use curl to create an antlet and I'm receiving the following error. I did read a previous post on the error that ran a few commands to ensure the antlet was removed, however, no matter what I change the dname too I get the same error.
Any help that can be provided would be appreciated.
Error
{"success":false,"message":"1 Could not zfs clone for antlet testserver1"}
I've tried the following commands
Without optional zpool-name
curl -X POST -H 'Authorization: Token ey.....' --header 'Content-Type: application/json' --header 'Accept: application/octet-stream' -d '{"dname": "testserver1","template": "Ubuntu16.04 - KVM","ram": 1,"cpu": 1,"antlet-num": 15,"compression": "inhert"}' 'http://domain.local/api/antlets'
With optional zpool-name
curl -X POST -H 'Authorization: Token ey...' --header 'Content-Type: application/json' --header 'Accept: application/octet-stream' -d '{"dname": "testserver1","template": "Ubuntu16.04 - KVM","ram": 1,"cpu": 1,"antlet-num": 15,"zpool-name": "antlets","compression": "inhert"}' 'http://domain.local/api/antlets'