X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/6263189c05b8692cf5944fea8af3b0e66305c56f..642464388b1c03d09b1c1ff8401e0f0300319542:/lib/rpc.py diff --git a/lib/rpc.py b/lib/rpc.py index 227e355..61895d5 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -548,14 +548,15 @@ class RpcRunner(object): return self._SingleNodeCall(node, "instance_migrate", [self._InstDict(instance), target, live]) - def call_instance_reboot(self, node, instance, reboot_type): + def call_instance_reboot(self, node, inst, reboot_type, shutdown_timeout): """Reboots an instance. This is a single-node call. """ return self._SingleNodeCall(node, "instance_reboot", - [self._InstDict(instance), reboot_type]) + [self._InstDict(inst), reboot_type, + shutdown_timeout]) def call_instance_os_add(self, node, inst, reinstall): """Installs an OS on the given instance.