Comment 29 for bug 1358583

Revision history for this message
Tristan Cacqueray (tristan-cacqueray) wrote : Re: List instances by IP results in DoS of nova-network (CVE-2014-3708)

The Icehouse patch is failing run_tests.sh here with:
FAIL: nova.tests.compute.test_compute.ComputeAPITestCase.test_get_all_by_multiple_options_at_once
FAIL: nova.tests.compute.test_compute_cells.CellsComputeAPITestCase.test_get_all_by_multiple_options_at_once

pythonlogging:'': {{{
INFO [nova.virt.driver] Loading compute driver 'nova.virt.fake.FakeDriver'
AUDIT [nova.compute.resource_tracker] Auditing locally available compute resources
AUDIT [nova.compute.resource_tracker] Free ram (MB): 7680
AUDIT [nova.compute.resource_tracker] Free disk (GB): 1028
AUDIT [nova.compute.resource_tracker] Free VCPUS: 1
INFO [nova.compute.resource_tracker] Compute_service record created for fake-mini:fakenode1
AUDIT [nova.compute.manager] Deleting orphan compute node 2
}}}

Traceback (most recent call last):
  File "/opt/stack/nova/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "/opt/stack/nova/nova/tests/compute/test_compute.py", line 7633, in test_get_all_by_multiple_options_at_once
    search_opts={'ip': '.*\.1', 'name': 'not.*'})
  File "/opt/stack/nova/nova/compute/api.py", line 1889, in get_all
    inst_models = self._ip_filter(inst_models, filters)
  File "/opt/stack/nova/nova/compute/api.py", line 1908, in _ip_filter
    for vif in nw_info:
TypeError: 'NoneType' object is not iterable

Can someone confirm/fix this error please ? We are willing to send the advance notification with a disclosure date set to:
2014-10-28, 1500UTC

Thanks in advance!