Revision 6d2e83d5 lib/backend.py

b/lib/backend.py
432 432
    hyper = hypervisor.GetHypervisor(what[constants.NV_HVINFO])
433 433
    result[constants.NV_HVINFO] = hyper.GetNodeInfo()
434 434

  
435
  if constants.NV_DRBDLIST in what:
436
    try:
437
      used_minors = bdev.DRBD8.GetUsedDevs().keys()
438
    except errors.BlockDeviceErrors:
439
      logging.warning("Can't get used minors list", exc_info=True)
440
      used_minors = []
441
    result[constants.NV_DRBDLIST] = used_minors
442

  
435 443
  return result
436 444

  
437 445

  

Also available in: Unified diff