Bug 1703110 - uneven instance placement on compute nodes
Summary: uneven instance placement on compute nodes
Keywords:
Status: CLOSED DUPLICATE of bug 1701334
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Kashyap Chamarthy
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-25 14:21 UTC by Eduard Barrera
Modified: 2023-09-18 00:16 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-24 13:32:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eduard Barrera 2019-04-25 14:21:31 UTC
Description of problem:

we are having a problem where the scheduler is not distrubuting correctly the instances across all the available compute node:

There is a group of nodes where no instances are scheduled:


2019-04-24 15:11:51.734 1 DEBUG nova.scheduler.filter_scheduler [req-1c573bd7-30f9-434a-96e8-ac1fc6668c58 db59947485d447e1a7c58477d94d8805 a2764e78bb344151877bde6ffdd713e2 - default default] 

Weighed [
(overcloud-compute-std-9.localdomain, overcloud-compute-std-9.localdomain)   ram: 863930MB disk: 854016MB io_ops: 0 instances: 8,

(overcloud-compute-std-13.localdomain, overcloud-compute-std-13.localdomain) ram: 843450MB disk: 841728MB io_ops: 0 instances: 9, 
(overcloud-compute-std-14.localdomain, overcloud-compute-std-14.localdomain) ram: 720570MB disk: 768000MB io_ops: 0 instances: 15, 
(overcloud-compute-std-1.localdomain, overcloud-compute-std-1.localdomain)   ram: 720570MB disk: 768000MB io_ops: 0 instances: 15, 
(overcloud-compute-std-6.localdomain, overcloud-compute-std-6.localdomain)   ram: 720570MB disk: 768000MB io_ops: 0 instances: 15, 
(overcloud-compute-std-12.localdomain, overcloud-compute-std-12.localdomain) ram: 720570MB disk: 768000MB io_ops: 0 instances: 15, 
(overcloud-compute-std-11.localdomain, overcloud-compute-std-11.localdomain) ram: 720570MB disk: 768000MB io_ops: 0 instances: 15, 
(overcloud-compute-std-0.localdomain, overcloud-compute-std-0.localdomain)   ram: 862906MB disk: 841728MB io_ops: 1 instances: 9, 

Instances snot scheduled on this nodes:

(overcloud-compute-std-15.localdomain, overcloud-compute-std-15.localdomain) ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0, 
(overcloud-compute-std-5.localdomain, overcloud-compute-std-5.localdomain)   ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0,
(overcloud-compute-std-8.localdomain, overcloud-compute-std-8.localdomain)   ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0, 
(overcloud-compute-std-3.localdomain, overcloud-compute-std-3.localdomain)   ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0, 
(overcloud-compute-std-7.localdomain, overcloud-compute-std-7.localdomain)   ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0, 
(overcloud-compute-std-4.localdomain, overcloud-compute-std-4.localdomain)   ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0, 
(overcloud-compute-std-2.localdomain, overcloud-compute-std-2.localdomain)   ram: 1027770MB disk: 942080MB io_ops: 0 instances: 0, 
(overcloud-compute-std-10.localdomain, overcloud-compute-std-10.localdomain) ram: 1027770MB disk: 944128MB io_ops: 0 instances: 0
] _get_sorted_hosts /usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py:424



Version-Release number of selected component (if applicable):
OSP13

How reproducible:
always

Steps to Reproduce:
Via horizon or an application consuming openstack api

Actual results:
Instances not distributed to all compute nods

Expected results:
Instances  distributed to all compute nods


There is no cells, no host aggregates

Comment 3 Matthew Booth 2019-05-24 13:32:25 UTC

*** This bug has been marked as a duplicate of bug 1701334 ***

Comment 4 Red Hat Bugzilla 2023-09-18 00:16:08 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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