Bug 1111743 - Incorrect storage statistics reported for RBD ephmeral disks
Summary: Incorrect storage statistics reported for RBD ephmeral disks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 5.0 (RHEL 7)
Assignee: Pádraig Brady
QA Contact: Yogev Rabl
URL:
Whiteboard:
: 1158201 1160408 (view as bug list)
Depends On: 1166033
Blocks: rhelosp_ceph_integration 1152637
TreeView+ depends on / blocked
 
Reported: 2014-06-20 22:11 UTC by Pádraig Brady
Modified: 2019-09-09 14:37 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-2014.1.3-9.el6ost openstack-nova-2014.1.3-9.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, the Compute service only queried local disk statistics on Compute nodes, which are irrelevant when ephemeral disks are stored in RBD. This made it possible for the scheduler to prevent an instance from being scheduled when the total disk usage of instances already running on the node exceeded the total disk capacity as reported by the hypervisor driver. With this update, the Compute service now correctly queries Ceph for actual disk usage statistics.
Clone Of:
Environment:
Last Closed: 2014-12-02 15:14:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1332660 0 None None None Never
OpenStack gerrit 102064 0 None None None Never
Red Hat Product Errata RHBA-2014:1932 0 normal SHIPPED_LIVE openstack-nova bug fix update 2014-12-02 20:13:06 UTC

Description Pádraig Brady 2014-06-20 22:11:07 UTC
The storage stats of the local compute node is used, rather than that of the RBD ephemeral

Comment 1 Pádraig Brady 2014-10-30 13:07:59 UTC
*** Bug 1158201 has been marked as a duplicate of this bug. ***

Comment 2 Yogev Rabl 2014-11-02 08:42:25 UTC
Can you please add steps about how to see these stats?

Comment 3 Pádraig Brady 2014-11-11 14:26:23 UTC
*** Bug 1160408 has been marked as a duplicate of this bug. ***

Comment 4 Pádraig Brady 2014-11-12 22:36:35 UTC
Look for the "disk_gb" column from `nova host-describe $hostname`
and ensure it's appropriate for the rbd volume rather than the local disk.

Comment 7 Yogev Rabl 2014-11-20 14:28:35 UTC
failed verification in version: 
python-nova-2014.1.3-8.el7ost.noarch
python-novaclient-2.17.0-2.el7ost.noarch
openstack-nova-common-2014.1.3-8.el7ost.noarch
openstack-nova-compute-2014.1.3-8.el7ost.noarch

Comment 9 Yogev Rabl 2014-11-23 13:33:18 UTC
verified in nova version: 
openstack-nova-cert-2014.1.3-9.el7ost.noarch
openstack-nova-novncproxy-2014.1.3-9.el7ost.noarch
python-nova-2014.1.3-9.el7ost.noarch
openstack-nova-console-2014.1.3-9.el7ost.noarch
openstack-nova-network-2014.1.3-9.el7ost.noarch
openstack-nova-common-2014.1.3-9.el7ost.noarch
openstack-nova-compute-2014.1.3-9.el7ost.noarch
openstack-nova-conductor-2014.1.3-9.el7ost.noarch
openstack-nova-scheduler-2014.1.3-9.el7ost.noarch
openstack-nova-api-2014.1.3-9.el7ost.noarch
python-novaclient-2.17.0-2.el7ost.noarch

Comment 12 errata-xmlrpc 2014-12-02 15:14:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-1932.html


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