Revision 456798ab lib/cmdlib.py

b/lib/cmdlib.py
9601 9601
    self.cfg.Update(instance, feedback_fn)
9602 9602

  
9603 9603
    # disks are created, waiting for sync
9604
    disk_abort = not _WaitForSync(self, instance)
9604
    disk_abort = not _WaitForSync(self, instance,
9605
                                  oneshot=not self.op.wait_for_sync)
9605 9606
    if disk_abort:
9606 9607
      raise errors.OpExecError("There are some degraded disks for"
9607 9608
                               " this instance, please cleanup manually")

Also available in: Unified diff