Revision 1a8c0ce1 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
4027 | 4027 |
# shutdown the instance, unless requested not to do so |
4028 | 4028 |
if self.op.shutdown: |
4029 | 4029 |
op = opcodes.OpShutdownInstance(instance_name=instance.name) |
4030 |
self.processor.ChainOpCode(op, feedback_fn)
|
|
4030 |
self.processor.ChainOpCode(op) |
|
4031 | 4031 |
|
4032 | 4032 |
vgname = self.cfg.GetVGName() |
4033 | 4033 |
|
... | ... | |
4053 | 4053 |
if self.op.shutdown: |
4054 | 4054 |
op = opcodes.OpStartupInstance(instance_name=instance.name, |
4055 | 4055 |
force=False) |
4056 |
self.processor.ChainOpCode(op, feedback_fn)
|
|
4056 |
self.processor.ChainOpCode(op) |
|
4057 | 4057 |
|
4058 | 4058 |
# TODO: check for size |
4059 | 4059 |
|
... | ... | |
4079 | 4079 |
# substitutes an empty list with the full cluster node list. |
4080 | 4080 |
if nodelist: |
4081 | 4081 |
op = opcodes.OpQueryExports(nodes=nodelist) |
4082 |
exportlist = self.processor.ChainOpCode(op, feedback_fn)
|
|
4082 |
exportlist = self.processor.ChainOpCode(op) |
|
4083 | 4083 |
for node in exportlist: |
4084 | 4084 |
if instance.name in exportlist[node]: |
4085 | 4085 |
if not rpc.call_export_remove(node, instance.name): |
Also available in: Unified diff