Revision 9b64e486 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
5191 | 5191 |
instance = self.instance |
5192 | 5192 |
force = self.op.force |
5193 | 5193 |
|
5194 |
self.cfg.MarkInstanceUp(instance.name) |
|
5194 |
if not self.op.no_remember: |
|
5195 |
self.cfg.MarkInstanceUp(instance.name) |
|
5195 | 5196 |
|
5196 | 5197 |
if self.primary_offline: |
5197 | 5198 |
assert self.op.ignore_offline_nodes |
... | ... | |
5332 | 5333 |
node_current = instance.primary_node |
5333 | 5334 |
timeout = self.op.timeout |
5334 | 5335 |
|
5335 |
self.cfg.MarkInstanceDown(instance.name) |
|
5336 |
if not self.op.no_remember: |
|
5337 |
self.cfg.MarkInstanceDown(instance.name) |
|
5336 | 5338 |
|
5337 | 5339 |
if self.primary_offline: |
5338 | 5340 |
assert self.op.ignore_offline_nodes |
Also available in: Unified diff