Revision 24a40d57
b/lib/cmdlib.py | ||
---|---|---|
2527 | 2527 |
(instance.name, source_node)) |
2528 | 2528 |
|
2529 | 2529 |
if not rpc.call_instance_shutdown(source_node, instance): |
2530 |
logger.Error("Could not shutdown instance %s on node %s. Proceeding" |
|
2531 |
" anyway. Please make sure node %s is down" % |
|
2532 |
(instance.name, source_node, source_node)) |
|
2530 |
if self.op.ignore_consistency: |
|
2531 |
logger.Error("Could not shutdown instance %s on node %s. Proceeding" |
|
2532 |
" anyway. Please make sure node %s is down" % |
|
2533 |
(instance.name, source_node, source_node)) |
|
2534 |
else: |
|
2535 |
raise errors.OpExecError("Could not shutdown instance %s on node %s" % |
|
2536 |
(instance.name, source_node)) |
|
2533 | 2537 |
|
2534 | 2538 |
feedback_fn("* deactivating the instance's disks on source node") |
2535 | 2539 |
if not _ShutdownInstanceDisks(instance, self.cfg, ignore_primary=True): |
b/man/gnt-instance.sgml | ||
---|---|---|
813 | 813 |
disks before failing over the instance. If you are trying to |
814 | 814 |
migrate instances off a dead node, this will fail. Use the |
815 | 815 |
<option>--ignore-consistency</option> option for this |
816 |
purpose. |
|
816 |
purpose. Note that this option can be dangerous as errors in |
|
817 |
shutting down the instance will be ignored, resulting in |
|
818 |
possibly having the instance running on two machines in |
|
819 |
parallel (on disconnected DRBD drives). |
|
817 | 820 |
</para> |
818 | 821 |
|
819 | 822 |
<para> |
Also available in: Unified diff