-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Here is the list of actions which can be performed via one.vm.action XML-RPC Method of Opennebula (http://docs.opennebula.org/4.14/integration/system_interfaces/api.html#actions-for-virtual-machine-management)
- delete
- boot
- shutdown
- suspend
- hold
- stop
- resume
- release
- poweroff
- reboot
The last operation is reboot. But in vm.py (233) we have:
def restart(self):
'''
Resubmits the VM after failure
'''
self._action('restart')
As result, error appears when trying restart a vm:
File "/usr/local/lib/python2.7/dist-packages/oca/vm.py", line 237, in restart
self._action('restart')
File "/usr/local/lib/python2.7/dist-packages/oca/vm.py", line 252, in _action
self.client.call(self.METHODS['action'], action, self.id)
File "/usr/local/lib/python2.7/dist-packages/oca/__init__.py", line 123, in call
raise OpenNebulaException(data)
oca.exceptions.OpenNebulaException: [VirtualMachineAction] Virtual machine action "restart" is not supported
Reactions are currently unavailable