Revision ad00ee21 lib/cmdlib/instance.py
b/lib/cmdlib/instance.py | ||
---|---|---|
2663 | 2663 |
# dictionary with instance information after the modification |
2664 | 2664 |
ispec = {} |
2665 | 2665 |
|
2666 |
if self.op.hotplug: |
|
2667 |
result = self.rpc.call_hotplug_supported(self.instance.primary_node, |
|
2668 |
self.instance) |
|
2669 |
result.Raise("Hotplug is not supported.") |
|
2670 |
|
|
2666 | 2671 |
# Check disk modifications. This is done here and not in CheckArguments |
2667 | 2672 |
# (as with NICs), because we need to know the instance's disk template |
2668 | 2673 |
if instance.disk_template == constants.DT_EXT: |
Also available in: Unified diff