Revision cb573a31

b/scripts/gnt-debug
70 70

  
71 71
  """
72 72
  cl = cli.GetClient()
73
  jex = cli.JobExecutor(cl=cl, verbose=opts.verbose)
73
  jex = cli.JobExecutor(cl=cl, verbose=opts.verbose, opts=opts)
74 74

  
75 75
  job_cnt = 0
76 76
  op_cnt = 0
b/scripts/gnt-instance
222 222
    if not (opts.force_multi or not multi_on
223 223
            or _ConfirmOperation(inames, operation)):
224 224
      return 1
225
    jex = JobExecutor(verbose=multi_on, cl=cl)
225
    jex = JobExecutor(verbose=multi_on, cl=cl, opts=opts)
226 226
    for name in inames:
227 227
      op = fn(name, opts)
228 228
      jex.QueueJob(name, op)
......
423 423
    ToStderr("Can't parse the instance definition file: %s" % str(err))
424 424
    return 1
425 425

  
426
  jex = JobExecutor()
426
  jex = JobExecutor(opts=opts)
427 427

  
428 428
  # Iterate over the instances and do:
429 429
  #  * Populate the specs with default value
......
560 560
      if not AskUser(usertext):
561 561
        return 1
562 562

  
563
  jex = JobExecutor(verbose=multi_on)
563
  jex = JobExecutor(verbose=multi_on, opts=opts)
564 564
  for instance_name in inames:
565 565
    op = opcodes.OpReinstallInstance(instance_name=instance_name,
566 566
                                     os_type=os_name,
b/scripts/gnt-node
324 324
                               (",".join("'%s'" % name for name in pinst))):
325 325
    return 2
326 326

  
327
  jex = JobExecutor(cl=cl)
327
  jex = JobExecutor(cl=cl, opts=opts)
328 328
  for iname in pinst:
329 329
    op = opcodes.OpFailoverInstance(instance_name=iname,
330 330
                                    ignore_consistency=opts.ignore_consistency)

Also available in: Unified diff