Scheduling a vm to a reporting compute node cause the number of vms in the compute node exceed the limit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Medium
|
tianxiang ai |
Bug Description
Description
===========
When scheduling a vm to a reporting compute node,
update_
table in db firstly, and update this table after calculating all
instances on this node. At this moment, the scheduler filter will pass
this node because there is no num_instances in compute_
Steps to reproduce
==================
1,create a new az,there is noly one compute node in this az;
2,set max_instances_
3,boot 100 vms to this az, the vms will be scheduled to the specified node;
4,boot some vms to this az once again.
Expected result
===============
boot vm fails and return no valid host error
Actual result
=============
some vms failed but some vms will be scheduled to the compute node successfully when the compute node is reporting available resources.
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → tianxiang ai (aitianxiang) |
description: | updated |
summary: |
- Schedule a vm to a reporting compute node + Scheduler a vm to a reporting compute node |
summary: |
- Scheduler a vm to a reporting compute node + Scheduling a vm to a reporting compute node cause the number of vms in + the compute node exceed the limit |
sean mooney (sean-k-mooney) wrote : | #2 |
Triaging this as medium as this is a silent failure that would allow limts on vms per host to be exceeded that would not be obvious unless the operator specifically looked for it. that said this could also be considered low for many deployments as the NumInstanceFilter is not enabled by default
https:/
Changed in nova: | |
importance: | Undecided → Medium |
Change abandoned by tianxiang ai (<email address hidden>) on branch: master
Review: https:/
Reason: i just found that this bug:#1857448 had been fixed in another patch:https:/
tianxiang ai (aitianxiang) wrote : | #4 |
Abandoned
i just found that this bug:#1857448 had been fixed in another patch:https:/
Fix proposed to branch: master /review. opendev. org/700529
Review: https:/