yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61144
[Bug 1661243] Re: reserved_host_disk_mb reporting incorrectly
Reviewed: https://review.openstack.org/428120
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d4502e1f53de9237b53c0967ed1e37cc06effdf5
Submitter: Jenkins
Branch: master
commit d4502e1f53de9237b53c0967ed1e37cc06effdf5
Author: John Garbutt <john.garbutt@xxxxxxxxxxxxx>
Date: Thu Feb 2 12:51:36 2017 +0000
Report reserved_host_disk_mb in GB not KB
We were reporting reserved_host_disk_mb as GB not KB.
This created this log message:
Invalid inventory for 'DISK_GB' on resource provider <uuid>.
The reserved value is greater than or equal to total.
This corrects the reporting of reserved_host_disk_mb to the placement
API when updating the compute node inventory.
Closes-Bug: #1661243
Change-Id: I5573c82eb99cde13c407c8d6a06ecb04165ab9c5
** Changed in: nova
Status: In Progress => Fix Released
--
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/1661243
Title:
reserved_host_disk_mb reporting incorrectly
Status in OpenStack Compute (nova):
Fix Released
Bug description:
We're getting the following failure in our gate jobs for nova:
Failed to update inventory for resource provider 2c2e388f-be21-4461
-bdcf-e1b20b9c90e2: 400 400 Bad Request
The server could not comply with the request since it is either
malformed or otherwise incorrect.
Unable to update inventory for resource provider 2c2e388f-be21-4461
-bdcf-e1b20b9c90e2: Invalid inventory for 'DISK_GB' on resource
provider '2c2e388f-be21-4461-bdcf-e1b20b9c90e2'. The reserved value is
greater than or equal to total.
=====================================
The reserved_host_disk_mb is set to 2048 and the compute host is showing free disk of 57GB.
The build is done based on head of master of nova, and uses QEMU
=====================================
Link to compute logs showing reserved_host_disk_mb: 2048
http://logs.openstack.org/57/418457/48/check/gate-openstack-ansible-os_nova-ansible-func-ubuntu-xenial/8ce42e7/logs/host/nova/nova-compute.log.txt.gz#_2017-02-01_20_43_03_006
Link to compute logs showing free_disk=57GB
http://logs.openstack.org/57/418457/48/check/gate-openstack-ansible-os_nova-ansible-func-ubuntu-xenial/8ce42e7/logs/host/nova/nova-compute.log.txt.gz#_2017-02-01_20_43_03_513
Link to compute logs showing the Error:
http://logs.openstack.org/57/418457/48/check/gate-openstack-ansible-os_nova-ansible-func-ubuntu-xenial/8ce42e7/logs/host/nova/nova-compute.log.txt.gz#_2017-02-01_20_43_05_506
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1661243/+subscriptions
References