Change in ovirt-guest-agent[master]: agent: avoid failing to get disk stat when deal with gvfs-fu...

bazulay at redhat.com bazulay at redhat.com
Thu Apr 18 10:39:15 UTC 2013


Barak Azulay has submitted this change and it was merged.

Change subject: agent: avoid failing to get disk stat when deal with gvfs-fuse
......................................................................


agent: avoid failing to get disk stat when deal with gvfs-fuse

gvfs-fuse filesystem prevents other user from stat it. Even root can not
stat other user's gvfs-fuse fs. Stat on it fails then the whole disk
stat function fails.

This patch skips gvfs-fuse related filesystem when collecting disk stat.
Moreover, this patch try..except in a finner per fs granularity, so that
failing on stat one fs does not fails the whole operation.

Change-Id: I69c674904c2ad9cb508c5294591a8ba0813e4238
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M ovirt-guest-agent/GuestAgentLinux2.py
M ovirt-guest-agent/ovirt-guest-agent.conf
2 files changed, 16 insertions(+), 16 deletions(-)

Approvals:
  Vinzenz Feenstra: Looks good to me, but someone else must approve
  Barak Azulay: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/13800
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I69c674904c2ad9cb508c5294591a8ba0813e4238
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>



More information about the Engine-commits mailing list