Revision 4a90bd4f lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
7361 | 7361 |
instance = self.instance |
7362 | 7362 |
ignore_secondaries = self.op.ignore_secondaries |
7363 | 7363 |
reboot_type = self.op.reboot_type |
7364 |
reason = self.op.reason |
|
7364 | 7365 |
|
7365 | 7366 |
remote_info = self.rpc.call_instance_info(instance.primary_node, |
7366 | 7367 |
instance.name, |
... | ... | |
7376 | 7377 |
self.cfg.SetDiskID(disk, node_current) |
7377 | 7378 |
result = self.rpc.call_instance_reboot(node_current, instance, |
7378 | 7379 |
reboot_type, |
7379 |
self.op.shutdown_timeout) |
|
7380 |
self.op.shutdown_timeout, |
|
7381 |
reason) |
|
7380 | 7382 |
result.Raise("Could not reboot instance") |
7381 | 7383 |
else: |
7382 | 7384 |
if instance_running: |
Also available in: Unified diff