yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72642
[Bug 1767315] [NEW] "openstack hypervisor stats show" shows wrong memory information
Public bug reported:
Description
===========
"openstack hypervisor stats show" shows wrong memory information
Steps to reproduce
==================
- The deployment is done through tripleo-quickstart for openstack queens
(overcloud) [stack@undercloud ~]$ openstack hypervisor stats show
+----------------------+-------+
| Field | Value |
+----------------------+-------+
| count | 1 |
| current_workload | 0 |
| disk_available_least | 43 |
| free_disk_gb | 49 |
| free_ram_mb | -49 |
| local_gb | 49 |
| local_gb_used | 0 |
| memory_mb | 4047 |
| memory_mb_used | 4096 |
| running_vms | 0 |
| vcpus | 2 |
| vcpus_used | 0 |
+----------------------+-------+
(overcloud) [stack@undercloud ~]$
[root@overcloud-novacompute-0 ~]# free -m
total used free shared buff/cache available
Mem: 3742 556 203 1 2982 2688
Swap: 0 0 0
[root@overcloud-novacompute-0 ~]#
Expected result
===============
Should leverage the actual available memory.
Actual result
=============
Showing wrong memory value.
Environment
===========
- Openstack queens
[heat-admin@overcloud-novacompute-0 ~]$ rpm -qa | grep nova
openstack-nova-placement-api-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
python-nova-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
puppet-nova-12.4.1-0.20180423041756.95ca7cd.el7.centos.noarch
openstack-nova-scheduler-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
python2-novaclient-9.1.1-0.20180213141814.a1c0074.el7.centos.noarch
openstack-nova-conductor-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-migration-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-console-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-common-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-compute-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-api-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-novncproxy-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
[heat-admin@overcloud-novacompute-0 ~]$
Logs & Configs
==============
- default configuration
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1767315
Title:
"openstack hypervisor stats show" shows wrong memory information
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
"openstack hypervisor stats show" shows wrong memory information
Steps to reproduce
==================
- The deployment is done through tripleo-quickstart for openstack queens
(overcloud) [stack@undercloud ~]$ openstack hypervisor stats show
+----------------------+-------+
| Field | Value |
+----------------------+-------+
| count | 1 |
| current_workload | 0 |
| disk_available_least | 43 |
| free_disk_gb | 49 |
| free_ram_mb | -49 |
| local_gb | 49 |
| local_gb_used | 0 |
| memory_mb | 4047 |
| memory_mb_used | 4096 |
| running_vms | 0 |
| vcpus | 2 |
| vcpus_used | 0 |
+----------------------+-------+
(overcloud) [stack@undercloud ~]$
[root@overcloud-novacompute-0 ~]# free -m
total used free shared buff/cache available
Mem: 3742 556 203 1 2982 2688
Swap: 0 0 0
[root@overcloud-novacompute-0 ~]#
Expected result
===============
Should leverage the actual available memory.
Actual result
=============
Showing wrong memory value.
Environment
===========
- Openstack queens
[heat-admin@overcloud-novacompute-0 ~]$ rpm -qa | grep nova
openstack-nova-placement-api-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
python-nova-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
puppet-nova-12.4.1-0.20180423041756.95ca7cd.el7.centos.noarch
openstack-nova-scheduler-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
python2-novaclient-9.1.1-0.20180213141814.a1c0074.el7.centos.noarch
openstack-nova-conductor-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-migration-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-console-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-common-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-compute-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-api-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
openstack-nova-novncproxy-17.0.3-0.20180420001136.bf0a069.el7.centos.noarch
[heat-admin@overcloud-novacompute-0 ~]$
Logs & Configs
==============
- default configuration
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1767315/+subscriptions
Follow ups