hyperv: Driver does not report disk_available_least
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Claudiu Belu | ||
compute-hyperv |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description
===========
The Hyper-V driver does not report the disk_available_
Steps to reproduce
==================
Have a compute node having X GB total storage (reported as local_gb), out of which, just 1 GB is actually free (unreported). The compute node also reports local_gb_used, which is the sum of the allocated nova instances' flavor disk sizes. (local_gb > local_gb_used).
Try to spawn an instance with a flavor's disk higher than 1.or disk size of 2 GB on the host.
Expected result
===============
Instance should be in ERROR state, it shouldn't be able to schedule to the compute node.
Actual result
=============
The instance is active.
Environment
===========
OpenStack Pike.
Hyper-V 2012 R2 compute node.
Logs & Configs
==============
[1] compute node's resource view VS. actual reported resource view: http://
[2] compute node's resources (nova hypervisor-show), spawning an instance: http://
Changed in nova: | |
assignee: | nobody → Claudiu Belu (cbelu) |
tags: | added: hyper-v |
tags: | added: ocata-backport-potential pike-backport-potential |
Changed in compute-hyperv: | |
status: | New → In Progress |
Fix proposed to branch: master /review. openstack. org/504904
Review: https:/