← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1198109] Re: Log message is not right for GroupAntiAffinityFilter

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

-- 
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/1198109

Title:
  Log message is not right for GroupAntiAffinityFilter

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  class GroupAntiAffinityFilter(AffinityFilter):
      """Schedule the instance on a different host from a set of group
      hosts.
      """

      def host_passes(self, host_state, filter_properties):
          group_hosts = filter_properties.get('group_hosts') or []
          LOG.debug(_("Group affinity: %(host)s in %(configured)s"),  << This is Group anti-affinity not Group affinity
                      {'host': host_state.host,
                       'configured': group_hosts})
          if group_hosts:
              return not host_state.host in group_hosts

          # No groups configured
          return True

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