Revision 922a9e65
ID | 922a9e65eae2a15557d22e42d07a8a4f787298a4 |
Parent | 42e85303 |
Child | 42bc62e1 |
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 <thomasth@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@google.com>
Files
- added
- modified
- copied
- renamed
- deleted