Revision aa922d64 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 |
|
7444 | 7443 |
|
7445 | 7444 |
remote_info = self.rpc.call_instance_info(instance.primary_node, |
7446 | 7445 |
instance.name, |
... | ... | |
7456 | 7455 |
self.cfg.SetDiskID(disk, node_current) |
7457 | 7456 |
result = self.rpc.call_instance_reboot(node_current, instance, |
7458 | 7457 |
reboot_type, |
7459 |
self.op.shutdown_timeout, |
|
7460 |
reason) |
|
7458 |
self.op.shutdown_timeout) |
|
7461 | 7459 |
result.Raise("Could not reboot instance") |
7462 | 7460 |
else: |
7463 | 7461 |
if instance_running: |
Also available in: Unified diff