« Previous | Next » 

Revision 922a9e65

ID922a9e65eae2a15557d22e42d07a8a4f787298a4
Parent 42e85303
Child 42bc62e1

Added by Thomas Thrainer over 10 years ago

Wait for disk sync when adding a disk

When creating an instance, gnt-instance waits for instance disks to
sync. Inconsistently, this was not the case for adding a disk to an
instance. This patch changes the default behavior to wait for sync when
adding a disk, but honor the --no-wait-for-sync option which
`gnt-instance modify` already supports.

Also adapt unit tests to mock the additional RPC call.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Jose A. Lopes <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences