Increases timeout for guest agent resize_fs

When the guest agent resizes the file system, it may take longer
than the AGENT_LOW_TIMEOUT and should use AGENT_HIGH_TIMEOUT to
ensure the resize has sufficient time to complete.

Change-Id: Ic3c030f60ca47d894eb25b83f05b63ef22d519f8
Closes-Bug: #1288766
This commit is contained in:
Paul Marshall 2014-03-06 08:11:44 -06:00
parent fba8cabea3
commit 5a4e2f8493
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class API(proxy.RpcProxy):
"""Resize the filesystem"""
LOG.debug(_("Resize device %(device)s on instance %(id)s") % {
'device': device_path, 'id': self.id})
self._call("resize_fs", AGENT_LOW_TIMEOUT, device_path=device_path,
self._call("resize_fs", AGENT_HIGH_TIMEOUT, device_path=device_path,
mount_point=mount_point)
def update_overrides(self, overrides, remove=False):