Revision 1ce4bbe3 lib/cmdlib.py

b/lib/cmdlib.py
3257 3257
    if len(ial.nodes) != ial.required_nodes:
3258 3258
      raise errors.OpPrereqError("iallocator '%s' returned invalid number"
3259 3259
                                 " of nodes (%s), required %s" %
3260
                                 (ial.name, len(ial.nodes), ial.required_nodes))
3260
                                 (self.op.iallocator, len(ial.nodes), 
3261
                                  ial.required_nodes))
3261 3262
    self.op.pnode = ial.nodes[0]
3262 3263
    logger.ToStdout("Selected nodes for the instance: %s" %
3263 3264
                    (", ".join(ial.nodes),))

Also available in: Unified diff