← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1443220] [NEW] werid on "host not in hosts"

 

Public bug reported:

the codes are
https://github.com/openstack/nova/blob/master/nova/scheduler/filters/retry_filter.py#L39-L43

the problem is http://logs.openstack.org/12/156112/7/check/check-
tempest-dsvm-neutron-
full/50adae1/logs/screen-n-sch.txt.gz#_2015-04-03_01_50_50_325

especially on Host [u'devstack-trusty-rax-
dfw-1722586.slave.openstack.org', u'devstack-trusty-rax-
dfw-1722586.slave.openstack.org'] fails.  Previously tried hosts: [[u
'devstack-trusty-rax-dfw-1722586.slave.openstack.org', u'devstack-
trusty-rax-dfw-1722586.slave.openstack.org']] host_passes
/opt/stack/new/nova/nova/scheduler/filters/retry_filter.py:43

bug we could paste the host list and hosts list in python interaction
interface:

In [1]: host = [u'devstack-trusty-rax-dfw-1722586.slave.openstack.org',
u'devstack-trusty-rax-dfw-1722586.slave.openstack.org']

In [2]: hosts = [[u'devstack-trusty-rax-
dfw-1722586.slave.openstack.org', u'devstack-trusty-rax-
dfw-1722586.slave.openstack.org']]

In [3]: host in hosts
Out[3]: True

what makes this?

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  werid on "host not in hosts"

Status in OpenStack Compute (Nova):
  New

Bug description:
  the codes are
  https://github.com/openstack/nova/blob/master/nova/scheduler/filters/retry_filter.py#L39-L43

  the problem is http://logs.openstack.org/12/156112/7/check/check-
  tempest-dsvm-neutron-
  full/50adae1/logs/screen-n-sch.txt.gz#_2015-04-03_01_50_50_325

  especially on Host [u'devstack-trusty-rax-
  dfw-1722586.slave.openstack.org', u'devstack-trusty-rax-
  dfw-1722586.slave.openstack.org'] fails.  Previously tried hosts: [[u
  'devstack-trusty-rax-dfw-1722586.slave.openstack.org', u'devstack-
  trusty-rax-dfw-1722586.slave.openstack.org']] host_passes
  /opt/stack/new/nova/nova/scheduler/filters/retry_filter.py:43

  bug we could paste the host list and hosts list in python interaction
  interface:

  In [1]: host = [u'devstack-trusty-rax-
  dfw-1722586.slave.openstack.org', u'devstack-trusty-rax-
  dfw-1722586.slave.openstack.org']

  In [2]: hosts = [[u'devstack-trusty-rax-
  dfw-1722586.slave.openstack.org', u'devstack-trusty-rax-
  dfw-1722586.slave.openstack.org']]

  In [3]: host in hosts
  Out[3]: True

  what makes this?

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


Follow ups

References