Revision a085d96d

b/qa/qa_instance.py
481 481
  orig_seq = pnode["primary"]
482 482
  if snode:
483 483
    orig_seq = orig_seq + ":" + snode["primary"]
484
  # This fails beacuse the instance is running
484
  # These fail because the instance is running
485 485
  _AssertRecreateDisks(["-n", other_seq], instance, fail=True, destroy=False)
486
  _AssertRecreateDisks(["-I", "hail"], instance, fail=True, destroy=False)
486 487
  AssertCommand(["gnt-instance", "stop", instance["name"]])
487 488
  # Disks exist: this should fail
488 489
  _AssertRecreateDisks([], instance, fail=True, destroy=False)
489 490
  # Recreate disks in place
490 491
  _AssertRecreateDisks([], instance)
491 492
  # Move disks away
492
  _AssertRecreateDisks(["-n", other_seq], instance)
493
  _AssertRecreateDisks(["-I", "hail"], instance)
493 494
  # Move disks back
494 495
  _AssertRecreateDisks(["-n", orig_seq], instance, check=False)
495 496
  # This and InstanceCheck decoration check that the disks are working

Also available in: Unified diff