yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #77236
[Bug 1816360] Re: nova-scheduler did not logged the weight of each compute_node
Yeah looks like it was an accidental regression in Pike:
https://review.openstack.org/#/c/483564/
** Changed in: nova
Status: New => Confirmed
** Changed in: nova
Importance: Undecided => Medium
** Tags added: low-hanging-fruit scheduler serviceability
** Also affects: nova/rocky
Importance: Undecided
Status: New
** Also affects: nova/pike
Importance: Undecided
Status: New
** Also affects: nova/queens
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/1816360
Title:
nova-scheduler did not logged the weight of each compute_node
Status in OpenStack Compute (nova):
Confirmed
Status in OpenStack Compute (nova) pike series:
New
Status in OpenStack Compute (nova) queens series:
New
Status in OpenStack Compute (nova) rocky series:
New
Bug description:
Description
===========
nova-scheduler did not logged the weight of each compute_node, even if we configured "debug=true".
You can only see this in nova-scheduler.log (Rocky version).
2019-02-18 15:02:56.918 18716 DEBUG nova.scheduler.filter_scheduler
[req-242d0408-395d-4dc2-a237-e3f2b55c2ba8
8fdccd78f9404ccbb427b0b798f46f67 d8706f56f2314bbb8e62463ba833bb1e -
default default] Weighed [(nail1, nail1) ram: 27527MB disk: 226304MB
io_ops: 0 instances: 2, (Shelf1Slot3SBCR, Shelf1Slot3SBCR) ram:
12743MB disk: 112640MB io_ops: 0 instances: 3, (nail2, nail2) ram:
19919MB disk: 120832MB io_ops: 0 instances: 0] _get_sorted_hosts
/usr/lib/python2.7/site-
packages/nova/scheduler/filter_scheduler.py:455
But in kilo OpenStack, we can see:
2019-02-18 15:31:07.418 24797 DEBUG nova.scheduler.filter_scheduler
[req-9449a23f-643d-45a1-aed7-9d62639d874d
8228476c4baf4a819f2c7b890069c5d1 7240ab9c4351484095c15ae33e0abd0b - -
-] Weighed [WeighedHost [host: (computer16-02, computer16-02)
ram:45980 disk:69632 io_ops:0 instances:11, weight: 1.0], WeighedHost
[host: (computer16-08, computer16-08) ram:45980 disk:73728 io_ops:0
instances:15, weight: 1.0], WeighedHost [host: (computer16-03,
computer16-03) ram:43932 disk:117760 io_ops:0 instances:10, weight:
0.955458895172], WeighedHost [host: (computer16-07, computer16-07)
ram:43932 disk:267264 io_ops:0 instances:11, weight: 0.955458895172],
WeighedHost [host: (computer16-15, computer16-15) ram:41884
disk:-114688 io_ops:0 instances:15, weight: 0.910917790344],
WeighedHost [host: (computer16-16, computer16-16) ram:35740
disk:967680 io_ops:0 instances:10, weight: 0.777294475859],
WeighedHost [host: (computer16-12, computer16-12) ram:31644
disk:-301056 io_ops:0 instances:13, weight: 0.688212266203],
WeighedHost [host: (computer16-05, computer16-05) ram:25500
disk:-316416 io_ops:0 instances:13, weight: 0.554588951718],
WeighedHost [host: (computer16-06, computer16-06) ram:17308
disk:-66560 io_ops:0 instances:12, weight: 0.376424532405]] _schedule
/usr/lib/python2.7/site-
packages/nova/scheduler/filter_scheduler.py:149
Obviously, we have lost the weight value for each compute_nodes now.
Environment
===========
[root@nail1 ~]# rpm -qi openstack-nova-api
Name : openstack-nova-api
Epoch : 1
Version : 18.0.2
Release : 1.el7
Architecture: noarch
Install Date: Wed 17 Oct 2018 02:23:03 PM CST
Group : Unspecified
Size : 5595
License : ASL 2.0
Signature : RSA/SHA1, Mon 15 Oct 2018 05:02:18 PM CST, Key ID f9b9fee7764429e6
Source RPM : openstack-nova-18.0.2-1.el7.src.rpm
Build Date : Tue 09 Oct 2018 05:54:47 PM CST
Build Host : p8le01.rdu2.centos.org
Relocations : (not relocatable)
Packager : CBS <cbs@xxxxxxxxxx>
Vendor : CentOS
URL : http://openstack.org/projects/compute/
Summary : OpenStack Nova API services
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1816360/+subscriptions
References