Revision 55cec070 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
7440 | 7440 |
instance = self.instance |
7441 | 7441 |
ignore_secondaries = self.op.ignore_secondaries |
7442 | 7442 |
reboot_type = self.op.reboot_type |
7443 |
reason = self.op.reason |
|
7443 | 7444 |
|
7444 | 7445 |
remote_info = self.rpc.call_instance_info(instance.primary_node, |
7445 | 7446 |
instance.name, |
... | ... | |
7455 | 7456 |
self.cfg.SetDiskID(disk, node_current) |
7456 | 7457 |
result = self.rpc.call_instance_reboot(node_current, instance, |
7457 | 7458 |
reboot_type, |
7458 |
self.op.shutdown_timeout) |
|
7459 |
self.op.shutdown_timeout, reason)
|
|
7459 | 7460 |
result.Raise("Could not reboot instance") |
7460 | 7461 |
else: |
7461 | 7462 |
if instance_running: |
Also available in: Unified diff