Revision 61a980a9 lib/cmdlib.py

b/lib/cmdlib.py
7872 7872

  
7873 7873
    if instance.name not in node_insts.payload:
7874 7874
      if instance.admin_up:
7875
        state = "ERROR_down"
7875
        state = constants.INSTST_ERRORDOWN
7876 7876
      else:
7877
        state = "ADMIN_down"
7877
        state = constants.INSTST_ADMINDOWN
7878 7878
      raise errors.OpExecError("Instance %s is not running (state %s)" %
7879 7879
                               (instance.name, state))
7880 7880

  

Also available in: Unified diff