Bug 1346094 - SameHostFilter should fail if no instances on host
Summary: SameHostFilter should fail if no instances on host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: async
: 7.0 (Kilo)
Assignee: Prateek Arora
QA Contact: Prasanth Anbalagan
URL:
Whiteboard: hot
Depends On:
Blocks: 1350356
TreeView+ depends on / blocked
 
Reported: 2016-06-14 00:32 UTC by Benjamin Schmaus
Modified: 2019-11-14 08:22 UTC (History)
16 users (show)

Fixed In Version: openstack-nova-2015.1.4-9.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1350356 (view as bug list)
Environment:
Last Closed: 2016-07-13 14:49:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1417 0 normal SHIPPED_LIVE openstack-nova bug fix advisory 2016-07-13 18:48:10 UTC

Description Benjamin Schmaus 2016-06-14 00:32:02 UTC
Description of problem:

The SameHostFilter should pass only if the host is executing an instance
from the set of uuids passed in the scheduler hint 'same_host'. However,
it passes also if the host does not have any instance.

Version-Release number of selected component (if applicable):7.0/7.3


How reproducible:
100%

Steps to Reproduce:
1. See Private Comments Below
2.
3.

Actual results: Compute hosts that match hint key and hosts with 0 instances on them are used.


Expected results:  Only hosts passed as hint key should be used.


Additional info:

https://bugs.launchpad.net/nova/+bug/1500920

This commit seems to fix the issue when manually patched in:

https://github.com/openstack/nova/commit/b6198c834cd22264815efa2299fce1059ba5c085

Comment 6 Chandra Ganguly 2016-06-21 22:48:59 UTC
Need this fixed in Kilo and Liberty

Comment 10 Chris Ricker 2016-07-05 20:06:54 UTC
openstack-nova-2015.1.4-9.el7ost is Kilo

What is the fixed version for Liberty?

Comment 12 Prateek Arora 2016-07-07 09:29:47 UTC
openstack-nova-12.0.4-4.el7ost is the version for Liberty

https://bugzilla.redhat.com/show_bug.cgi?id=1350356 is the bug we are using to track the fix for Liberty

Comment 16 errata-xmlrpc 2016-07-13 14:49:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1417


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