← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1464348] Re: hostname comparison for foced_host should be case-insensitive

 

Reviewed:  https://review.openstack.org/290532
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a86f1d129d27f82ca514814164487d23ce728ad9
Submitter: Jenkins
Branch:    master

commit a86f1d129d27f82ca514814164487d23ce728ad9
Author: Chris Dent <cdent@xxxxxxxxxxxxx>
Date:   Wed Mar 9 14:16:23 2016 +0000

    Make force_ and ignore_hosts comparisons case insensitive
    
    Hostnames, since the dawn of time, are case insensitive so they
    should be compared thusly when preparing hosts to be filtered.
    
    Note that this change does not do anything with nodenames.
    
    Change-Id: I50e2e5cf749f0d39a05ccc373ae1d00824d927ea
    Co-Authored-By: Ming Yang <me@xxxxxxxxxxxxxxx>
    Closes-Bug: #1464348


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1464348

Title:
  hostname comparison for foced_host should be case-insensitive

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  It would appear that when the scheduler is matching the hostname
  provided in the --availability-zone option with the hostnames of the
  compute nodes in a case-sensitive manner.  However, going back to the
  misty Dawn of Internet Time hostnames have been case-insensitive
  items.  As such, the scheduler should be making the comparisons on a
  case-insensitive basis.

  $ /opt/stack/venvs/nova/bin/nova-scheduler --version
  2014.2.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1464348/+subscriptions


References