[
https://issues.apache.org/jira/browse/CLOUDSTACK-9929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087095#comment-16087095
]
ASF subversion and git services commented on CLOUDSTACK-9929:
-------------------------------------------------------------
Commit ca415e7436e9715a744a7c1383baac0c8b64c41f in cloudstack's branch
refs/heads/4.10 from [~widodh]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=ca415e7 ]
CLOUDSTACK-9929: Do not gather statistics for CDROM or FLOPPY devices
Libvirt / Qemu (KVM) does not collect statistics about these either.
On some systems it might even yield a 'internal error' from libvirt
when attempting to gather block statistics from such devices.
For example Ubuntu 16.04 (Xenial) has a issue with this.
Skip them when looping through all devices.
Signed-off-by: Wido den Hollander <[email protected]>
> Disk statistics fail to collect on Ubuntu 16.04
> -----------------------------------------------
>
> Key: CLOUDSTACK-9929
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9929
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM, libvirt
> Affects Versions: 4.10.0.0, 4.9.2.0
> Environment: Ubuntu 16.04 + KVM Agent
> Reporter: Wido den Hollander
> Assignee: Wido den Hollander
> Labels: ide, kvm, libvirt
> Fix For: 4.11.0.0, 4.9.3.0
>
>
> Disk statistics fail to collect on Ubuntu 16.04 hypervisors running KVM:
> "libvirtd[7519]: internal error: cannot find statistics for device 'ide0-1-0'"
> This is because libvirt doesn't collect statistics for the Virtual CD-Rom
> device and we shouldn't query those.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)