Bug 1252467

Summary: [ovirt-guest-agent] not useful paths reported in disksUsage while running dockerized
Product: [oVirt] ovirt-guest-agent Reporter: Jiri Belka <jbelka>
Component: GeneralAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: low    
Version: ---CC: bugs, ecohen, gklein, lsurette, mgoldboi, michal.skrivanek, pstehlik, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ovirt-3.6.0-rc3Flags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
pstehlik: testing_ack+
Target Release: 1.0.11-2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: 1.0.11-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-13 15:45:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Belka 2015-08-11 13:44:44 UTC
Description of problem:

# vdsClient -s 0 getAllVmStats | grep disksUsage
        disksUsage = [{'path': '/', 'total': '10725883904', 'fs': 'xfs', 'used': '537079808'}, {'path': '/sysroot', 'total': '3103539200', 'fs': 'ext4', 'used': '836751360'}, {'path': '/var/log/journal/ddd59b4adeb7fec230fde3b3b8a66622', 'total': '3103539200', 'fs': 'ext4', 'used': '836751360'}, {'path': '/etc/resolv.conf', 'total': '3103539200', 'fs': 'ext4', 'used': '836751360'}, {'path': '/etc/hostname', 'total': '3103539200', 'fs': 'ext4', 'used': '836751360'}, {'path': '/etc/hosts', 'total': '3103539200', 'fs': 'ext4', 'used': '836751360'}]

imo bind mounts should not be there as those are not useful

Version-Release number of selected component (if applicable):
ovirt-guest-agent-common-1.0.11-1.fc22

How reproducible:
100%

Steps to Reproduce:
1. install ovirt GA on atomic via docker build -t ovirt-agent . (cwd has files from https://github.com/vinzenz/ovirt-guest-agent-atomic/tree/master/fedora)
2. check vdsClient -s 0 getVmStats $ga-dockerized
3.

Actual results:
there are files - bind mounts probably - reported

Expected results:
only real and useful filesystems should be reported

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-22 07:14:19 UTC
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset.
Please set the correct milestone or add the z-stream flag.

Comment 2 Red Hat Bugzilla Rules Engine 2015-10-23 14:11:41 UTC
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset.
Please set the correct milestone or add the z-stream flag.

Comment 3 Red Hat Bugzilla Rules Engine 2015-10-23 14:11:41 UTC
Fixed bug tickets must have target milestone set prior to fixing them. Please set the correct milestone and move the bugs back to the previous status after this is corrected.

Comment 4 Sandro Bonazzola 2015-11-05 08:21:01 UTC
oVirt 3.6.0 has been released on November 4th, re-targeting to 4.0 since this bug has been marked with severity < high

Comment 5 Red Hat Bugzilla Rules Engine 2015-11-16 14:07:52 UTC
This bug is flagged for 3.6, yet the milestone is for 4.0 version, therefore the milestone has been reset.
Please set the correct milestone or add the flag.

Comment 6 Pavel Stehlik 2016-01-13 15:45:37 UTC
Closing old bugs. In case still happens, pls reopen.