nova-scheduler fails when running out of disk space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description
===========
When trying to launch an instance and nova determines that a compute node is out of disk space, other hypervisors are not considered for scheduling.
Steps to reproduce
==================
OpenStack deployed using local storage on two nodes (using Kolla), 50 GB disk in my lab.
Launch instances until disk is near full, fex 2 Centos with flavor with 20 GB disk.
Launch another instance with flavor 20 GB disk.
Expected Result
===============
Nova schedules the "other instance" on the second compute host where there are sufficient resources.
Actual Result
=============
Nova fails with "Not Enough Hosts"
[req-a822f4c7-
Environment
===========
OpenStack Version: mitaka, installed from Kolla stable/mitaka
Hypervisor: KVM Linux 3.10.0-
Storage: Local
Networking: Neutron
Changed in nova: | |
status: | Incomplete → New |
I have confirmed this to be the case, atleast with the default Kolla configs in the operator's environment (pristine upstream Newton). If the nova scheduler fails to schedule to the first node, it gives up on other nodes.