Revision 66223061
b/lib/cmdlib/instance.py | ||
---|---|---|
3799 | 3799 |
# Show the Private(...) blurb. |
3800 | 3800 |
result.append(("os_private/%s" % key, repr(val))) |
3801 | 3801 |
|
3802 |
self.cfg.Update(self.instance, feedback_fn, self.proc.GetECId()) |
|
3803 |
|
|
3802 | 3804 |
if self.op.offline is None: |
3803 | 3805 |
# Ignore |
3804 | 3806 |
pass |
... | ... | |
3811 | 3813 |
self.cfg.MarkInstanceDown(self.instance.uuid) |
3812 | 3814 |
result.append(("admin_state", constants.ADMINST_DOWN)) |
3813 | 3815 |
|
3814 |
self.cfg.Update(self.instance, feedback_fn, self.proc.GetECId()) |
|
3815 |
|
|
3816 | 3816 |
assert not (self.owned_locks(locking.LEVEL_NODE_RES) or |
3817 | 3817 |
self.owned_locks(locking.LEVEL_NODE)), \ |
3818 | 3818 |
"All node locks should have been released by now" |
Also available in: Unified diff