Hey,
I am kind of stuck. I am writing an API with python to migrate vms. This works. Now I try to reboot, or stop a single node:
The one line of code which is supposed to do that is:
proxmox.nodes(source_node).services.post(service='stop')
source_node
is the string of the node. This works when I migrate vms and seems to be ok. Next I try to stop the node with
... service.post(service='stop')
This gives me an error saying that POST is not implemented. But according to the documentation it is.
The URL to the documentation is:
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/services/{service}/stop
What is the right statement to stop a node?
Kind regards,
Edwin
I am kind of stuck. I am writing an API with python to migrate vms. This works. Now I try to reboot, or stop a single node:
The one line of code which is supposed to do that is:
proxmox.nodes(source_node).services.post(service='stop')
source_node
is the string of the node. This works when I migrate vms and seems to be ok. Next I try to stop the node with
... service.post(service='stop')
This gives me an error saying that POST is not implemented. But according to the documentation it is.
The URL to the documentation is:
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/services/{service}/stop
What is the right statement to stop a node?
Kind regards,
Edwin