Revision 6dfad215

b/lib/cmdlib.py
4730 4730
    # os verification
4731 4731
    result = self.rpc.call_os_get(pnode.name, self.op.os_type)
4732 4732
    result.Raise()
4733
    if not isinstance(result.data, objects.OS):
4733
    if not isinstance(result.data, objects.OS) or not result.data:
4734 4734
      raise errors.OpPrereqError("OS '%s' not in supported os list for"
4735 4735
                                 " primary node"  % self.op.os_type)
4736 4736

  

Also available in: Unified diff