Bug 1475865 - GuestAgentLinux2::380::root::Error retrieving disks usages.
GuestAgentLinux2::380::root::Error retrieving disks usages.
Status: NEW
Product: ovirt-guest-agent
Classification: oVirt
Component: Core (Show other bugs)
1.0.13
x86_64 Linux
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: Tomáš Golembiovský
Pavel Stehlik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-27 09:40 EDT by marciofoz
Modified: 2017-07-27 09:40 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Spice
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description marciofoz 2017-07-27 09:40:06 EDT
Description of problem:

-guest agent does not show any disk usage in the log but there's error:

Dummy-2::ERROR::2017-07-27 10:16:20,060::GuestAgentLinux2::380::root::Error retrieving disks usages.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 372, in getDisksUsage
    statvfs = os.statvfs(path)
OSError: [Errno 13] Permission denied: '/sys/kernel/debug/tracing'

Version-Release number of selected component (if applicable):
ovirt-guest-agent-common-1.0.13-2.fc25.noarch
fedora 4.11.12-200.fc25.x86_64

How reproducible:
100%

Steps to Reproduce:
1.check log file
2.
3.

Actual results:
permission error

Expected results:


Additional info:

#
# ovirt-guest-agent.conf
#

[general]

# heart_beat_rate = 5
# report_user_rate = 10
# report_num_cpu_rate = 60
# report_application_rate = 120
# report_disk_usage = 300

## Generic:              ovirt-guest-agent
## RHEL/Fedora Packages: kernel ovirt-guest-agent-common xorg-x11-drv-qxl
## Debian Packages:      linux-image xserver-xorg-video-qxl
## openSUSE Packages:    xf86-video-qxl kernel-desktop kernel-default kernel-trace kernel-vanilla kernel-debug kernel-ec2 kernel-xen kernel-ppc64
# applications_list = kernel ovirt-guest-agent ovirt-guest-agent-common xorg-x11-drv-qxl linux-image xserver-xorg-video-qxl xf86-video-qxl kernel-desktop kernel-default kernel-trace kernel-vanilla kernel-debug kernel-ec2 kernel-xen kernel-ppc64 cloud-init
# ignored_fs = rootfs tmpfs autofs cgroup selinuxfs udev mqueue nfsd proc sysfs devtmpfs hugetlbfs rpc_pipefs devpts securityfs debugfs binfmt_misc fuse.gvfsd-fuse fuse.gvfs-fuse-daemon fusectl usbfs
# ignore_zero_size_fs = true

applications_list = bacula-common kernel ovirt-guest-agent ovirt-guest-agent-common puppet-agent zabbix-agent

[virtio]
# device = /dev/virtio-ports/com.redhat.rhevm.vdsm

#[loggers]
#keys=root

#[handlers]
#keys=console,syslog,logfile

#[formatters]
#keys=long,simple,none,sysform

#[logger_root]
#level=INFO
#handlers=logfile
#propagate=0

#[handler_syslog]
#class=handlers.SysLogHandler
#formatter=sysform
#args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)

#[handler_logfile]
#class=handlers.RotatingFileHandler
#args=('/var/log/ovirt-guest-agent/ovirt-guest-agent.log', 'a+', 100*1024, 5)
#formatter=long

#[handler_console]
#class: StreamHandler
#args: []
#formatter: none

#[formatter_simple]
#format: %(name)s:%(levelname)s:  %(message)s

#[formatter_none]
#format: %(message)s

#[formatter_long]
#format: %(threadName)s::%(levelname)s::%(asctime)s::%(module)s::%(lineno)d::%(name)s::%(message)s

#[formatter_sysform]
#format= %(asctime)s %(levelname)s %(message)s
#datefmt=

Note You need to log in before you can comment on or make changes to this bug.