Revision f4bc1f2c qa/qa_instance.py

b/qa/qa_instance.py
232 232
        node2disk[node_name].append(name)
233 233

  
234 234
  if [node2_full, node_full][int(onmaster)] not in node2disk:
235
    raise qa_error.Error("Couldn't find physical disks used on "
236
                         "%s node" % ["secondary", "master"][int(onmaster)])
235
    raise qa_error.Error("Couldn't find physical disks used on"
236
                         " %s node" % ["secondary", "master"][int(onmaster)])
237 237

  
238 238
  # Check whether nodes have ability to stop disks
239 239
  for node_name, disks in node2disk.iteritems():
......
319 319

  
320 320
def TestInstanceMasterDiskFailure(instance, node, node2):
321 321
  """Testing disk failure on master node."""
322
  print qa_utils.FormatError("Disk failure on primary node cannot be "
323
                             "tested due to potential crashes.")
322
  print qa_utils.FormatError("Disk failure on primary node cannot be"
323
                             " tested due to potential crashes.")
324 324
  # The following can cause crashes, thus it's disabled until fixed
325 325
  #return _TestInstanceDiskFailure(instance, node, node2, True)
326 326

  

Also available in: Unified diff