Revision 9b64e486

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
b/lib/opcodes.py
81 81
#: Ignore consistency
82 82
_PIgnoreConsistency = ("ignore_consistency", False, ht.TBool)
83 83

  
84
#: Do not remember instance state changes
85
_PNoRemember = ("no_remember", False, ht.TBool)
86

  
84 87
#: OP_ID conversion regular expression
85 88
_OPID_RE = re.compile("([a-z])([A-Z])")
86 89

  
......
837 840
    _PInstanceName,
838 841
    _PForce,
839 842
    _PIgnoreOfflineNodes,
843
    _PNoRemember,
840 844
    ("hvparams", ht.EmptyDict, ht.TDict),
841 845
    ("beparams", ht.EmptyDict, ht.TDict),
842 846
    ]
......
848 852
  OP_PARAMS = [
849 853
    _PInstanceName,
850 854
    _PIgnoreOfflineNodes,
855
    _PNoRemember,
851 856
    ("timeout", constants.DEFAULT_SHUTDOWN_TIMEOUT, ht.TPositiveInt),
852 857
    ]
853 858

  

Also available in: Unified diff